Fix gcrt0.o compilation
[glibc.git] / ChangeLog
blob1994e448716a5d525dbfd68b9a8ecd5cd5e9be03
1 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         Fix gcrt0.o compilation
5         When static-start-installed-name is different from
6         start-installed-name, we must not use the shared objects.
8         * csu/Makefile
9         (extra-objs): Add gmon-start.o when building shared library and
10         $(static-start-installed-name) is different from
11         $(start-installed-name).
12         $(objpfx)g$(static-start-installed-name): When building shared
13         library and $(static-start-installed-name) is different from
14         $(static-start-installed-name), revert to non-shared rule,
15         i.e. using $(objpfx)% and gmon-start.o.
17 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
19         [BZ #16519]
20         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
21         (__ieee754_sinh): Force underflow exception for arguments with
22         small absolute value.
23         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24         (__ieee754_sinhf): Force underflow exception for arguments with
25         small absolute value.
26         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27         (__ieee754_sinhl): Force underflow exception for arguments with
28         small absolute value.
29         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
30         (__ieee754_sinhl): Force underflow exception for arguments with
31         small absolute value.
32         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33         (__ieee754_sinhl): Force underflow exception for arguments with
34         small absolute value.
35         * math/auto-libm-test-in: Add more tests of sinh.
36         * math/auto-libm-test-out: Regenerated.
37         * sysdeps/i386/fpu/libm-test-ulps: Update.
39 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41         * libio/oldfileops.c: Include unistd.h.
43 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
45         * stdlib/isomac.c: Include ctype.h.
47 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
49         * dirent/tst-seekdir.c (main): Converted to ...
50         (do_test): ... this.
51         (TEST_FUNCTION): New macro.
52         Include test-skeleton.c.
53         * elf/tst-dlmodcount.c (main): Converted to ...
54         (do_test): ... this.
55         (TEST_FUNCTION): New macro.
56         Include test-skeleton.c.
57         * elf/tst-order-main.c (main): Converted to ...
58         (do_test): ... this.
59         (TEST_FUNCTION): New macro.
60         Include test-skeleton.c.
61         * elf/tst-pie2.c (main): Converted to ...
62         (do_test): ... this.
63         (TEST_FUNCTION): New macro.
64         Include test-skeleton.c.
65         * inet/tst-ether_aton.c (main): Converted to ...
66         (do_test): ... this.
67         (TEST_FUNCTION): New macro.
68         Include test-skeleton.c.
69         * misc/tst-mntent.c (main): Converted to ...
70         (do_test): ... this.
71         (TEST_FUNCTION): New macro.
72         Include test-skeleton.c.
73         * misc/tst-tsearch.c (main): Converted to ...
74         (do_test): ... this.
75         (TEST_FUNCTION): New macro.
76         Include test-skeleton.c.
77         * posix/tst-regexloc.c (main): Converted to ...
78         (do_test): ... this.
79         (TEST_FUNCTION): New macro.
80         Include test-skeleton.c.
81         * resolv/tst-aton.c (main): Converted to ...
82         (do_test): ... this.
83         (TEST_FUNCTION): New macro.
84         Include test-skeleton.c.
85         * stdio-common/test-fwrite.c (main): Converted to ...
86         (do_test): ... this.
87         (TEST_FUNCTION): New macro.
88         Include test-skeleton.c.
89         * stdio-common/tst-ferror.c (main): Converted to ...
90         (do_test): ... this.
91         (TEST_FUNCTION): New macro.
92         Include test-skeleton.c.
93         * stdio-common/tst-printf.c (main): Converted to ...
94         (do_test): ... this.
95         (TEST_FUNCTION): New macro.
96         Include test-skeleton.c.
97         * stdio-common/tst-printfsz.c (main): Converted to ...
98         (do_test): ... this.
99         (TEST_FUNCTION): New macro.
100         Include test-skeleton.c.
101         * stdlib/tst-strtod.c (main): Converted to ...
102         (do_test): ... this.
103         (TEST_FUNCTION): New macro.
104         Include test-skeleton.c.
105         * string/tst-strlen.c (main): Converted to ...
106         (do_test): ... this.
107         (TEST_FUNCTION): New macro.
108         Include test-skeleton.c.
109         * string/tst-svc.c (main): Converted to ...
110         (do_test): ... this.
111         (TEST_FUNCTION): New macro.
112         Include test-skeleton.c.
113         * time/tst-strptime.c (main): Converted to ...
114         (do_test): ... this.
115         (TEST_FUNCTION): New macro.
116         Include test-skeleton.c.
117         * timezone/tst-timezone.c (main): Converted to ...
118         (do_test): ... this.
119         (TEST_FUNCTION): New macro.
120         Include test-skeleton.c.
122 2015-08-05  Zack Weinberg  <zackw@panix.com>
124         * misc/regexp.h: Update comments.
126 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
128         [BZ #18635]
129         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
130         before return label.
132 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
134         [BZ #18661]
135         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
136         when calling __errno_location.
137         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
138         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
140 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
142         [BZ #18661]
143         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
144         (__lll_timedwait_tid): Align stack to 16 bytes when calling
145         __gettimeofday.
147 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
149         [BZ #18661]
150         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
151         (__start_context): Don't use pop to restore %rdi so that stack
152         is aligned to 16 bytes when calling __setcontext.
154 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
156         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
157         only for libc.
158         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
160 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
162         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
163         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
164         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
166 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
168         * string/memccpy.c (memccpy):
169         Improve performance by using memchr/memcpy/__mempcpy.
171 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
173         * string/strncpy.c (strncpy):
174         Improve performance by using __strnlen/memcpy.
176 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
178         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
179         Optimize to avoid an unnecessary FPCR read.
181 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
183         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
184         Optimize to reduce FPCR/FPSR accesses.
186 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
188         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
189         dead->data[category] != NULL.
191 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
193         [BZ #18647]
194         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
195         and |x| close to 1, use absolute value of x when computing log.
196         * math/auto-libm-test-in: Add more tests of pow.
197         * math/auto-libm-test-out: Regenerated.
199 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
201         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
202         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
203         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
205 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
207         [BZ #18525]
208         * locales/km_KH: Remove timezone definition.
209         * locales/lo_LA: Likewise.
210         * locales/my_MM: Likewise.
211         * locales/nan_TW@latin: Likewise.
212         * locales/th_TH: Likewise.
213         * locales/uk_UA: Likewise.
215 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
217         [BZ #18265]
218         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
219         (wcsncat): Likewise.
220         (wcscmp): Likewise.
221         (wcsncmp): Likewise.
223 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
225         * test-skeleton.c (usage): New function.
226         (main): Call usage when opt is '?'.
228 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
230         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
231         before first use.
233 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
235         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
236         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
237         in there too.
239 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
241         * version.h (RELEASE): Set to "development".
242         (VERSION): Set to "2.22.90"
244         * version.h (RELEASE): Set to "stable".
245         (VERSION): Set to "2.22"
246         * include/features.h (__GLIBC_MINOR__): Set to 22.
248 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
250         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
251         Restructure macro to avoid "value computed is not used" warning.
252         (atomic_compare_and_exchange_val_acq): Likewise.
254 2015-08-04  Andreas Schwab  <schwab@suse.de>
256         [BZ #18635]
257         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
258         ret.
259         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
261 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
263         * po/pl.po: Updated translation.
264         * po/uk.po: Likewise.
265         * po/fi.po: Likewise.
266         * po/ko.po: Likewise.
267         * po/ru.po: Likewise.
268         * po/vi.po: Likewise.
270 2015-07-31  Zack Weinberg  <zackw@panix.com>
272         [BZ #18681]
273         * regexp.h: Add unconditional #warning stating that this header
274         will be removed soon.  Revise banner comment to match.
275         (compile): Consistently use ERROR instead of RETURN to report
276         errors (partial fix for bz#18681).
277         * regexp.c: Don't include regexp.h. Remove some unnecessary
278         declarations.
280 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
282         * po/libc.pot: Regenerated.
284 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
286         [BZ #18740]
287         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
288         float-vlen4-arch-ext-cflags): Removed.
289         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
290         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
292 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
294         [BZ #14113]
295         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
296         aligned to __aligned__.
297         (pthread_cond_t, pthread_rwlock_t): Likewise.
299 2015-07-30  Torvald Riegel  <triegel@redhat.com>
301         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
303 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
305         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
306         (struct sigaction): Change sa_flags from a long to an int, and add
307         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
309 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
311         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
312         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
313         sysdeps/generic/sysdep.h include.
314         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
315         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
316         sysdeps/hppa/sysdep.h.
317         (ENTRY, PSEUDO): Undefine before defining.
319 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
321         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
322         from scratch to use INTERNAL_SYSCALL.
324 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
326         [BZ #18078]
327         * scripts/check-localplt.awk: Support alternate relocations.
328         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
329         sections.
330         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
331         malloc entries with + REL R_386_GLOB_DAT.
332         * sysdeps/x86_64/localplt.data: New file.
334 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
336         [BZ #18731]
337         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
338         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
339         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
341 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
343         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
345 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
347         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
348         directly in terms of __sync_fetch_and_add and delete (int) cast.
350 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
352         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
353         the -D_ASM_IA64_CURRENT_H flag.
355 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
357         [BZ #18641]
358         * pwd/pwd.h (putpwent): Delete __nonnull markings.
360 2015-07-27  Andreas Schwab  <schwab@suse.de>
362         * conform/conformtest.pl (checknamespace): Filter out string
363         literals while tokenizing.
365 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
367         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
368         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
369         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
371 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
373         * nptl/tst-join7mod.c: Add #include <string.h>.
375 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
377         * sysdeps/nios2/libm-test-ulps: Update.
379 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
381         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
382         Fix order of arguments to the rt_sigprocmask syscall.
383         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
384         Likewise.
386 2015-07-24  Roland McGrath  <roland@hack.frob.com>
388         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
390 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
392         [BZ #18457]
393         * nptl/Makefile (tests): New test case tst-join7.
394         (modules-names): New test case module tst-join7mod.
395         * nptl/tst-join7.c: New file.
396         * nptl/tst-join7mod.c: New file.
397         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
398         all translation units in libc.so, libpthread.so and rtld.
400 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
404 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
406         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
407         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
408         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
410         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
411         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
412         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
413         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
414         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
415         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
416         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
418         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
419         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
420         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
421         implementation.
423 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
425         [BZ #17711]
426         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
427         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
428         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
429         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
430         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
431         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
433 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
435         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
436         instead of just saying load lock in the comments.
438 2015-07-23  Roland McGrath  <roland@hack.frob.com>
440         * sysdeps/unix/Subdirs: Moved ...
441         * sysdeps/posix/Subdirs: ... here.
442         * login/pty.h (struct termios, struct winsize): Add forward decls.
443         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
444         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
445         * sysdeps/arm/nacl/libc.abilist: Updated.
446         * sysdeps/nacl/libutil.abilist: New file.
448         * bits/signum.h: Update comments to mention 1003.1-2013 too.
449         (SIGWINCH): New macro.
451         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
452         * sysdeps/arm/nacl/libc.abilist: Add it.
454 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
456         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
458 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
460         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
461         Swap __glibc_reserved0 and sa_flags order.
463 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
465         [BZ #18657]
466         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
467         are pending TLS destructor calls.
468         * include/link.h (struct link_map): Add concurrency note for
469         L_TLS_DTOR_COUNT.
470         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
471         Don't touch the link map flag.  Atomically increment
472         l_tls_dtor_count.
473         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
474         Avoid taking the load lock and don't touch the link map flag.
475         * stdlib/tst-tls-atexit-nodelete.c: New test case.
476         * stdlib/Makefile (tests): Use it.
477         * stdlib/tst-tls-atexit.c (do_test): dlopen
478         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
479         to allow tst-tls-atexit-nodelete test case to use it.
481 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
483         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
484         to bits/types.h.
485         (msgqnum_t): New typedef.
486         (msglen_t): Likewise.
487         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
488         and msg_qbytes type to msglen_t.
490 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
492         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
493         pad0 to __glibc_reserved0.
494         (struct stat64): Likewise.
496 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
498         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
499         Change sa_flags from a long to an int and add __glibc_reserved0 before
500         it for padding.
502 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
504         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
505         anonymous by deleting "siginfo" name.
507 2015-07-21  Roland McGrath  <roland@hack.frob.com>
509         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
510         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
511         rather than __nacl_irt_filename.
512         * sysdeps/nacl/xstat.c (__xstat): Likewise.
514         * NEWS: New item for arm-nacl port.
515         * sysdeps/arm/nacl/libc.abilist: New file.
516         * sysdeps/nacl/ld.abilist: New file.
517         * sysdeps/nacl/libBrokenLocale.abilist: New file.
518         * sysdeps/nacl/libanl.abilist: New file.
519         * sysdeps/nacl/libcrypt.abilist: New file.
520         * sysdeps/nacl/libdl.abilist: New file.
521         * sysdeps/nacl/libm.abilist: New file.
522         * sysdeps/nacl/libpthread.abilist: New file.
523         * sysdeps/nacl/libresolv.abilist: New file.
524         * sysdeps/nacl/librt.abilist: New file.
526 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
528         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
529         __startcontext to initialize the new context.
530         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
531         up CFI directive to forbid further backtracing.
533 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
535         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
536         reference.
537         * charmaps/ANSI_X3.4-1968: Likewise.
538         * charmaps/BS_4730: Likewise.
539         * charmaps/BS_VIEWDATA: Likewise.
540         * charmaps/CP1250: Likewise.
541         * charmaps/CP1251: Likewise.
542         * charmaps/CP1252: Likewise.
543         * charmaps/CP1253: Likewise.
544         * charmaps/CP1254: Likewise.
545         * charmaps/CP1255: Likewise.
546         * charmaps/CP1256: Likewise.
547         * charmaps/CSN_369103: Likewise.
548         * charmaps/EBCDIC-DK-NO: Likewise.
549         * charmaps/GB_1988-80: Likewise.
550         * charmaps/GREEK-CCITT: Likewise.
551         * charmaps/GREEK7: Likewise.
552         * charmaps/INIS-8: Likewise.
553         * charmaps/ISIRI-3342: Likewise.
554         * charmaps/ISO_2033-1983: Likewise.
555         * charmaps/ISO_5427-EXT: Likewise.
556         * locales/POSIX: Likewise.
557         * locales/ar_SA: Likewise.
558         * locales/be_BY: Likewise.
559         * locales/be_BY@latin: Likewise.
560         * locales/ca_ES: Likewise.
561         * locales/cs_CZ: Likewise.
562         * locales/da_DK: Likewise.
563         * locales/de_BE: Likewise.
564         * locales/de_CH: Likewise.
565         * locales/de_LU: Likewise.
566         * locales/en_AU: Likewise.
567         * locales/en_BW: Likewise.
568         * locales/en_CA: Likewise.
569         * locales/en_DK: Likewise.
570         * locales/en_GB: Likewise.
571         * locales/en_IE: Likewise.
572         * locales/en_NZ: Likewise.
573         * locales/en_ZA: Likewise.
574         * locales/en_ZW: Likewise.
575         * locales/es_AR: Likewise.
576         * locales/es_BO: Likewise.
577         * locales/es_CL: Likewise.
578         * locales/es_CO: Likewise.
579         * locales/es_DO: Likewise.
580         * locales/es_EC: Likewise.
581         * locales/es_ES: Likewise.
582         * locales/es_HN: Likewise.
583         * locales/es_MX: Likewise.
584         * locales/es_PA: Likewise.
585         * locales/es_PE: Likewise.
586         * locales/es_PY: Likewise.
587         * locales/es_SV: Likewise.
588         * locales/es_US: Likewise.
589         * locales/es_UY: Likewise.
590         * locales/es_VE: Likewise.
591         * locales/et_EE: Likewise.
592         * locales/fa_IR: Likewise.
593         * locales/fo_FO: Likewise.
594         * locales/fr_CA: Likewise.
595         * locales/fr_CH: Likewise.
596         * locales/gv_GB: Likewise.
597         * locales/he_IL: Likewise.
598         * locales/hr_HR: Likewise.
599         * locales/id_ID: Likewise.
600         * locales/is_IS: Likewise.
601         * locales/it_CH: Likewise.
602         * locales/iw_IL: Likewise.
603         * locales/kl_GL: Likewise.
604         * locales/ko_KR: Likewise.
605         * locales/kw_GB: Likewise.
606         * locales/lg_UG: Likewise.
607         * locales/lt_LT: Likewise.
608         * locales/lv_LV: Likewise.
609         * locales/mi_NZ: Likewise.
610         * locales/nhn_MX: Likewise.
611         * locales/nl_BE: Likewise.
612         * locales/pl_PL: Likewise.
613         * locales/sk_SK: Likewise.
614         * locales/sl_SI: Likewise.
615         * locales/sv_FI: Likewise.
616         * locales/tl_PH: Likewise.
617         * locales/tr_TR: Likewise.
618         * locales/vi_VN: Likewise.
620 2015-07-21  Khem Raj  <raj.khem@gmail.com>
622         [BZ #17475]
623         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
624         of tu_IN and bh_IN.
626 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
628         [BZ #18694]
629         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
630         bits/wordsize.h.
631         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
633 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
635         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
636         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
637         (spawn_thread): New function.
638         (load): Rename to reg_dtor_and_close.  Move dlopen to...
639         (do_test): ... here.  Use IS_LOADED to test for its
640         availability.
642 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
644         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
646 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
648         [BZ #18696]
649         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
650         si_addr_bnd.
651         (si_lower): New.
652         (si_upper): Likewise.
654 2015-07-16  David S. Miller  <davem@davemloft.net>
656         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
658 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
660         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
661         buffer.
662         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
663         fail output information.
665 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
668         and strstr-ppc64..
669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
670         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
671         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
672         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
673         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
675 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
677         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
678         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
679         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
680         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
682 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
684         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
685         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
686         rtld_hidden_proto.
687         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
689 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
691         * tst-nodelete-opened.c (do_test): Add comment to clarify how
692         the test can fail.
694         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
696         [BZ #18676]
697         * elf/tst-nodelete-opened.c: New test case.
698         * elf/tst-nodelete-opened-lib.c: New test case module.
699         * elf/Makefile (tests, modules-names): Use them.
700         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
701         early.
703 2015-07-15  David S. Miller  <davem@davemloft.net>
705         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
706         futex-intenal.h
707         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
708         * sysdeps/sparc/sparc64/Makefile: Likewise.
709         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
710         Remove space from macro define.
711         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
713 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
715         [BZ #17475]
716         * locale/iso-639.def: Update Bhili and Tulu language codes as
717         per iso639-3.
719 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
721         * elf/tst-leaks1.c (main): Converted to ...
722         (do_test): ... this.
723         (TEST_FUNCTION): New macro.
724         Include test-skeleton.c.
725         * localedata/tst-langinfo.c (main): Converted to ...
726         (do_test): ... this.
727         (TEST_FUNCTION): New macro.
728         Include test-skeleton.c.
729         * math/test-fpucw.c (main): Converted to ...
730         (do_test): ... this.
731         (TEST_FUNCTION): New macro.
732         Include test-skeleton.c.
733         * math/test-tgmath.c (main): Converted to ...
734         (do_test): ... this.
735         (TEST_FUNCTION): New macro.
736         Include test-skeleton.c.
737         * math/test-tgmath2.c (main): Converted to ...
738         (do_test): ... this.
739         (TEST_FUNCTION): New macro.
740         Include test-skeleton.c.
741         * setjmp/tst-setjmp.c (main): Converted to ...
742         (do_test): ... this.
743         (TEST_FUNCTION): New macro.
744         Include test-skeleton.c.
745         * stdio-common/tst-sscanf.c (main): Converted to ...
746         (do_test): ... this.
747         (TEST_FUNCTION): New macro.
748         Include test-skeleton.c.
749         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
750         (do_test): ... this.
751         (TEST_FUNCTION): New macro.
752         Include test-skeleton.c.
754         * elf/tst-audit9.c (main): Converted to ...
755         (do_test): ... this.
756         (TEST_FUNCTION): New macro.
757         Include test-skeleton.c.
759 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
761         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
763 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
765         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
766         New variable.
768 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
770         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
772 2015-07-14  Roland McGrath  <roland@hack.frob.com>
774         * sysdeps/generic/dl-fileid.h: New file.
775         * sysdeps/posix/dl-fileid.h: New file.
776         * sysdeps/nacl/dl-fileid.h: New file.
777         * include/link.h: Include <dl-fileid.h>.
778         (struct link_map): Replace l_dev and l_ino with l_file_id.
779         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
780         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
781         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
783 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
785         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
787 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
789         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
790         Add iff $CXX is set.
791         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
792         Likewise.
793         (tst-nodelete-zmodiff): Likewise.
794         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
796 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
798         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
800 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
802         * sysdeps/aarch64/fpu/math_private.h
803         (define math_opt_barrier): Add AArch64 version.
804         (math_force_eval): Likewise.
806 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
808         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
810 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
812         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
813         %ld with %jd and cast to intmax_t.
814         (do_test_length_zero): Likewise.
816 2015-07-10  Roland McGrath  <roland@hack.frob.com>
818         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
820 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
822         * sysdeps/tile/libm-test-ulps: Regenerated.
824         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
825         Comment out the whole function, not just its body.
827 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
829         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
830         locks.
832         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
834 2015-07-10  Torvald Riegel  <triegel@redhat.com>
836         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
837         (sem_assume_only_signals_cause_futex_EINTR): Remove.
839 2015-07-10  Torvald Riegel  <triegel@redhat.com>
841         * sysdeps/nptl/futex-internal.h: New file.
842         * sysdeps/nacl/futex-internal.h: New file.
843         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
844         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
845         error checking.
846         (setxid_unmark_thread): Likewise.
847         (__nptl_setxid): Likewise.
848         (__wait_lookup_done): Likewise.
849         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
850         * nptl/nptl-init.c (sighandler_setxid): Likewise.
851         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
852         * nptl/pthread_once.c (clear_once_control): Likewise.
853         (__pthread_once_slow): Likewise.
854         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
855         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
856         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
857         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
858         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
859         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
860         Likewise.
861         (__pthread_rwlock_rdlock): Likewise.
862         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
863         Likewise.
864         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
865         Likewise.
866         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
867         Likewise.
868         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
869         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
870         Likewise.
871         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
872         __ASSUME_PRIVATE_FUTEX check.
873         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
874         Check that shared futexes are supported.
875         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
876         wrappers with error checking.
877         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
878         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
879         * nptl/pthread_barrierattr_setpshared.c
880         (pthread_barrierattr_setpshared): Check that shared futexes are
881         supported.
882         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
883         Likewise.
884         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
885         Likewise.
886         * nptl/sem_init.c (futex_private_if_supported): Remove.
887         (__new_sem_init): Adapt and check that shared futexes are supported.
888         * nptl/sem_open.c (sem_open): Likewise.
889         * nptl/sem_post.c (futex_wake): Remove.
890         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
891         (do_futex_wait): Use futex wrappers with error checking.
892         * nptl/sem_wait.c: Include lowlevellock.h.
893         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
894         Use futex_supports_pshared.
895         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
896         Use futex wrappers with error checking.
897         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
898         Likewise.
899         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
900         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
901         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
902         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
903         (futex_wake): Likewise.
904         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
905         (do_futex_wait): Use futex wrappers with error checking.
906         (__new_sem_wait_slow): Update EINTR handling.
907         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
909 2015-07-09  Martin Sebor  <msebor@redhat.com>
911         [BZ #18435]
912         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
913         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
914         * nptl/Makefile (test-xfail-tst-once5): Define.
916 2015-07-09  Roland McGrath  <roland@hack.frob.com>
918         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
919         * elf/dl-minimal.c: For readability, reorder some definitions and
920         introduce more page breaks.  Include <stdio.h>.
921         (__libc_fatal): New function.
923         * include/unistd.h: Add rtld_hidden_proto for _exit.
924         * posix/_exit.c: Add rtld_hidden_def.
925         * sysdeps/mach/hurd/_exit.c: Likewise.
926         * sysdeps/nacl/_exit.c: Likewise.
927         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
928         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
930 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
932         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
933         bndmov encoding with zero displacement.
935 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
936             H.J. Lu  <hongjiu.lu@intel.com>
938         [BZ #18134]
939         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
940         * sysdeps/i386/configure: Regenerated.
941         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
942         (_dl_runtime_profile): Save and restore Intel MPX return bound
943         registers when calling _dl_call_pltexit.  Add
944         PRESERVE_BND_REGS_PREFIX before return.
945         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
946         (LRV_BND1_OFFSET): Likewise.
947         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
948         lrv_bnd1.
949         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
950         typo in bndmov encoding.
951         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
952         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
953         branch instructions to preserve bounds.
955 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
958         [GLIBC_2.22]: Add fmemopen.
960 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
962         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
963         returns an error, also try to use host port from __mach_host_self for
964         the __vm_wire call.
965         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
967 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
969         [BZ #18400]
970         [BZ #18648]
971         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
972         Fix pr_uid and pr_gid members.
973         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
974         definition to elf_greg_t.
976 2015-07-08  Roland McGrath  <roland@hack.frob.com>
978         [BZ #18383]
979         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
980         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
981         * sysdeps/arm/configure: Regenerated.
982         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
983         (test-xfail-tst-tlsalign-static): Variable removed.
985         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
986         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
987         rather than explicit 'ln -s'.
989         * resolv/rpc/netdb.h: New file.
990         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
992 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
994         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
995         length buffers.
996         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
997         test-skeleton.c.
999         [BZ #6544]
1000         [BZ #11216]
1001         [BZ #12836]
1002         [BZ #13151]
1003         [BZ #13152]
1004         [BZ #14292]
1005         * include/stdio.h (fmemopen): Remove hidden prototype.
1006         (__fmemopen): Add new hidden prototype.
1007         * libio/Makefile: Add oldfmemopen object.
1008         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1009         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1010         compliance.
1011         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1012         symbol compatibility.
1013         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1014         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1015         fmemopen.
1016         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1017         on append and read mode.
1018         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1019         fmemopen.
1020         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1021         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1022         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1023         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1024         Likewise.
1025         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1026         [GLIBC_2.22]: Likewise.
1027         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1028         Likewise.
1029         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1030         Likewise.
1031         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1032         [GLIBC_2.22]: Likewise.
1033         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1034         [GLIBC_2.22]: Likewise.
1035         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1036         [GLIBC_2.22]: Likewise.
1037         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1038         [GLIBC_2.22]: Likewise.
1039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1040         [GLIBC_2.22]: Likewise.
1041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1042         [GLIBC_2.22]: Likewise.
1043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1044         [GLIBC_2.22]: Likewise.
1045         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1046         Likewise.
1047         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1048         Likewise.
1049         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1050         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1051         [GLIBC_2.22]: Likewise.
1052         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1053         [GLIBC_2.22]: Likewise.
1054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1055         [GLIBC_2.22]: Likewise.
1056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1057         [GLIBC_2.22]: Likewise.
1058         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1059         Likewise.
1060         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1061         Likewise.
1062         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1063         Likewise.
1064         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1065         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1067 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1069         [BZ #18643]
1070         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1071         IPV6_PATHMTU, and IPV6_DONTFRAG.
1073 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1075         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1076         and _IO_UNBUFFERED.
1077         * libio/oldfileops.c: Likewise.
1078         * libio/wfileops.c: Likewise.
1080 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1082         * nscd/selinux.c: Delete selinux/flask.h include.
1084 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1086         [BZ #18641]
1087         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1088         (putpwent): Likewise.
1089         (getpwnam): Likewise.
1090         (getpwent_r): Likewise.
1091         (getpwuid_r): Likewise.
1092         (getpwnam_r): Likewise.
1093         (fgetpwent_r): Likewise.
1095 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1097         [BZ #18557]
1098         * inet/rcmd.c (__validuser2_sa): Check user first to
1099         short-circuit host check.
1101 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1102             Mikhail Ilin  <m.ilin@samsung.com>
1104         [BZ #17833]
1105         * elf/Makefile (tests): Add tst-nodelete.
1106         (modules-names): Add tst-nodelete-uniquemod.
1107         (tst-nodelete-uniquemod.so-no-z-defs): New.
1108         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1109         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1110         ($(objpfx)tst-nodelete): Likewise.
1111         ($(objpfx)tst-nodelete.out): Likewise.
1112         (LDFLAGS-tst-nodelete): Likewise.
1113         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1114         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1115         implement forced object deletion.
1116         (_dl_close): Pass false to _dl_close_worker.
1117         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1118         * elf/tst-nodelete.cc: New file.
1119         * elf/tst-nodeletelib.cc: Likewise.
1120         * elf/tst-znodeletelib.cc: Likewise.
1121         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1123 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1125         [BZ #18508]
1126         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1127         Depend on $(libdl).
1128         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1129         is not called infinitely times.
1130         (backtrace_helper): New function.
1131         (trace_arg): New struct.
1132         (st1): Enlarge stack size.
1133         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1134         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1135         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1136         Likewise.
1138 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1140         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1142 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1144         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1145         Include sys/types.h instead of bits/types.h.
1146         Remove inclusion of bits/wordsize.h.
1148 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1150         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1151         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1152         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1153         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1154         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1155         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1157 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1159         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1160         link-defines.sym.
1161         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1162         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1163         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1164         and LR_SIZE.
1165         * sysdeps/i386/link-defines.sym: New file.
1167 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1169         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1170         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1171         ($(objpfx)tst-audit3): New rule.
1172         ($(objpfx)tst-audit3.out): Likewise.
1173         * sysdeps/i386/tst-audit3.c: New file.
1174         * sysdeps/i386/tst-audit3.h: Likewise.
1175         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1176         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1178 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1180         [BZ #18633]
1181         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1182         pointer in C code.
1183         (__strcat_c): Likewise.
1184         (__strcat_g): Likewise.
1186 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1188         [BZ #18592]
1189         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1191 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1193         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1194         New function.  (__ieee754_sqrtf): New function.
1195         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1196         New function.
1197         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1198         New function.
1200 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1202         * sysdeps/ieee754/support.c: Remove unused file.
1204 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1206         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1207         registers instead of d ones so the layout is kernel abi compatible.
1208         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1209         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1210         Likewise.
1212 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1214         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1216 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1218         [BZ #18619]
1219         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1220         and return argument in case of subnormal argument.
1222 2015-07-01  Martin Sebor  <msebor@redhat.com>
1224         [BZ #18435]
1225         * nptl/Makefile: Add tst-once5.cc.
1226         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1227         Remove macro redefinitions.
1228         * nptl/tst-once5.cc: New test.
1230 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1232         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1234         * sysdeps/arm/libm-test-ulps: Regenerated.
1236         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1237         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1239 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1241         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1242         lll_lock_wait_private and lll_futex_wake probes.
1244         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1245         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1246         Likewise.
1247         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1248         atomic_spin_nop.
1249         * sysdeps/x86_64/bits/atomic.h: Likewise.
1250         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1251         to atomic_spin_nop and move ...
1252         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1253         ... here and ...
1254         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1255         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1256         atomic_spin_nop instead of BUSY_WAIT_NOP.
1257         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1258         Likewise.
1259         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1260         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1261         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1262         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1263         instead of atomic_delay.
1265 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1267         [BZ #18613]
1268         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1269         X_ADJ not X when adjusting exponent.
1270         (__ieee754_gamma_r): Do intermediate computations in
1271         round-to-nearest then adjust overflowing and underflowing results
1272         as needed.
1273         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1274         of X_ADJ not X when adjusting exponent.
1275         (__ieee754_gammaf_r): Do intermediate computations in
1276         round-to-nearest then adjust overflowing and underflowing results
1277         as needed.
1278         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1279         log of X_ADJ not X when adjusting exponent.
1280         (__ieee754_gammal_r): Do intermediate computations in
1281         round-to-nearest then adjust overflowing and underflowing results
1282         as needed.  Use 1.0L not 1.0f as numerator of division.
1283         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1284         log of X_ADJ not X when adjusting exponent.
1285         (__ieee754_gammal_r): Do intermediate computations in
1286         round-to-nearest then adjust overflowing and underflowing results
1287         as needed.  Use 1.0L not 1.0f as numerator of division.
1288         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1289         of X_ADJ not X when adjusting exponent.
1290         (__ieee754_gammal_r): Do intermediate computations in
1291         round-to-nearest then adjust overflowing and underflowing results
1292         as needed.  Use 1.0L not 1.0f as numerator of division.
1293         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1294         to auto-libm-test-in.
1295         (tgamma_test): Use ALL_RM_TEST.
1296         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1297         tests of tgamma with spurious-overflow.
1298         * math/auto-libm-test-out: Regenerated.
1299         * math/gen-libm-have-vector-test.sh: Do not check for START.
1300         * sysdeps/i386/fpu/libm-test-ulps: Update.
1301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1303         [BZ #18612]
1304         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1305         arguments, just return 0.5 times the argument, with underflow
1306         forced as needed.
1307         * math/auto-libm-test-in: Add more tests of j1.
1308         * math/auto-libm-test-out: Regenerated.
1310         [BZ #16559]
1311         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1312         (__ieee754_j1): Force underflow exception for small results.
1313         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1314         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1315         (__ieee754_j1f): Force underflow exception for small results.
1316         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1317         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1318         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1319         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1320         (__ieee754_j1l): Force underflow exception for small results.
1321         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1322         * math/auto-libm-test-in: Add more tests of j1 and jn.
1323         * math/auto-libm-test-out: Regenerated.
1325         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1326         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1327         (PF_MPLS): Likewise.
1328         (AF_IB): Likewise.
1329         (AF_MPLS): Likewise.
1330         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1331         value and macro.
1332         (MS_RMT_MASK): Include MS_LAZYTIME.
1334 2015-06-26  Mel Gorman  <mgorman@suse.de>
1336         [BZ #18502]
1337         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1338         already minimal.
1340 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1342         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1343         (DT_MIPS_NUM): Update.
1344         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1345         DT_MIPS_RLD_MAP_REL.
1347 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1349         [BZ #16559]
1350         [BZ #18602]
1351         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1352         round-to-nearest internally then recompute results that
1353         underflowed to zero in the original rounding mode.
1354         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1355         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1356         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1357         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1358         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1359         * sysdeps/i386/fpu/libm-test-ulps: Update.
1360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1362 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1364         * NEWS: Fixed description of link with vector math library.
1366 2015-06-25  Andreas Schwab  <schwab@suse.de>
1368         [BZ #18549]
1369         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1370         * libio/test-fmemopen.c (do_test): Add test for it.
1372 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1374         [BZ #17841]
1375         * Makeconfig (no-pie-ldflag): New.
1376         (+link): Set to $(+link-pie) if default to PIE.
1377         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1378         * config.make.in (build-pie-default): New.
1379         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1380         is default.  AC_SUBST.
1381         * configure: Regenerated.
1382         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1384 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1386         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1387         to 'unsigned int'.
1389         * resolv/gai_misc.h (struct waitlist): Change type of field
1390         counterp to 'volatile unsigned int *'.
1391         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1392         FUTEXADDR and OLDVAL.
1393         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1394         Give local variable TOTAL type 'volatile unsigned int'.
1395         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1396         * resolv/gai_suspend.c (gai_suspend):
1397         Give local variable CNTR type 'unsigned int'.
1399         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1400         counterp to 'volatile unsigned int *'.
1401         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1402         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1403         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1404         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1405         Give local variable TOTAL type 'volatile unsigned int'.
1406         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1408 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1410         [BZ #18383]
1411         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1412         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1413         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1414         comment for i386/x86-64.
1415         (test-xfail-tst-tlsalign-extern-static): Removed.
1417 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1419         * math/test-double.h: New file.
1420         * math/test-float.h: Likewise.
1421         * math/test-ldouble.h: Likewise.
1422         * math/test-math-inline.h: Likewise.
1423         * math/test-math-no-inline.h: Likewise.
1424         * math/test-math-scalar.h: Likewise.
1425         * math/test-math-vector.h: Likewise.
1426         * math/test-vec-loop.h: Remove file.  Contents moved into
1427         test-math-vector.h.
1428         * math/libm-test.inc (MATHCONST): Do not document macro.
1429         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1430         and test-math-scalar.h.
1431         (FUNC): Remove macro.
1432         (FUNC_TEST): Likewise.
1433         (FLOAT): Likewise.
1434         (MATHCONST): Likewise.
1435         (PRINTF_EXPR): Likewise.
1436         (PRINTF_XEXPR): Likewise.
1437         (PRINTF_NEXPR): Likewise.
1438         (TEST_DOUBLE): Likewise.
1439         (TEST_MATHVEC): Likewise.
1440         (__NO_MATH_INLINES): Likewise.
1441         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1442         and test-math-scalar.h.
1443         (FUNC): Remove macro.
1444         (FUNC_TEST): Likewise.
1445         (FLOAT): Likewise.
1446         (MATHCONST): Likewise.
1447         (PRINTF_EXPR): Likewise.
1448         (PRINTF_XEXPR): Likewise.
1449         (PRINTF_NEXPR): Likewise.
1450         (TEST_FLOAT): Likewise.
1451         (TEST_MATHVEC): Likewise.
1452         (__NO_MATH_INLINES): Likewise.
1453         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1454         and test-math-scalar.h.
1455         (FUNC): Remove macro.
1456         (FUNC_TEST): Likewise.
1457         (FLOAT): Likewise.
1458         (MATHCONST): Likewise.
1459         (PRINTF_EXPR): Likewise.
1460         (PRINTF_XEXPR): Likewise.
1461         (PRINTF_NEXPR): Likewise.
1462         (TEST_DOUBLE): Likewise.
1463         (TEST_MATHVEC): Likewise.
1464         (TEST_INLINE): Likewise.
1465         (__NO_MATH_INLINES): Likewise.
1466         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1467         test-math-scalar.h.
1468         (FUNC): Remove macro.
1469         (FUNC_TEST): Likewise.
1470         (FLOAT): Likewise.
1471         (MATHCONST): Likewise.
1472         (PRINTF_EXPR): Likewise.
1473         (PRINTF_XEXPR): Likewise.
1474         (PRINTF_NEXPR): Likewise.
1475         (TEST_FLOAT): Likewise.
1476         (TEST_MATHVEC): Likewise.
1477         (TEST_INLINE): Likewise.
1478         (__NO_MATH_INLINES): Likewise.
1479         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1480         and test-math-scalar.h.
1481         (FUNC): Remove macro.
1482         (FUNC_TEST): Likewise.
1483         (FLOAT): Likewise.
1484         (MATHCONST): Likewise.
1485         (PRINTF_EXPR): Likewise.
1486         (PRINTF_XEXPR): Likewise.
1487         (PRINTF_NEXPR): Likewise.
1488         (TEST_LDOUBLE): Likewise.
1489         (TEST_MATHVEC): Likewise.
1490         (TEST_INLINE): Likewise.
1491         (__NO_MATH_INLINES): Likewise.
1492         * math/test-ldouble.c: Include test-ldouble.h,
1493         test-math-no-inline.h and test-math-scalar.h.
1494         (FUNC): Remove macro.
1495         (FUNC_TEST): Likewise.
1496         (FLOAT): Likewise.
1497         (MATHCONST): Likewise.
1498         (PRINTF_EXPR): Likewise.
1499         (PRINTF_XEXPR): Likewise.
1500         (PRINTF_NEXPR): Likewise.
1501         (TEST_LDOUBLE): Likewise.
1502         (TEST_MATHVEC): Likewise.
1503         (__NO_MATH_INLINES): Likewise.
1504         * math/test-double-vlen2.h: Include test-double.h,
1505         test-math-no-inline.h and test-math-vector.h.
1506         (FLOAT): Remove macro.
1507         (FUNC): Likewise.
1508         (MATHCONST): Likewise.
1509         (PRINTF_EXPR): Likewise.
1510         (PRINTF_XEXPR): Likewise.
1511         (PRINTF_NEXPR): Likewise.
1512         (TEST_DOUBLE): Likewise.
1513         (TEST_MATHVEC): Likewise.
1514         (__NO_MATH_INLINES): Likewise.
1515         (CNCT): Likewise.
1516         (CONCAT): Likewise.
1517         (WRAPPER_NAME): Likewise.
1518         (WRAPPER_DECL): Likewise.
1519         (WRAPPER_DECL_ff): Likewise.
1520         (WRAPPER_DECL_fFF): Likewise.
1521         (VECTOR_WRAPPER): Likewise.
1522         (VECTOR_WRAPPER_ff): Likewise.
1523         (VECTOR_WRAPPER_fFF): Likewise.
1524         (VEC_LEN): New macro.
1525         * math/test-double-vlen4.h: Include test-double.h,
1526         test-math-no-inline.h and test-math-vector.h.
1527         (FLOAT): Remove macro.
1528         (FUNC): Likewise.
1529         (MATHCONST): Likewise.
1530         (PRINTF_EXPR): Likewise.
1531         (PRINTF_XEXPR): Likewise.
1532         (PRINTF_NEXPR): Likewise.
1533         (TEST_DOUBLE): Likewise.
1534         (TEST_MATHVEC): Likewise.
1535         (__NO_MATH_INLINES): Likewise.
1536         (CNCT): Likewise.
1537         (CONCAT): Likewise.
1538         (WRAPPER_NAME): Likewise.
1539         (WRAPPER_DECL): Likewise.
1540         (WRAPPER_DECL_ff): Likewise.
1541         (WRAPPER_DECL_fFF): Likewise.
1542         (VECTOR_WRAPPER): Likewise.
1543         (VECTOR_WRAPPER_ff): Likewise.
1544         (VECTOR_WRAPPER_fFF): Likewise.
1545         (VEC_LEN): New macro.
1546         * math/test-double-vlen8.h: Include test-double.h,
1547         test-math-no-inline.h and test-math-vector.h.
1548         (FLOAT): Remove macro.
1549         (FUNC): Likewise.
1550         (MATHCONST): Likewise.
1551         (PRINTF_EXPR): Likewise.
1552         (PRINTF_XEXPR): Likewise.
1553         (PRINTF_NEXPR): Likewise.
1554         (TEST_DOUBLE): Likewise.
1555         (TEST_MATHVEC): Likewise.
1556         (__NO_MATH_INLINES): Likewise.
1557         (CNCT): Likewise.
1558         (CONCAT): Likewise.
1559         (WRAPPER_NAME): Likewise.
1560         (WRAPPER_DECL): Likewise.
1561         (WRAPPER_DECL_ff): Likewise.
1562         (WRAPPER_DECL_fFF): Likewise.
1563         (VECTOR_WRAPPER): Likewise.
1564         (VECTOR_WRAPPER_ff): Likewise.
1565         (VECTOR_WRAPPER_fFF): Likewise.
1566         (VEC_LEN): New macro.
1567         * math/test-float-vlen4.h: Include test-float.h,
1568         test-math-no-inline.h and test-math-vector.h.
1569         (FLOAT): Remove macro.
1570         (FUNC): Likewise.
1571         (MATHCONST): Likewise.
1572         (PRINTF_EXPR): Likewise.
1573         (PRINTF_XEXPR): Likewise.
1574         (PRINTF_NEXPR): Likewise.
1575         (TEST_FLOAT): Likewise.
1576         (TEST_MATHVEC): Likewise.
1577         (__NO_MATH_INLINES): Likewise.
1578         (CNCT): Likewise.
1579         (CONCAT): Likewise.
1580         (WRAPPER_NAME): Likewise.
1581         (WRAPPER_DECL): Likewise.
1582         (WRAPPER_DECL_ff): Likewise.
1583         (WRAPPER_DECL_fFF): Likewise.
1584         (VECTOR_WRAPPER): Likewise.
1585         (VECTOR_WRAPPER_ff): Likewise.
1586         (VECTOR_WRAPPER_fFF): Likewise.
1587         (VEC_LEN): New macro.
1588         * math/test-float-vlen8.h: Include test-float.h,
1589         test-math-no-inline.h and test-math-vector.h.
1590         (FLOAT): Remove macro.
1591         (FUNC): Likewise.
1592         (MATHCONST): Likewise.
1593         (PRINTF_EXPR): Likewise.
1594         (PRINTF_XEXPR): Likewise.
1595         (PRINTF_NEXPR): Likewise.
1596         (TEST_FLOAT): Likewise.
1597         (TEST_MATHVEC): Likewise.
1598         (__NO_MATH_INLINES): Likewise.
1599         (CNCT): Likewise.
1600         (CONCAT): Likewise.
1601         (WRAPPER_NAME): Likewise.
1602         (WRAPPER_DECL): Likewise.
1603         (WRAPPER_DECL_ff): Likewise.
1604         (WRAPPER_DECL_fFF): Likewise.
1605         (VECTOR_WRAPPER): Likewise.
1606         (VECTOR_WRAPPER_ff): Likewise.
1607         (VECTOR_WRAPPER_fFF): Likewise.
1608         (VEC_LEN): New macro.
1609         * math/test-float-vlen16.h: Include test-float.h,
1610         test-math-no-inline.h and test-math-vector.h.
1611         (FLOAT): Remove macro.
1612         (FUNC): Likewise.
1613         (MATHCONST): Likewise.
1614         (PRINTF_EXPR): Likewise.
1615         (PRINTF_XEXPR): Likewise.
1616         (PRINTF_NEXPR): Likewise.
1617         (TEST_FLOAT): Likewise.
1618         (TEST_MATHVEC): Likewise.
1619         (__NO_MATH_INLINES): Likewise.
1620         (CNCT): Likewise.
1621         (CONCAT): Likewise.
1622         (WRAPPER_NAME): Likewise.
1623         (WRAPPER_DECL): Likewise.
1624         (WRAPPER_DECL_ff): Likewise.
1625         (WRAPPER_DECL_fFF): Likewise.
1626         (VECTOR_WRAPPER): Likewise.
1627         (VECTOR_WRAPPER_ff): Likewise.
1628         (VECTOR_WRAPPER_fFF): Likewise.
1629         (VEC_LEN): New macro.
1630         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1631         test-vec-loop.h.
1632         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1633         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1634         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1635         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1636         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1637         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1638         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1640 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1642         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1643         (__getlogin_r): ... this.
1645 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1647         [BZ #18594]
1648         * math/s_ccosh.c (__ccosh): Compare with least normal value
1649         instead of comparing class with FP_SUBNORMAL.
1650         * math/s_ccoshf.c (__ccoshf): Likewise.
1651         * math/s_ccoshl.c (__ccoshl): Likewise.
1652         * math/s_cexp.c (__cexp): Likewise.
1653         * math/s_cexpf.c (__cexpf): Likewise.
1654         * math/s_cexpl.c (__cexpl): Likewise.
1655         * math/s_csin.c (__csin): Likewise.
1656         * math/s_csinf.c (__csinf): Likewise.
1657         * math/s_csinh.c (__csinh): Likewise.
1658         * math/s_csinhf.c (__csinhf): Likewise.
1659         * math/s_csinhl.c (__csinhl): Likewise.
1660         * math/s_csinl.c (__csinl): Likewise.
1661         * math/s_ctan.c (__ctan): Likewise.
1662         * math/s_ctanf.c (__ctanf): Likewise.
1663         * math/s_ctanh.c (__ctanh): Likewise.
1664         * math/s_ctanhf.c (__ctanhf): Likewise.
1665         * math/s_ctanhl.c (__ctanhl): Likewise.
1666         * math/s_ctanl.c (__ctanl): Likewise.
1667         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1668         csin, csinh, ctan and ctanh.
1669         * math/auto-libm-test-out: Regenerated.
1670         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1671         * sysdeps/i386/fpu/libm-test-ulps: Update.
1672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1674 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1676         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1677         return value is wrong, print the expected value too.
1679 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1681         [BZ #18585]
1682         * elf/readlib.c (is_gdb_python_file): New.
1683         (process_file): Don't issue errors on filenames with -gdb.py
1684         suffix.
1686 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1688         * math/auto-libm-test-in: Add more tests of csin and csinh.
1689         * math/auto-libm-test-out: Regenerated.
1690         * math/libm-test.inc (csin_test_data): Remove tests moved to
1691         auto-libm-test-in.
1692         (csinh_test_data): Likewise.
1694         [BZ #18593]
1695         * math/s_csin.c (__csin): Negate before rather than after possibly
1696         overflowing multiplication.
1697         * math/s_csinf.c (__csinf): Likewise.
1698         * math/s_csinh.c (__csinh): Likewise.
1699         * math/s_csinhf.c (__csinhf): Likewise.
1700         * math/s_csinhl.c (__csinhl): Likewise.
1701         * math/s_csinl.c (__csinl): Likewise.
1702         * math/auto-libm-test-in: Add some tests of csin and csinh.
1703         * math/auto-libm-test-out: Regenerated.
1704         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1705         (csinh_test_data): Likewise.
1706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1708         [BZ #18586]
1709         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1710         underflow exception for small results.
1712 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1715         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1716         variable and included header.
1717         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1718         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1719         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1720         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1721         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1722         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1723         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1724         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1725         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1726         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1727         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1728         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1729         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1730         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1731         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1732         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1734 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1736         [BZ #16526]
1737         [BZ #16538]
1738         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1739         (__sin): Force underflow exception for arguments with small
1740         absolute value.
1741         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1742         (__kernel_sinf): Force underflow exception for arguments with
1743         small absolute value.
1744         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1745         (__kernel_sincosl): Force underflow exception for arguments with
1746         small absolute value.
1747         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1748         (__kernel_sinl): Force underflow exception for arguments with
1749         small absolute value.
1750         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1751         (__kernel_sincosl): Force underflow exception for arguments with
1752         small absolute value.
1753         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1754         (__kernel_sinl): Force underflow exception for arguments with
1755         small absolute value.
1756         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1757         (__kernel_sinl): Force underflow exception for arguments with
1758         small absolute value.
1759         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1760         (__kernel_sinf): Force underflow exception for arguments with
1761         small absolute value.
1762         * math/auto-libm-test-in: Add more tests of sin and sincos.
1763         * math/auto-libm-test-out: Regenerated.
1765         [BZ #18245]
1766         [BZ #18583]
1767         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1768         (__kernel_standard_l): Use feholdexcept and fesetenv around
1769         conversion to double instead of special-casing overflow and
1770         underflow.
1771         * math/libm-test.inc (fmod_test_data): Add more tests.
1772         (remainder_test_data): Likewise.
1773         (sqrt_test_data): Likewise.
1775 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1777         [BZ #17403]
1778         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1779         atomic_read_barrier, atomic_write_barrier): Define.
1780         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1781         atomic_read_barrier, atomic_write_barrier): Define.
1783 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1785         * math/Makefile [$(PERL) != no]
1786         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1787         dependency on libm-test.stmp below the inclusion of Rules.
1789 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1791         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1792         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1793         and included header.
1794         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1795         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1796         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1797         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1798         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1799         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1800         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1801         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1802         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1803         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1804         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1805         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1806         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1807         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1808         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1809         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1810         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1811         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1812         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1814 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1816         [BZ #18371]
1817         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1818         intermediate but not final result might underflow.
1819         * math/s_csqrtf.c (__csqrtf): Likewise.
1820         * math/s_csqrtl.c (__csqrtl): Likewise.
1821         * math/auto-libm-test-in: Add more tests of csqrt.
1822         * math/auto-libm-test-out: Regenerated.
1823         * sysdeps/i386/fpu/libm-test-ulps: Update.
1825         [BZ #18219]
1826         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1827         threshold on absolute value of exponent for which scaling is used.
1828         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1829         * math/auto-libm-test-in: Add more tests of exp2.
1830         * math/auto-libm-test-out: Regenerated.
1832 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1834         [BZ #17977]
1835         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1836         when initializing interface list, based on the bug analysis
1837         and the patch proposed by Eric Newton.
1838         * resolv/tst-res_hconf_reorder.c: New test.
1839         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1840         tst-res_hconf_reorder.
1841         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1842         and $(shared-thread-library).
1843         (tst-res_hconf_reorder-ENV): New variable.
1845         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1846         in comment.
1848 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1850         [BZ #16353]
1851         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1852         (__expm1): Force underflow exception for arguments with small
1853         absolute value.
1854         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1855         (__expm1f): Force underflow exception for arguments with small
1856         absolute value.
1857         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1858         (__expm1): Force underflow exception for arguments with small
1859         absolute value.
1860         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1861         (__expm1f): Force underflow exception for arguments with small
1862         absolute value.
1863         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1864         Check for small arguments before calling __expm1.
1865         * math/auto-libm-test-in: Do not mark underflow exceptions as
1866         possibly missing for bug 16353.
1867         * math/auto-libm-test-out: Regenerated.
1869 2015-06-22  Andreas Schwab  <schwab@suse.de>
1871         [BZ #18513]
1872         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1873         PTR queries.
1875 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1877         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1879         * string/strcoll_l.c: Remove unused struct element idxnow.
1881 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1883         [BZ #18569]
1884         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1885         underflow and return argument in case of subnormal argument.
1886         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1887         Likewise.
1888         * math/auto-libm-test-in: Add more tests of expm1.
1889         * math/auto-libm-test-out: Regenerated.
1891         [BZ #16361]
1892         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1893         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1894         tiny results.
1895         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1896         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1897         tiny results.
1898         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1899         mark underflow exceptions as possibly missing for bug 16361.
1900         * math/auto-libm-test-out: Regenerated.
1902 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1904         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1905         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1906         Remove variable.
1907         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1908         (test-xfail-XOPEN2K8/utmpx.h/conform).
1910         * conform/conformtest.pl ($xerrors): New variable.
1911         (note_error): New function.
1912         (compiletest): New argument $xfail.  Use not_error.
1913         (runtest): Likewise.
1914         (top level): Handle xfail- lines.  Update calls to compiletest and
1915         runtest.  Handle xfail- and optional- in headers listed with
1916         allow-header.
1917         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1918         (O_EXEC): Likewise.
1919         (O_SEARCH): Likewise.
1920         * conform/data/stropts.h-data (ioctl): Likewise.
1921         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1922         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1923         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1924         (msghdr.msg_controllen): Likewise.
1925         (cmsghdr.cmsg_len): Likewise.
1926         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1927         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1928         variable.
1929         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1930         (test-xfail-XPG4/stropts.h/conform): Likewise.
1931         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1932         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1933         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1934         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1935         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1936         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1937         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1938         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1939         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1940         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1941         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1942         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1943         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1944         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1945         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1946         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1947         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1948         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1949         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1951 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1953         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1954         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1955         definitions for proper unfolding of __MATHDECL_VEC.
1957 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1959         * benchtests/bench-strcoll.c:
1960         Include string.h.
1961         (main): Remove unused variable res.
1963 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1965         * timezone/Makefile (%/UTC %/Universal):
1966         Generate test-result files for UTC and Universal.
1968 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1970         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1972 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1974         [BZ #16350]
1975         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1976         for arguments with small absolute value.
1977         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1978         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1979         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1980         (__asinh): Force underflow exception for arguments with small
1981         absolute value.
1982         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1983         (__asinhf): Force underflow exception for arguments with small
1984         absolute value.
1985         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1986         (__asinhl): Force underflow exception for arguments with small
1987         absolute value.
1988         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1989         (__asinhl): Force underflow exception for arguments with small
1990         absolute value.
1991         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1992         (__asinhl): Force underflow exception for arguments with small
1993         absolute value.
1994         * math/auto-libm-test-in: Do not mark underflow exceptions as
1995         possibly missing for bug 16350.
1996         * math/auto-libm-test-out: Regenerated.
1998         * include/bits/ipc.h: Remove file.
1999         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2000         variable.
2001         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2002         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2003         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2004         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2005         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2006         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2007         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2008         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2009         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2011         * math/auto-libm-test-in: Remove spurious underflow allowance for
2012         tests of cexp.
2013         * math/auto-libm-test-out: Regenerated.
2015         [BZ #18558]
2016         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2017         unconditional definition.
2018         (MCAST_BLOCK_SOURCE): Likewise.
2019         (MCAST_UNBLOCK_SOURCE): Likewise.
2020         (MCAST_LEAVE_GROUP): Likewise.
2021         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2022         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2023         (MCAST_MSFILTER): Likewise.
2024         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2025         Remove variable.
2026         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2027         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2028         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2029         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2030         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2032 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2034         * NEWS: Mention addition of x86_64 vector sincosf.
2035         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2036         * math/test-float-vlen4.h: Likewise.
2037         * math/test-float-vlen8.h: Likewise.
2038         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2039         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2040         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2041         * sysdeps/x86_64/fpu/Versions: New versions added.
2042         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2043         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2044         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2045         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2046         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2047         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2048         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2049         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2050         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2051         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2052         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2053         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2054         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2055         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2056         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2057         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2058         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2059         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2060         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2061         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2062         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2063         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2064         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2065         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2067         * NEWS: Mention addition of x86_64 vector sincos.
2068         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2069         * math/math.h (__MATHDECL_VEC): New macro.
2070         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2071         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2072         declaration under condition.
2073         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2074         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2075         TEST_VEC_LOOP change.
2076         * math/test-double-vlen4.h: Likewise.
2077         * math/test-double-vlen8.h: Likewise.
2078         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2079         * math/test-float-vlen4.h: Likewise.
2080         * math/test-float-vlen8.h: Likewise.
2081         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2082         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2083         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2084         * sysdeps/x86_64/fpu/Versions: New versions added.
2085         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2086         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2087         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2088         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2089         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2090         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2091         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2092         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2094         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2095         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2096         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2097         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2098         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2099         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2100         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2101         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2102         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2103         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2104         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2105         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2106         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2107         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2108         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2110         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2111         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2112         redirections for powf.
2113         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2114         * sysdeps/x86_64/fpu/Versions: New versions added.
2115         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2116         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2117         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2118         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2119         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2120         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2121         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2122         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2123         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2124         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2125         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2126         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2127         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2128         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2129         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2130         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2131         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2132         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2133         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2134         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2135         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2136         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2137         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2138         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2139         * math/test-float-vlen16.h: Fixed 2 argument macro.
2140         * math/test-float-vlen4.h: Likewise.
2141         * math/test-float-vlen8.h: Likewise.
2142         * NEWS: Mention addition of x86_64 vector powf.
2144 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2146         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2147         and redefine.
2148         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2149         and redefine.
2150         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2151         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2152         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2154         [BZ #18553]
2155         * resource/getpriority.c (getpriority): Rename to __getpriority
2156         and define as weak alias of __getpriority.
2157         * resource/setpriority.c (setpriority): Rename to __setpriority
2158         and define as weak alias of __setpriority.
2159         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2160         __getpriority and define as weak alias of __getpriority.
2161         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2162         __setpriority and define as weak alias of __setpriority.
2163         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2164         strong name.
2165         (setpriority): Use __setpriority as strong name.
2166         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2167         __getpriority and define as weak alias of __getpriority.
2168         * include/sys/resource.h (__getpriority): Declare.  Use
2169         libc_hidden_proto.
2170         (__setpriority): Likewise.
2171         (getpriority): Don't use libc_hidden_proto.
2172         (setpriority): Likewise.
2173         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2174         getpriority.  Call __setpriority instead of setpriority.
2175         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2176         Remove variable.
2178         [BZ #18547]
2179         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2180         as weak alias of __getttynam.  Use prototype function definition.
2181         Call __setttyent, __getttyent and __endttyent instead of
2182         setttyent, getttyent and endttyent.
2183         (getttyent): Rename to __getttyent and define as weak alias of
2184         __getttyent.  Call __setttyent instead of setttyent.  Call
2185         __fgets_unlocked instead of fgets_unlocked.
2186         (setttyent): Rename to __setttyent and define as weak alias of
2187         __setttyent.
2188         (endttyent): Rename to __endttyent and define as weak alias of
2189         __endttyent.
2190         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2191         (__setttyent): Likewise.
2192         (__endttyent): Likewise.
2193         (getttyent): Don't use libc_hidden_proto.
2194         (setttyent): Likewise.
2195         (endttyent): Likewise.
2196         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2197         __endttyent instead of setttyent, getttyent and endttyent.
2198         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2199         Remove variable.
2201         [BZ #18546]
2202         * socket/recv.c (__recv): Use libc_hidden_def.
2203         * socket/socket.c (__socket): Likewise.
2204         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2205         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2206         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2207         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2208         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2209         libc_hidden_def.
2210         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2211         libc_hidden_weak.
2212         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2213         Use libc_hidden_proto.
2214         (__recv): Likewise.
2215         * socket/Versions (libc): Export __recv and __socket at version
2216         GLIBC_PRIVATE.
2217         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2218         instead of recv.
2219         (init_mq_netlink): Call __socket instead of socket.
2220         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2221         Remove variable.
2223         [BZ #18545]
2224         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2225         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2226         hidden_weak.
2227         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2228         define as alias of __mq_timedsend.  Use hidden_weak.
2229         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2230         __mq_timedsend as strong name.
2231         (mq_timedreceive): Use __mq_timedreceive as strong name.
2232         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2233         (__mq_timedreceive): Likewise.
2234         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2235         __mq_timedreceive instead of mq_timedreceive.
2236         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2237         instead of mq_timedsend.
2238         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2239         Remove variable.
2241         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2242         hidden_def and hidden_weak instead of libc_hidden_def and
2243         libc_hidden_weak.
2244         (top level): Refer to hidden_def in comment.
2245         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2246         macro.  Use it instead of libc_hidden_def.
2247         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2248         specify __GI_* name explicitly.
2249         (mq_timedreceive): Likewise.
2250         (mq_setattr): Likewise.
2252         [BZ #18544]
2253         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2254         __pthread_barrier_init and define as weak alias of
2255         __pthread_barrier_init.
2256         * sysdeps/sparc/nptl/pthread_barrier_init.c
2257         (pthread_barrier_init): Likewise.
2258         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2259         __pthread_barrier_wait and define as weak alias of
2260         __pthread_barrier_wait.
2261         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2262         (pthread_barrier_wait): Likewise.
2263         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2264         (pthread_barrier_wait): Likewise.
2265         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2266         (pthread_barrier_wait): Likewise.
2267         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2268         (pthread_barrier_wait): Likewise.
2269         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2270         __pthread_barrier_wait at version GLIBC_PRIVATE.
2271         * include/pthread.h (__pthread_barrier_init): Declare.
2272         (__pthread_barrier_wait): Likewise.
2273         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2274         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2275         (helper_thread): Likewise.
2276         (init_mq_netlink): Call __pthread_barrier_init instead of
2277         pthread_barrier_init.
2279         [BZ #18542]
2280         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2281         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2282         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2283         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2284         vswscanf.
2285         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2286         Remove variable.
2288         [BZ #18540]
2289         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2290         strong alias of _IO_fflush.  Use libc_hidden_def.
2291         * libio/iofflush_u.c (fflush_unlocked): Rename to
2292         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2293         Use libc_hidden_weak.
2294         * include/stdio.h (__fflush_unlocked): Declare.  Use
2295         libc_hidden_proto.
2296         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2297         fflush_unlocked.
2298         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2299         Remove variable.
2301         [BZ #18539]
2302         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2303         define as weak alias of __addseverity.
2304         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2305         Remove variable.
2306         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2307         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2308         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2310         [BZ #18536]
2311         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2312         (__tfind): Likewise.
2313         (__tdelete): Likewise.
2314         (__twalk): Likewise.
2315         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2316         __twalk to GLIBC_PRIVATE.
2317         * include/search.h (__tsearch): Use libc_hidden_proto.
2318         (__tfind): Likewise.
2319         (__tdelete): Likewise.
2320         (__twalk): Likewise.
2321         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2322         Call __tdelete instead of tdelete.
2323         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2324         tfind.  Call __tsearch instead of tsearch.
2325         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2326         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2327         Remove variable.
2328         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2330         [BZ #18534]
2331         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2332         (dprintf): Define as a weak alias of __dprintf, not a strong
2333         alias.
2334         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2335         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2336         dprintf.
2337         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2338         Remove variable.
2339         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2340         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2342         [BZ #18533]
2343         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2344         not a strong alias.
2345         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2346         Remove variable.
2348         [BZ #18532]
2349         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2350         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2351         (in6addr_loopback): Rename to __in6addr_loopback and define as
2352         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2353         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2354         libc_hidden_proto.
2355         (__in6addr_any): Likewise.
2356         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2357         in6addr_any.
2358         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2359         variable.
2360         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2362 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2364         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2365         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2366         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2367         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2368         redirections for pow.
2369         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2370         * sysdeps/x86_64/fpu/Versions: New versions added.
2371         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2372         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2373         build of SSE, AVX2 and AVX512 IFUNC versions.
2374         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2375         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2376         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2377         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2378         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2379         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2380         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2381         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2382         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2383         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2384         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2385         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2386         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2387         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2388         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2390         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2391         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2392         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2393         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2394         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2395         * NEWS: Mention addition of x86_64 vector pow.
2397         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2398         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2399         redirections for expf.
2400         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2401         * sysdeps/x86_64/fpu/Versions: New versions added.
2402         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2403         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2404         build of SSE, AVX2 and AVX512 IFUNC versions.
2405         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2406         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2407         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2408         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2409         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2411         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2412         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2413         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2414         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2415         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2416         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2417         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2418         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2419         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2420         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2421         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2422         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2423         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2424         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2425         * NEWS: Mention addition of x86_64 vector expf.
2427         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2428         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2429         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2430         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2431         redirections for exp.
2432         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2433         * sysdeps/x86_64/fpu/Versions: New versions added.
2434         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2435         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2436         build of SSE, AVX2 and AVX512 IFUNC versions.
2437         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2438         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2439         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2440         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2441         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2442         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2443         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2444         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2445         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2446         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2447         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2448         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2449         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2450         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2451         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2452         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2453         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2454         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2455         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2456         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2457         * NEWS: Mention addition of x86_64 vector exp.
2459         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2460         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2461         redirections for logf.
2462         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2463         * sysdeps/x86_64/fpu/Versions: New versions added.
2464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2465         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2466         build of SSE, AVX2 and AVX512 IFUNC versions.
2467         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2468         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2469         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2470         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2471         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2472         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2473         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2474         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2475         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2476         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2477         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2478         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2479         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2480         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2481         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2482         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2483         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2484         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2485         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2486         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2487         * NEWS: Mention addition of x86_64 vector logf.
2489         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2490         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2491         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2492         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2493         redirections for log.
2494         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2495         * sysdeps/x86_64/fpu/Versions: New versions added.
2496         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2497         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2498         build of SSE, AVX2 and AVX512 IFUNC versions.
2499         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2500         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2501         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2502         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2503         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2504         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2505         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2506         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2507         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2508         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2509         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2510         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2511         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2512         test.
2513         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2514         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2515         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2516         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2517         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2518         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2519         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2520         * NEWS: Mention addition of x86_64 vector log.
2522 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2524         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2525         cfi_adjust_cfa_offset argument.
2526         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2527         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2529         [BZ #18034]
2530         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2531         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2532         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2533         ordering using ldar.
2534         (_dl_tlsdesc_dynamic): Likewise.
2535         (_dl_tlsdesc_return_lazy): Likewise.
2536         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2537         relaxed atomics instead of volatile and synchronize with release store.
2538         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2539         volatile.
2540         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2542 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2544         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2545         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2546         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2547         * sysdeps/x86_64/fpu/Versions: New versions added.
2548         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2549         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2550         build of SSE, AVX2 and AVX512 IFUNC versions.
2551         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2552         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2553         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2554         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2555         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2556         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2557         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2558         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2559         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2560         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2561         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2562         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2563         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2564         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2565         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2566         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2567         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2568         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2569         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2570         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2571         * NEWS: Mention addition of x86_64 vector sinf.
2573 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2575         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2576         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2577         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2578         Remove variable.
2579         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2580         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2582 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2584         [BZ #18530]
2585         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2586         strong alias of _IO_fputs.  Use libc_hidden_def.
2587         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2588         and define as weak alias of __fputs_unlocked.  Use
2589         libc_hidden_weak.
2590         * include/stdio.h (__fputs_unlocked): Declare.  Use
2591         libc_hidden_proto.
2592         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2593         fputs_unlocked.
2595         [BZ #18529]
2596         * resolv/netdb.h [__USE_POSIX]: Change condition to
2597         [__USE_XOPEN2K].
2598         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2599         not expect.
2600         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2601         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2602         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2603         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2604         [XPG4 || UNIX98] (AI_ALL): Likewise.
2605         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2606         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2607         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2608         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2609         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2610         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2611         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2612         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2613         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2614         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2615         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2616         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2617         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2618         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2619         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2620         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2621         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2622         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2623         [XPG4 || UNIX98] (gai_strerror): Likewise.
2624         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2625         [XPG4 || UNIX98] (getnameinfo): Likewise.
2627         [BZ #18528]
2628         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2629         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2630         __USE_XOPEN2K8].
2631         (getgrent): Likewise.
2632         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2633         expect.
2634         [XPG3 || POSIX2008] (endgrent): Likewise.
2635         [XPG3] (setgrent): Likewise.
2636         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2637         variable.
2638         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2640         [BZ #18527]
2641         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2642         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2643         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2644         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2645         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2646         * include/unistd.h (__getlogin_r): Declare.  Use
2647         libc_hidden_proto.
2648         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2649         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2650         variable.
2651         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2652         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2653         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2655 2015-06-12  Martin Sebor  <msebor@redhat.com>
2657         [BZ #18512]
2658         * Makerules (check-install-supported): New target.
2659         (install): Add check-install-supported as a dependency.
2660         * manual/install.texi (Installing the C Library): Document
2661         that overriding prefix and exec_prefix is not supported.
2662         Mention DESTDIR.
2663         * INSTALL: Regenerate from the above.
2665 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2667         [BZ #18519]
2668         * posix/Versions (libc): Export __libc_pread at version
2669         GLIBC_PRIVATE.
2670         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2671         instead of pread.
2672         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2673         variable.
2675         [BZ #18522]
2676         * misc/efgcvt_r.c
2677         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2678         (cvt_symbol): Use weak_alias instead of strong_alias.
2679         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2680         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2681         Remove variable.
2682         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2683         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2685         [BZ #18520]
2686         * inet/herrno.c (h_errno): Rename to __h_errno.
2687         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2688         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2689         to __h_errno instead of h_errno.
2690         * nptl/herrno.c (h_errno): Rename to __h_errno.
2691         (__h_errno_location): Refer to __h_errno not h_errno.
2692         * resolv/Versions (h_errno): Rename to __h_errno.
2693         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2694         Remove variable.
2695         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2697 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2699         * configure.ac: More strict check for AVX512 assembler support.
2700         * configure: Regenerated.
2702         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2703         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2704         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2705         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2706         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2707         * sysdeps/x86_64/fpu/Versions: New versions added.
2708         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2709         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2710         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2711         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2712         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2713         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2714         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2715         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2716         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2717         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2718         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2719         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2720         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2721         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2722         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2723         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2724         test.
2725         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2726         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2727         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2728         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2729         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2730         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2731         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2732         * NEWS: Mention addition of x86_64 vector sin.
2734 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2736         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2737         comment.
2739 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2741         [BZ #18479]
2742         * nptl/pt-interp.c: New file.
2743         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2744         Add pt-interp.
2745         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2746         $(common-objpfx)runtime-linker.h.
2748 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2750         * Makeconfig (+interp): Remove unused variable.
2751         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2752         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2753         $(elf-objpfx)runtime-linker.h.
2754         ($(elf-objpfx)runtime-linker.h): Rename to
2755         $(common-objpfx)runtime-linker.h and move ...
2756         * Makerules [$(build-shared) = yes]: ... here.
2757         * elf/interp.c: Include <runtime-linker.h> instead of
2758         <elf/runtime-linker.h>.
2760 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2762         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2763         (__gettimeofday_syscall): Remove vsyscall fallback.
2764         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2765         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2766         Add syscall fallback function.
2767         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2768         if vDSO is not present.
2769         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2770         fallback function.
2771         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2772         present.
2773         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2774         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2776 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2778         [BZ #18497]
2779         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2780         of wcscmp.
2781         (wcscmp): Define as weak alias of WCSCMP.
2782         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2783         wcscoll.
2784         (USE_HIDDEN_DEF): Define.
2785         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2786         __wcscoll.  Don't use libc_hidden_weak.
2787         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2788         wcscmp.
2789         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2790         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2791         __GI_wcscmp.
2792         (weak_alias): Undefine and redefine.
2793         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2794         __wcscmp and define as weak alias of __wcscmp.
2795         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2796         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2797         (__wcscoll): Likewise.
2798         (wcscmp): Don't use libc_hidden_proto.
2799         (wcscoll): Likewise.
2800         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2801         wcscoll.
2802         * posix/regexec.c (check_node_accept_bytes): Likewise.
2803         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2804         variable.
2805         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2806         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2808         [BZ #18507]
2809         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2810         __fstatvfs and define as weak alias of __fstatvfs.  Use
2811         libc_hidden_weak.
2812         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2813         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2814         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2815         Define as alias of __fstatvfs, not fstatvfs.
2816         (fstatvfs64): Likewise.
2817         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2818         Define as alias of __statvfs, not statvfs.
2819         (statvfs64): Likewise.
2820         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2821         Remove variable.
2823 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2826         (HAVE_GETCPU_VSYSCALL): Define.
2827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2828         (HAVE_GETCPU_VSYSCALL): Likewise.
2829         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2830         * sysdeps/unix/sysv/linux/sched_getcpu.c
2831         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2832         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2833         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2834         prototype.
2835         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2836         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2837         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2839         Define.
2840         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2841         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2842         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2843         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2845 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2847         * sysdeps/x86_64/fpu/Makefile: New file.
2848         * sysdeps/x86_64/fpu/Versions: New file.
2849         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2850         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2851         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2852         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2853         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2854         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2855         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2856         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2857         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2858         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2860         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2861         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2862         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2863         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2864         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2865         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2866         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2867         * sysdeps/x86_64/configure: Regenerated.
2868         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2869         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2870         * manual/install.texi (Configuring and compiling): Document
2871         --disable-mathvec.
2872         * INSTALL: Regenerated.
2873         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2875         * math/Makefile: Added rules for vector tests.
2876         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2877         declaration under condition.
2878         * math/test-double-vlen2.h: New file.
2879         * math/test-double-vlen4.h: New file.
2880         * math/test-double-vlen8.h: New file.
2881         * math/test-vec-loop.h: Added initialization macro.
2882         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2883         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2884         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2885         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2886         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2887         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2888         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2889         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2890         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2891         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2892         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2894         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2895         * sysdeps/x86_64/fpu/Versions: New versions added.
2896         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2897         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2898         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2899         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2900         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2901         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2902         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2903         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2904         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2905         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2906         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2907         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2908         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2909         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2910         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2911         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2912         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2913         * NEWS: Mention addition of x86_64 vector cosf.
2915         * math/Makefile: Added CFLAGS for new tests.
2916         * math/test-float-vlen16.h: New file.
2917         * math/test-float-vlen4.h: New file.
2918         * math/test-float-vlen8.h: New file.
2919         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2920         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2921         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2922         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2923         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2924         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2925         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2926         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2927         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2928         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2929         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2931 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2933         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2934         * locale/programs/ld-ctype.c: Likewise.
2936 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2938         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2939         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2940         bit_ZMM16_31_state): New macro.
2941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2942         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2944 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2946         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2948 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2950         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2952 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2954         [BZ #18498]
2955         * libio/memstream.c (open_memstream): Rename to __open_memstream
2956         and define as weak alias of __open_memstream.
2957         * include/stdio.h (__open_memstream): Declare.  Use
2958         libc_hidden_proto.
2959         (open_memstream): Don't use libc_hidden_proto.
2960         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2961         open_memstream.
2962         * posix/getopt.c (_getopt_internal_r): Likewise.
2963         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2964         variable.
2965         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2966         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2967         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2969         [BZ #18496]
2970         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2971         instead of wcrtomb.
2973         [BZ #18483]
2974         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2975         [__USE_XOPEN2K8].  Remove redundant #endif.
2976         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2977         Remove redundant #if.
2978         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2979         Remove variable.
2980         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2981         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2983         [BZ #18495]
2984         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2985         (__iswlower): Likewise.
2986         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2987         (__iswlower): Likewise.
2988         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2989         instead of towlower.
2990         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2991         instead of iswlower.  Call __towupper instead of towupper.
2992         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2993         instead of iswalnum.
2995 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2997         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2998         errors to stderr.
3000 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3002         [BZ #15661]
3003         [BZ #17322]
3004         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3005         Check for overflow properly.  Check for O_APPEND.  Ignore large
3006         file system block sizes.  Add comments about problems.
3007         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3008         * manual/filesys.texi (Storage Allocation): New node.
3010 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3012         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3013         cancellable syscalls.
3014         (SYS_ify): Add guard to no redefine it.
3015         (INLINE_SYSCALL): Likewise.
3016         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3017         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3018         SYSCALL_CANCEL instead.
3019         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3020         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3021         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3022         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3023         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3024         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3025         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3026         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3027         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3028         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3029         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3030         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3031         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3032         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3033         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3035         Likewise.
3036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3037         (__libc_pread64): Likewise.
3038         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3039         (__libc_preadv): Likewise.
3040         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3041         (__libc_readv64): Likewise.
3042         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3043         (__libc_pwrite): Likewise.
3044         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3045         (__libc_pwrite64): Likewise.
3046         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3047         (__libc_pwritev): Likewise.
3048         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3049         (__libc_pwritev64): Likewise.
3050         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3051         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3052         (sync_file_range): Likewise.
3053         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3054         Likewise.
3055         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3056         Likewise.
3057         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3058         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3059         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3060         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3061         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3062         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3063         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3064         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3066         Likewise.
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3068         (__libc_read64): Likewise.
3069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3070         Likewise.
3071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3072         Likewise.
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3074         Likewise.
3075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3076         Likewise.
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3078         (__libc_pread64): Likewise.
3079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3080         Likewise.
3081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3082         (__libc_pwrite64): Likewise.
3083         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3084         (sync_file_range): Likewise.
3085         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3086         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3087         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3088         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3089         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3090         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3091         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3092         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3093         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3094         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3095         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3096         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3097         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3098         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3099         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3100         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3101         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3102         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3103         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3104         Likewise.
3105         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3106         Likewise.
3107         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3108         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3109         Likewise.
3110         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3111         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3112         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3113         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3114         Likewise.
3115         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3116         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3117         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3118         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3119         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3121 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3123         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3124         Include dl-vdso.
3125         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3126         Use VDSO routines for gettimeofday, clock_gettime if
3127         available.
3128         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3129         Declare VDSO symbols.
3130         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3131         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3132         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3133         * sysdeps/unix/sysv/linux/arm/Versions: Add
3134         __vdso_clock_gettime.
3136 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3138         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3139         be an inline implementation regardless of library is built within.
3140         (open_not_cancel_2): Likewise.
3141         (__read_nocancel): Likewise.
3142         (__write_nocancel): Likewise.
3143         (openat_not_cancel): Likewise.
3144         (openat_not_cancel_3): Likewise.
3145         (openat64_not_cancel): Likewise.
3146         (openat64_not_cancel_3): Likewise.
3147         (__close_nocancel): Likewise.
3148         (pause_not_cancel): Likewise.
3149         (nanosleep_not_cancel): Likewise.
3150         (sigsuspend_not_cancel): Likewise.
3152 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3154         [BZ #14958]
3155         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3156         wake-up.
3157         (__pthread_rwlock_rdlock_slow): Likewise.
3158         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3159         Likewise.
3160         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3161         Likewise.
3162         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3163         * nptl/tst-rwlock16.c: New file.
3164         * nptl/Makefile (tests): Add new test.
3166 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3168         [BZ #18324]
3169         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3170         missing wake-up of readers.
3171         * nptl/tst-rwlock15.c: New file.
3172         * nptl/Makefile (tests): Add new test.
3174 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3176         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3177         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3178         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3179         and __nacl_supply_interface_rtld.
3180         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3181         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3182         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3183         Add __nacl_supply_interface_rtld.
3184         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3186 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3188         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3189         isfinite.
3190         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3191         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3193 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3195         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3196         __signbit* with standard C99 macros.
3197         * math/e_exp10l.c: Likewise.
3198         * math/e_exp2l.c: Likewise.
3199         * math/e_scalb.c: Likewise.
3200         * math/e_scalbf.c: Likewise.
3201         * math/e_scalbl.c: Likewise.
3202         * math/s_ldexp.c: Likewise.
3203         * math/s_ldexpf.c: Likewise.
3204         * math/s_ldexpl.c: Likewise.
3205         * math/w_atan2.c: Likewise.
3206         * math/w_atan2f.c: Likewise.
3207         * math/w_atan2l.c: Likewise.
3208         * math/w_cosh.c: Likewise.
3209         * math/w_coshf.c: Likewise.
3210         * math/w_coshl.c: Likewise.
3211         * math/w_exp10.c: Likewise.
3212         * math/w_exp10f.c: Likewise.
3213         * math/w_exp10l.c: Likewise.
3214         * math/w_exp2.c: Likewise.
3215         * math/w_exp2f.c: Likewise.
3216         * math/w_exp2l.c: Likewise.
3217         * math/w_fmod.c: Likewise.
3218         * math/w_fmodf.c: Likewise.
3219         * math/w_fmodl.c: Likewise.
3220         * math/w_hypot.c: Likewise.
3221         * math/w_hypotf.c: Likewise.
3222         * math/w_hypotl.c: Likewise.
3223         * math/w_jnl.c: Likewise.
3224         * math/w_lgamma.c: Likewise.
3225         * math/w_lgamma_r.c: Likewise.
3226         * math/w_lgammaf.c: Likewise.
3227         * math/w_lgammaf_r.c: Likewise.
3228         * math/w_lgammal.c: Likewise.
3229         * math/w_lgammal_r.c: Likewise.
3230         * math/w_pow.c: Likewise.
3231         * math/w_powf.c: Likewise.
3232         * math/w_powl.c: Likewise.
3233         * math/w_remainder.c: Likewise.
3234         * math/w_remainderf.c: Likewise.
3235         * math/w_remainderl.c: Likewise.
3236         * math/w_scalb.c: Likewise.
3237         * math/w_scalbf.c: Likewise.
3238         * math/w_scalbl.c: Likewise.
3239         * math/w_scalbln.c: Likewise.
3240         * math/w_scalblnf.c: Likewise.
3241         * math/w_scalblnl.c: Likewise.
3242         * math/w_sinh.c: Likewise.
3243         * math/w_sinhf.c: Likewise.
3244         * math/w_sinhl.c: Likewise.
3245         * math/w_tgamma.c: Likewise.
3246         * math/w_tgammaf.c: Likewise.
3247         * math/w_tgammal.c: Likewise.
3248         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3249         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3250         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3251         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3252         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3253         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3254         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3255         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3256         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3257         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3258         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3259         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3260         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3261         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3262         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3263         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3264         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3265         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3266         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3267         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3268         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3269         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3270         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3271         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3272         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3273         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3274         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3275         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3276         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3277         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3278         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3279         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3280         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3281         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3282         * stdio-common/printf_fp.c: Likewise.
3283         * stdio-common/printf_fphex.c: Likewise.
3284         * stdio-common/printf_size.c: Likewise.
3286 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3288         [BZ #18470]
3289         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3290         strnlen.
3291         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3292         Remove variable.
3293         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3294         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3295         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3296         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3297         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3298         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3299         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3300         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3301         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3302         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3304         [BZ #18468]
3305         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3306         weak alias of __wmemchr.  Use libc_hidden_weak.
3307         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3308         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3309         instead of wmemchr.
3311 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3313         [BZ #18383]
3314         * elf/tst-tlsalign-extern.c: New file.
3315         * elf/tst-tlsalign-extern-static.c: New file.
3316         * elf/tst-tlsalign-vars.c: New file.
3317         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3318         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3319         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3320         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3321         (test-xfail-tst-tlsalign-extern-static): New variable.
3323 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3325         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3326         Use variable name _sc_err instead of err.
3327         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3328         instead of ret.
3329         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3330         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3331         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3332         (INLINE_SYSCALL): Likewise.
3334         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3335         * include/string.h (__strnlen): Use libc_hidden_proto.
3336         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3337         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3338         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3339         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3340         (libc_hidden_def): Undefine and redefine.
3341         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3342         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3343         __GI_strnlen.
3344         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3345         libc_hidden_def.
3346         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3348         [BZ #18469]
3349         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3350         weak alias of __towlower.  Use libc_hidden_weak.
3351         (towupper): Rename to __towupper and define as weak alias of
3352         __towupper.  Use libc_hidden_weak.
3353         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3354         (__towupper): Likewise.
3355         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3356         __towlower instead of towlower.
3358 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3360         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3361         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3363 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3365         * sysdeps/aarch64/libm-test-ulps: Update.
3367 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3369         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3370         Define.
3371         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3372         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3373         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3374         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3375         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3376         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3377         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3379 2015-06-01  Martin Sebor  <msebor@redhat.com>
3381         [BZ #18116]
3382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3383         (__setcontext): Use extended four-operand version of mtsf whenever
3384         possible.
3385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3386         (__novec_swapcontext): Likewise.
3388 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3390         * benchtests/scripts/compare_bench.py: New file.
3391         * benchtests/scripts/import_bench.py (mean): New function.
3392         (split_list): Likewise.
3393         (do_for_all_timings): Likewise.
3394         (compress_timings): Likewise.
3396         * benchtests/scripts/import_bench.py: New file.
3397         * benchtests/scripts/validate_benchout.py: Import import_bench
3398         instead of jsonschema.
3399         (validate_bench): Remove function.
3400         (main): Use import_bench.
3402 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3404         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3405         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3407 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3411 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3413         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3414         set THREAD_SELF->tid to a magic value and futex-wake it.
3415         Pass its address to the thread_exit system call.
3416         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3417         bit is clear.
3418         * sysdeps/nacl/lowlevellock.h: New file.
3419         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3421         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3422         Add TIMEOUT to current time, don't subtract it.
3424 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3426         [BZ #2981]
3427         [BZ #18422]
3428         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3429         ($(objpfx)tst-audit2.out): Also depend on
3430         $(objpfx)tst-auditmod9b.so.
3431         * elf/tst-audit2.c: Include <dlfcn.h>.
3432         (calloc_called): New.
3433         (calloc): Allow to be called more than once.
3434         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3436 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3438         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3439         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3441 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3443         * stdlib/monetary.h: Fix comment.
3445 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3447         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3448         Avoid using variables in #defines that might cause shadowing.
3449         (INTERNAL_VSYSCALL_CALL): Likewise.
3451 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3453         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3455         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3456         * nptl/lll_timedlock_wait.c: ... to this new file.
3457         * nptl/Makefile (libpthread-routines): Add it.
3458         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3459         * nptl/lll_timedwait_tid.c: ... to this new file.
3460         * nptl/Makefile (libpthread-routines): Add it.
3461         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3462         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3463         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3464         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3465         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3466         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3467         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3468         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3469         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3470         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3472 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3474         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3475         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3476         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3477         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3478         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3480         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3481         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3482         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3483         * sysdeps/unix/sysv/linux/tile/sysdep.h
3484         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3485         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3486         using vDSO syscall macro.
3488 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3490         [BZ #17293]
3491         * uk_UA: Fix sorting order for Ukrainian locale
3493 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3495         * stdlib/monetary.h: Fix comment.
3497 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3499         [BZ #18234]
3500         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3501         st_mtim and st_ctim members.
3502         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3503         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3504         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3505         (struct stat64): Likewise.
3506         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3507         (struct stat64): Likewise.
3508         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3509         (struct stat64): Likewise.
3511 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3513         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3514         Define and include sysdep-vdso.h.
3515         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3516         Likewise.
3517         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3518         Likewise.
3519         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3520         Define with VDSO_SYMBOL and use PTR_MANGLE.
3521         (__vdso_clock_gettime): Likewise.
3522         (__vdso_clock_getres): Likewise.
3523         (_libc_vdso_platform_setup): Likewise.
3524         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3525         Likewise.
3526         (_libc_vdso_platform_setup): Likewise.
3527         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3528         Likewise.
3529         (__vdso_clock_gettime): Likewise.
3530         (__vdso_clock_getres): Likewise.
3531         (__vdso_get_tbfreq): Likewise.
3532         (__vdso_getcpu): Likewise.
3533         (__vdso_time): Likewise.
3534         (__vdso_sigtramp_rt64): Likewise.
3535         (__vdso_signtramp32): Likewise.
3536         (__vdso_sigtramp_rt32): Likewise.
3537         (_libc_vdso_platform_setup): Likewise.
3538         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3539         Likewise.
3540         (__vdso_clock_gettime): Likewise.
3541         (__vdso_clock_getres): Likewise.
3542         (_libc_vdso_platform_setup): Likewise.
3543         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3544         Likewise.
3545         (__vdso_clock_gettime): Likewise.
3546         (_libc_vdso_platform_setup): Likewise.
3547         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3548         Likewise.
3549         (__vdso_getcpu): Likewise.
3550         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3551         Use VDSO_SYMBOL macro to define.
3552         (__vdso_clock_gettime): Likewise.
3553         (__vdso_clock_getres): Likewise.
3554         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3555         Likewise.
3556         (__vdso_clock_gettime): Likewise.
3557         (__vdso_clock_getres): Likewise.
3558         (__vdso_get_tbfreq): Likewise.
3559         (__vdso_getcpu): Likewise.
3560         (__vdso_time): Likewise.
3561         (__vdso_sigtramp_rt64): Likewise.
3562         (__vdso_signtramp32): Likewise.
3563         (__vdso_sigtramp_rt32): Likewise.
3564         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3565         Likewise.
3566         (__vdso_clock_gettime): Likewise.
3567         (__vdso_clock_getres): Likewise.
3568         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3569         Likewise.
3570         (__vdso_clock_gettime): Likewise.
3571         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3572         Likewise.
3573         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3574         macro.
3575         (INTERNAL_VSYSCALL): Likewise.
3576         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3577         Remove macro.
3578         (INTERNAL_VSYSCALL): Likewise.
3579         (INTERNAL_VSYSCALL_NCS): Likewise.
3580         (INTERNAL_VSYSCALL_CALL): New macro.
3581         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3582         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3583         Likewise.
3584         (INTERNAL_VSYSCALL): Likewise.
3585         (INTERNAL_VSYSCALL_NCS): Likewise.
3586         (INTERNAL_VSYSCALL_CALL): New macro.
3587         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3589         (INLINE_VSYSCALL): Remove macro.
3590         (INTERNAL_VSYSCALL): Remove macro.
3591         (INTERNAL_VSYSCALL_NCS): Remove macro.
3592         (INTERNAL_VSYSCALL_CALL): New macro.
3593         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3594         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3595         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3596         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3597         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3599         (INLINE_VSYSCALL): Remove macro.
3600         (INTERNAL_VSYSCALL): Likewise.
3601         (INTERNAL_VSYSCALL_NCS): Likewise.
3602         (INTERNAL_VSYSCALL_CALL): New macro.
3603         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3604         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3605         PTR_DEMANGLE on vDSO pointer.
3606         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3607         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3608         macro.
3609         (INTERNAL_SYSCALL): Likewise.
3610         (INTERNAL_VSYSCALL_NCS): Remove macro.
3611         (INTERNAL_VSYSCALL_CALL): New macro.
3612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3613         Remove macro.
3614         (INTERNAL_VSYSCALL): Likewise.
3615         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3616         sysdep-vdso.h instead of libc-vdso.h.
3617         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3618         definition.
3619         (INLINE_VSYSCALL): Likewise.
3620         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3621         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3622         definition.
3623         (INLINE_VSYSCALL): Likewise.
3624         (INTERNAL_VSYSCALL): Likewise.
3625         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3626         * sysdeps/unix/sysv/linux/timespec_get.c
3627         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3628         (timespec_get): Use ANSI prototype.
3629         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3630         and definition for Linux.
3632 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3634         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3635         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3637 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3639         [BZ #2981]
3640         [BZ #18410]
3641         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3642         for missing DT_PLTRELSZ.
3644 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3646         Remove obsolete aliases that broke 'locale -a'
3647         [BZ #18412]
3648         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3649         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3650         breaking some applications that use 'locale -a' output.
3651         Change the encoding of this file from Latin-1 to ASCII to avoid
3652         other potential problems with people grepping this file.
3654 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3656         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3657         -fasynchronous-unwind-tables.
3658         (CFLAGS-sendto.c): Likewise.
3659         (CFLAGS-sendmsg.c): Likewise.
3660         (CFLAGS-connect.c): Likewise.
3661         (CFLAGS-recvmsg.c): Likewise.
3662         (CFLAGS-recvfrom.c): Likewise.
3663         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3664         (SOCKETCALL): New macro: non-cancellable socketcall.
3665         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3666         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3667         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3668         * sysdeps/unix/sysv/linux/accept.c: New file.
3669         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3670         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3671         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3672         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3673         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3674         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3675         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3676         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3677         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3678         * sysdeps/unix/sysv/linux/send.c: Likewise.
3679         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3680         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3681         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3682         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3683         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3684         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3685         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3686         prototype.
3687         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3688         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3689         instead of __internal_xxx function.
3690         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3691         prototype.
3692         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3693         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3694         instead of __internal_xxx function.
3695         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3696         prototype.
3697         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3698         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3699         instead of __internal_xxx function.
3700         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3701         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3702         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3703         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3704         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3705         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3706         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3707         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3708         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3709         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3710         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3711         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3712         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3713         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3714         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3715         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3716         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3717         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3718         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3719         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3722         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3723         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3724         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3725         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3726         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3727         * sysdeps/unix/sysv/linux/send.S: Likewise.
3728         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3729         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3730         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3731         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3732         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3733         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3734         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3735         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3736         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3737         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3738         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3739         socketcall is implemented in GLIBC.
3741 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3743         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3744         (__fma): Ignore uninitialized warnings around packing.
3745         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3746         (__fmaf): Ignore uninitialized warnings around packing.
3747         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3748         (__fmal): Ignore uninitialized warnings around packing.
3750         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3751         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3752         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3753         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3755         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3756         switch statement into default case.
3757         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3759         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3760         a conditional in forcing "inexact".
3761         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3762         Likewise.
3764 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3766         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3767         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3768         for each INTERNAL_SYSCALL use.
3770 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3772         [BZ #438]
3773         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3774         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3775         variable.
3777         [BZ #18444]
3778         * string/basename.c (basename): Rename to __basename and define as
3779         weak alias of __basename.  Use libc_hidden_weak.
3780         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3781         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3782         __basename instead of basename.
3783         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3784         Remove variable.
3785         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3787 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3789         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3790         (_IO_JUMPS_FILE_plus): New.
3791         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3792         _IO_CAST_FIELD_ACCESS.
3793         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3794         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3795         * libio/freopen.c (freopen): Likewise.
3796         * libio/freopen64.c (freopen64): Likewise.
3797         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3798         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3799         * libio/iofwide.c (_IO_fwide): Likewise.
3800         * libio/memstream.c (open_memstream): Likewise.
3801         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3802         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3803         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3805 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3807         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3808         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3809         NADJ.
3810         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3811         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3812         NADJ.
3813         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3814         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3815         NADJ.
3817         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3818         (p == 4) case.
3820         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3821         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3822         Remove variable.
3823         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3824         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3825         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3827 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3829         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3830         Adjust jump table label generation macros.
3832 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3834         * stdio-common/vfprintf.c (vfprintf): Move local variables
3835         args_malloced, specs, specs_malloced, and the code after
3836         do_positional to the printf_positional function.
3837         (printf_positional): New function.
3839 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3841         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3842         function.
3843         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3844         STEP4_TABLE, process_arg): Move macro definitions
3845         out of the vfprintf function.  (Cosmetic change only.)
3847 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3849         * benchtests/Makefile (stdio-common-bench): Define.
3850         (benchset): Add stdio-common-bench.
3851         * sprintf-inputs: New file.
3852         * sprintf-source.c: New file.
3854 2015-05-21  Andreas Schwab  <schwab@suse.de>
3856         [BZ #13028]
3857         [BZ #17053]
3858         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3859         of struct __res_state.
3860         * resolv/res_send.c (__libc_res_nsend): Likewise.
3861         (get_nsaddr): New function.
3862         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3863         statp directly.
3865 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3867         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3868         -D_POSIX_C_SOURCE=199506L.
3870         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3872         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3873         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3874         Do not mention otherwise.
3875         [POSIX] (_XOPEN_VERSION): Do not expect.
3876         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3877         [POSIX] (_POSIX2_C_BIND): Likewise.
3878         [POSIX] (_POSIX2_VERSION): Likewise.
3879         [POSIX] (_XOPEN_XPG2): Likewise.
3880         [POSIX] (_XOPEN_XPG3): Likewise.
3881         [POSIX] (_XOPEN_XPG4): Likewise.
3882         [POSIX] (_XOPEN_UNIX): Likewise.
3883         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3884         [POSIX] (_POSIX_BARRIERS): Likewise.
3885         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3886         [POSIX] (_POSIX_CPUTIME): Likewise.
3887         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3888         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3889         [POSIX] (_POSIX_SHELL): Likewise.
3890         [POSIX] (_POSIX_SPAWN): Likewise.
3891         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3892         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3893         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3894         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3895         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3896         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3897         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3898         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3899         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3900         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3901         [POSIX] (_POSIX2_PBS): Likewise.
3902         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3903         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3904         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3905         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3906         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3907         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3908         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3909         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3910         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3911         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3912         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3913         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3914         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3915         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3916         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3917         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3918         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3919         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3920         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3921         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3922         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3923         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3924         [POSIX] (_SC_2_C_BIND): Likewise.
3925         [POSIX] (_SC_2_C_VERSION): Likewise.
3926         [POSIX] (_SC_2_PBS): Likewise.
3927         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3928         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3929         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3930         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3931         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3932         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3933         [POSIX] (_SC_BARRIERS): Likewise.
3934         [POSIX] (_SC_BASE): Likewise.
3935         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3936         [POSIX] (_SC_DEVICE_IO): Likewise.
3937         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3938         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3939         [POSIX] (_SC_FD_MGMT): Likewise.
3940         [POSIX] (_SC_FIFO): Likewise.
3941         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3942         [POSIX] (_SC_FILE_LOCKING): Likewise.
3943         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3944         [POSIX] (_SC_IOV_MAX): Likewise.
3945         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3946         [POSIX] (_SC_NETWORKING): Likewise.
3947         [POSIX] (_SC_PAGE_SIZE): Likewise.
3948         [POSIX] (_SC_PASS_MAX): Likewise.
3949         [POSIX] (_SC_PIPE): Likewise.
3950         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3951         [POSIX] (_SC_REGEXP): Likewise.
3952         [POSIX] (_SC_SHELL): Likewise.
3953         [POSIX] (_SC_SIGNALS): Likewise.
3954         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3955         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3956         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3957         [POSIX] (_SC_USER_GROUPS): Likewise.
3958         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3959         [POSIX] (_SC_STREAMS): Likewise.
3960         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3961         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3962         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3963         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3964         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3965         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3966         [POSIX] (_PC_FILESIZEBITS): Likewise.
3967         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3968         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3969         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3970         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3971         [POSIX] (uid_t): Likewise.
3972         [POSIX] (gid_t): Likewise.
3973         [POSIX] (off_t): Likewise.
3974         [POSIX] (pid_t): Likewise.
3975         [POSIX] (cuserid): Allow.
3976         (_SC_2_CHAR_TERM): Require constant.
3977         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3978         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3979         variable.
3981 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3983         * sysdeps/nacl/pthread-pids.h: New file.
3984         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3985         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3987         * nptl/pthread-pids.h: New file.
3988         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3989         * nptl/nptl-init.c: Include <pthread-pids.h>.
3990         (__pthread_initialize_minimal_internal):
3991         Call __pthread_initialize_pids instead of set_tid_address syscall.
3993         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3994         * sysdeps/posix/usleep.c: ... here.
3996 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3998         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3999         call_pselect6 object.
4000         [$(subdir) = io]: Remove call_sync_file_range object.
4001         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4002         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4003         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4004         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4006 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4008         * math/s_cproj.c: Add include "math_private.h".
4009         * math/s_cprojf.c: Likewise.
4010         * math/s_cprojl.c: Likewise.
4012 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4014         [BZ #18244]
4015         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4016         high mantissa bit when testing whether P is a NaN.
4017         * math/libm-test.inc (remainder_test_data): Add more tests.
4018         (remquo_test_data): Likewise.
4020         [BZ #18049]
4021         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4022         below -32, return the argument, with underflow if subnormal.
4023         * math/auto-libm-test-in: Add more tests of atanh.
4024         * math/auto-libm-test-out: Regenerated.
4026 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4028         [BZ #18434]
4029         * nptl/tst-sem15.c: New file.
4030         * nptl/Makefile (tests): Add it.
4031         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4032         s/<</>>/ to fix typo in EOVERFLOW check.
4033         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4035 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4037         * manual/strings.texi (envz_remove): Fix typo in safety
4038         annotations.
4040 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4041             Steve Ellcey  <sellcey@imgtec.com>
4043         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4044         in order to avoid strict alias warnings.
4045         (iruserok_af): Ditto for ra.
4047 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4049         [BZ #17581]
4050         * malloc/hooks.c
4051         (magicbyte): Convert to a function and avoid returning 0x01.
4052         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4053         (mem2chunk_check): Fix unsigned comparisons to zero.
4054         Hoist defs of sz and magic.
4056 2015-05-19  Richard Henderson  <rth@redhat.com>
4058         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4060         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4062 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4064         [BZ #16159]
4065         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4066         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4067         (reused_arena): Find a non-corrupt arena.
4068         (heap_trim): Pass arena to unlink.
4069         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4070         malloc_printerr.
4071         (top_check): Likewise.
4072         (free_check): Likewise.
4073         (realloc_check): Likewise.
4074         * malloc/malloc.c (malloc_printerr): Add arena argument.
4075         (unlink): Likewise.
4076         (munmap_chunk): Adjust.
4077         (ARENA_CORRUPTION_BIT): New macro.
4078         (arena_is_corrupt): Likewise.
4079         (set_arena_corrupt): Likewise.
4080         (sysmalloc): Use mmap if there are no usable arenas.
4081         (_int_malloc): Likewise.
4082         (__libc_malloc): Don't fail if arena_get returns NULL.
4083         (_mid_memalign): Likewise.
4084         (__libc_calloc): Likewise.
4085         (__libc_realloc): Adjust for additional argument to
4086         malloc_printerr.
4087         (_int_free): Likewise.
4088         (malloc_consolidate): Likewise.
4089         (_int_realloc): Likewise.
4090         (_int_memalign): Don't touch corrupt arenas.
4091         * malloc/tst-malloc-backtrace.c: New test case.
4093         * Makefile (summarize-tests): Fix return value on success.
4095         * manual/string.texi (Envz Functions): Add envz_remove.
4097 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4099         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4100         (invalid_name): New function, broken out of ...
4101         (__opendirat): ... here.  Call it.
4102         (need_isdir_precheck): New function, broken out of ...
4103         (__opendirat): ... here.  Call it.
4104         Use __fxstatat64, not __xstatat64.
4105         (opendir_oflags): New function, broken out of ...
4106         (__opendirat): ... here.  Call it.
4107         (opendir_tail): New function, broken out of ...
4108         (__opendirat): ... here.  Call it.
4109         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4110         opendir_tail, rather than punting to __opendirat.
4111         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4113 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4115         * .gitignore: Ignore generated *.pyc.
4117 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4119         * include/stdio.h: Define __need_wint_t.
4120         * test-skeleton.c: Avoid `for' loop initial declaration.
4121         * nptl/tst-initializers1.c: Use test-skeleton.c.
4123 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4125         [BZ #18418]
4126         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4128 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4130         [BZ #16352]
4131         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4132         (__ieee754_atanh): Force underflow exception for results with
4133         small absolute value.
4134         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4135         (__ieee754_atanhf): Force underflow exception for results with
4136         small absolute value.
4137         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4138         (__ieee754_atanh): Force underflow exception for results with
4139         small absolute value.
4140         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4141         (__ieee754_atanhf): Force underflow exception for results with
4142         small absolute value.
4143         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4144         (__ieee754_atanhl): Force underflow exception for results with
4145         small absolute value.
4146         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4147         (__ieee754_atanhl): Force underflow exception for results with
4148         small absolute value.
4149         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4150         (__ieee754_atanhl): Force underflow exception for results with
4151         small absolute value.
4152         * math/auto-libm-test-in: Do not allow missing underflow
4153         exceptions from atanh.
4154         * math/auto-libm-test-out: Regenerated.
4156         [BZ #18221]
4157         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4158         2**-28 as threshold for returning x or +/- 1/x.
4159         * math/auto-libm-test-in: Add more tests of tan.
4160         * math/auto-libm-test-out: Regenerated.
4162         [BZ #18220]
4163         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4164         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4165         * math/auto-libm-test-in: Add another test of lgamma.
4166         * math/auto-libm-test-out: Regenerated.
4168 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4170         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4171         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4172         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4173         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4174         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4175         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4176         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4177         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4178         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4179         (log1): Use fabs.  (my_log2): Use fabs.
4180         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4181         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4182         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4183         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4185         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4186         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4187         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4188         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4189         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4190         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4192 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4194         [BZ #18217]
4195         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4196         as threshold for returning 1 - x.
4197         * math/auto-libm-test-in: Add more tests of erfc.
4198         * math/auto-libm-test-out: Regenerated.
4200 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4202         [BZ #18196]
4203         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4204         threshold for large arguments.
4205         * math/auto-libm-test-in: Add another test of atan.
4206         * math/auto-libm-test-out: Regenerated.
4208         [BZ #16339]
4209         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4210         (__log1p): Force underflow exception for results with small
4211         absolute value.
4212         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4213         (__log1pf): Force underflow exception for results with small
4214         absolute value.
4215         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4216         (__log1p): Force underflow exception for results with small
4217         absolute value.
4218         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4219         (__log1pf): Force underflow exception for results with small
4220         absolute value.
4221         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4222         (__log1pl): Force underflow exception for results with small
4223         absolute value.
4224         * math/auto-libm-test-in: Do not allow missing underflow
4225         exceptions from log1p.
4226         * math/auto-libm-test-out: Regenerated.
4228 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4229             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4231         [BZ #16704]
4232         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4234 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4236         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4237         (libmvec): New variable.
4238         * configure.ac: Added option for mathvec build.
4239         * configure: Regenerated.
4240         * mathvec/Depend: New file.
4241         * mathvec/Makefile: New file.
4242         * shlib-versions: Added libmvec.
4243         * math/Makefile: Added rule for libm.so installation.
4245         * bits/math-vector.h: New file.
4246         * bits/libm-simd-decl-stubs.h: New header.
4247         * math/Makefile (headers): Added new header
4248         libm-simd-decl-stubs.h.
4249         * math/math.h (__MATHCALL_VEC): New macro.
4251         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4252         for conditions in testing functions.
4253         * math/Makefile: Added call of libm-have-vector-test.sh.
4254         * math/libm-test.inc (HAVE_VECTOR): New macros.
4256         * math/libm-test.inc: START refactored.
4257         * math/test-double.c (TEST_MATHVEC): Add define.
4258         * math/test-float.c: Likewise.
4259         * math/test-idouble.c: Likewise.
4260         * math/test-ifloat.c: Likewise.
4261         * math/test-ildoubl.c: Likewise.
4262         * math/test-ldouble.c: Likewise.
4263         * sysdeps/generic/math-tests-arch.h
4264         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4265         architecture check.
4267         * math/test-double.c (FUNC_TEST): New macro.
4268         * math/test-float.c: Likewise.
4269         * math/test-idouble.c: Likewise.
4270         * math/test-ifloat.c: Likewise.
4271         * math/test-ildoubl.c: Likewise.
4272         * math/test-ldouble.c: Likewise.
4273         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4275 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4277         * sysdeps/nacl/fdopendir.c: New file.
4279         * dirent/scandir-tail.c: New file.
4280         * dirent/scandir64-tail.c: New file.
4281         * dirent/Makefile (routines): Add them.
4282         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4283         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4284         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4285         [!SCANDIR] (SCANDIR_TAIL): New macro.
4286         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4287         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4288         (SCANDIRAT): Macro removed.
4289         (SCANDIR_TAIL): New macro.
4290         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4291         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4292         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4293         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4294         (READDIR): Macro removed.
4295         (SCANDIR_TAIL): New macro.
4296         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4297         (SCANDIR_TAIL): New macro.
4299         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4300         * dirent/scandir-cancel.c: ... to this new file.
4301         * dirent/Makefile (routines): Add it.
4302         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4303         * sysdeps/unix/sysv/linux/i386/scandir64.c
4304         (SKIP_SCANDIR_CANCEL): Macro removed.
4305         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4307         * dirent/tst-scandir.c: New file.
4308         * dirent/tst-scandir64.c: New file.
4309         * dirent/Makefile (tests): Add them.
4311 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4313         [BZ #18409]
4314         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4316 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4318         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4319         list.
4321 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4323         * benchtests/bench-strcoll.c: New benchmark.
4324         * benchtests/Makefile: Generate locales and run benchmark.
4325         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4326         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4327         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4328         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4329         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4330         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4331         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4332         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4333         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4334         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4335         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4336         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4337         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4338         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4339         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4340         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4341         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4342         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4343         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4344         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4345         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4346         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4347         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4348         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4350 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4352         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4353         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4355 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4357         * posix/uname-values.h: New file.
4358         * posix/uname.c: Include that instead of <config-name.h>.
4359         * sysdeps/nacl/uname-values.h: New file.
4360         * sysdeps/arm/nacl/uname-values.h: New file.
4362 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4364         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4365         splitting into fields.
4367 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4369         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4370         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4371         * locale/localeinfo.h: Add enum collation_encoding_type.
4372         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4373         * programs/ld-collate.c (collate_output): Add encoding type info.
4374         * string/strcoll_l.c (STRDIFF): New function.
4375         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4376         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4378 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4380         [BZ #18397]
4381         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4382         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4383         <fpu_control.h> instead of <math/fpu_control.c>.
4384         * sysdeps/mips/mips32/fpu/Makefile: New file.
4386 2015-05-11  Andreas Schwab  <schwab@suse.de>
4388         [BZ #18007]
4389         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4390         nss_endgrent.
4391         (_nss_compat_endgrent): Call nss_endgrent.
4392         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4393         nss_endpwent.
4394         (_nss_compat_endpwent): Call nss_endpwent.
4395         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4396         needent, call nss_setspent only if non-zero.
4397         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4398         (internal_endspent): Don't call nss_endspent.
4399         (_nss_compat_endspent): Call nss_endspent.
4400         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4401         Remove.  All uses removed.
4402         (internal_setent): Remove parameter stayopen, add parameter
4403         stream.  Use it instead of global variable.
4404         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4405         (internal_endent, internal_getent): Add parameter stream.  Use it
4406         instead of global variable.
4407         (CONCAT(_nss_files_end,ENTNAME))
4408         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4409         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4410         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4411         uses removed.
4412         (internal_setent, internal_endent): Add parameter stream.  Use it
4413         instead of global variable.
4414         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4415         stream.
4416         (get_next_alias): Add parameter stream.
4417         (_nss_files_getaliasent_r): Pass global stream.
4418         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4419         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4420         (_nss_files_gethostbyname4_r): Pass local stream to
4421         internal_setent, internal_getent and internal_endent.  Remove
4422         locking.
4424 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4426         * tst-strfmon1.c (tests): Update expected currency symbol.
4428 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4430         * sysdeps/nacl/gethostname.c: New file.
4432 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4434         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4435         and sinh.
4436         * math/auto-libm-test-out: Regenerated.
4437         * sysdeps/i386/fpu/libm-test-ulps: Update.
4438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4440 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4442         [BZ #18125]
4443         * stdlib/tst-setcontext3.c: New file.
4444         * stdlib/tst-setcontext3.sh: New file.
4445         * stdlib/Makefile (tests): Add tst-setcontext3.
4446         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4447         to verify test program created output file.
4448         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4449         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4450         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4451         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4453 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4455         [BZ #18383]
4456         * elf/tst-tlsalign.c: New file.
4457         * elf/tst-tlsalign-static.c: New file.
4458         * elf/tst-tlsalign-lib.c: New file.
4459         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4460         (tests-static): Add tst-tlsalign-static.
4461         (modules-names): Add tst-tlsalign-lib.
4462         (test-xfail-tst-tlsalign): New variable.
4463         (test-xfail-tst-tlsalign-static): New variable.
4465         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4466         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4468 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4470         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4471         csqrt, erfc, sin and sincos.
4472         * math/auto-libm-test-out: Regenerated.
4473         * sysdeps/i386/fpu/libm-test-ulps: Update.
4474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4476 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4478         * sysdeps/aarch64/libm-test-ulps: Update.
4480 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4482         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4483         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4484         * math/auto-libm-test-out: Regenerated.
4485         * sysdeps/i386/fpu/libm-test-ulps: Update.
4486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4488 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4490         [BZ #18265]
4491         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4492         (wcsncpy): Likewise.
4494 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4496         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4497         Assume __ASSUME_FALLOCATE is always true.
4498         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4499         (__posix_fallocate64_l64): Likweise.
4500         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4501         (posix_fallocate): Likewise.
4502         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4503         (__posix_fallocate64_l64): Likewise.
4504         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4505         [!__ASSUME_FALLOCATE]: Add comment.
4507 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4509         * sysdeps/unix/sysv/linux/i386/Makefile
4510         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4511         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4512         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4513         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4514         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4515         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4516         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4518 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4520         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4521         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4522         tgamma.
4523         * math/auto-libm-test-out: Regenerated.
4524         * sysdeps/i386/fpu/libm-test-ulps: Update.
4525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4527 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4529         * math/auto-libm-test-in: Add more tests of tgamma.
4530         * math/auto-libm-test-out: Regenerated.
4531         * sysdeps/i386/fpu/libm-test-ulps: Update.
4532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4534         * math/auto-libm-test-in: Add more tests of tanh.
4535         * math/auto-libm-test-out: Regenerated.
4536         * sysdeps/i386/fpu/libm-test-ulps: Update.
4537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4539         * math/auto-libm-test-in: Add more tests of tan.
4540         * math/auto-libm-test-out: Regenerated.
4541         * sysdeps/i386/fpu/libm-test-ulps: Update.
4542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4544         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4545         * math/auto-libm-test-out: Regenerated.
4546         * sysdeps/i386/fpu/libm-test-ulps: Update.
4547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4549         * math/auto-libm-test-in: Add another test of pow.
4550         * math/auto-libm-test-out: Regenerated.
4551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4553         * math/auto-libm-test-in: Add more tests of lgamma.
4554         * math/auto-libm-test-out: Regenerated.
4555         * sysdeps/i386/fpu/libm-test-ulps: Update.
4556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4558         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4559         log1p.
4560         * math/auto-libm-test-out: Regenerated.
4561         * sysdeps/i386/fpu/libm-test-ulps: Update.
4562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4564 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4566         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4567         Elf64_Chdr structs and ELFCOMPRESS constants.
4569 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4571         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4572         expm1.
4573         * math/auto-libm-test-out: Regenerated.
4574         * sysdeps/i386/fpu/libm-test-ulps: Update.
4575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4577         * math/auto-libm-test-in: Add more tests of erf and erfc.
4578         * math/auto-libm-test-out: Regenerated.
4579         * sysdeps/i386/fpu/libm-test-ulps: Update.
4580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4582 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4584         * config.h.in (HAVE_AARCH64_BE): Add.
4586 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4588         * math/auto-libm-test-in: Add more tests of csqrt.
4589         * math/auto-libm-test-out: Regenerated.
4590         * sysdeps/i386/fpu/libm-test-ulps: Update.
4591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4593         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4594         * math/auto-libm-test-out: Regenerated.
4595         * sysdeps/i386/fpu/libm-test-ulps: Update.
4596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4598         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4600 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4602         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4603         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4605         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4606         (euidaccess, eaccess): Define as weak aliases.
4608         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4609         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4610         but __suseconds_t is often 'long int' so some sources assume that
4611         type is being used (e.g. they use %ld to print tv_usec).
4613 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4615         [BZ #18007]
4616         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4617         (CVE-2014-8121)
4618         * nss/tst-nss-getpwent.c: New file.
4619         * nss/Makefile (tests): Add new test.
4621 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4623         [BZ #18346]
4624         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4625         exponents less than 48 as cases where high part of mantissa needs
4626         examining to determine whether argument is integral.
4627         * math/libm-test.inc (round_test_data): Add more tests.
4629 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4631         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4633 2015-04-27  David S. Miller  <davem@davemloft.net>
4635         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4636         __tls_get_addr.
4637         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4639 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4641         [BZ#18333]
4642         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4644 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4646         [BZ#18333]
4647         * time/tzset.c (parse_tzname): Return error on memory allocation
4648         failure.
4649         * test-skeleton.c (struct temp_name_list): Change type of name
4650         member to non-const.
4651         (add_temp_file): Create a copy of the file name.
4652         (delete_temp_files): Deallocate memory.
4653         (create_temp_file): Add comment.
4655 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4657         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4658         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4660 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4662         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4663         * sysdeps/arm/configure: Regenerated.
4665 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4667         [BZ #17715]
4668         * time/tzfile.c (__tzfile_read): Check for large values of
4669         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4670         * time/tzset.c (__tzstring_len): New function, based on the old
4671         __tzstring function.
4672         (__tzstring): Call __tzstring_len.
4673         (parse_tzname): New helper function extracted from
4674         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4675         the input string.
4676         (parse_offset): New helper function extracted from
4677         __tzset_parse_tz.  Replace switch with fallthrough with
4678         initialization before sscanf.
4679         (parse_rule): Likewise.
4680         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4681         new-style function definition.
4682         * timezone/Makefile (tests): Add tst-tzset.
4683         (tst-tzset.out): Dependencies on time zone files.
4684         (tst-tzset-ENV): Set TZDIR.
4685         (testdata/XT%): Copy crafted time zone files.
4686         * timezone/README: Mention crafted time zone files.
4687         * timezone/testdata/XT1, timezone/testdata/XT2,
4688         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4689         files.
4690         * timezone/tst-tzset.c: New test.
4692 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4694         * Makeconfig (+gccwarn): Remove -Winline.
4696 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4698         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4700 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4702         * NEWS: Mention sysconf() cache information support for s390.
4703         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4705 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4707         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4708         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4709         (__nearbyint): Likewise.
4710         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4711         (copysignl): Likewise.
4713 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4715         [BZ #18287]
4716         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4717         based on padding.  (CVE-2015-1781)
4719 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4721         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4722         libc-vdso.h.
4723         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4724         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4725         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4726         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4727         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4728         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4729         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4730         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4731         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4732         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4733         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4734         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4735         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4736         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4737         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4738         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4739         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4740         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4741         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4742         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4743         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4744         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4745         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4747 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4749         * stdlib/setenv.c (__add_to_environ):
4750         Dump core quickly if setenv (..., NULL, ...) is called.
4751         This time, do it the right way, and pacify GCC with a pragma.
4753 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4755         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4756         IMAP->l_prev cannot be null, and #if out the code for the contrary
4757         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4758         believe that NS (&_dl_ns[NSID]) could point outside the array.
4760         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4761         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4762         before using NSID as an index.
4764 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4766         [BZ #17825]
4767         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4768         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4769         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4771 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4773         Add preliminary port to Google Native Client on ARM.
4774         * abi-tags (.*-.*-nacl.*): New entry.
4775         * sysdeps/arm/nacl: New directory.
4776         * sysdeps/nacl: New directory.
4778 2015-04-16  David S. Miller  <davem@davemloft.net>
4780         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4781         lowlevellock-futex.h
4783 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4785         * sysdeps/tile/configure.ac: New file.
4786         * sysdeps/tile/configure: Regenerated.
4788 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4790         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4791         conditionals for weak_alias and libc_hidden_weak.
4792         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4793         libc_hidden_weak and weak_alias.
4794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4795         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4796         and weak_alias for static one.
4798 2015-04-15  David S. Miller  <davem@davemloft.net>
4800         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4802 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4804         [BZ #18206]
4805         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4806           Use signed comparision instead of substraction to avoid
4807           overflow bug.
4808         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4809           Take the sign of ret.
4810         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4811           Do not expect precise return values. Only the sign matters.
4812         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4813         * wcsmbs/test-wcsncmp.c: New File.
4814         * string/test-strncmp.c: Add wcsncmp support.
4816 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4818         [BZ #6792]
4819         * math/w_log1p.c: New file.
4820         * math/w_log1pf.c: Likewise.
4821         * math/w_log1pl.c: Likewise.
4822         * math/Makefile (libm-calls): Add w_log1p.
4823         * math/s_log1pl.c (log1pl): Remove weak_alias.
4824         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4825         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4826         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4827         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4828         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4829         [NO_LONG_DOUBLE] (log1pl): Likewise.
4830         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4831         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4832         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4833         (log1p): Remove long_double_symbol.
4834         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4835         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4836         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4837         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4838         remove weak_alias for corresponding log1p function.
4839         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4840         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4841         * sysdeps/ia64/fpu/w_log1p.c: New file.
4842         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4843         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4844         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4846 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4848         [BZ #18247]
4849         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4850         decimal exponent by 1.
4851         * stdlib/tst-strtod-round-data: Add more tests.
4852         * stdlib/tst-strtod-round.c (tests): Regenerated.
4854 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4856         * math/auto-libm-test-in: Add more tests of clog and clog10.
4857         * math/auto-libm-test-out: Regenerated.
4858         * sysdeps/i386/fpu/libm-test-ulps: Update.
4859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4861 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4863         * Makeconfig (module-cppflags): Exclude all .v.i files.
4864         (skip-module-cppflags): Variable removed.
4866         * configure.ac (libc_config_ok): Initialize before reading
4867         preconfigure scripts, not after.
4868         * configure: Regenerated.
4870         * test-skeleton.c (TIMEOUT): Move #define to top level.
4871         (main): Grok environment variable TEST_DIRECT.  If set, print
4872         test expectation details into that file and then behave as if
4873         given --direct.
4875 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4877         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4878         warning on 32-bit.
4880 2015-04-08  David S. Miller  <davem@davemloft.net>
4882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4884 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4886         * math/auto-libm-test-in: Add more tests of atanh.
4887         * math/auto-libm-test-out: Regenerated.
4888         * sysdeps/i386/fpu/libm-test-ulps: Update.
4889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4891         * math/auto-libm-test-in: Add more tests of atan.
4892         * math/auto-libm-test-out: Regenerated.
4893         * sysdeps/i386/fpu/libm-test-ulps: Update.
4894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4896 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4898         * elf/pldd.c (main): Rewrite to use struct
4899         scratch_buffer instead of extend_alloca.
4900         * elf/pldd-xx.c (find_maps): Likewise.
4901         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4902         <alloca.h>.
4903         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4904         scratch_buffer instead of extend_alloca.
4905         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4906         grp/compat-initgroups.c.
4907         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4908         Rewrite to use struct scratch_buffer instead of extend_alloca.
4909         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4910         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4912 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4914         * math/auto-libm-test-in: Add more tests of cbrt.
4915         * math/auto-libm-test-out: Regenerated.
4916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4918         * math/auto-libm-test-in: Add more tests of cabs.
4919         * math/auto-libm-test-out: Regenerated.
4920         * sysdeps/i386/fpu/libm-test-ulps: Update.
4921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4923         [BZ #18210]
4924         [BZ #18211]
4925         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4926         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4927         computations.
4928         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4929         clog10.
4930         * math/auto-libm-test-out: Regenerated.
4931         * sysdeps/i386/fpu/libm-test-ulps: Update.
4932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4934         [BZ #18197]
4935         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4936         (atan): Set FE_TONEAREST mode for internal computations.
4937         * math/auto-libm-test-in: Add more tests of atan.
4938         * math/auto-libm-test-out: Regenerated.
4940 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4942         [BZ #17930]
4943         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4945 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4947         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4949 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4951         * include/scratch_buffer.h: New file.
4952         * malloc/scratch_buffer_grow.c: Likewise.
4953         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4954         * malloc/scratch_buffer_set_array_size.c: Likewise.
4955         * malloc/tst-scratch_buffer.c: Likewise.
4956         * malloc/Makefile (routines): Add scratch_buffer_grow.
4957         (tests): Add test case.
4958         * malloc/Versions (GLIBC_PRIVATE): Export
4959         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4960         __libc_scratch_buffer_set_array_size.
4962 2015-04-06  Richard Henderson  <rth@redhat.com>
4964         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4965         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4967         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4968         unsigned int before printing.
4970 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4972         [BZ #17596]
4973         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4974         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4976 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4978         * include/libc-internal.h (libc_max_align_t): Define.
4980 2015-04-02  Andreas Schwab  <schwab@suse.de>
4982         [BZ #16850]
4983         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4985 2015-04-02  Mel Gorman  <mgorman@suse.de>
4987         [BZ #17195]
4988         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4989         as well as the main arena.
4991 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4993         [BZ #18185]
4994         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4995         sharing L2 cache to 2 for Silvermont/Knights Landing.
4997 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4999         [BZ #17711]
5000         * config.make.in (have-protected-data): New.
5001         * configure.ac: Check linker support for protected data symbol.
5002         * configure: Regenerated.
5003         * elf/Makefile (modules-names): Add tst-protected1moda and
5004         tst-protected1modb if $(have-protected-data) is yes.
5005         (tests): Add tst-protected1a and tst-protected1b if
5006         $(have-protected-data) is yes.
5007         ($(objpfx)tst-protected1a): New.
5008         ($(objpfx)tst-protected1b): Likewise.
5009         (tst-protected1modb.so-no-z-defs): Likewise.
5010         * elf/tst-protected1a.c: New file.
5011         * elf/tst-protected1b.c: Likewise.
5012         * elf/tst-protected1mod.h: Likewise.
5013         * elf/tst-protected1moda.c: Likewise.
5014         * elf/tst-protected1modb.c: Likewise.
5016 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5018         [BZ #17711]
5019         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5020         indicates it is called from do_lookup_x on relocation against
5021         protected data, skip the data definion in the executable from
5022         copy reloc.
5023         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5024         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5025         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5026         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5027         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5028         otherwise to 0.
5029         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5030         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5031         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5032         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5033         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5034         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5036 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5038         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5039         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5041 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5043         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5044         THREAD_SETMEM_NC.
5045         * sysdeps/x86_64/nptl/tls.h: Ditto.
5047 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5049         * dlfcn/tststatic.c (main): Converted to ...
5050         (do_test): ... this.
5051         (TEST_FUNCTION): New macro.
5052         Include test-skeleton.c.
5054 2015-03-26  Alan Modra  <amodra@gmail.com>
5056         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5057         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5058         zero for undefined weak.
5059         (elf_machine_plt_conflict): Similarly.
5061 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5063         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5064         atanh.
5065         * math/auto-libm-test-out: Regenerated.
5066         * sysdeps/i386/fpu/libm-test-ulps: Update.
5067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5069         * math/auto-libm-test-in: Add another test of asin.
5070         * math/auto-libm-test-out: Regenerated.
5071         * sysdeps/i386/fpu/libm-test-ulps: Update.
5072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5074         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5075         Remove macro.
5076         (LLL_EBX_REG): Likewise.
5077         (LLL_ENTER_KERNEL): Likewise.
5079         * math/auto-libm-test-in: Add more tests of asin.
5080         * math/auto-libm-test-out: Regenerated.
5081         * sysdeps/i386/fpu/libm-test-ulps: Update.
5082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5084         [BZ #18138]
5085         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5086         libc_do_syscall_args): New structure.
5087         (INTERNAL_SYSCALL_MAIN_0): New macro.
5088         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5089         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5090         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5091         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5092         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5093         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5094         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5095         Replace conditional definitions by conditional definitions of ....
5096         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5097         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5098         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5099         (libpthread-sysdep_routines): Add libc-do-syscall.
5100         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5101         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5102         to __NR_futex not 240.
5104 2015-03-25  Alan Modra  <amodra@gmail.com>
5106         * NEWS: Advertise TLS optimization.
5107         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5108         (DT_PPC_NUM): Increment.
5109         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5110         (CHECK_STATIC_TLS): Use here.
5111         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5112         TLS descriptors.
5113         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5114         * sysdeps/powerpc/dl-tls.c: New file.
5115         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5116         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5117         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5118         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5123 2015-03-25  Alan Modra  <amodra@gmail.com>
5125         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5126         for overlapping .opd entries" to "support...".
5127         * sysdeps/powerpc/powerpc64/configure: Regenerate
5129 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5131         * math/auto-libm-test-in: Add more tests of acos.
5132         * math/auto-libm-test-out: Regenerated.
5133         * sysdeps/i386/fpu/libm-test-ulps: Update.
5134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5136         * math/auto-libm-test-in: Add more tests of expm1.
5137         * math/auto-libm-test-out: Regenerated.
5138         * sysdeps/i386/fpu/libm-test-ulps: Update.
5139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5141 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5143         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5144         * math/auto-libm-test-out: Regenerated.
5145         * sysdeps/i386/fpu/libm-test-ulps: Update.
5146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5148         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5151         * math/auto-libm-test-in: Add more tests of log2.
5152         * math/auto-libm-test-out: Regenerated.
5153         * sysdeps/i386/fpu/libm-test-ulps: Update.
5154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5156 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5158         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5159         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5160         _IO_IS_APPENDING bit in READ_WRITE instead.
5162 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5164         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5165         (__determine_cpumask_size): Replace extend_alloca with a
5166         variable-length array.  Do not treat res == 0 as an error.
5168 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5170         [BZ #18100]
5171         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5172         and integer overflow.
5173         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5174         (main): Add integer overflow tests.
5175         * manual/pattern.texi (Calling Wordexp): Document additional use
5176         for WRDE_SYNTAX.
5178 2015-03-23  Alan Modra  <amodra@gmail.com>
5180         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5181         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5182         and false branch of conditional.
5183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5184         Likewise.
5186 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5188         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5189         libc-modules.h
5190         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5191         unused declaration of _hurd_intr_rpc_msg_in_trap.
5192         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5193         defined instead of whether it is non-zero.
5194         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5195         input constraint instead of both input and output constraint.  Use ecx
5196         clobber instead of %ecx.
5197         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5198         mutex_unlock): Use a statement expression instead of an expression list.
5199         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5200         type to vm_size_t instead of vm_address_t.
5201         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5202         defined instead of whether it is non-zero.
5203         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5204         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5205         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5206         comparisons with mapaddr.
5207         * nscd/nscd-client.h: Include <time.h>.
5208         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5209         9th parameter to __vm_region instead of int.
5210         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5211         * scripts/check-local-headers.sh (exclude): Add device/,
5212         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5213         cthreads.h.
5215 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5217         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5218         to account for alignment padding.
5219         * sysdeps/arm/memmove.S: Likewise.
5221 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5223         * sysdeps/unix/sysv/linux/generic/README: New file.
5225 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5227         [BZ #18138]
5228         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5229         (futex_abstimed_wait)
5230         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5231         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5232         of lll_futex_timed_wait.
5234 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5236         [BZ #17542]
5237         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5239 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5241         [BZ #17090]
5242         [BZ #17620]
5243         [BZ #17621]
5244         [BZ #17628]
5245         * NEWS: Update.
5246         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5247         entries with Static TLS too.  Skip entries past the end of the
5248         allocated DTV, from Alan Modra.
5249         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5250         Static TLS DTV entry set up from...
5251         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5252         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5253         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5254         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5255         for Static TLS.
5256         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5257         that the slot we find is associated with the given map before
5258         using its generation count.
5259         * nptl_db/db_info.c: Include ldsodefs.h.
5260         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5261         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5262         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5263         (link_map::l_tls_offset): New struct field.
5264         (dtv_t::counter): Likewise.
5265         (rtld_global): New struct.
5266         (_rtld_global): New rtld variable.
5267         (dl_tls_dtv_slotinfo_list): New rtld global field.
5268         (dtv_slotinfo_list): New struct.
5269         (dtv_slotinfo): Likewise.
5270         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5271         (td_lookup): Rename to...
5272         (td_mod_lookup): ... this.  Use new mod parameter instead of
5273         LIBPTHREAD_SO.
5274         * nptl_db/td_thr_tlsbase.c: Include link.h.
5275         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5276         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5277         addresses even if the DTV is out of date or missing them.
5278         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5279         index zero-length arrays.
5280         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5281         (td_lookup): Make it a macro implemented in terms of...
5282         (td_mod_lookup): ... this declaration.
5283         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5284         (DB_MAIN_VARIABLE): Likewise.
5286 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5288         [BZ #18134]
5289         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5291 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5293         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5295 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5297         [BZ #18128]
5298         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5299         (atomic_add, atomic_increment_and_test)
5300         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5302 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5304         * stdlib/setenv.c (__add_to_environ):
5305         Dump core quickly if setenv (..., NULL, ...) is called.
5307 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5309         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5310         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5311         all the necessary asm magic in one place.
5312         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5313         using those.
5315 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5317         [BZ #14906]
5318         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5319         traced file mtime. Use consistent log message.
5320         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5321         (register_traced_file): Call install_watches. Always set mtime.
5322         (invalidate_cache): Iterate over all trace files. Call install_watches.
5323         (inotify_check_files): Don't inline. Handle watching parent
5324         directories and configuration file movement in and out.
5325         (handle_inotify_events): New function.
5326         (main_loop_poll): Call handle_inotify_events.
5327         (main_loop_epoll): Likewise.
5328         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5329         (struct traced_file): Use array of inotify fds. Add parent directory,
5330         and basename.
5331         (struct database_dyn): Remove unused file_mtime.
5332         (init_traced_file): New inline function.
5333         (define_traced_file): New macro.
5334         * nss/nss_db/db-init.c: Use define_traced_file.
5335         (_nss_db_init): Use init_traced_file.
5336         * nss/nss_files/files-init.c: Use define_traced_file.
5337         (_nss_files_init): Use init_traced_file.
5339 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5341         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5342         [_LIBC]: Do not include <stdlib.h>.
5343         [!_LIBC] (abort): Remove declaration.
5344         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5345         _FP_STATIC_ASSERT instead of conditionally calling abort.
5346         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5347         (_FP_EXTEND_CNAN): Likewise.
5348         (FP_TRUNC): Likewise.
5349         (__FP_CLZ): Likewise.
5350         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5352 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5354         * manual/string.texi (XPG basename): Fix prototype.
5356 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5358         [BZ #18080]
5359         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5360         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5361         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5362         (__setcontext): Likewise.
5363         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5364         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5365         Call rt_sigprocmask syscall one time to set new signal mask
5366         and retrieve the current signal mask instead of two calls.
5367         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5368         (__swapcontext): Likewise.
5369         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5370         * stdlib/tst-setcontext2.c: New file.
5372 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5374         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5376 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5378         [BZ #18093]
5379         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5380         the wrong size.
5382 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5384         [BZ #18043]
5385         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5387 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5389         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5390         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5391         Remove define.
5392         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5393         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5394         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5395         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5396         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5397         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5398         define.
5399         * nptl_db/td_symbol_list.c (td_lookup): Remove
5400         HAVE_ASM_GLOBAL_DOT_NAME code.
5401         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5402         HAVE_ASM_GLOBAL_DOT_NAME check.
5403         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5404         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5405         (DOT_LABEL): Remove define.
5406         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5407         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5408         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5409         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5410         (__TLS_GET_ADDR): Likewise.
5411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5412         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5414 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5416         [BZ #18111]
5417         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5418         (_FPU_SETCW): Initialize cw from fpsr before storing.
5419         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5420         (fesetexceptflag): Rewrite using fpu_control.h.
5421         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5423 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5425         [BZ #18110]
5426         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5427         asms.
5428         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5430 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5432         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5433         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5434         abort.
5435         (_FP_FMA): Likewise.
5436         (_FP_DIV): Likewise.
5438 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5440         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5441         with 0 in that case.
5442         * Makefile (summarize-tests): New canned sequence, factored out of
5443         commands for targets tests and xtests.  Display summary lines that
5444         don't start with PASS: or XFAIL: rather than ones that do start with
5445         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5446         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5447         do start with ERROR: or FAIL:.
5448         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5449         (except for [$(build-shared) = yes]).
5450         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5451         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5452         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5453         * nptl/Makefile: Revert 2015-03-04 changes.
5454         [$(CXX) empty] (tests-unsupported): New variable.
5455         * debug/Makefile: Likewise.
5457         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5458         gnulib file.  Replace __attribute with __attribute__ throughout.
5460 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5462         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5464 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5466         [BZ #18104]
5467         * math/auto-libm-test-in: Add another test of pow.
5468         * math/auto-libm-test-out: Regenerated.
5470 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5472         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5473         $(config-cflags-nofma).
5475 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5477         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5478         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5479         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5480         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5481         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5482         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5483         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5484         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5485         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5486         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5487         Add comment on closing #endif.
5489 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5491         * posix/wordexp.c (CHAR_IN_SET): New macro.
5492         (parse_param): Use it.
5494 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5496         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5498 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5500         [BZ #18043]
5501         * posix/wordexp.c (parse_param): Fix buffer overflow.
5502         * posix/wordexp-test.c (test_case): Add test case.
5504 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5506         [BZ #18042]
5507         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5508         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5510 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5512         [BZ #18043]
5513         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5514         (do_bz18043): Delete.
5515         (at_page_end): New.
5516         (testit): Refactor to have words at the edge of unreadable page.
5518 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5520         [BZ #16734]
5521         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5522         Cleanup read-only streams as well.
5523         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5525 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5527         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5528         <bits/libc-lockP.h>
5530 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5532         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5533         on [__KERNEL__].
5534         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5535         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5536         * soft-fp/op-common.h (_FP_DECL): Likewise.
5538 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5540         * elf/ifuncdep2.c (global): Replace
5541         __attribute__((visibility("protected"))) with
5542         asm (".protected global").
5543         * elf/ifuncmod1.c (global): Likewise.
5544         * elf/ifuncmod5.c (global): Likewise.
5546 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5548         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5549         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5551 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5553         * manual/install.texi (Configuring and compiling):
5554         Document test-wrapper-env-only.
5555         * INSTALL: Regenerated.
5557 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5559         [BZ #18043]
5560         * posix/wordexp.c (parse_param): Fix buffer overflow.
5561         * posix/wordexp-test.c (do_bz18043): Add test case.
5563 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5565         * time/tst-strptime2.c (do_test): Ensure failing tests are
5566         reported correctly.
5567         * time/tst-strptime3.c (do_test): Likewise.
5569 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5571         Fix aio_error thread-safety.
5572         * sysdeps/pthread/aio_error.c: New file
5573         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5574         synchronization.
5576 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5578         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5579         (group_number, vfprintf): Use it.
5580         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5581         (JUMP, REF): Use it.
5582         (WORK_BUFFER_SIZE): New enum constant.
5583         (process_arg, vfprintf): Use it.
5585 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5587         * manual/errno.texi (Error Messages): Complete example function
5588         by adding missing #define.
5589         (program_invocation_name): Add statement indicating GNU
5590         extension and reference which header file declares the variable.
5591         (program_invocation_short_name): Likewise.
5593 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5595         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5596         compatibility note.
5598 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5600         * Makeconfig (test-wrapper-env-only): New variable.
5601         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5602         then use that with $(test-wrapper-env-only) rather than using
5603         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5605 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5607         [BZ #18082]
5608         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5609         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5610         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5611         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5612         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5613         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5614         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5615         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5616         Likewise.
5617         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5618         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5619         Likewise.
5620         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5621         Likewise.
5622         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5623         Likewise.
5624         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5625         Likewise.
5626         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5627         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5628         Likewise.
5629         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5630         Likewise.
5631         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5632         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5634 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5636         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5637         (ETH_ALEN): New macro.
5638         (struct ether_addr): Use it for length of ether_addr_octet.
5640         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5641         (setdb): Don't call __nss_configure_lookup for "rpc".
5642         (do_test): Don't call test_rpc.
5643         (output_rpcent, test_rpc): Functions moved ...
5644         * sunrpc/test-rpcent.c: ... to this new file.
5645         * sunrpc/Makefile (tests): Add it.
5647         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5648         __xpg_sigpause.
5649         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5650         * nptl/tst-signal6.c: Likewise.
5651         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5652         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5654         * configure.ac (libc_cv_cxx_link_ok): New check.
5655         Reset CXX to empty if it fails to link.
5656         * configure: Regenerated.
5657         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5658         bug-atexit3-lib only if $(CXX) is nonempty.
5659         * nptl/Makefile (tests): Likewise for tst-cancel24.
5660         (tests, tests-static): Likewise for tst-cancel24-static.
5661         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5662         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5663         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5664         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5666 2015-03-04  Andreas Schwab  <schwab@suse.de>
5668         [BZ #17631]
5669         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5670         for non-GCC compilers.
5671         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5672         Likewise.
5674 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5676         [BZ #17776]
5677         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5678         integer before bitwise and assembly operations.
5679         (feclearexcept): Likewise.
5680         * math/test-fenvinline.c: New file.
5681         * math/Makefile: Add test-fenvinline test.
5683 2015-03-03  Alan Modra  <amodra@gmail.com>
5685         [BZ #16512]
5686         * scripts/localplt.awk: Strip off symbol version.
5687         * NEWS: Mention bug fix.
5689 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5691         * sysdeps/pthread/timer_routines.c
5692         (timer_free_list, thread_free_list, thread_active_list): Make static.
5694 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5696         [BZ #17779]
5697         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5698         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5699         Undefine.
5700         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5701         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5702         Likewise.
5703         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5704         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5705         Likewise.
5707 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5709         [BZ #18036]
5710         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5711         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5713 2015-03-02  Andreas Schwab  <schwab@suse.de>
5715         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5716         variable name.
5718 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5720         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5721         Return error status.
5723 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5725         [BZ #15969]
5726         * locale/findlocale.c (_nl_find_locale): Introduce const
5727         version of loc_name and drop unsafe type casts.
5729 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5731         * dlfcn/tststatic2.c (main): Converted to ...
5732         (do_test): ... this.
5733         (TEST_FUNCTION): New macro.
5734         Include test-skeleton.c.
5736 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5738         [BZ #17711]
5739         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5740         (tests-pie): Add vismain.
5741         (CFLAGS-vismain.c): New.
5742         * elf/vismain.c: Add comments for PIE requirement.
5744 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5746         [BZ #18046]
5747         [BZ #18047]
5748         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5749         0x1p-56L as threshold for just returning the argument.
5750         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5751         0x1p-32L as threshold for just returning the argument.
5752         * math/auto-libm-test-in: Add more tests of atanh.
5753         * math/auto-libm-test-out: Regenerated.
5754         * sysdeps/i386/fpu/libm-test-ulps: Update.
5755         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5757 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5759         * string/bcopy.c (bcopy): Call memmove for performance.
5761 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5763         * string/bzero.c (__bzero): Call memset for performance.
5765 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5767         [BZ #18068]
5768         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5769         to 00100000.
5771 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5773         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5775 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5777         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5778         (__kernel_standard): Use CSTR macro when setting exc.name.
5779         * sysdeps/ieee754/Makefile [$(subdir) = math]
5780         (CFLAGS-k_standard.c): Remove variable.
5782         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5783         setting p and q from "else if" to "else".
5784         (qzero): Likewise.
5785         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5786         (qone): Likewise.
5787         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5788         (qzerof): Likewise.
5789         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5790         (qonef): Likewise.
5791         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5792         (qzero): Likewise.
5793         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5794         (qone): Likewise.
5796         [BZ #18038]
5797         [BZ #18039]
5798         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5799         return pi/2 for arguments below 0x1p-113L.
5800         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5801         return pi/2 for arguments below 0x1p-106L.
5802         * math/auto-libm-test-in: Add more tests of acos.
5803         * math/auto-libm-test-out: Regenerated.
5805         [BZ #16351]
5806         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5807         (MO): New macro.
5808         (__ieee754_asin): Force underflow exception for results with small
5809         absolute value.
5810         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5811         (MO): New macro.
5812         (__ieee754_asinf): Force underflow exception for results with
5813         small absolute value.
5814         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5815         (__ieee754_asin): Force underflow exception for results with small
5816         absolute value.
5817         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5818         (__ieee754_asinf): Force underflow exception for results with
5819         small absolute value.
5820         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5821         (__ieee754_asinl): Force underflow exception for results with
5822         small absolute value.
5823         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5824         (__ieee754_asinl): Force underflow exception for results with
5825         small absolute value.
5826         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5827         (__ieee754_asinl): Force underflow exception for results with
5828         small absolute value.
5829         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5830         Include <math.h>.
5831         * math/auto-libm-test-in: Do not mark underflow exceptions as
5832         possibly missing for bug 16351.
5833         * math/auto-libm-test-out: Regenerated.
5835         [BZ #18030]
5836         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5837         of power of 2 down when low part has opposite sign.
5838         * math/libm-test.inc (logb_test_data): Add more tests.
5840 2015-02-26  Andreas Schwab  <schwab@suse.de>
5842         [BZ #18032]
5843         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5844         over collating symbol inside a bracket expression.  Minor cleanup.
5845         * posix/tst-fnmatch3.c (do_test): Add test case.
5847 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5849         [BZ #18029]
5850         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5851         Adjust exponent of power of 2 down when low part has opposite
5852         sign.
5853         * math/libm-test.inc (ilogb_test_data): Add more tests.
5855 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5857         [BZ #15969]
5858         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5859         the previous change.
5861         [BZ #15969]
5862         * locale/findlocale.c (_nl_find_locale): Retry archive search
5863         after alias expansion.
5865 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5867         * iconv/tst-iconv3.c (main): Converted to ...
5868         (do_test): ... this.
5869         (TEST_FUNCTION): New macro.
5870         Include test-skeleton.c.
5872         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5873         (convert): Make function static.
5874         (test_unalign): Likewise.  Add const to argument pointee types.
5875         (main): Replace with static function do_test.
5876         Print "Succeeded." only if RET is zero.
5877         (TEST_FUNCTION): New macro.
5878         Include test-skeleton.c.
5880         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5881         returns a null pointer.
5883 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5885         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5886         to __memcpy_ppc only for static builds.
5888 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5890         [BZ #18020]
5891         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5892         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5893         * math/auto-libm-test-in: Add more tests of asinh.
5894         * math/auto-libm-test-out: Regenerated.
5895         * sysdeps/i386/fpu/libm-test-ulps: Update.
5896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5898 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5900         [BZ #15850]
5901         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5902         and ip6_mtuinfo definitions here.
5903         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5904         in this define too.  Update comment.
5906 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5908         * elf/sprof.c (load_shobj): Tweak error message to match others.
5910 2015-02-24  Kevin Easton  <kevin@guarana.org>
5912         [BZ #16145] (partial fix)
5913         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5914         to reduce lock contention.
5916 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5918         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5919         (struct timex): Update time comment.
5920         (ADJ_SETOFFSET): Define.
5922 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5924         [BZ #18019]
5925         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5926         2**56 not 2**28 as threshold for log (2x) formula.
5927         * math/auto-libm-test-in: Add more tests of acosh.
5928         * math/auto-libm-test-out: Regenerated.
5929         * sysdeps/i386/fpu/libm-test-ulps: Update.
5930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5932 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5934         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5935         parenthesis around the buf assignment.
5936         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5938 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5940         [BZ #16783]
5941         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5942         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5943         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5944         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5945         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5946         * math/libm-test.inc (scalb_test_data): Add more tests.
5948 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5950         [BZ #17916]
5951         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5952         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5954 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5956         [BZ #17523]
5957         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5958         * io/bits/fcntl2.h (open): Use it.
5959         (openat): Likewise.
5960         * io/open.c (__libc_open): Likewise.
5961         * io/open64.c (__libc_open64): Likewise.
5962         * io/open64_2.c (__open64_2): Likewise.
5963         * io/open_2.c (__open_2): Likewise.
5964         * io/openat.c (__openat): Likewise.
5965         * io/openat64.c (__openat64): Likewise.
5966         * io/openat64_2.c (__openat64_2): Likewise.
5967         * io/openat_2.c (__openat_2): Likewise.
5968         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5969         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5970         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5971         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5972         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5973         (__open_nocancel): Likewise.
5974         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5975         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5976         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5978 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5980         [BZ #14841]
5981         * resolv/gethnamaddr.c (getanswer): Skip logging if
5982         RES_USE_DNSSEC is set.
5983         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5985 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5987         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5989 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5991         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5992         201304L, for Unicode 7.
5994 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5996         [BZ #17836]
5997         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5998         shared library.  Add gmon-start.os otherwise.
5999         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6000         $(objpfx)gmon-start.os if builing shared library.
6001         ($(objpfx)g$(static-start-installed-name)): Likewise.
6003 2015-02-23  Andreas Schwab  <schwab@suse.de>
6005         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6007 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6009         [BZ #17269]
6010         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6011         (enlarge_userbuf): Likewise.
6013 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6015         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6016         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6017         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6018         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6020 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6022         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6023         expression inside statement expression.
6025 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6027         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6028         <sysdeps/nptl/lowlevellock.h> and remove macros and
6029         functions that are now defined there.
6030         (SYS_futex): Remove.
6031         (lll_compare_and_swap): Remove.
6032         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6034 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6036         [BZ #17999]
6037         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6038         instead of scandirat.
6039         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6040         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6041         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6042         __scandirat.
6043         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6044         (__scandirat): Declare.  Use libc_hidden_proto.
6045         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6046         Remove variable.
6047         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6049 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6051         [BZ #15319]
6052         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6053         (MO): New macro.
6054         (__ieee754_atan2): For results with small absolute value, force
6055         underflow exception and remove excess range and precision from
6056         return value.
6057         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6058         (MO): New macro.
6059         (__ieee754_atan2f): For results with small absolute value, force
6060         underflow exception and remove excess range and precision from
6061         return value.
6062         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6063         (MO): New macro.
6064         (__atan): For results with small absolute value, force underflow
6065         exception and remove excess range and precision from return value.
6066         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6067         (MO): New macro.
6068         (__atanf): For results with small absolute value, force underflow
6069         exception and remove excess range and precision from return value.
6070         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6071         <math.h>.
6072         (__ieee754_atan2): Force underflow exception for results with
6073         small absolute value.
6074         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6075         <math_private.h>.
6076         (atan): Force underflow exception for results with small absolute
6077         value.
6078         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6079         (__atanf): Force underflow exception for results with small
6080         absolute value.
6081         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6082         <math.h>.
6083         (__atanl): Force underflow exception for results with small
6084         absolute value.
6085         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6086         (__atanl): Force underflow exception for results with small
6087         absolute value.
6088         * sysdeps/x86/fpu/bits/mathinline.h
6089         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6090         (__ieee754_atan2): Only define inline for long double.
6091         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6092         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6093         * math/auto-libm-test-in: Do not mark underflow exceptions as
6094         possibly missing for bug 15319.  Add more tests of atan2.
6095         * math/auto-libm-test-out: Regenerated.
6096         * math/libm-test.inc (casin_test_data): Do not mark underflow
6097         exceptions as possibly missing for bug 15319.
6098         (casinh_test_data): Likewise.
6099         * sysdeps/i386/fpu/libm-test-ulps: Update.
6101 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6103         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6104         * sysdeps/mips/bits/endian.h: Fix comments.
6106 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6108         [BZ #17996]
6109         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6110         (hdestroy_r): Likewise.
6111         (hsearch_r): Likewise.
6112         (__hcreate_r): Declare and use libc_hidden_proto.
6113         (__hdestroy_r): Likewise.
6114         (__hsearch_r): Likewise.
6115         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6116         (hcreate): Call __hcreate_r instead of hcreate_r.
6117         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6118         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6119         as weak alias of __hcreate_r.
6120         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6121         __hdestroy_r.
6122         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6123         __hsearch_r.
6124         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6125         Remove variable.
6126         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6127         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6128         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6129         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6131 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6133         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6134         arena_lock into a single arena_get.
6136 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6138         * dl-reloc.c: Inlucde libc-internal.h.
6139         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6140         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6141         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6142         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6143         (grow_heap): Likewise.
6144         * malloc/malloc.c: Include libc-internal.h.
6145         (do_check_malloc): Call powerof2.
6146         (sysmalloc): Use pagesize. Call ALIGN_UP.
6147         (systrim): Use pagesize.
6148         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6149         (__libc_valloc): Use pagesize.
6150         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6152 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6154         [BZ #17991]
6155         * include/sys/resource.h (__getrlimit64): Declare.  Use
6156         libc_hidden_proto.
6157         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6158         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6159         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6160         getrlimit64.
6161         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6162         __getrlimit64.
6163         [!getrlimit64] (getrlimit64): Define as weak alias of
6164         __getrlimit64.  Use libc_hidden_weak.
6165         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6166         using __getrlimit64 not __new_getrlimit64.
6167         (__GI_getrlimit64): Likewise.
6168         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6169         Likewise.
6170         (__GI_getrlimit64): Likewise.
6171         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6173         (getrlimit): Add __getrlimit64 alias.
6174         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6175         Likewise.
6176         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6177         Remove variable.
6178         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6179         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6181 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6183         * libio/fileops.c: Add missing sys/mman.h
6184         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6186 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6188         * manual/math.texi (Errors in Math Functions): Clarify goals
6189         regarding inexact and underflow exceptions.
6191 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6193         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6194         * sysdeps/mips/memset.S: Ditto.
6196 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6198         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6200 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6202         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6203         (__v1longjmp): Remove versioned symbol.
6204         (__v1siglongjmp): Remove alias and versioned symbol.
6205         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6206         (__v2siglongjmp): Likewise.
6208 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6210         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6212 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6214         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6216 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6218         [BZ #17987]
6219         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6220         zero result does not depend on the sign resulting from
6221         subtraction.
6222         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6223         Likewise.
6224         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6225         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6226         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6227         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6228         * math/libm-test.inc (remquo_test_data): Add more tests.
6230 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6232         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6233         Problem reported by J William Piggott.
6235 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6237         [BZ #17978]
6238         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6239         products 4 * y and 2 * y where those would overflow.
6240         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6241         Likewise.
6242         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6243         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6244         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6245         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6246         * math/libm-test.inc (remquo_test_data): Add more tests.
6248         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6250         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6251         [defined _COMPILING_NEWLIB].
6252         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6253         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6255         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6256         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6258 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6260         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6261         acquired.
6263 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6265         [BZ #17792]
6266         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6267         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6268         HOST_STACK_END_ADDR): Likewise.
6270 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6272         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6273         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6274         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6276 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6278         * sysdeps/generic/c++-types.data: New file.
6279         * sysdeps/generic/ld.abilist: New file.
6280         * sysdeps/generic/libBrokenLocale.abilist: New file.
6281         * sysdeps/generic/libanl.abilist: New file.
6282         * sysdeps/generic/libc.abilist: New file.
6283         * sysdeps/generic/libcrypt.abilist: New file.
6284         * sysdeps/generic/libdl.abilist: New file.
6285         * sysdeps/generic/libm.abilist: New file.
6286         * sysdeps/generic/libpthread.abilist: New file.
6287         * sysdeps/generic/libresolv.abilist: New file.
6288         * sysdeps/generic/librt.abilist: New file.
6290 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6292         [BZ #17569]
6293         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6294         Compute absolute value of x as modified by fmod, not original
6295         value of x.
6296         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6297         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6298         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6299         RUN_TEST_ffI_f1_mod8.
6300         (remquo_test_data): Add more tests.
6302 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6304         * sysdeps/init_array/pt-crti.S: New file.
6306 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6308         [BZ #17967]
6309         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6310         __builtin_fmaf instead of relying on contraction of a * b + c.
6312 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6314         [BZ #17969]
6315         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6316         node.
6318 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6320         [BZ #17964]
6321         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6322         __builtin_fma instead of relying on contraction of a * b + c.
6324 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6326         * Makeconfig (ASFLAGS): Add -Werror=undef.
6327         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6328         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6329         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6331         * Makeconfig (after-link): New variable.
6332         (+link-pie, +link-pie-tests): Use it.
6333         (+link-static, +link-static-tests): Likewise.
6334         (+link, +link-tests): Likewise.
6335         * Makerules (build-module, build-module-asneeded): Likewise.
6336         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6337         Likewise.
6338         * elf/Makefile ($(objpfx)ld.so): Likewise.
6340 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6342         [BZ #17965]
6343         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6344         both struct timeval and struct timespec.
6346 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6348         [BZ #16560]
6349         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6350         and redefine.
6351         (__ieee754_exp2l): Do not multiply small fractional parts by
6352         M_LN2l.
6353         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6354         small argument.
6355         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6356         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6357         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6358         * math/auto-libm-test-in: Add more tests of exp2.
6359         * math/auto-libm-test-out: Regenerated.
6361 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6363         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6364         unaligned path.
6366 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6368         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6369         little endian.
6371 2015-02-12  Andreas Schwab  <schwab@suse.de>
6373         [BZ #15790]
6374         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6375         Filter out elision flags from value returned in kind.
6376         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6377         * nptl/tst-pthread-mutexattr.c: New file.
6379 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6381         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6382         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6383         into gnu-gnu, and update comment to refer to abi-tags.
6385 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6387         [BZ #15467]
6388         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6389         (__sincos): Set errno to EDOM for infinite argument.
6390         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6391         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6392         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6393         (__sincosl): Set errno to EDOM for infinite argument.
6394         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6395         (__sincosl): Set errno to EDOM for infinite argument.
6396         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6397         (__sincosl): Set errno to EDOM for infinite argument.
6398         * math/libm-test.inc (sincos_test_data): Test errno setting.
6400 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6402         * string/strxfrm_l.c: Remove #define STRCMP.
6403         * string/strcoll_l.c: Remove #define STRLEN.
6404         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6405         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6407 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6409         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6410         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6411         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6412         * sysdeps/mips/mips64/Makefile: ... here.
6413         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6414         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6415         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6416         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6417         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6418         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6419         * sysdeps/mips/mips64/n64/Implies: Likewise.
6421 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6423         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6424         <sys/time.h>, <string.h>, and <errno.h>.
6425         (dest_offset, dest_address, value, zero): Remove unused variables.
6426         (ldouble): Remove typedef.
6427         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6428         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6429         1).  Fix code style.
6430         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6431         (check): Function removed.
6432         (CHECK): New macro.
6433         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6434         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6435         Don't call set_sigaction_FP and remove_sigaction_FP here.
6436         (ldouble_test): Just use 'long double' as macro argument, no need for
6437         the 'ldouble' typedef.
6438         (do_test): Set up SIGFPE handler at start, using plain signal rather
6439         than sigaction.  Fix code style.
6441 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6443         [BZ #17949]
6444         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6445         jump label.
6447 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6449         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6450         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6452         * sysdeps/powerpc/configure.ac: Remove file.
6453         * sysdeps/powerpc/configure: Likewise.
6455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6456         [sysdep_routines]: Remove wordcopy-power6 object.
6457         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6458         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6459         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6460         (__memmove_ppc32): Likewise.
6461         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6462         file.
6463         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6464         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6465         Remove preprocessor.
6467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6468         [sysdep_routines]: Remove wide chars objects.
6469         [wcsmbs]: New rule for wide char objects.
6471         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6472         Remove wordcopy-power6 obejct.
6473         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6474         Use local call for wordcopy and memcpy symbols.
6475         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6476         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6477         implementation for loader.
6478         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6480         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6481         Remove wordcopy-power7 object.
6482         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6483         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6484         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6485         (_wordcopy_fwd_dest_aligned): Likewise.
6486         (_wordcopy_bwd_aligned): Likewise.
6487         (_wordcopy_bwd_dest_aligned): Likewise.
6489         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6490         Rewrite to call __memmove_ppc instead of include default
6491         implementation.
6493         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6494         Remove wide chars objects.
6495         [wcsmbs]: New rule for wide char objects.
6497 2015-02-09  Andreas Schwab  <schwab@suse.de>
6499         [BZ #17912]
6500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6501         in terms of __O_DIRECTORY.
6503 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6505         * time/getdate.c: Include <stdbool.h>.
6506         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6507         call PTR_MANGLE.
6508         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6509         PTR_DEMANGLE.
6511 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6513         Add ersatz _Static_assert on older C hosts
6514         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6515         pre-C11 C platform that is not known to support _Static_assert.
6517 2015-02-07  Richard Braun  <rbraun@sceen.net>
6519         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6520         sigstate.
6521         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6523 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6525         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6526         priority against unexistent AIO_PRIO_DELTA_MAX.
6527         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6528         instead of int.
6529         * misc/fchflags.c (fchflags): Likewise.
6530         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6531         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6532         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6533         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6534         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6535         Declare macros.
6536         [__USE_MISC] (chflags, fchflags): Declare functions.
6537         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6538         EINVAL when nfds is greater than FD_SETSIZE.
6539         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6540         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6541         45.
6542         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6543         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6544         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6545         MACH_RCV_TIMED_OUT.
6546         * hurd/hurd/signal.h (_hurd_self_sigstate,
6547         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6548         Explicit casts from void *.
6549         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6550         * abi-tags: Rename gnu-gnu os into gnu.
6552         [BZ #4719]
6553         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6554         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6555         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6556         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6557         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6558         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6560         [BZ #17944]
6561         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6562         duplicates ADDR->sun_path with sockaddr LEN limitation.
6563         * sysdeps/mach/hurd/connect.c: Include <string.h>
6564         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6565         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6566         * sysdeps/mach/hurd/sendto.c: Likewise.
6567         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6568         implementing it by hand.
6570 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6572         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6573         Use sfi_breg on ldr.
6574         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6575         Likewise.
6577         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6578         it's defined.
6579         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6580         Test SIGSETXID only if it's defined.
6582         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6584         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6585         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6587         * nptl/tst-align2.c: Moved ...
6588         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6589         * nptl/Makefile (tests): Remove tst-align2.
6590         * sysdeps/unix/sysv/linux/Makefile
6591         [$(subdir) = nptl] (tests): Add tst-align-clone.
6592         * nptl/tst-getpid1.c: Moved ...
6593         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6594         * nptl/tst-getpid2.c: Moved ...
6595         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6596         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6597         * sysdeps/unix/sysv/linux/Makefile
6598         [$(subdir) = nptl] (tests): ... here.
6599         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6600         * sysdeps/unix/sysv/linux/Makefile
6601         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6603         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6604         Drop trailing \n from perror argument.  Use return rather than exit.
6606         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6607         on [SA_SIGINFO].
6608         * nptl/tst-cancel21.c (do_test): Likewise.
6609         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6610         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6611         [!SA_SIGINFO]: Make it a stub test.
6613         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6614         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6616         * posix/tst-getlogin.c: Move to ...
6617         * login/tst-getlogin.c: ... here.
6618         * posix/Makefile (tests): Move tst-getlogin to ...
6619         * login/Makefile (tests): ... here.
6621         * libio/tst-atime.c (do_test): Move local variables SV and E
6622         inside [ST_NOATIME] conditional.
6624         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6626         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6628         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6629         (wait_code): New function replaces macro.
6630         Call nanosleep rather than syscall.
6632         * nptl/pt-system.c: Rewritten.  Put everything under
6633         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6634         Use IFUNC to redirect when possible.
6636         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6637         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6638         Use IFUNC to redirect when possible.
6640         * nptl/pt-fork.c: Rewritten.  Put everything under
6641         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6642         Use IFUNC to redirect when possible.
6643         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6645         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6646         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6647         unconditionally nowadays.  This included the only reference to
6648         __vdso_clock_gettime that appears outside libc proper.
6649         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6650         Remove version set (containing only __vdso_clock_gettime).
6651         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6652         Add attribute_hidden.
6653         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6654         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6655         libc_hidden_data_def.
6656         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6657         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6659         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6660         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6661         setrpcent, and getrpcport to ...
6662         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6663         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6664         getrpcbynumber_r, and getrpcent_r to ...
6665         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6666         * inet/getrpcbyname.c: Moved ...
6667         * sunrpc/getrpcbyname.c: ... here.
6668         * inet/getrpcbyname_r.c: Moved ...
6669         * sunrpc/getrpcbyname_r.c: ... here.
6670         * inet/getrpcbynumber.c: Moved ...
6671         * sunrpc/getrpcbynumber.c: ... here.
6672         * inet/getrpcbynumber_r.c: Moved ...
6673         * sunrpc/getrpcbynumber_r.c: ... here.
6674         * inet/getrpcent.c: Moved ...
6675         * sunrpc/getrpcent.c: ... here.
6676         * inet/getrpcent_r.c: Moved ...
6677         * sunrpc/getrpcent_r.c: ... here.
6678         * inet/Makefile (routines): Move those to ...
6679         * sunrpc/Makefile (routines): ... here.
6680         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6681         the $(subdirs) list.
6682         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6683         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6684         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6685         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6687         * elf/Makefile (routines): Include $(all-dl-routines), not just
6688         $(dl-routines).
6689         (rtld-routines): Likewise.  Use = rather than :=.
6690         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6691         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6692         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6693         * sysdeps/arm/Makefile: Likewise.
6694         * sysdeps/i386/Makefile: Likewise.
6695         * sysdeps/x86_64/Makefile: Likewise.
6696         * sysdeps/hppa/Makefile [$(subdir) = elf]
6697         (sysdep_routines, sysdep-rtld-routines): Don't add
6698         $(sysdep-dl-routines) to these.
6699         * sysdeps/ia64/Makefile: Likewise.
6700         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6701         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6702         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6703         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6704         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6705         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6706         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6707         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6708         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6709         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6710         these; sysdep-dl-routines alone is enough.
6712 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6714         [BZ #17932]
6715         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6716         where multiplication results in zero and third argument is finite
6717         and nonzero.
6718         * math/auto-libm-test-in: Add more tests of fma.
6719         * math/auto-libm-test-out: Regenerated.
6721         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6722         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6723         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6724         (_FP_CMP_EQ): Likewise.
6725         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6727         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6728         extra argument CHECK_NAN.  Redefine as wrapper around
6729         _FP_EXTEND_CNAN.
6731 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6733         * version.h (RELEASE): Set to "stable".
6734         (VERSION): Set to "2.21"
6735         * include/features.h (__GLIBC_MINOR__): Set to 21.
6737         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6739 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6740             Paul Eggert  <eggert@cs.ucla.edu>
6742         [BZ #16618]
6743         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6744         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6745         size in bytes. Store needed elements in wpmax. Use needed size
6746         in bytes for extend_alloca.
6748 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6750         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6751         binutls 2.25, and texinfo 5.2.
6752         * INSTALL: Regenerate.
6753         * sysdeps/nios2/configure: Regenerate.
6754         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6755         * manual/contrib.texi: Update.
6756         * po/be.po: Update.
6757         * po/bg.po: Update.
6758         * po/ca.po: Update.
6759         * po/cs.po: Update.
6760         * po/da.po: Update.
6761         * po/de.po: Update.
6762         * po/el.po: Update.
6763         * po/eo.po: Update.
6764         * po/es.po: Update.
6765         * po/fi.po: Update.
6766         * po/fr.po: Update.
6767         * po/gl.po: Update.
6768         * po/hr.po: Update.
6769         * po/hu.po: Update.
6770         * po/ia.po: Update.
6771         * po/id.po: Update.
6772         * po/it.po: Update.
6773         * po/ja.po: Update.
6774         * po/ko.po: Update.
6775         * po/lt.po: Update.
6776         * po/nb.po: Update.
6777         * po/nl.po: Update.
6778         * po/pl.po: Update.
6779         * po/pt_BR.po: Update.
6780         * po/ru.po: Update.
6781         * po/rw.po: Update.
6782         * po/sk.po: Update.
6783         * po/sl.po: Update.
6784         * po/sv.po: Update.
6785         * po/tr.po: Update.
6786         * po/uk.po: Update.
6787         * po/vi.po: Update.
6788         * po/zh_CN.po: Update.
6789         * po/zh_TW.po: Update.
6791         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6792         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6793         * sysdeps/hppa/dl-irel.h: Remove #warning.
6794         * sysdeps/hppa/entry.h: Provide prototype for
6795         __canonicalize_funcptr_for_compare and cast argument.
6796         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6797         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6798         * sysdeps/hppa/sotruss-lib.c: New file.
6799         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6800         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6801         (atomic_compare_and_exchange_bool_acq): Likewise.
6802         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6803         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6805         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6806         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6807         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6809 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6811         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6812         called function in non-PIC case.
6814 2015-01-31  David S. Miller  <davem@davemloft.net>
6816         * sysdeps/sparc/sparc32/bits/atomic.h
6817         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6818         unlock not after it.
6819         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6820         volatile register usage warnings from the compiler.
6822         * sysdeps/sparc/nptl/sem_init.c: Delete.
6823         * sysdeps/sparc/nptl/sem_post.c: Delete.
6824         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6825         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6826         * sysdeps/sparc/sparc32/sem_init.c: New file.
6827         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6828         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6829         padding explicitly initialized.
6830         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6831         padding for in-semaphore spinlock.
6832         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6833         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6834         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6835         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6836         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6837         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6838         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6839         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6840         version.
6841         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6842         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6844 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6846         [BZ #17801]
6847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6848         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6849         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6850         New.
6851         (index_AVX_Fast_Unaligned_Load): Likewise.
6852         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6853         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6854         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6855         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6856         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6857         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6858         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6859         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6860         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6862 2015-01-29  Andreas Schwab  <schwab@suse.de>
6864         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6866 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6868         [BZ #17892]
6869         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6871 2015-01-28  Martin Sebor  <msebor@redhat.com>
6873         * math/README.libm-test: Clarify. Add "How to read the test output."
6875 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6877         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6878         Define to 0.
6880 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6882         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6883         (__HAVE_64B_ATOMICS): Define to 0.
6885 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6887         [BZ #17885]
6888         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6889         value to set as new flag.
6891         [BZ #16576]
6892         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6893         and use _ARCH_PPCSQ instead.
6894         (__ieee754_sqrt): Likewise.
6895         (__ieee754_sqrtf): Likewise.
6896         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6897         _ARCH_PPCSQ is defined.
6898         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6899         fsqrt instruction.
6900         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6901         _ARCH_PPCSQ is defined.
6902         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6903         fsqrts instruction.
6904         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6906 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6908         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6909         bug (GCC BZ #64739).
6911 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6913         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6914         Mark _retval as used.
6915         (lll_futex_wake_unlock): Likewise.
6916         (lll_futex_timed_wait_requeue_pi): Likewise.
6918         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6919         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6920         register variables.
6922         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6923         libm_hidden_def.
6925         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6926         (__bswap_64): Mark as __always_inline.
6928 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6930         [BZ #15378]
6931         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6932         when none of the search directories exist.
6934 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6936         [BZ #17869]
6937         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6938         power8 in .machine directive.
6940         [BZ #17868]
6941         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6942         set dependency from opd value.
6944 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6947         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6948         architecture.
6950 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6952         [BZ #17870]
6953         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6954         with uint64_t.
6955         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6956         (uint64_t) 1.
6957         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6958         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6959         Replace 1UL with (uint64_t) 1.
6960         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6961         int with uint64_t.
6963 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6965         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6966         (if_freenameindex): Likewise.
6968         * resource/getrlimit64.c: Add missing libc_hidden_def.
6970 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6972         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6973         __label__.
6974         (_FP_FMA): Likewise.
6975         (_FP_TO_INT_ROUND): Likewise.
6976         (_FP_FROM_INT): Likewise.
6978 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6980         [BZ #16418]
6981         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6982         Make code racy and cancel safe.
6984 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6986         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6987         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6988         attribution.
6990         * pwd/tst-getpw.c: Rewrite.
6992         [BZ #17702]
6993         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6994         (modules-names): Add moddummy1 and moddummy2.
6995         ($(objpfx)tst-rec-dlopen): Define.
6996         * dlfcn/moddummy1.c: New file.
6997         * dlfcn/moddummy2.c: New file.
6998         * dlfcn/tst-rec-dlopen.c: New file.
6999         * elf/dl-cache.c (_dl_load_cache_lookup):
7000         Return char*. Copy result with alloca/strcpy/strdup.
7001         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7002         returns char*. Free cached. If not saving realname
7003         free cached.
7004         * elf/dl-open.c (dl_open_worker): Do not assert that
7005         _r_debug->r_state is RT_CONSISTENT.
7006         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7007         returns char*.
7009 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7010             Carlos O'Donell  <carlos@redhat.com>
7012         [BZ #12674]
7013         * nptl/sem_waitcommon.c: New file.
7014         * nptl/sem_wait.c: Include sem_waitcommon.c.
7015         (__sem_wait_cleanup, do_futex_wait): Remove.
7016         (__new_sem_wait): Adapt.
7017         (__new_sem_trywait): New function.
7018         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7019         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7020         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7021         (sem_timedwait): Adapt.
7022         * nptl/sem_post.c (__new_sem_post): Adapt.
7023         (futex_wake): New function.
7024         (__old_sem_post): Add release MO fence.
7025         * nptl/sem_open.c (sem_open): Adapt.
7026         * nptl/sem_init.c (__new_sem_init): Adapt.
7027         (futex_private_if_supported): New function.
7028         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7029         (__old_sem_getvalue): Add using previous code.
7030         * sysdeps/nptl/internaltypes.h: Adapt.
7031         * nptl/tst-sem13.c (do_test): Adapt.
7032         * nptl/tst-sem11.c (main): Adapt.
7033         * nptl/sem_trywait.c: Remove.
7034         * nptl/DESIGN-sem.txt: Remove.
7035         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7036         (gen-as-const-headers): Remove structsem.sym.
7037         * nptl/structsem.sym: Remove.
7038         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7039         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7040         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7041         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7042         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7043         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7044         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7045         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7046         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7047         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7048         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7049         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7050         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7051         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7052         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7053         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7054         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7055         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7056         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7057         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7058         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7059         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7061 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7063         * INSTALL: Regenerated.
7065         * po/libc.pot: Regenerated.
7067 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7068             Sandra Loosemore  <sandra@codesourcery.com>
7069             Andrew Jenner  <andrew@codesourcery.com>
7070             Joseph Myers  <joseph@codesourcery.com>
7071             Nathan Sidwell  <nathan@codesourcery.com>
7073         * NEWS: Mention new Nios II port.
7074         * sysdeps/nios2/Implies: New file.
7075         * sysdeps/nios2/Makefile: New file.
7076         * sysdeps/nios2/Subdirs: New file.
7077         * sysdeps/nios2/Versions: New file.
7078         * sysdeps/nios2/__longjmp.S: New file.
7079         * sysdeps/nios2/abort-instr.h: New file.
7080         * sysdeps/nios2/backtrace.c: New file.
7081         * sysdeps/nios2/bits/endian.h: New file.
7082         * sysdeps/nios2/bits/fenv.h: New file.
7083         * sysdeps/nios2/bits/link.h: New file.
7084         * sysdeps/nios2/bits/setjmp.h: New file.
7085         * sysdeps/nios2/bsd-_setjmp.S: New file.
7086         * sysdeps/nios2/bsd-setjmp.S: New file.
7087         * sysdeps/nios2/configure: New generated file.
7088         * sysdeps/nios2/configure.ac: New file.
7089         * sysdeps/nios2/crti.S: New file.
7090         * sysdeps/nios2/crtn.S: New file.
7091         * sysdeps/nios2/dl-init.c: New file.
7092         * sysdeps/nios2/dl-machine.h: New file.
7093         * sysdeps/nios2/dl-sysdep.h: New file.
7094         * sysdeps/nios2/dl-tls.h: New file.
7095         * sysdeps/nios2/dl-trampoline.S: New file.
7096         * sysdeps/nios2/gccframe.h: New file.
7097         * sysdeps/nios2/gmp-mparam.h: New file.
7098         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7099         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7100         * sysdeps/nios2/ldsodefs.h: New file.
7101         * sysdeps/nios2/libc-tls.c: New file.
7102         * sysdeps/nios2/libm-test-ulps: New file.
7103         * sysdeps/nios2/machine-gmon.h: New file.
7104         * sysdeps/nios2/math-tests.h: New file.
7105         * sysdeps/nios2/math_private.h: New file.
7106         * sysdeps/nios2/memusage.h: New file.
7107         * sysdeps/nios2/nptl/Makefile: New file.
7108         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7109         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7110         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7111         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7112         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7113         * sysdeps/nios2/nptl/tls.h: New file.
7114         * sysdeps/nios2/preconfigure: New file.
7115         * sysdeps/nios2/s_fma.c: New file.
7116         * sysdeps/nios2/s_fmaf.c: New file.
7117         * sysdeps/nios2/setjmp.S: New file.
7118         * sysdeps/nios2/sfp-machine.h: New file.
7119         * sysdeps/nios2/sotruss-lib.c: New file.
7120         * sysdeps/nios2/stackguard-macros.h: New file.
7121         * sysdeps/nios2/stackinfo.h: New file.
7122         * sysdeps/nios2/start.S: New file.
7123         * sysdeps/nios2/sysdep.h: New file.
7124         * sysdeps/nios2/tls-macros.h: New file.
7125         * sysdeps/nios2/tst-audit.h: New file.
7126         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7127         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7128         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7129         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7130         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7131         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7132         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7133         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7134         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7135         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7136         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7137         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7138         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7139         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7140         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7141         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7142         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7143         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7144         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7145         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7146         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7147         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7148         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7149         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7150         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7151         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7152         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7153         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7154         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7155         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7156         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7157         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7158         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7159         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7160         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7161         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7162         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7163         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7164         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7165         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7166         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7167         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7168         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7169         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7171 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7173         [BZ #17844]
7174         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7175         (getutent): Use weak_alias in non SHARED case
7176         and default_symbol_version in SHARED case.
7177         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7178         (getutent_r, pututline): Likewise.
7179         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7180         (getutid): Likewise.
7181         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7182         (getutid_r): Likewise.
7183         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7184         (getutline): Likewise.
7185         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7186         (getutline_r): Likewise.
7187         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7188         (updwtmp): Likewise.
7190 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7192         [BZ #17848]
7193         * sysdeps/s390/s390-32/memcmp.S
7194         (memcmp_g5): Rename to __memcmp_g5.
7195         * sysdeps/s390/s390-32/memcpy.S
7196         (memcpy_g5): Rename to __memcpy_g5.
7197         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7198         (memcpy_mvcle) Rename to __memcpy_mvcle.
7199         * sysdeps/s390/s390-32/memset.S
7200         (memset_g5): Rename to __memset_g5.
7201         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7202         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7203         and use prefixed functions.
7204         * sysdeps/s390/s390-32/multiarch/memcmp.S
7205         (memcmp_z196): Rename to __memcmp_z196.
7206         (memcmp_z10): Rename to __memcmp_z10.
7207         (memcmp): Set alias to __memcmp_g5.
7208         (bcmp): Set alias to __memcmp_g5.
7209         * sysdeps/s390/s390-32/multiarch/memcpy.S
7210         (memcpy_z196): Rename to __memcpy_z196.
7211         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7212         (memcpy_z10): Rename to __memcpy_z10.
7213         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7214         (memcpy): Set alias to __memcpy_g5.
7215         * sysdeps/s390/s390-32/multiarch/memset.S
7216         (memset_z196): Rename to __memset_z196.
7217         Jump to __memset_mvcle instead of memset_mvcle.
7218         (memset_z10): Rename to __memset_z10.
7219         Jump to __memset_mvcle instead of memset_mvcle.
7220         (memset_mvcle) Rename to __memset_mvcle.
7221         (memset): Set alias to __memset_g5.
7222         * sysdeps/s390/s390-64/memcmp.S
7223         (memcmp_z900): Rename to __memcmp_z900.
7224         * sysdeps/s390/s390-64/memcpy.S
7225         (memcpy_z900): Rename to __memcpy_z900.
7226         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7227         (memcpy_mvcle) Rename to __memcpy_mvcle.
7228         * sysdeps/s390/s390-64/memset.S
7229         (memset_z900): Rename to __memset_z900.
7230         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7231         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7232         and use prefixed functions.
7233         * sysdeps/s390/s390-64/multiarch/memcmp.S
7234         (memcmp_z196): Rename to __memcmp_z196.
7235         (memcmp_z10): Rename to __memcmp_z10.
7236         (memcmp): Set alias to __memcmp_z900.
7237         (bcmp): Set alias to __memcmp_z900.
7238         * sysdeps/s390/s390-64/multiarch/memcpy.S
7239         (memcpy_z196): Rename to __memcpy_z196.
7240         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7241         (memcpy_z10): Rename to __memcpy_z10.
7242         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7243         (memcpy): Set alias to __memcpy_z900.
7244         * sysdeps/s390/s390-64/multiarch/memset.S
7245         (memset_z196): Rename to __memset_z196.
7246         Jump to __memset_mvcle instead of memset_mvcle.
7247         (memset_z10): Rename to __memset_z10.
7248         Jump to __memset_mvcle instead of memset_mvcle.
7249         (memset_mvcle) Rename to __memset_mvcle.
7250         (memset): Set alias to __memset_z900.
7252 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7254         [BZ #17748]
7255         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7256         __fesetenv instead of fesetenv.
7258 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7260         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7261         macro.
7263 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7265         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7266         regression on LE.
7268         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7269         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7270         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7271         strncmp-power8 object.
7272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7273         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7274         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7275         * NEWS: Update.
7277 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7278             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7280         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7281         trailing byte check.
7283 2015-01-13  David S. Miller  <davem@davemloft.net>
7285         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7287 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7289         * login/logout.c (logout): Use memset rather than bzero.
7290         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7291         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7292         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7293         (_gethtbyaddr): Likewise.
7294         * locale/programs/simple-hash.c (bcopy): Macro removed.
7296 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7298         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7299         Add strcmp-power8 object.
7300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7301         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7302         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7303         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7304         __strcmp_power8 implementation.
7305         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7306         * NEWS: Update.
7308         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7309         Add strncpy-power8 and stpncpy-power8 objects.
7310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7311         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7312         implementations.
7313         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7314         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7315         __stpncpy_power8 implementation.
7316         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7317         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7318         __strncpy_power8 implementation.
7319         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7320         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7321         * NEWS: Update.
7323         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7324         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7325         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7327         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7328         strncat-power8 object.
7329         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7330         __strcat_power8 implementation.
7331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7332         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7333         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7334         optimized strcat for power8.
7336         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7337         strcpy-power8 and stpcpy-power8 objects.
7338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7339         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7340         implementations.
7341         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7342         multiarch stpcpy implementation for POWER8.
7343         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7344         multiarch strcpy implementation for POWER8.
7345         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7346         __strcpy_power8 function.
7347         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7348         stpcpy for POWER8.
7349         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7350         strcpy for POWER8.
7351         * NEWS: Update.
7353 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7355         [BZ #16009]
7356         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7357         weights and rules. Use do_xfrm_cached if data fits in cache,
7358         do_xfrm otherwise.  Moved former main loop to...
7359         * (do_xfrm_cached): New function.
7360         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7361         find_idx, find_position and stack_push.
7362         * (find_idx): New function.
7363         * (find_position): Likewise.
7364         * localedata/sort-test.sh: Added test run for do_xfrm.
7365         * localedata/xfrm-test.c (main): Added command line option
7366         -nocache to run the test with strings that are too large for
7367         the STRXFRM cache.
7369 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7371         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7372         variable to lll_futex_wake call, not the value itself.
7374 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7376         [BZ #17803]
7377         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7378         twom64.  Adjust value to 0x1p-64L.
7379         (__scalblnl): Only return standard underflowing result for K <=
7380         -64 not K <= -63; adjust exponent for underflowing result by 64
7381         not 63.
7382         * math/libm-test.inc (scalbn_test_data): Add more tests.
7383         (scalbln_test_data): Likewise.
7385         [BZ #17834]
7386         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7387         0x1p63L.
7388         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7389         not HX.
7390         * math/libm-test.inc (scalbn_test_data): Add more tests.
7391         (scalbln_test_data): Likewise.
7393 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7394             Stefani Seibold  <stefani@seibold.net>
7396         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7397         (sysdep_routines): Add dl-vdso here, ...
7398         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7399         (sysdep_routines): ... not here.
7400         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7401         fallback when vDSO is not presented.
7402         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7403         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7404         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7405         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7406         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7407         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7408         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7409         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7410         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7411         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7412         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7413         fallback configurable symbol when vDSO is not available.
7414         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7415         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7416         be able to redefine fallback symbol when vDSO is not available.
7417         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7418         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7420 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7422         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7423         (TLS_INIT_TP): Add tm_capable initialization.
7424         (TLS_DEFINE_INIT_TP): Likewise.
7425         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7426         TCB.
7427         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7428         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7429         calculation.
7430         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7431         transactoion is lock elision is built and TCB tm_capable is set.
7432         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7434         (INTERNAL_SYSCALL_NCS): Likewise.
7435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7436         (INTERNAL_SYSCALL_NCS): Likewise.
7437         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7439         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7440         for powerpc.
7441         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7442         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7443         and remove it for 32 bits case.
7444         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7445         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7446         initialization.
7447         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7448         Disable lock elision with rdlocks if elision is not available.
7450         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7451         (sysdep_routines): Add lock elision objects.
7452         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7453         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7454         [pthread_mutex_t] (__elision): Add field.
7455         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7456         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7457         elision definitions for powerpc.
7458         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7459         implementation of lock elision for powerpc.
7460         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7461         implementation of timed lock elision for powerpc.
7462         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7463         implementation of trylock with lock elision for powerpc.
7464         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7465         implementaion of unlock for lock elision for powerpc.
7466         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7467         automatic enable lock elision for mutexes.
7468         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7469         transaction execution definitions for powerpc.
7470         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7471         definitions.
7472         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7473         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7474         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7475         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7476         * NEWS: Update.
7478 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7480         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7481         for #include of <shm-directory.h>.
7483 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7485         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7486         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7488 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7490         [BZ #17791]
7491         * NEWS: Mention bug fix.
7492         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7493         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7494         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7496 2015-01-09  Torvald Riegel <triegel@redhat.com>
7498         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7500 2015-01-09  Torvald Riegel <triegel@redhat.com>
7502         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7504 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7506         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7507         pointer and cast to uintptr_t.
7509 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7511         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7512         removed.
7513         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7515 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7517         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7518         of 0.
7520 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7522         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7523         <nptl/pthreadP.h> instead.
7524         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7526         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7527         already defined.
7528         [__SIGRTMIN] (init): Function removed.
7529         [__SIGRTMIN] (initialized): Variable removed.
7530         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7531         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7532         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7533         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7534         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7535         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7536         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7537         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7538         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7539         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7540         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7541         * sysdeps/nptl/allocrtsig.c: New file.
7542         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7543         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7544         * sysdeps/generic/testrtsig.h: File removed.
7546         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7547         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7549         * nptl/nptl-init.c (pthread_functions): Conditionalize
7550         .ptr__nptl_setxid initialization on [SIGSETXID].
7552         * sysdeps/nptl/sys/procfs.h: New file.
7553         * nptl_db/Makefile (headers): Add it.
7554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7556         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7557         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7558         * nptl/pthread_attr_setaffinity.c: Include it.
7559         * nptl/pthread_setattr_default_np.c: Likewise.
7560         * nptl/check-cpuset.h: New file.
7562 2015-01-08  Richard Henderson  <rth@redhat.com>
7564         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7565         (CFLAGS-tst-execstack-prog.c): Likewise.
7566         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7568 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7569             Sandra Loosemore  <sandra@codesourcery.com>
7570             Andrew Jenner  <andrew@codesourcery.com>
7571             Joseph Myers  <joseph@codesourcery.com>
7572             Nathan Sidwell  <nathan@codesourcery.com>
7574         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7575         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7576         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7577         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7578         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7579         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7580         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7581         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7582         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7583         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7584         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7585         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7586         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7587         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7588         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7589         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7590         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7592 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7594         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7595         timespec struct member in syscall macro.
7596         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7597         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7598         first timeval struct member in syscall macro.
7599         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7601 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7603         [BZ #17748]
7604         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7605         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7606         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7607         __feupdateenv and define as weak alias of __feupdateenv.  Use
7608         libm_hidden_weak.
7609         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7610         libm_hidden_def.
7611         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7612         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7613         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7614         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7615         libm_hidden_def.
7616         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7617         __feupdateenv and define as weak alias of __feupdateenv.  Use
7618         libm_hidden_weak.
7619         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7620         libm_hidden_def.
7621         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7622         __feupdateenv and define as weak alias of __feupdateenv.  Use
7623         libm_hidden_weak.
7624         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7625         libm_hidden_def.
7626         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7627         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7628         (__feupdateenv): Likewise.
7629         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7630         __feupdateenv and define as weak alias of __feupdateenv.  Use
7631         libm_hidden_weak.
7632         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7633         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7634         libm_hidden_def.
7635         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7636         function.
7637         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7638         libm_hidden_def.
7639         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7640         __feupdateenv instead of feupdateenv.
7641         (default_libc_feupdateenv_test): Likewise.
7642         (libc_feresetround_ctx): Likewise.
7644 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7646         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7647         prototype.
7649 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7651         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7652         COLL_SYM in a couple of places to avoid uninitialized variable
7653         wanings on tilegx gcc 4.8.2.
7655 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7657         * sysdeps/aarch64/strcpy.S: New file.
7658         * sysdeps/aarch64/stpcpy.S: New file.
7659         * NEWS: Updated.
7661 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7663         * sysdeps/aarch64/strrchr.S: New file.
7664         * NEWS: Updated.
7666 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7668         [BZ #17658]
7669         * stdlib/setenv.c: Fix memory leak when setting large,
7670         duplicate string.
7672 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7674         [BZ #17273]
7675         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7676         and tabs from buffer before parsing fstab entry.
7677         * misc/tst-mntent.c (main): Add test for mount entry with
7678         trailing spaces and tabs.
7680 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7682         [BZ #17748]
7683         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7684         * math/fesetround.c (fesetround): Rename to __fesetround and
7685         define as weak alias of __fesetround.  Use libm_hidden_weak.
7686         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7687         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7688         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7689         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7690         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7691         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7692         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7693         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7694         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7695         __fesetround_inline.
7696         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7697         __fesetround_inline instead of __fesetround.
7698         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7699         __fesetround and define as weak alias of __fesetround.  Use
7700         libm_hidden_weak.  Call __fesetround_inline instead of
7701         __fesetround.
7702         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7703         __fesetround and define as weak alias of __fesetround.  Use
7704         libm_hidden_weak.
7705         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7706         Likewise.
7707         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7708         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7709         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7710         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7711         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7712         __fesetround and define as weak alias of __fesetround.  Use
7713         libm_hidden_weak.
7714         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7715         __fesetround instead of fesetround.
7716         (default_libc_feholdexcept_setround): Likewise.
7717         (libc_feholdsetround_ctx): Likewise.
7718         (libc_feholdsetround_noex_ctx): Likewise.
7720         [BZ #17748]
7721         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7722         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7723         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7724         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7725         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7726         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7727         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7728         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7729         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7730         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7731         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7732         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7733         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7734         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7735         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7736         libm_hidden_def.
7737         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7738         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7739         Likewise.
7740         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7741         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7742         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7743         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7744         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7745         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7746         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7747         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7748         __fesetenv instead of fesetenv.
7749         (libc_feresetround_noex_ctx): Likewise.
7750         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7751         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7752         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7753         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7754         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7755         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7756         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7757         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7758         (__feupdateenv): Likewise.
7759         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7760         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7761         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7762         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7764 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7766         [BZ #17806]
7767         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7768         addresses have been freed.
7770 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7772         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7773         and nservall.
7775 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7777         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7778         Clean up check_pf allocation pattern. addresses
7780 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7782         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7783         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7784         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7785         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7786         * nptl/pthread_join.c (pthread_join): Likewise.
7787         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7788         * sysdeps/posix/waitid.c (__waitid): Likewise.
7789         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7790         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7791         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7792         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7793         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7794         Likewise.
7795         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7796         (__libc_pread64): Likewise.
7797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7798         (__libc_pwrite): Likewise.
7799         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7800         (__libc_pwrite64): Likewsie.
7801         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7802         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7803         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7804         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7805         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7806         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7807         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7809         Likewise.
7810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7811         (__libc_pread64): Likewise.
7812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7813         Likewise.
7814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7815         (__libc_pwrite64): Likewise.
7816         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7817         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7818         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7819         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7820         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7821         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7822         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7823         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7824         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7825         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7826         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7827         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7828         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7829         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7830         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7831         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7832         Likewise.
7834 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7836         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7837         (CFLAGS-test-double.c): Likewise.
7838         (CFLAGS-test-ldouble.c): Likewise.
7839         (CPPFLAGS-test-ifloat.c): Likewise.
7840         (CPPFLAGS-test-idouble.c): Likewise.
7841         (CPPFLAGS-test-ildoubl.c): Likewise.
7842         (CFLAGS-test-test-fenv.c): Remove variable.
7843         (CFLAGS-test-misc.c): Likewise.
7845 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7847         [BZ #17797]
7848         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7849         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7850         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7851         CLOCKS_PER_SEC == 1000000.
7852         * time/clocktest.c (main): Replace %ld with %jd and cast to
7853         intmax_t.
7855 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7857         * sysdeps/generic/unwind-resume.h: New file.
7858         * sysdeps/gnu/unwind-resume.c: Include it.
7859         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7860         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7861         argument list.
7862         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7863         global rather than static.
7864         (_Unwind_Resume): Update user.
7865         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7866         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7867         rather than static.  Add __attribute__ ((cold)).
7868         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7869         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7870         * sysdeps/arm/arm-unwind-resume.S: New file.
7871         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7872         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7873         * sysdeps/arm/Makefile [$(subdir) = csu]
7874         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7875         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7876         Add rt-arm-unwind-resume.
7877         [$(subdir) = nptl]
7878         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7879         Add pt-arm-unwind-resume.
7880         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7881         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7883 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7885         [BZ #17748]
7886         * include/fenv.h (__feholdexcept): Declare.  Use
7887         libm_hidden_proto.
7888         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7889         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7890         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7891         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7892         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7893         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7894         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7895         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7896         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7897         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7898         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7899         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7900         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7901         (feholdexcept): Likewise.
7902         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7903         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7904         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7905         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7906         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7907         __feholdexcept instead of feholdexcept.
7908         (default_libc_feholdexcept_setround): Likewise.
7910 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7912         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7913         to avoid using stl/str to align destination.
7915 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7917         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7919 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7921         [BZ #17796]
7922         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7923         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7924         Define as weak alias not strong alias.
7926 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7928         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7929         bltzal with addiupc.
7930         (RTLD_START): Ditto.
7932 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7934         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7935         for __vdso_* functions in declarations.
7936         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7937         definitions.
7938         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7939         INTERNAL_VSYSCALL): Use struct return types to check for error.
7941         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7942         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7943         function with cast from llround().
7944         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7945         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7946         Define.
7948 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7950         [BZ #17793]
7951         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7952         Define as weak alias not strong alias.
7954         [BZ #17635]
7955         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7956         ...
7957         * ctype/ctype-extn.c: ... here.
7958         (__isblank_l): Move to ...
7959         * ctype/ctype-c99_l.c: ... here.  New file.
7960         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7961         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7962         Remove variable.
7963         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7964         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7965         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7966         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7967         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7969         [BZ #17777]
7970         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7971         (posix_fadvise64): Define as weak alias not strong alias.
7972         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7973         (posix_fallocate64): Likewise.
7974         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7975         Remove variable.
7976         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7977         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7978         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7979         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7980         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7982 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7984         [BZ #16191]
7985         * NEWS: Mention bug fix.
7986         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7987         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7988         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7989         (HOST_STACK_END_ADDR): Likewise.
7991 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7993         [BZ #17748]
7994         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7995         * math/fegetround.c (fegetround): Rename to __fegetround and
7996         define as weak alias of __fegetround.  Use libm_hidden_weak.
7997         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7998         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7999         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8000         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8001         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8002         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8003         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8004         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8005         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8006         Undefine after rather than before function definition; use
8007         parentheses around function name in definition.
8008         (__fegetround): Also undefine macro after function definition.
8009         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8010         __fegetround and define as weak alias of __fegetround.  Use
8011         libm_hidden_weak.  Do not undefine as macro.
8012         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8013         Likewise.
8014         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8015         __fegetround and define as weak alias of __fegetround.  Use
8016         libm_hidden_weak.
8017         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8018         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8019         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8020         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8021         __fegetround and define as weak alias of __fegetround.  Use
8022         libm_hidden_weak.
8023         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8024         __fegetround instead of fegetround.
8026         [BZ #17782]
8027         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8028         Condition macro definition on [__USE_MISC].
8030         [BZ #17781]
8031         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8032         (struct sigaction): Change type of sa_flags field to int.
8034         [BZ #17780]
8035         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8036         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8037         __glibc_reserved0.
8039         * nptl/version.c (banner): Use single year in copyright notice.
8041         * NEWS: Update copyright dates.
8042         * catgets/gencat.c (print_version): Likewise.
8043         * csu/version.c (banner): Likewise.
8044         * debug/catchsegv.sh: Likewise.
8045         * debug/pcprofiledump.c (print_version): Likewise.
8046         * debug/xtrace.sh (do_version): Likewise.
8047         * elf/ldconfig.c (print_version): Likewise.
8048         * elf/ldd.bash.in: Likewise.
8049         * elf/pldd.c (print_version): Likewise.
8050         * elf/sotruss.sh: Likewise.
8051         * elf/sprof.c (print_version): Likewise.
8052         * iconv/iconv_prog.c (print_version): Likewise.
8053         * iconv/iconvconfig.c (print_version): Likewise.
8054         * locale/programs/locale.c (print_version): Likewise.
8055         * locale/programs/localedef.c (print_version): Likewise.
8056         * login/programs/pt_chown.c (print_version): Likewise.
8057         * malloc/memusage.sh (do_version): Likewise.
8058         * malloc/memusagestat.c (print_version): Likewise.
8059         * malloc/mtrace.pl: Likewise.
8060         * manual/libc.texinfo: Likewise.
8061         * nptl/version.c (banner): Likewise.
8062         * nscd/nscd.c (print_version): Likewise.
8063         * nss/getent.c (print_version): Likewise.
8064         * nss/makedb.c (print_version): Likewise.
8065         * posix/getconf.c (main): Likewise.
8066         * scripts/test-installation.pl: Likewise.
8067         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8069 2015-01-02  Will Newton  <will.newton@linaro.org>
8071         * sysdeps/arm/armv7/configure: Removed.
8072         * sysdeps/arm/armv7/configure.ac: Likewise.
8074 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8076         * All files with FSF copyright notices: Update copyright dates
8077         using scripts/update-copyrights.
8078         * intl/plural.c: Regenerated.
8079         * locale/programs/charmap-kw.h: Likewise.
8080         * locale/programs/locfile-kw.h: Likewise.
8082 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8084         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8086 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8088         [BZ #17748]
8089         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8090         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8091         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8092         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8093         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8094         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8095         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8096         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8097         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8098         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8099         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8100         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8101         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8102         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8103         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8104         libm_hidden_def.
8105         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8106         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8107         Likewise.
8108         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8109         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8110         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8111         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8112         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8113         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8114         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8115         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8116         __fegetenv instead of fegetenv.
8117         (libc_feholdsetround_noex_ctx): Likewise.
8119 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8121         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8122         (Elf_MIPS_ABIFlags_v0): New structure.
8123         (EF_MIPS_FP64): Define.
8124         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8125         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8126         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8127         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8128         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8129         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8130         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8131         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8132         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8133         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8134         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8135         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8136         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8137         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8138         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8139         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8140         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8141         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8142         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8143         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8144         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8145         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8146         field.
8147         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8148         EF_MIPS_FP64.
8149         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8150         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8151         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8152         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8153         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8154         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8155         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8156         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8157         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8158         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8159         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8160         record the current FP ABI extension.
8161         (mips-mode-switch): Define to show if kernel headers support mode
8162         switching.
8163         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8164         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8165         supported SYSV ABI version to 3.
8166         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8167         feature.
8169 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8170             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8172         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8173         path.
8174         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8176 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8178         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8179         __fegetround and redefine to call __fegetround.  Remove condition
8180         on [!__NO_MATH_INLINES].
8181         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8182         function.
8183         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8184         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8185         Remove macro.
8186         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8187         instead of <fenv_libc.h>.
8188         (__llrintl): Call fegetround instead of __fegetround.
8189         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8190         instead of <fenv_libc.h>.
8191         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8192         (__lrintl): Call fegetround instead of __fegetround.
8193         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8194         instead of <fenv_libc.h>.
8195         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8196         (__rintl): Call fegetround instead of __fegetround.
8198 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8200         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8201         arrays.
8203 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8205         [BZ #17775]
8206         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8207         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8208         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8210 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8212         * sysdeps/i386/tls-macros.h: Include <features.h>.
8213         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8214         (TLS_IE): Likewise.
8215         (TLS_LD): Likewise.
8216         (TLS_GD): Likewise.
8217         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8218         define for GCC >= 5.0.
8220 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8222         * math/test-fenv.c (test_single_exception, set_single_exc,
8223         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8224         feexcp_mask_test, feenable_test, fe_single_test): Add
8225         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8226         case where they are not used.
8227         * math/libm-test.inc: Likewise.
8228         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8229         unused in the absence of FP rounding/exception support.
8230         * stdio-common/tst-printf-round.c: Likewise.
8231         * stdlib/tst-strtod-round.c: Likewise.
8232         * stdlib/tst-strtod-underflow.c: Likewise.
8234 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8236         [BZ #17723]
8237         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8238         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8239         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8240         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8241         libm_hidden_weak.
8242         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8243         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8244         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8245         libm_hidden_def.
8246         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8247         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8248         libm_hidden_weak.
8249         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8250         Likewise.
8251         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8252         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8253         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8254         libm_hidden_weak.
8255         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8256         libm_hidden_def.
8257         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8258         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8259         (__feraiseexcept): Likewise.
8260         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8261         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8262         libm_hidden_weak.
8263         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8264         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8265         libm_hidden_def.
8266         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8267         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8268         Use libm_hidden_def.
8269         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8270         libm_hidden_def.
8271         (feraiseexcept): Define as weak not strong alias.  Use
8272         libm_hidden_weak.
8273         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8274         New inline function.  Factored out of ...
8275         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8276         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8277         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8278         feraiseexcept.
8279         * math/w_acos.c (__acos): Likewise.
8280         * math/w_asin.c (__asin): Likewise.
8281         * math/w_ilogb.c (__ilogb): Likewise.
8282         * math/w_j0.c (y0): Likewise.
8283         * math/w_j1.c (y1): Likewise.
8284         * math/w_jn.c (yn): Likewise.
8285         * math/w_log.c (__log): Likewise.
8286         * math/w_log10.c (__log10): Likewise.
8287         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8288         * sysdeps/aarch64/fpu/math_private.h
8289         (libc_feupdateenv_test_aarch64): Likewise.
8290         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8291         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8292         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8293         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8294         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8295         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8296         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8297         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8298         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8299         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8301 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8303         [BZ #17732]
8304         * io/test-utime.c (main): Replace %ld with %jd and cast to
8305         intmax_t.
8306         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8307         * nptl/tst-mutex5.c: Include <stdint.h>.
8308         (do_test): Replace %ld with %jd and cast to intmax_t.
8309         * posix/tst-regex.c (run_test): Likewise.
8310         (run_test_backwards): Likewise.
8311         * rt/tst-clock.c: Include <stdint.h>.
8312         (clock_test): Replace %ld with %jd and cast to intmax_t.
8313         * rt/tst-cpuclock1.c: Include <stdint.h>.
8314         (do_test): Replace %lu with %ju and cast to uintmax_t.
8315         * rt/tst-cpuclock2.c: Include <stdint.h>.
8316         (do_test): Replace %lu with %ju and cast to uintmax_t.
8317         * rt/tst-mqueue1.c: Include <stdint.h>.
8318         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8319         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8320         intmax_t.
8321         * rt/tst-mqueue4.c (do_test): Likewise.
8322         * rt/tst-timer4.c: Include <stdint.h>.
8323         (check_ts): Replace %ld with %jd and cast to intmax_t.
8324         (do_test): Likewise.
8325         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8326         and cast to intmax_t.
8327         * sysdeps/pthread/tst-timer.c (main): Likewise.
8328         * time/clocktest.c (main): Likewise.
8329         * time/tst-posixtz.c (do_test): Likewise.
8330         * timezone/tst-timezone.c (main): Likewise.
8332 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8333             H.J. Lu  <hongjiu.lu@intel.com>
8335         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8336         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8337         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8338         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8339         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8340         version if bit_Fast_Unaligned_Load is set.
8341         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8342         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8343         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8344         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8345         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8346         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8348         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8349         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8350         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8351         to 4.
8352         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8353         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8354         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8355         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8357 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8359         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8360         instead of #if to avoid a Wundef warning.
8361         * stdlib/tst-limits.c (do_test): Likewise.
8363         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8364         parallel other exception macros.
8365         (fegetenv): Convert from macro to extern inline so that it applies
8366         retroactively to inline functions already seen by the compiler.
8367         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8369         * posix/Makefile (before-compile): Use $(objpfx) for
8370         posix-conf-vars-def.h.
8372 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8374         * posix/getconf.c (main): Use size_t for type of I.
8375         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8376         NSPEC.
8378         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8379         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8380         * posix/posix-envs.def: Likewise.
8381         * sysdeps/posix/sysconf.c: Likewise.
8382         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8383         (specs): Remove array.
8384         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8385         array.
8387         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8388         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8389         (__sysconf): Use CONF_IS_* macros.
8391         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8392         ($(objpfx)posix-conf-vars-def.h): New target.
8393         * posix/posix-conf-vars.list: New file.
8394         * posix/posix-conf-vars.h: New file.
8395         * posix/confstr.c: Include posix-conf-vars.h.
8396         (confstr): Use CONF_IS_* macros.
8397         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8398         CONF_IS_* macros.
8399         * scripts/gen-posix-conf-vars.awk: New file.
8401 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8403         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8404         fegetround): Add no-op macros to avoid linknamespace issues.
8406         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8407         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8409         * sysdeps/unix/sysv/linux/tile/sysdep.h
8410         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8411         assembly-specific section to avoid a redefinition warning.
8413         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8414         long before casting to pointer to avoid a cast warning.
8416 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8418         * sysdeps/tile/tilegx/Implies: New file.
8420 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8422         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8424 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8426         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8428 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8430         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8431         not define.
8432         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8433         <kernel-features.h>.
8434         (__utimes) [__NR_utimes]: Make code unconditional.
8435         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8436         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8437         (__ASSUME_UTIMES): Do not undefine.
8438         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8439         (__ASSUME_UTIMES): Likewise.
8440         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8441         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8442         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8443         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8445 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8447         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8449 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8451         [BZ #17747]
8452         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8453         alias to weak alias for j0l, y0l.
8454         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8455         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8457         [BZ #17746]
8458         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8459         conversion.
8461 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8463         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8464         to zero if not already defined.
8466 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8468         [BZ #17724]
8469         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8470         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8471         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8472         (char *) casts added.
8473         * sysdeps/ieee754/k_standardf.c: New file.
8474         * sysdeps/ieee754/k_standardl.c: Likewise.
8475         * math/Makefile (libm-support): Remove k_standard.
8476         (libm-calls): Add k_standard.
8478 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8480         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8481         Optimize to avoid an unnecessary FPCR read.
8483 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8485         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8486         Optimize to reduce FPCR/FPSR accesses.
8488 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8490         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8491         Call libc_fetestexcept_aarch64.
8493 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8495         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8496         Call libc_fesetround_aarch64.
8498 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8500         [BZ #17733]
8501         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8502         (__bind): Do not define as weak alias.
8503         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8504         define.
8505         (__getsockname): Do not define as weak alias.
8507 2014-12-22  Will Newton  <will.newton@linaro.org>
8509         * manual/install.texi: Document that we require bison 2.7
8510         or above.
8511         * INSTALL: Regenerate.
8512         * configure.ac: Use AC_CHECK_PROG_VER instead of
8513         AC_PATH_PROG when checking for bison and check for
8514         version 2.7 or above.
8515         * configure: Regenerate.
8517 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8519         [BZ #17745]
8520         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8521         * sysdeps/tile/ffsll.c (ffsll): To here.
8523         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8525 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8527         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8528         if not defined.
8529         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8530         definition.
8531         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8532         hidden ___tls_get_addr.
8533         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8534         hidden __tls_get_addr.
8535         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8536         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8537         Likewise.
8539 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8541         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8542         _dl_init call.
8544 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8546         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8547         from "call _dl_init@PLT".
8548         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8550 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8552         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8553         guarantees.
8555 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8557         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8559 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8561         [BZ #17744]
8562         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8563         strnlen.
8565 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8567         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8568         of multu on MIPSr6.
8569         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8570         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8571         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8572         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8573         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8575 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8577         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8578         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8579         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8580         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8581         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8582         mips32r6/mips64r6.
8583         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8585 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8587         * string/strncat.c (STRNCAT): Simplify implementation.
8589 2014-12-19  David S. Miller  <davem@davemloft.net>
8591         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8592         access the quad as both a long double and as a series of 4 words.
8594         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8595         link_map->l_info array access.
8597 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8599         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8601         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8602         * math/atest-exp2.c (TIMEOUT): Likewise.
8603         * math/atest-sincos.c (TIMEOUT): Likewise.
8605 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8607         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8608         -Wno-error with -fno-builtin-lround.
8610 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8612         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8613         Contains futex constants and functions moved over from ...
8614         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8615         <lowlevellock-futex.h>.
8616         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8617         (lll_timedwait_tid): Add comments and parentheses around macro
8618         arguments.
8620 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8622         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8623         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8624         (__lll_private_flag): Remove.
8625         (lll_futex_wait): Likewise.
8626         (lll_futex_timed_wait): Likewise.
8627         (lll_futex_wake): Likewise.
8628         (lll_futex_requeue): Likewise.
8629         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8630         (__lll_timedwait_tid): Spell out argument names.
8631         (lll_timedwait_tid): Add comments and parentheses around macro
8632         arguments.
8633         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8634         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8636 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8638         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8639         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8640         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8641         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8642         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8643         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8644         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8645         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8646         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8647         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8648         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8649         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8650         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8652         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8653         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8654         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8655         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8656         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8658 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8660         * sysdeps/x86_64/x32/Makefile: New file.
8662 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8664         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8665         1L with (mp_limb_t) 1.
8667 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8669         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8670         * nptl/libc_pthread_init.c: ... here.
8671         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8672         * nptl/register-atfork.c: ... here.
8674         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8675         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8676         Use assert_perror to check its return value.
8677         (__gai_create_helper_thread): Likewise.
8679         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8681         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8683 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8685         [BZ #17725]
8686         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8687         __profil_counter.
8688         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8689         Likewise.
8690         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8691         Likewise.
8692         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8693         Likewise.
8694         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8695         (profil_counter): Likewise.
8696         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8697         (profil_counter): Likewise.
8698         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8699         Likewise.
8700         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8701         Likewise.
8702         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8703         (profil_counter): Likewise.
8704         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8705         Likewise.
8706         [!__profil_counter] (profil_counter): Define as weak alias of
8707         __profil_counter.
8708         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8709         (profil_counter): Rename to __profil_counter.
8710         [!__profil_counter] (profil_counter): Define as weak alias of
8711         __profil_counter.
8712         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8713         (profil_counter): Rename to __profil_counter.
8714         [!__profil_counter] (profil_counter): Define as weak alias of
8715         __profil_counter.
8716         * sysdeps/posix/profil.c: Update comment referring to
8717         profil_counter.
8718         (__profil): Use __profil_counter instead of profil_counter.
8719         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8720         __profil_counter.  Use __profil_counter_ushort and
8721         __profil_counter_uint in definitions.
8722         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8723         instead of profil_counter_uint and profil_counter_ushort.
8725         [BZ #17722]
8726         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8727         define as weak alias of __inet_makeaddr.
8728         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8729         as weak alias of __inet_addr.
8730         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8731         as weak alias of __inet_pton.  Use libc_hidden_weak.
8732         * include/arpa/inet.h (__inet_pton): Declare.  Use
8733         libc_hidden_proto.
8734         (inet_makeaddr): Don't use libc_hidden_proto.
8735         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8736         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8737         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8738         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8739         Remove variable.
8740         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8741         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8743 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8745         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8747 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8749         * stdio-common/bug-vfprintf-nargs.c (do_test):
8750         Cast value to intptr_t to avoid format warning
8751         for usage with PRIdPTR printing macro.
8753 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8755         * libio/tst-widetext.c (do_test):
8756         Use format type %td instead of %Zd for ptrdiff_t
8757         in order to avoid format warning.
8759 2014-12-17  Andreas Schwab  <schwab@suse.de>
8761         * nscd/mem.c (gc): Add size_t cast to match printf format.
8763 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8765         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8766         (init): Apply PTR_MANGLE to pointers before storing them.
8767         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8768         before using them.
8770 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8772         [BZ #17719]
8773         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8774         define as weak alias of __memrchr.
8775         (__memrchr): Do not define as strong alias of memrchr.
8776         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8777         Remove variable.
8778         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8779         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8780         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8782         [BZ #17717]
8783         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8784         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8785         (if_indextoname): Rename to __if_indextoname and define as weak
8786         alias of __if_indextoname.  Use libc_hidden_weak.
8787         (if_freenameindex): Rename to __if_freenameindex and define as
8788         weak alias of __if_freenameindex.
8789         (if_nameindex): Rename to __if_nameindex and define as weak alias
8790         of __if_nameindex.
8791         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8792         __if_nametoindex and define as weak alias of __if_nametoindex.
8793         Use libc_hidden_weak.
8794         (if_freenameindex): Rename to __if_freenameindex and define as
8795         weak alias of __if_freenameindex.
8796         (if_nameindex): Rename to __if_nameindex and define as weak alias
8797         of __if_nameindex.
8798         (if_indextoname): Rename to __if_indextoname and define as weak
8799         alias of __if_indextoname.  Use libc_hidden_weak.
8800         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8801         __if_nametoindex and define as weak alias of __if_nametoindex.
8802         Use libc_hidden_weak.
8803         (if_freenameindex): Rename to __if_freenameindex and define as
8804         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8805         (if_nameindex_netlink): Use __if_freenameindex instead of
8806         if_freenameindex.
8807         (if_nameindex): Rename to __if_nameindex and define as weak alias
8808         of __if_nameindex.  Use libc_hidden_weak.
8809         (if_indextoname): Rename to __if_indextoname and define as weak
8810         alias of __if_indextoname.  Use libc_hidden_weak.
8811         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8812         libc_hidden_proto.
8813         [!_ISOMAC] (__if_freenameindex): Likewise.
8814         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8815         if_nametoindex.
8816         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8817         variable.
8818         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8819         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8820         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8821         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8822         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8823         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8824         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8826         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8827         Remove variable.
8828         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8829         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8831 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8833         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8834         subscript above bounds'
8836         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8837         bounds.
8839 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8841         * libio/tst-fopenloc.c: Use test-skeleton.c.
8843         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8844         (entry): Rename to ITEM.
8845         (do_test, comp): Adjust.
8847         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8849 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8851         * string/tester.c: Include <libc-internal.h>.
8852         (test_memset): Ignore -Wmemset-transposed-args.
8854 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8856         * misc/tst-mntent2.c (do_test): Fix warning.
8858 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8860         * elf/tst-unique4lib.cc(a): Mark as used.
8862 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8864         [BZ #17630]
8865         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8866         names.
8868 2014-12-16  Allan McRae  <allan@archlinux.org>
8870         * stdio-common/Makefile (tests): Re-add bug26.
8872 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8874         [BZ #17657]
8875         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8876         static array.
8878 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8880         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8881         (__lll_lock_wait): Likewise.
8882         (__lll_timedlock_wait): Likewise.
8883         (__lll_timedwait_tid): Likewise.
8884         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8885         (__lll_robust_timedlock_wait): Likewise.
8886         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8887         (lll_cond_trylock): Likewise.
8888         (__lll_lock): Likewise.
8889         (__lll_robust_lock): Likewise.
8890         (__lll_cond_lock): Likewise.
8891         (lll_robust_cond_lock): Likewise.
8892         (__lll_timedlock): Likewise.
8893         (__lll_robust_timedlock): Likewise.
8894         (__lll_unlock): Likewise.
8895         (__lll_robust_unlock): Likewise.
8896         (lll_wait_tid): Likewise.
8897         (lll_timedwait_tid): Likewise.
8899 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8901         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8903 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8905         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8907 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8909         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8910         * stdio-common/tst-sprintf.c: Likewise.
8912 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8914         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8916 2014-12-15  Jeff Law  <law@redhat.com>
8918         [BZ #16617]
8919         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8920         on the heap.  (CVE-2012-3406)
8921         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8922         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8923         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8925 2014-12-15  Will Newton  <will.newton@linaro.org>
8927         * manual/install.texi: Bump required version of texinfo
8928         to 4.7 from 4.5.
8929         * INSTALL: Regenerated.
8930         * configure.ac: Check for makeinfo version 4.7 and above.
8931         * configure: Regenerated.
8933 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8935         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8936         PREFIX, string constant to insert between directory and name.
8937         * sysdeps/posix/shm_open.c: Update caller.
8938         * sysdeps/posix/shm_unlink.c: Likewise.
8939         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8940         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8941         (SEM_SHM_PREFIX): New macro.
8942         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8943         [$(have-thread-library) = no].
8944         * nptl/Makefile (libpthread-routines): Add shm-directory.
8945         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8946         * sysdeps/nptl/shm-directory.h: New file.
8947         * sysdeps/posix/shm-directory.c
8948         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8949         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8950         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8951         INTERNAL_SYSCALL.
8952         (__where_is_shmfs): Function removed.
8953         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8954         Variables removed.
8955         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8956         Use SHM_GET_NAME.
8957         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8959         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8960         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8961         unconditional for use inside libpthread.
8962         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8964 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8966         * nptl/pthread_getaffinity.c: New file.
8967         * nptl/pthread_setaffinity.c: New file.
8968         * nptl/pthread_getname.c: New file.
8969         * nptl/pthread_setname.c: New file.
8971         * nptl/pthread_create.c (START_THREAD_DEFN)
8972         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8974 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8975             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8977         * resolv/res_send.c (send_vc): Disable warning resplen may
8978         be used uninitialized.
8980 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8982         * nptl/tst-mutex6.c
8983         (ATTR_NULL): New define checks ATTR against NULL.
8984         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8985         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8987 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8989         [BZ #17581]
8990         * malloc/hooks.c
8991         (mem2mem_check): Revert my previous change.
8992         (malloc_check_get_size): Revert my previous change.
8993         (mem2chunk_check): Revert my previous change.
8995 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8997         * sysdeps/posix/shm-directory.c: New file.
8998         * sysdeps/posix/shm-directory.h: New file.
8999         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9000         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9001         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9002         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9003         Transmute EPERM to EACCES.
9004         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9005         from ...
9006         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9007         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9009 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9011         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9012         pointer and cast to uintptr_t.
9013         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9014         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9015         Add cast to avoid warning.
9016         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9018 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9020         * nptl/semaphore.h: Move to ...
9021         * sysdeps/pthread/semaphore.h: ... here.
9022         * Makefile (installed-headers): Change nptl/semaphore.h to
9023         sysdeps/pthread/semaphore.h.
9025 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9027         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9028         generated error format strings.
9030         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9031         -Wformat-extra-args warnings for scanf formats.
9032         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9033         test of zero-length format (duh).
9034         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9035         corner-case scanf format test.
9036         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9037         generated fprintf format string.
9038         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9039         corner-case sprintf format tests.
9040         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9041         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9042         -Wformat-extra-args warnings throughout.
9043         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9044         (CFLAGS-scanf4.c): Likewise.
9045         (CFLAGS-scanf7.c): Likewise.
9046         (CFLAGS-tst-sprintf.c): Likewise.
9047         (CFLAGS-tst-printf.c): Likewise.
9048         (CFLAGS-tst-printfsz.c): Likewise.
9050 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9052         * include/cpio.h: New file.
9053         * include/fmtmsg.h: Likewise.
9055         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9056         corresponding format argument to size_t.
9057         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9058         arguments.
9059         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9060         corresponding format argument to size_t.
9061         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9062         arguments.
9063         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9064         corresponding format argument to size_t.
9065         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9066         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9067         (CFLAGS-tst-mbswcs2.c): Likewise.
9068         (CFLAGS-tst-mbswcs3.c): Likewise.
9069         (CFLAGS-tst-mbswcs4.c): Likewise.
9070         (CFLAGS-tst-mbswcs5.c): Likewise.
9071         (CFLAGS-tst-trans.c): Likewise
9073 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9075         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9076         rather than assuming they won't contain any '%'s.
9078 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9080         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9081         inhibit_loop_to_libcall to avoid recursive calls.
9082         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9083         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9085 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9087         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9088         prototype.
9090 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9092         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9093         integer value instead of boolean.
9095 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9097         * malloc/malloc.c: Fix powerof2 check.
9099 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9101         * locale/programs/locfile.h (maybe_swap_uint32):
9102         Remove inline and add unused attribute.
9104 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9106         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9107         Truncating assembler expression to a .long expression.
9109 2014-12-11  Andreas Schwab  <schwab@suse.de>
9111         * elf/rtld.c (struct map_args): Constify str member.
9112         (do_preload): Constify fname argument.
9114 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9116         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9117         constants definition.
9119 2014-12-11  Andreas Schwab  <schwab@suse.de>
9121         [BZ #16657]
9122         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9123         FORCE_ELISION instead of DO_ELISION.
9124         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9125         Remove.
9126         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9127         Likewise.
9129         * iconvdata/gconv-modules: Remove duplicate entry.
9131 2014-12-11  Will Newton  <will.newton@linaro.org>
9133         Merge gettext 0.19.3 into intl/.
9135         This involves a number of cosmetic changes to comments
9136         and ANSI function definitions and prototypes throughout
9137         all the files. The gettext copyright header is used but
9138         with the date ranges taken from the glibc copy.
9140         * NEWS: Add gettext merge to 2.21.
9141         * intl/bindtextdom.c: Switch to gettext copyright.
9142         Use ANSI definitions and prototypes.
9143         Use gl_* locking primitives rather than __libc_* ones.
9144         Use __builtin_expect rather than __glibc_likely/unlikely.
9145         * intl/dcgettext.c: Switch to gettext copyright.
9146         Use ANSI definitions and prototypes.
9147         * intl/dcigettext.c: Switch to gettext copyright.
9148         Use ANSI definitions and prototypes.
9149         (INTDIV0_RAISES_SIGFPE): New define.
9150         Use gl_* locking primitives rather than __libc_* ones.
9151         Include eval-plural.h instead of plural-eval.c.
9152         Use __builtin_expect rather than __glibc_likely/unlikely.
9153         * intl/dcngettext.c: Switch to gettext copyright.
9154         Use ANSI definitions and prototypes.
9155         * intl/dgettext.c: Likewise.
9156         * intl/dngettext.c: Likewise.
9157         * intl/plural-eval.c: Renamed to...
9158         * intl/eval-plural.h: ...this.
9159         * intl/explodename.c: Switch to gettext copyright.
9160         Use ANSI definitions and prototypes.
9161         (_nl_explode_name): Use strchr instead of __rawmemchr.
9162         * intl/finddomain.c: Switch to gettext copyright.
9163         Use ANSI definitions and prototypes.
9164         Use gl_* locking primitives rather than __libc_* ones.
9165         (_nl_find_domain): Use malloc rather than alloca for
9166         allocation of temporary locale name.
9167         * intl/gettext.c: Switch to gettext copyright.
9168         Use ANSI definitions and prototypes.
9169         * intl/gettextP.h: Switch to gettext copyright.
9170         Use ANSI definitions and prototypes.
9171         Use gl_* locking primitives rather than __libc_* ones.
9172         * intl/gmo.h: Switch to gettext copyright.
9173         (struct sysdep_string): Move struct segment_pair outside of
9174         struct definition.
9175         * intl/hash-string.c: Use ANSI definitions and prototypes.
9176         * intl/hash-string.h: Switch to gettext copyright.
9177         Use ANSI definitions and prototypes.
9178         * intl/l10nflist.c: Switch to gettext copyright.
9179         Use ANSI definitions and prototypes.
9180         (_nl_normalize_codeset): Avoid integer overflow.
9181         * intl/loadinfo.h: Switch to gettext copyright.
9182         Use ANSI definitions and prototypes.
9183         (LIBINTL_DLL_EXPORTED): New define.
9184         (PATH_SEPARATOR): New define.
9185         * intl/loadmsgcat.c: Switch to gettext copyright.
9186         * intl/localealias.c: Switch to gettext copyright.
9187         Use ANSI definitions and prototypes.
9188         (_nl_expand_alias): Use PATH_SEPARATOR.
9189         * intl/ngettext.c: Switch to gettext copyright.
9190         Use ANSI definitions and prototypes.
9191         * intl/plural-exp.c: Likewise.
9192         * intl/plural-exp.h: Switch to gettext copyright.
9193         Use ANSI definitions and prototypes.
9194         (struct expression): Move definition of enum operator outside
9195         of struct definition.
9196         * intl/plural.c: Regenerate.
9197         * intl/plural.y: Switch to gettext copyright.
9198         Use ANSI definitions and prototypes.
9199         Port to bison 3.0.
9200         * intl/textdomain.c: Switch to gettext copyright.
9201         Use ANSI definitions and prototypes.
9202         Use gl_* locking primitives rather than __libc_* ones.
9204 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9206         * debug/warning-nop.c: Add used atrribute.
9208 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9210         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9212         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9213         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9214         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9216 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9217             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9219         [BZ #17634]
9220         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9221         Undefine after defining function.  Define as weak alias of
9222         __wcschr.  Use libc_hidden_weak.
9223         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9224         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9225         (libc_hidden_def): Also define __GI___wcschr alias.
9226         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9227         __wcschr and define as weak alias of __wcschr.
9228         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9229         __wcschr.
9230         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9231         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9232         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9233         libc_hidden_weak.  Do not use libc_hidden_def.
9234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9235         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9236         __GI___wcschr alias.
9237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9238         [IS_IN (libc)] (wcschr): Define as macro expanding to
9239         __redirect_wcschr.
9240         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9241         [IS_IN (libc)] (__wcschr_power6): Likewise.
9242         [IS_IN (libc)] (__wcschr_power7): Likewise.
9243         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9244         instead of wcschr.
9245         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9246         __libc_wcschr.
9247         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9248         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9249         __wcschr and define as weak alias of __wcschr.  Use
9250         libc_hidden_builtin_def.
9251         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9252         as weak alias of __wcschr.  Use libc_hidden_weak.
9253         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9254         wcschr.
9255         * time/era.c (_nl_init_era_entries): Likewise.
9256         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9257         variable.
9258         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9259         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9261 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9263         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9264         format for long int variable.
9266 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9268         [BZ #10672]
9269         * manual/search.texi: (Array Sort Function): Remove claim how to make
9270         qsort stable.
9272 2014-12-10  Andreas Schwab  <schwab@suse.de>
9274         [BZ #12847]
9275         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9276         user-controlled locks.
9278 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9280         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9281         register.
9283 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9285         * configure.ac (--disable-werror): New configure option.
9286         (enable_werror): New AC_SUBST.
9287         * configure: Regenerated.
9288         * config.make.in (enable-werror): New variable.
9289         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9290         -Wno-error=undef.
9291         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9292         * manual/install.texi (Configuring and compiling): Document
9293         --disable-werror.
9294         * INSTALL: Regenerated.
9295         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9296         (CFLAGS-tst-chk2.c): Likewise.
9297         (CFLAGS-tst-chk3.c): Likewise.
9298         (CFLAGS-tst-chk4.cc): Likewise.
9299         (CFLAGS-tst-chk5.cc): Likewise.
9300         (CFLAGS-tst-chk6.cc): Likewise.
9301         (CFLAGS-tst-lfschk1.c): Likewise.
9302         (CFLAGS-tst-lfschk2.c): Likewise.
9303         (CFLAGS-tst-lfschk3.c): Likewise.
9304         (CFLAGS-tst-lfschk4.cc): Likewise.
9305         (CFLAGS-tst-lfschk5.cc): Likewise.
9306         (CFLAGS-tst-lfschk6.cc): Likewise.
9308         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9309         (main): Disable -Wdeprecated-declarations around calls to
9310         register_printf_function.
9312         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9313         (do_test): Disable -Wdiv-by-zero around some calls to
9314         fwrite_unlocked and fread_unlocked.
9316         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9317         (DIAG_POP_NEEDS_COMMENT): Likewise.
9318         (_DIAG_STR1): Likewise.
9319         (_DIAG_STR): Likewise.
9320         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9321         * stdio-common/bug21.c: Include <libc-internal.h>.
9322         (do_test): Disable -Wformat around call to sscanf.
9323         * stdio-common/scanf14.c: Include <libc-internal.h>.
9324         (main): Disable -Wformat around some calls to scanf functions.
9326 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9328         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9330 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9332         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9333         stack variable alignment.
9335 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9337         [BZ #17682]
9338         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9339         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9340         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9341         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9342         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9343         __getrlimit instead of getrlimit.
9344         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9345         __gettimeofday instead of gettimeofday.
9346         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9347         Likewise.
9348         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9349         Likewise.
9350         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9351         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9352         Remove variable.
9353         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9354         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9356 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9358         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9359         for wide-character tests.
9361 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9363         * io/openat64.c: #include <libc-internal.h>
9364         (__openat64): Prototypify.  Use ignore_value on MODE.
9365         * io/openat.c: Likewise.
9366         * misc/reboot.c: #include <libc-internal.h>
9367         (reboot): Prototypify.  Use ignore_value on HOWTO.
9368         * misc/ptrace.c: #include <libc-internal.h>
9369         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9371 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9373         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9374         XPG4, UNIX98 and XOPEN2K.
9375         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9376         Remove variable.
9377         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9379 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9381         * libio/fileops.c: Use ISO C style for function definitions.
9382         * libio/iofopen.c: Likewise.
9383         * libio/wfileops.c: Likewise.
9385         [BZ #17653]
9386         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9387         offset on EOF.
9388         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9389         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9390         (fgets_func): Function pointer to fgets and fgetws.
9391         (do_ftell_test): Add test to verify ftell value after read
9392         EOF.
9393         (do_test): Set fgets_func.
9395         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9396         O_TRUNC flag for w and w+ modes.
9397         (do_rewind_test): Likewise.
9398         (do_ftell_test): Likewise.
9399         (do_write_test): Likewise.
9401         [BZ #17647]
9402         * libio/fileops.c (do_ftell): Seek only when there are
9403         unflushed writes.
9404         * libio/wfileops.c (do_ftell_wide): Likewise.
9405         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9406         test case.
9407         (do_one_test): Call it.
9409 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9411         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9412         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9413         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9414         Remove variable.
9415         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9416         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9417         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9419 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9421         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9422         Remove variable.
9423         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9425         [BZ #17668]
9426         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9427         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9428         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9429         __freeifaddrs.  Use libc_hidden_weak.
9430         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9431         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9432         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9433         __freeifaddrs.  Use libc_hidden_weak.
9434         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9435         __getifaddrs and define as weak alias of __getifaddrs.  Use
9436         libc_hidden_weak.
9437         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9438         __freeifaddrs.  Use libc_hidden_weak.
9439         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9440         Remove variable.
9441         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9442         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9444 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9446         [BZ #17601]
9447         * sysdeps/mips/start.S (__start): Use indirect jump to call
9448         __libc_start_main.
9450 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9452         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9454         * nptl/tst-mutex1.c: Include <stdbool.h>.
9455         [!ATTR] (ATTR_NULL): New macro.
9456         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9457         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9458         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9460         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9461         to char *.
9463         [BZ #17665]
9464         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9465         Change conditional to [__USE_MISC].
9467         [BZ #17664]
9468         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9469         fgets_unlocked.
9470         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9471         __fgets_unlocked.
9472         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9473         fgets_unlocked.
9474         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9475         Remove variable.
9476         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9477         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9478         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9479         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9480         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9481         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9482         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9483         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9484         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9486         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9488 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9490         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9491         Remove strpbrk objects.
9492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9493         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9494         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9495         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9496         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9497         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9499         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9500         Remove strcspn objects.
9501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9502         (__libc_ifunc_impl_list): Remove strcspn implementation.
9503         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9504         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9505         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9506         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9508         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9509         Remove strspn objetcs.
9510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9511         (__libc_ifunc_impl_list): Remove strspn implementation.
9512         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9513         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9514         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9515         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9517 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9519         [BZ #17581]
9520         * malloc/hooks.c
9521         (mem2mem_check): Add a terminator to the chain of checking blocks.
9522         (malloc_check_get_size): Use it here.
9523         (mem2chunk_check): Ditto.
9525 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9527         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9528         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9530 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9532         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9534         * nptl/nptl-init.c: Include libc-internal.h.
9535         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9537         * elf/ldconfig.c (search_dir): Expand comment.
9539 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9541         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9542         variable.
9543         (linknamespace-symlist-stdlibs-tests): Likewise.
9544         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9545         instead of $(objpfx)symlist-stdlibs.
9546         (linknamespace-libs-isoc): New variable.
9547         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9548         (linknamespace-libs-ISO): New variable.
9549         (linknamespace-libs-ISO99): Likewise.
9550         (linknamespace-libs-ISO11): Likewise.
9551         (linknamespace-libs-XPG3): Likewise.
9552         (linknamespace-libs-XPG4): Likewise.
9553         (linknamespace-libs-POSIX): Likewise.
9554         (linknamespace-libs-UNIX98): Likewise.
9555         (linknamespace-libs-XOPEN2K): Likewise.
9556         (linknamespace-libs-POSIX2008): Likewise.
9557         (linknamespace-libs-XOPEN2K8): Likewise.
9558         ($(objpfx)symlist-stdlibs): Replace by
9559         $(linknamespace-symlist-stdlibs-tests).  Use
9560         $(linknamespace-libs-$*) as set of libraries.
9561         ($(linknamespace-header-tests)): Update dependencies.  Use
9562         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9563         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9564         * conform/linknamespace.pl: Remove comment about considering
9565         definitions of symbols from irrelevant libraries.
9567 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9569         [BZ #13862]
9570         * elf/dl-tls.c: Include <atomic.h>.
9571         (oom): Remove #ifdef SHARED/#endif.
9572         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9573         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9574         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9575         big enough.
9576         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9577         * nptl/Makefile (tests): Add tst-stack4.
9578         (modules-names): Add tst-stack4mod.
9579         ($(objpfx)tst-stack4): New.
9580         (tst-stack4mod.sos): Likewise.
9581         ($(objpfx)tst-stack4.out): Likewise.
9582         ($(tst-stack4mod.sos)): Likewise.
9583         (clean): Likewise.
9584         * nptl/tst-stack4.c: New file.
9585         * nptl/tst-stack4mod.c: Likewise.
9587 2014-11-27  J. Brown  <jb999@gmx.de>
9589         * sysdeps/x86/bits/string.h: Add recent CPUs.
9591 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9593         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9594         sigblock.
9596         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9597         feof.
9599         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9600         variable.
9602 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9604         * nscd/connections.c: Include libc-internal.h because of macro
9605         usage ignore_value.
9607 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9609         * string/bits/string3.h (__warn_memset_zero_len): Don't
9610         declare for gcc newer than 5.0.
9611         (memset): Don't test for zero-length __LEN for gcc newer than
9612         5.0.
9614 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9616         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9617         size_t for %zu format.
9619         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9620         difference, not %ju.
9622 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9624         * include/libc-internal.h (ignore_value): New macro.
9625         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9626         with ignore_value.
9628         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9629         definition.
9631         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9632         pthread_cleanup_push to void *.
9634         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9635         Undefine.
9637         [BZ #16619]
9638         [BZ #16740]
9639         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9640         instead of 1L << 52.
9642         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9643         * libio/bug-rewind2.c (do_test): Likewise.
9645         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9646         * debug/test-strcpy_chk-ifunc.c: Likewise.
9647         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9648         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9649         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9650         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9651         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9652         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9653         * Rules [$(multi-arch) = no] (tests): Do not filter out
9654         $(tests-ifunc).
9655         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9656         * debug/Makefile (tests-ifunc): Remove variable.
9657         (tests): Do not add $(tests-ifunc).
9658         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9659         (tests): Do not add $(tests-ifunc).
9660         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9661         [TEST_IFUNC]: Remove conditionals.
9662         * string/test-string.h (TEST_IFUNC): Remove macro.
9663         [TEST_IFUNC]: Remove conditionals.
9665         * string/test-strchr.c [!WIDE] (L): New macro.
9666         [WIDE] (L): Likewise.
9667         (check1): Use CHAR instead of char.  Use L on string and character
9668         constants.
9670 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9672         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9673         tests.
9674         * sysdeps/powerpc/bits/atomic.h
9675         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9676         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9677         (atomic_exchange_and_add_acq): Likewise.
9678         (atomic_exchange_and_add_rel): Likewise.
9679         * sysdeps/powerpc/powerpc32/bits/atomic.h
9680         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9681         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9682         * sysdeps/powerpc/powerpc64/bits/atomic.h
9683         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9684         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9686 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9688         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9689         Change synchronization of __sched_fifo_min_prio and
9690         __sched_fifo_max_prio.
9691         * nptl/pthread_mutexattr_getprioceiling.c
9692         (pthread_mutexattr_getprioceiling): Likewise.
9693         * nptl/pthread_mutexattr_setprioceiling.c
9694         (pthread_mutexattr_setprioceiling): Likewise.
9695         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9696         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9697         Likewise.
9699 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9701         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9702         void.
9704 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9706         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9707         third argument const.
9709 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9711         fnmatch: work around GCC compiler warning bug with uninit var
9712         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9713         This works around a bug with x86-64 GCC 4.9.2 and earlier
9714         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9715         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9716         used uninitialized in this function [-Wmaybe-uninitialized]".
9718 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9720         * posix/bug-regex31.c (main): Return RES not 0.
9722 2014-11-25  Anton Blanchard <anton@samba.org>
9724         * sysdeps/powerpc/bits/atomic.h
9725         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9727 2014-11-24  Sterling Augustine  <saugustine@google.com>
9729         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9731 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9733         [BZ #17608]
9734         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9736 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9738         [BZ #17633]
9739         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9740         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9741         variable.
9742         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9743         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9745 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9747         * string/strncpy.c (strncpy): Improve performance by using memset.
9749 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9751         * string/strcpy.c (strcpy):
9752         Improve performance by using strlen and memcpy.
9754 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9756         * string/strcoll_l.c (get_next_seq): __always_inline.
9757         * string/strcoll_l.c (do_compare): __always_inline.
9759 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9761         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9762         defined.
9763         * include/mqueue.h: Likewise.
9764         * include/stdlib.h: Likewise.
9766         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9767         (get_null_defines): Adjust.
9768         * sunrpc/Makefile: Adjust comment.
9769         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9770         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9771         (CFLAGS-interp.c): Likewise.
9772         (CFLAGS-ldconfig.c): Likewise.
9773         (CPPFLAGS-.os): Likewise.
9774         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9775         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9776         * extra-modules.mk (extra-modules.mk): Likewise.
9777         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9778         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9779         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9780         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9781         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9782         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9783         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9784         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9785         * iconvdata/Makefile (CPPFLAGS): Likewise.
9786         (cpp-srcs-left): Add libof for all iconvdata routines.
9787         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9788         * include/assert.h: Likewise.
9789         * include/ctype.h: Likewise.
9790         * include/errno.h: Likewise.
9791         * include/libc-symbols.h: Likewise.
9792         * include/math.h: Likewise.
9793         * include/netdb.h: Likewise.
9794         * include/resolv.h: Likewise.
9795         * include/stdio.h: Likewise.
9796         * include/stdlib.h: Likewise.
9797         * include/string.h: Likewise.
9798         * include/sys/stat.h: Likewise.
9799         * include/wctype.h: Likewise.
9800         * intl/l10nflist.c: Likewise.
9801         * libidn/idn-stub.c: Likewise.
9802         * libio/libioP.h: Likewise.
9803         * nptl/libc_multiple_threads.c: Likewise.
9804         * nptl/pthreadP.h: Likewise.
9805         * posix/regex_internal.h: Likewise.
9806         * resolv/res_hconf.c: Likewise.
9807         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9808         * sysdeps/arm/memmove.S: Likewise.
9809         * sysdeps/arm/sysdep.h: Likewise.
9810         * sysdeps/generic/_itoa.h: Likewise.
9811         * sysdeps/generic/symbol-hacks.h: Likewise.
9812         * sysdeps/gnu/errlist.awk: Likewise.
9813         * sysdeps/gnu/errlist.c: Likewise.
9814         * sysdeps/i386/i586/memcpy.S: Likewise.
9815         * sysdeps/i386/i586/memset.S: Likewise.
9816         * sysdeps/i386/i686/memcpy.S: Likewise.
9817         * sysdeps/i386/i686/memmove.S: Likewise.
9818         * sysdeps/i386/i686/mempcpy.S: Likewise.
9819         * sysdeps/i386/i686/memset.S: Likewise.
9820         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9821         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9822         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9823         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9824         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9825         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9826         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9827         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9828         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9829         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9830         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9831         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9832         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9833         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9834         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9835         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9836         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9837         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9838         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9839         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9840         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9841         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9842         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9843         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9844         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9845         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9846         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9847         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9848         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9849         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9850         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9851         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9852         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9853         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9854         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9855         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9856         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9857         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9858         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9859         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9860         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9861         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9862         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9863         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9864         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9865         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9866         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9867         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9868         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9869         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9870         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9871         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9872         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9873         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9874         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9875         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9876         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9877         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9878         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9879         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9880         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9881         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9882         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9883         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9884         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9885         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9886         * sysdeps/posix/closedir.c: Likewise.
9887         * sysdeps/posix/opendir.c: Likewise.
9888         * sysdeps/posix/readdir.c: Likewise.
9889         * sysdeps/posix/rewinddir.c: Likewise.
9890         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9891         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9892         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9893         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9894         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9895         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9896         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9897         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9899         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9901         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9902         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9903         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9904         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9905         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9906         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9907         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9908         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9909         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9910         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9911         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9912         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9913         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9914         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9916         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9918         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9919         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9921         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9925         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9926         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9927         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9928         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9929         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9930         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9931         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9932         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9933         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9934         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9935         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9936         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9937         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9938         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9939         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9940         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9941         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9942         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9943         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9944         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9945         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9946         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9947         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9948         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9949         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9950         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9951         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9952         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9953         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9954         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9955         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9956         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9957         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9958         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9959         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9960         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9961         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9962         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9963         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9964         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9965         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9966         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9967         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9968         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9969         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9970         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9971         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9972         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9973         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9974         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9975         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9976         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9977         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9978         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9979         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9980         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9981         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9982         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9983         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9985         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9986         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9987         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9988         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9989         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9990         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9991         * sysdeps/unix/alpha/sysdep.S: Likewise.
9992         * sysdeps/unix/alpha/sysdep.h: Likewise.
9993         * sysdeps/unix/make-syscalls.sh: Likewise.
9994         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9995         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9996         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9997         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9998         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9999         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10000         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10001         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10002         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10003         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10004         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10005         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10006         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10007         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10008         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10009         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10010         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10011         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10012         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10013         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10014         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10015         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10016         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10017         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10018         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10019         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10020         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10023         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10024         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10025         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10026         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10027         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10028         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10030         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10031         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10032         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10033         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10034         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10035         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10036         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10037         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10038         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10039         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10040         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10041         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10042         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10044         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10045         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10046         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10047         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10048         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10049         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10050         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10052         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10053         * sysdeps/x86_64/memcpy.S: Likewise.
10054         * sysdeps/x86_64/memmove.c: Likewise.
10055         * sysdeps/x86_64/memset.S: Likewise.
10056         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10057         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10058         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10059         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10060         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10061         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10062         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10063         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10064         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10065         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10066         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10067         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10068         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10069         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10070         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10071         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10072         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10073         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10074         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10075         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10076         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10077         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10078         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10079         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10080         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10081         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10082         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10083         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10084         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10085         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10086         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10087         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10088         * sysdeps/x86_64/strcmp.S: Likewise.
10090         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10092         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10093         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10094         * elf/rtld-Rules: Likewise.
10095         * elf/setup-vdso.h: Likewise.
10096         * include/assert.h: Likewise.
10097         * include/bits/stdlib-float.h: Likewise.
10098         * include/errno.h: Likewise.
10099         * include/sys/stat.h: Likewise.
10100         * include/unistd.h: Likewise.
10101         * sysdeps/aarch64/setjmp.S: Likewise.
10102         * sysdeps/alpha/setjmp.S: Likewise.
10103         * sysdeps/arm/__longjmp.S: Likewise.
10104         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10105         * sysdeps/arm/setjmp.S: Likewise.
10106         * sysdeps/arm/sysdep.h: Likewise.
10107         * sysdeps/generic/_itoa.h: Likewise.
10108         * sysdeps/generic/dl-sysdep.h: Likewise.
10109         * sysdeps/generic/ldsodefs.h: Likewise.
10110         * sysdeps/i386/dl-tls.h: Likewise.
10111         * sysdeps/i386/setjmp.S: Likewise.
10112         * sysdeps/m68k/setjmp.c: Likewise.
10113         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10114         * sysdeps/mach/hurd/opendir.c: Likewise.
10115         * sysdeps/posix/getcwd.c: Likewise.
10116         * sysdeps/posix/opendir.c: Likewise.
10117         * sysdeps/posix/profil.c: Likewise.
10118         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10119         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10120         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10121         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10122         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10123         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10124         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10125         * sysdeps/s390/dl-tls.h: Likewise.
10126         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10127         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10128         * sysdeps/sh/sh3/setjmp.S: Likewise.
10129         * sysdeps/sh/sh4/setjmp.S: Likewise.
10130         * sysdeps/unix/alpha/sysdep.h: Likewise.
10131         * sysdeps/unix/arm/sysdep.S: Likewise.
10132         * sysdeps/unix/i386/sysdep.S: Likewise.
10133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10134         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10135         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10136         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10138         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10139         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10140         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10141         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10142         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10143         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10144         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10145         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10148         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10149         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10150         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10151         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10152         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10153         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10156         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10157         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10158         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10160         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10161         * sysdeps/x86_64/setjmp.S: Likewise.
10163         * include/math.h: Use IS_IN instead of IS_IN_libm.
10164         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10165         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10167         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10168         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10169         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10170         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10171         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10172         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10173         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10174         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10176         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10177         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10178         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10179         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10180         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10181         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10182         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10183         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10184         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10185         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10186         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10187         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10188         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10189         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10190         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10191         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10192         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10193         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10194         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10195         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10196         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10198         Likewise.
10199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10200         Likewise.
10201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10202         Likewise.
10203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10204         Likewise.
10205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10206         Likewise.
10207         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10208         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10209         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10210         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10211         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10212         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10218         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10219         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10220         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10221         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10222         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10223         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10224         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10225         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10226         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10227         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10228         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10229         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10230         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10231         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10233         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10235         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10236         * nptl/pthreadP.h: Likewise.
10237         * nptl_db/structs.def: Likewise.
10238         * sysdeps/arm/sysdep.h: Likewise.
10239         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10240         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10241         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10242         * sysdeps/unix/alpha/sysdep.h: Likewise.
10243         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10245         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10246         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10247         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10248         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10249         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10250         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10251         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10252         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10253         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10254         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10255         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10256         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10261         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10264         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10265         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10266         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10267         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10268         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10270         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10271         * nptl/pthreadP.h: Likewise.
10272         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10273         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10274         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10275         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10276         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10277         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10278         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10279         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10280         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10281         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10282         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10283         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10285         Likewise.
10286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10287         Likewise.
10288         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10289         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10290         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10291         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10293         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10294         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10295         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10297         * dlfcn/dladdr.c: Use IS_IN.
10298         * dlfcn/dladdr1.c: Likewise.
10299         * dlfcn/dlclose.c: Likewise.
10300         * dlfcn/dlerror.c: Likewise.
10301         * dlfcn/dlinfo.c: Likewise.
10302         * dlfcn/dlmopen.c: Likewise.
10303         * dlfcn/dlopen.c: Likewise.
10304         * dlfcn/dlsym.c: Likewise.
10305         * dlfcn/dlvsym.c: Likewise.
10307         * include/ifaddrs.h: Use IS_IN.
10308         * inet/check_pf.c: Likewise.
10309         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10310         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10312         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10313         IS_IN_ldconfig.
10314         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10315         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10317         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10318         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10319         IS_IN (libc).
10321         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10323         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10324         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10325         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10326         * include/libc-symbols.h (IS_IN_LIB): New macro.
10327         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10328         * include/netdb.h: Likewise.
10329         * include/stap-probe.h: Remove all uses of IN_LIB.
10331         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10332         instead of IN_MODULE.
10333         * include/libc-symbols.h (IN_MODULE): Define using
10334         MODULE_NAME.
10335         (PASTE_NAME, PASTE_NAME1): New macros.
10336         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10337         of IN_LIB.
10338         (STAP_PROBE_ASM): Likewise.
10340 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10342         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10343         __mach_init in dlopened libc.
10345 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10347         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10348         * sysdeps/arm/preconfigure: Regenerate.
10350 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10352         * nptl/pthread_create.c (__pthread_create_2_1): Set
10353         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10354         when copying values from IATTR into PD.
10356 2014-11-21  Will Newton  <will.newton@linaro.org>
10357             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10359         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10360         Refactor inline-asm.  Also add comment.
10362         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10363         ElfW macro instead of hardcoded Elf64 types.
10364         (la_aarch64_gnu_pltenter): Likewise.
10365         * sysdeps/aarch64/dl-machine.h
10366         (elf_machine_runtime_setup): Use ElfW(Addr).
10368         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10369         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10370         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10371         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10372         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10373         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10374         (R_AARCH64_TLS_DTPMOD): This.
10375         (R_AARCH64_TLS_DTPREL64): Rename to ...
10376         (R_AARCH64_TLS_DTPREL): This.
10377         (R_AARCH64_TLS_TPREL64): Rename to ...
10378         (R_AARCH64_TLS_TPREL): This.
10379         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10380         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10381         R_AARCH64_TLS_TPREL64.
10382         (elf_machine_rela): Likewise.
10384 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10386         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10387         by setting it to 0.  64b atomics are not supported currently.
10389 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10391         [BZ #16469]
10392         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10393         search domain names.
10395 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10397         [BZ #16469]
10398         * NEWS: Update.
10399         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10400         trailing dot.
10401         * posix/tst-getaddrinfo5.c: New.
10402         * posix/Makefile (tests): Add it.
10404 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10406         [BZ #14498]
10407         * NEWS: Fixed.
10408         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10409         after parsing line but before break_if_match.
10410         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10411         if there is a protocol mismatch.
10413 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10415         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10416         because the potential race is on the user-supplied stream.
10418 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10420         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10421         string literal if not passed a buffer.
10422         * manual/job.texi (ctermid): Update reasoning, note deviation
10423         from posix, suggest mtasurace when not passed a buffer, for
10424         future non-preliminary safety notes.
10426 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10428         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10429         of not passing it a buffer.
10430         Reported by Peng Haitao.
10432 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10434         * manual/Makefile ($(objpfx)stamp-summary): Require
10435         check-safety.sh to pass.
10436         * manual/check-safety.sh: Wish for verification that every
10437         @deftypefn and @deftypefun is followed by a @safety remark.
10439 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10441         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10443         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10444         PTHREAD_CANCEL_ASYNCHRONOUS.
10445         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10446         send SIGCANCEL.
10448         * nptl/default-sched.h: New file.
10449         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10450         * nptl/pthread_create.c: Include it.
10451         (__pthread_create_2_1): Use collect_default_sched instead of making
10452         Linux syscalls here directly.
10454 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10456         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10457         __pthread_once): Use C11 atomics.
10459 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10461         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10463 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10465         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10466         atomic_thread_fence_acquire, atomic_thread_fence_release,
10467         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10468         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10469         atomic_compare_exchange_weak_relaxed,
10470         atomic_compare_exchange_weak_acquire,
10471         atomic_compare_exchange_weak_release,
10472         atomic_exchange_acquire, atomic_exchange_release,
10473         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10474         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10475         atomic_fetch_and_acquire,
10476         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10478 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10480         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10481         USE_ATOMIC_COMPILER_BUILTINS): Define.
10482         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10483         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10484         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10486         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10488         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10490         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10492         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10494         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10496         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10498         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10500         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10502         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10504         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10506         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10508         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10510         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10512         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10514         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10516         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10517         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10518         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10520         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10523 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10525         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10526         the sched_priority value here.  It was already checked when the user
10527         called pthread_attr_setschedparam.
10529         * nptl/tst-bad-schedattr.c: New file.
10530         * nptl/Makefile (tests): Add it.
10532 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10533             Florian Weimer  <fweimer@redhat.com>
10534             Joseph Myers  <joseph@codesourcery.com>
10535             Adam Conrad  <adconrad@0c3.net>
10536             Andreas Schwab  <schwab@suse.de>
10537             Brooks  <bmoses@google.com>
10539         [BZ #17625]
10540         * wordexp-test.c (__dso_handle): Add prototype.
10541         (__register_atfork): Likewise.
10542         (__app_register_atfork): New function.
10543         (registered_forks): New global.
10544         (register_fork): New function.
10545         (test_case): Add 3 new tests for WRDE_CMDSUB.
10546         (main): Call __app_register_atfork.
10547         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10548         fork count is non-zero fail the test.
10549         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10550         is set.
10551         (parse_dollars): Remove check for WRDE_NOCMD.
10552         (parse_dquote): Likewise.
10554 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10556         * Makeconfig (built-modules): List non-library modules to be
10557         built.
10558         (module-cppflags): Include libc-modules.h for
10559         everything except shlib-versions.v.i.
10560         (CPPFLAGS): Use it.
10561         (before-compile): Add libc-modules.h.
10562         ($(common-objpfx)libc-modules.h,
10563         $(common-objpfx)libc-modules.stmp): New targets.
10564         (common-generated): Add libc-modules.h and libc-modules.stmp.
10565         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10566         * include/libc-symbols.h: Don't include libc-modules.h.
10567         * include/libc-modules.h: Remove file.
10568         * scripts/gen-libc-modules.awk: New script to generate
10569         libc-modules.h.
10570         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10571         Depend on libc-modules.stmp.
10573         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10575         * Makeconfig (in-module): Get value of libof set for the
10576         translation unit.
10577         (CPPFLAGS): Use $(in-module).
10578         * Makerules: Don't suffix routine names for nonlib.
10579         * include/libc-modules.h: New file.
10580         * include/libc-symbols.h: Include libc-modules.h
10581         (IS_IN): New macro to replace IS_IN_* macros.
10582         * elf/Makefile: Set libof-* for each routine.
10583         * elf/rtld-Rules: Likewise.
10584         * extra-modules.mk: Likewise.
10585         * iconv/Makefile: Likewise.
10586         * iconvdata/Makefile: Likewise.
10587         * locale/Makefile: Likewise.
10588         * malloc/Makefile: Likewise.
10589         * nss/Makefile: Likewise.
10590         * sysdeps/gnu/Makefile: Likewise.
10591         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10592         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10593         * sysdeps/s390/s390-64/Makefile: Likewise.
10594         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10595         CPPFLAGS for nscd instead of nonlib.
10597 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10599         * nptl/createthread.c: New file.
10601         * nptl/createthread.c: Moved ...
10602         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10604         * nptl/createthread.c: Add proper top-line comment.
10605         (do_clone): Folded into ...
10606         (create_thread): ... here.  Take new arguments STOPPED_START and
10607         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10608         increment __nptl_threads, do event-reporting logic, do
10609         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10610         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10611         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10612         just send SIGCANCEL.
10613         * nptl/pthread_create.c: Forward-declare create_thread before
10614         including createthread.c.
10615         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10616         declaration, and new macro START_THREAD_SELF to replace argument.
10617         Remove return statement.
10618         (report_thread_creation): New function.
10619         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10620         synchronization logic, and __nptl_nthreads increment here, around
10621         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10622         PD->parent_cancelhandling here, before create_thread.  When
10623         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10624         __deallocate_stack, and ENOMEM translation here.
10626 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10628         [BZ #17616]
10629         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10630         (mptwo): Rename to __mptwo.
10631         (__inv): Use __mptwo instead of mptwo.
10632         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10633         (mptwo): Rename to __mptwo.
10634         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10635         of mpone and __mptwo instead of mptwo.
10636         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10637         instead of mpone.
10638         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10639         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10640         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10641         of mpone and __mptwo instead of mptwo.
10642         (__mpranred): Use __mpone instead of mpone.
10643         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10644         variable.
10645         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10646         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10647         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10648         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10649         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10650         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10651         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10652         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10653         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10654         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10655         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10656         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10657         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10658         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10659         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10660         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10661         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10662         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10663         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10665 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10667         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10668         replace BSD Handler xref with BSD Signal Handling.
10670 2014-11-17  Richard Henderson  <rth@redhat.com>
10672         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10673         (_FP_PACK_RAW_2): Remove.
10674         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10675         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10676         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10677         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10678         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10679         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10680         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10681         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10682         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10683         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10684         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10685         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10686         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10687         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10688         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10689         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10691 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10693         * signal/signal.h [__USE_MISC]
10694         (struct sigvec): Remove type.
10695         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10696         (sigvec): Remove declaration.
10697         * sysdeps/posix/sigvec.c: Moved ...
10698         * signal/sigvec.c: ... here, replacing old file.
10699         (struct sigvec): New type, copied from old signal.h definition.
10700         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10701         (__sigvec): Convert definition to prototype.
10702         (sigvec): Replace weak_alias with compat_symbol.
10703         * signal/Versions (libc: GLIBC_2.21): New version set.
10704         * include/signal.h: Remove __sigvec declaration.
10705         * sysdeps/unix/bsd/sigvec.c: Remove file.
10706         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10707         * manual/signal.texi (BSD Handler): Remove subsection.
10708         Move siginterrupt up to ...
10709         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10710         (Blocking in BSD): Fold subsection into its parent.
10711         * NEWS: Mention sigvec removal.
10713 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10715         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10716         (DLA_FMS): Make definition conditional only on [__FMA4__].
10717         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10718         definition.
10720         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10721         Make definition conditional only on [PROF].
10722         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10723         definition.
10724         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10725         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10727         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10728         !__GNUC__].
10729         * include/signal.h (__sigpause): Move declaration above call to
10730         libc_hidden_proto.
10731         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10732         variable.
10733         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10734         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10736 2014-11-14  David S. Miller  <davem@davemloft.net>
10738         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10739         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10741 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10743         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10744         * configure: Regenerated.
10745         * manual/install.texi (Tools for Compilation): Document a
10746         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10747         compiler verified to work.
10748         * INSTALL: Regenerated.
10750         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10751         redeclare with asm name.
10752         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10753         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10754         including <string.h>.
10755         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10756         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10757         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10758         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10759         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10760         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10761         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10763 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10765         * stdlib/strtol.c (__strtol): Use prototype definition.
10767         [BZ #17594]
10768         * stdlib/strtol.c (SYM__): New macro.
10769         (SYM__1): Likewise.
10770         (__strtol): Likewise.
10771         (strtol): Rename to __strtol and define as weak alias of
10772         __strtol.  Use libc_hidden_weak.
10774 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10776         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10777         Use numbered labels in inline assembly.
10779 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10781         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10782         Add setjmp LIBC_PROBE.
10783         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10784         Likewise.
10785         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10786         Add longjmp, longjmp_target LIBC_PROBE.
10787         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10788         Likewise.
10790 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10792         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10793         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10794         to get rid of unused variable warning.
10796 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10798         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10799         Check for unwind_backtrace ==  NULL only in SHARED case.
10800         (__backchain_backtrace): Compile only in SHARED case.
10801         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10802         Likewise.
10803         (__backchain_backtrace): Declare as static.
10805 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10807         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10808         (__libc_multiple_threads_ptr): Variable moved ...
10809         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10811 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10813         * conform/GlibcConform.pm: New file.
10814         * conform/conformtest.pl: Use GlibcConform module.
10815         * conform/linknamespace.pl: New file.
10816         * conform/list-header-symbols.pl: Likewise.
10817         * conform/Makefile (linknamespace-symlists-base): New variable.
10818         (linknamespace-symlists-tests): Likewise.
10819         (linknamespace-header-base): Likewise.
10820         (linknamespace-header-tests): Likewise.
10821         (tests-special): Add new tests.
10822         ($(linknamespace-symlists-tests)): New rule.
10823         (linknamespace-libs): New variable.
10824         ($(objpfx)symlist-stdlibs): New rule.
10825         ($(linknamespace-header-tests)): Likewise.
10826         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10827         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10828         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10829         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10830         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10831         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10832         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10833         (test-xfail-ISO/math.h/linknamespace): Likewise.
10834         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10835         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10836         (test-xfail-ISO/time.h/linknamespace): Likewise.
10837         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10838         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10839         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10840         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10841         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10842         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10843         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10844         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10845         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10846         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10847         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10848         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10849         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10850         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10851         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10852         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10853         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10854         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10855         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10856         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10857         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10858         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10859         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10860         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10861         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10862         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10863         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10864         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10865         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10866         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10867         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10868         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10869         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10870         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10871         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10872         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10873         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10874         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10875         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10876         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10877         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10878         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10879         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10880         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10881         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10882         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10883         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10884         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10885         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10886         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10887         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10888         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10889         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10890         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10891         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10892         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10893         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10894         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10895         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10896         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10897         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10898         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10899         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10900         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10901         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10902         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10903         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10904         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10905         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10906         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10907         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10908         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10909         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10910         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10911         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10912         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10913         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10914         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10915         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10916         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10917         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10918         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10919         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10920         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10921         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10922         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10923         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10924         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10925         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10926         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10927         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10928         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10929         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10930         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10931         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10932         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10933         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10934         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10935         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10936         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10937         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10938         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10939         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10940         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10941         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10942         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10943         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10944         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10945         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10946         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10947         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10948         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10949         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10950         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10951         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10952         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10953         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10954         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10955         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10956         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10957         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10958         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10959         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10960         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10961         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10962         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10963         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10964         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10965         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10966         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10967         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10968         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10969         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10970         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10971         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10972         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10973         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10974         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10975         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10976         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10977         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10978         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10979         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10980         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10981         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10982         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10983         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10984         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10985         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10986         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10988         [BZ #17589]
10989         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10990         of fgets_unlocked.
10992         [BZ #17585]
10993         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10994         (memmem): Rename to __memmem and define as weak alias of
10995         __memmem.  Use libc_hidden_weak.
10996         (__memmem): Use libc_hidden_def.
10997         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10998         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10999         memmem.
11001         [BZ #17582]
11002         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11003         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11004         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11005         and define as weak alias of __fgets_unlocked.  Use
11006         libc_hidden_weak.
11007         (__fgets_unlocked): Use libc_hidden_def.
11008         * include/stdio.h (__fgets_unlocked): Declare.  Use
11009         libc_hidden_proto.
11010         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11011         __fgets_unlocked instead of fgets_unlocked.
11012         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11013         (GET_NPROCS_CONF_PARSER): Likewise.
11014         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11015         (GET_NPROCS_CONF_PARSER): Likewise.
11017         [BZ #17574]
11018         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11019         weak alias of __wmemset.  Use libc_hidden_weak.
11020         (__wmemset): Use libc_hidden_def.
11021         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11022         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11023         of wmemset.
11025         [BZ #17573]
11026         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11027         with asm name __mempcpy.
11028         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11030         [BZ #17572]
11031         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11032         and define as weak alias of __rawmemchr.
11033         (__rawmemchr): Do not define as strong alias of rawmemchr.
11035         [BZ #17571]
11036         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11037         alias of __qsort_r.
11038         (qsort): Call __qsort_r instead of qsort_r.
11039         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11040         (__qsort_r): Declare.  Call libc_hidden_proto.
11041         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11042         instead of qsort_r.
11043         * nscd/gai.c (__qsort_r): Define to qsort_r.
11044         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11045         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11046         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11048         [BZ #17570]
11049         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11050         define as weak alias of __malloc_info.
11052         [BZ #17584]
11053         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11054         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11055         (__rewinddir): Use libc_hidden_def.
11056         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11057         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11058         (__rewinddir): Use libc_hidden_def.
11059         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11060         weak alias of __rewinddir.  Don't use libc_hidden_def.
11061         (__rewinddir): Use libc_hidden_def.
11062         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11063         (__rewinddir): Use libc_hidden_proto.
11064         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11065         rewinddir.
11066         (__getcwd): Use __rewinddir instead of rewinddir.
11068         [BZ #17583]
11069         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11070         alias of __fileno.  Use libc_hidden_weak.
11071         (__fileno): Use libc_hidden_def.
11072         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11073         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11074         alias of __ftello.
11075         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11076         __ftello.
11077         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11078         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11079         libc_hidden_def.
11080         (fread_unlocked): Don't use libc_hidden_ver.
11081         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11082         and define as weak alias of __fread_unlocked.  Don't use
11083         libc_hidden_def.
11084         (__fread_unlocked): Use libc_hidden_def.
11085         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11086         (ftello): Don't use libc_hidden_proto.
11087         (__ftello): Declare.  Use libc_hidden_proto.
11088         (fread_unlocked): Don't use libc_hidden_proto.
11089         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11090         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11091         and __ftello instead of fileno, fread_unlocked and ftello.
11093 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11095         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11096         GOT12.
11097         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11098         Likewise.
11099         (_dl_start_user): Likewise.
11100         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11102 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11103             Siddhesh Poyarekar  <siddhesh@redhat.com>
11105         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11106         Move argv and envp down instead of moving argc up.
11107         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11109 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11111         [BZ #17506]
11112         * test-skeleton.c (main): Return successful if one of
11113         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11114         * string/tst-strcoll-overflow.c: Define expected status.
11116 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11118         [BZ #17475]
11119         * locale/iso-639.def: Define Bhili and Tulu language codes.
11121 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11123         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11125 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11127         [BZ #17555]
11128         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11130 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11132         * configure.ac: Updated check of minimal required version to
11133         2.22.
11134         * manual/install.texi (Tools for Compilation): Updated version
11135         number.
11136         * configure: Regenerated.
11137         * INSTALL: Likewise.
11139 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11141         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11142         __tls_get_addr.
11144 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11146         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11147         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11148         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11149         libc_hidden_weak.
11150         (waitpid): Define as alias of __waitpid.
11151         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11152         __waitpid.
11153         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11154         libc_hidden_weak.
11155         (waitpid): Define as alias of __waitpid.
11156         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11157         __libc_waitpid alias.
11158         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11159         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11160         Likewise.
11161         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11162         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11163         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11164         alias.
11165         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11166         __waitpid.
11167         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11168         libc_hidden_weak.
11169         (waitpid): Define as alias of __waitpid.
11171 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11173         * manual/llio.texi: Add comment that write safety has been
11174         fixed in Linux.
11176         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11177         (localplt-build-dso): Add elf/ld.so.
11178         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11179         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11180         and free for ld.so.
11181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11182         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11184         Likewise.
11185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11186         Likewise.
11187         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11188         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11189         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11190         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11191         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11192         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11193         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11194         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11195         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11196         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11197         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11199 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11201         [BZ #14132]
11202         * include/libc-symbols.h (INTUSE): Remove macro.
11203         (INTDEF): Likewise.
11204         (INTVARDEF): Likewise.
11205         (_INTVARDEF): Likewise.
11206         (INTDEF2): Likewise.
11207         (INTVARDEF2): Likewise.
11208         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11209         rtld_hidden_def instead of INTVARDEF.
11210         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11211         (_dl_starting_up_internal): Remove declaration.
11212         (_dl_starting_up): Use rtld_hidden_proto.
11213         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11214         declaration.
11215         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11216         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11217         _dl_starting_up.
11218         * elf/dl-writev.h (_dl_writev): Likewise.
11219         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11220         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11221         _dl_starting_up_internal.
11223 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11225         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11226         test-skeleton.c.
11228 2014-11-05  Will Newton  <will.newton@linaro.org>
11230         * benchtests/Makefile: (bench-malloc): Add malloc thread
11231         scalability benchmark.
11232         * benchtests/bench-malloc-threads.c: New file.
11234 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11236         * sysdeps/aarch64/strchrnul.S: New file.
11238 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11240         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11241         definition.
11242         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11243         Likwise.
11244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11245         Likewise.
11246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11247         Likewise.
11248         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11249         Likewise.
11250         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11251         Likewise.
11253 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11255         * catgets/test-gencat.c: Use test-skeleton.c.
11256         * catgets/tst-catgets.c: Likewise.
11257         * csu/tst-empty.c: Likewise.
11258         * elf/tst-audit2.c: Likewise.
11259         * elf/tst-global1.c: Likewise.
11260         * elf/tst-pathopt.c: Likewise.
11261         * elf/tst-piemod1.c: Likewise.
11262         * elf/tst-tls10.c: Likewise.
11263         * elf/tst-tls11.c: Likewise.
11264         * elf/tst-tls12.c: Likewise.
11265         * gnulib/tst-gcc.c: Likewise.
11266         * iconvdata/tst-e2big.c: Likewise.
11267         * iconvdata/tst-loading.c: Likewise.
11268         * iconv/tst-iconv1.c: Likewise.
11269         * iconv/tst-iconv2.c: Likewise.
11270         * inet/test-inet6_opt.c: Likewise.
11271         * inet/tst-gethnm.c: Likewise.
11272         * inet/tst-network.c: Likewise.
11273         * inet/tst-ntoa.c: Likewise.
11274         * intl/tst-codeset.c: Likewise.
11275         * intl/tst-gettext2.c: Likewise.
11276         * intl/tst-gettext3.c: Likewise.
11277         * intl/tst-ngettext.c: Likewise.
11278         * intl/tst-translit.c: Likewise.
11279         * io/test-stat.c: Likewise.
11280         * libio/test-fmemopen.c: Likewise.
11281         * libio/tst-freopen.c: Likewise.
11282         * libio/tst-sscanf.c: Likewise.
11283         * libio/tst-ungetwc1.c: Likewise.
11284         * libio/tst-ungetwc2.c: Likewise.
11285         * libio/tst-widetext.c: Likewise.
11286         * localedata/tst-ctype.c: Likewise.
11287         * localedata/tst-digits.c: Likewise.
11288         * localedata/tst-leaks.c: Likewise.
11289         * localedata/tst-mbswcs1.c: Likewise.
11290         * localedata/tst-mbswcs2.c: Likewise.
11291         * localedata/tst-mbswcs3.c: Likewise.
11292         * localedata/tst-mbswcs4.c: Likewise.
11293         * localedata/tst-mbswcs5.c: Likewise.
11294         * localedata/tst-setlocale.c: Likewise.
11295         * localedata/tst-trans.c: Likewise.
11296         * localedata/tst-wctype.c: Likewise.
11297         * localedata/tst-xlocale1.c: Likewise.
11298         * login/tst-grantpt.c: Likewise.
11299         * malloc/tst-calloc.c: Likewise.
11300         * malloc/tst-malloc.c: Likewise.
11301         * malloc/tst-mallocstate.c: Likewise.
11302         * malloc/tst-mcheck.c: Likewise.
11303         * malloc/tst-mtrace.c: Likewise.
11304         * malloc/tst-obstack.c: Likewise.
11305         * math/atest-exp2.c: Likewise.
11306         * math/atest-exp.c: Likewise.
11307         * math/atest-sincos.c: Likewise.
11308         * math/test-matherr.c: Likewise.
11309         * math/test-misc.c: Likewise.
11310         * math/test-powl.c: Likewise.
11311         * math/tst-definitions.c: Likewise.
11312         * misc/tst-dirname.c: Likewise.
11313         * misc/tst-efgcvt.c: Likewise.
11314         * misc/tst-fdset.c: Likewise.
11315         * misc/tst-hsearch.c: Likewise.
11316         * misc/tst-mntent2.c: Likewise.
11317         * nptl/tst-sem7.c: Likewise.
11318         * nptl/tst-sem8.c: Likewise.
11319         * nptl/tst-sem9.c: Likewise.
11320         * nss/test-netdb.c: Likewise.
11321         * posix/tst-fnmatch.c: Likewise.
11322         * posix/tst-getlogin.c: Likewise.
11323         * posix/tst-gnuglob.c: Likewise.
11324         * posix/tst-mmap.c: Likewise.
11325         * pwd/tst-getpw.c: Likewise.
11326         * resolv/tst-inet_ntop.c: Likewise.
11327         * rt/tst-timer.c: Likewise.
11328         * stdio-common/test-fseek.c: Likewise.
11329         * stdio-common/test-popen.c: Likewise.
11330         * stdio-common/test-vfprintf.c: Likewise.
11331         * stdio-common/tst-cookie.c: Likewise.
11332         * stdio-common/tst-fileno.c: Likewise.
11333         * stdio-common/tst-gets.c: Likewise.
11334         * stdio-common/tst-obprintf.c: Likewise.
11335         * stdio-common/tst-perror.c: Likewise.
11336         * stdio-common/tst-sprintf2.c: Likewise.
11337         * stdio-common/tst-sprintf3.c: Likewise.
11338         * stdio-common/tst-sprintf.c: Likewise.
11339         * stdio-common/tst-swprintf.c: Likewise.
11340         * stdio-common/tst-tmpnam.c: Likewise.
11341         * stdio-common/tst-unbputc.c: Likewise.
11342         * stdio-common/tst-wc-printf.c: Likewise.
11343         * stdlib/tst-environ.c: Likewise.
11344         * stdlib/tst-fmtmsg.c: Likewise.
11345         * stdlib/tst-limits.c: Likewise.
11346         * stdlib/tst-rand48-2.c: Likewise.
11347         * stdlib/tst-rand48.c: Likewise.
11348         * stdlib/tst-random2.c: Likewise.
11349         * stdlib/tst-random.c: Likewise.
11350         * stdlib/tst-strtol.c: Likewise.
11351         * stdlib/tst-strtoll.c: Likewise.
11352         * stdlib/tst-tls-atexit.c: Likewise.
11353         * stdlib/tst-xpg-basename.c: Likewise.
11354         * string/test-ffs.c: Likewise.
11355         * string/tst-bswap.c: Likewise.
11356         * string/tst-inlcall.c: Likewise.
11357         * string/tst-strtok.c: Likewise.
11358         * string/tst-strxfrm.c: Likewise.
11359         * sysdeps/x86_64/tst-audit10.c: Likewise.
11360         * sysdeps/x86_64/tst-audit3.c: Likewise.
11361         * sysdeps/x86_64/tst-audit4.c: Likewise.
11362         * sysdeps/x86_64/tst-audit5.c: Likewise.
11363         * time/tst-ftime_l.c: Likewise.
11364         * time/tst-getdate.c: Likewise.
11365         * time/tst-mktime3.c: Likewise.
11366         * time/tst-mktime.c: Likewise.
11367         * time/tst-posixtz.c: Likewise.
11368         * time/tst-strptime2.c: Likewise.
11369         * time/tst-strptime3.c: Likewise.
11370         * wcsmbs/tst-btowc.c: Likewise.
11371         * wcsmbs/tst-mbrtowc.c: Likewise.
11372         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11373         * wcsmbs/tst-wchar-h.c: Likewise.
11374         * wcsmbs/tst-wcpncpy.c: Likewise.
11375         * wcsmbs/tst-wcrtomb.c: Likewise.
11376         * wcsmbs/tst-wcsnlen.c: Likewise.
11377         * wcsmbs/tst-wcstof.c: Likewise.
11379 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11381         [BZ #14132]
11382         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11383         INTDEF.
11384         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11385         declaration.
11386         (_dl_mcount): Use rtld_hidden_proto.
11387         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11388         _dl_mcount.
11389         * elf/rtld.c (_rtld_global_ro): Likewise.
11391         [BZ #14132]
11392         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11393         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11394         of _dl_init_internal.
11395         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11396         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11397         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11398         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11399         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11400         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11401         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11402         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11403         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11404         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11405         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11406         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11407         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11408         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11409         * sysdeps/tile/dl-start.S (_start): Likewise.
11410         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11411         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11413         [BZ #14132]
11414         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11415         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11416         (rtld_progname): Make macro definition unconditional.
11417         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11418         INTDEF.
11419         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11420         (dl_main): Likewise.
11421         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11422         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11423         instead of _dl_argv_internal.
11424         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11425         __GI__dl_argv instead of INTUSE(_dl_argv).
11426         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11427         __GI__dl_argv instead of _dl_argv_internal.
11429         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11430         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11431         macro.
11432         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11433         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11434         New macro.
11435         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11436         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11437         macro.
11438         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11439         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11441 2014-11-04  Andreas Schwab  <schwab@suse.de>
11443         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11445 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11447         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11448         mtvsrd instruction in binary form.
11450 2014-11-03  Andreas Schwab  <schwab@suse.de>
11452         [BZ #17522]
11453         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11454         for less than MB_LEN_MAX use a local buffer of that size.
11455         * libio/tst-fputws.c: New file.
11456         * libio/Makefile (tests): Add tst-fputws.
11458 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11460         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11461         the size of the fpu_fr.fpu_dregs[] array.
11463 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11465         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11466         (__nanosleep): Do not define as alias.
11467         (nanosleep): Define as alias of __nanosleep.
11468         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11469         __libc_nanosleep name.
11471 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11473         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11474         install.texi in comment.
11476 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11478         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11479         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11480         ... add here and use lwsync or sync ...
11481         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11482         ... and add here using lwsync.
11484 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11486         * elf/dl-machine-reject-phdr.h: New file.
11487         * elf/dl-load.c: #include that.
11488         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11489         if that returned true.
11491 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11493         [BZ #17496]
11494         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11495         gen-as-const-headers chunk.  Add a big scare comment after the last
11496         safe place to touch before-compile.
11498 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11500         * manual/install.texi (Tools for Compilation): Update autoconf
11501         version requirements.
11502         * INSTALL: Regenerated.
11504         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11505         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11506         (__libc_pselect): Likewise.
11508         [BZ #14138]
11509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11514 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11516         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11517         correct barrier instruction.
11518         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11519         Likewise.
11520         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11521         Likewise.
11523 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11525         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11526         after defining inlines.  Instead, just use parens to defeat macro
11527         expansion of __isctype in its declaration.
11529 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11531         * include/sys/uio.h (__libc_readv): Remove declaration.
11532         (__libc_writev): Likewise.
11533         * misc/readv.c (__libc_readv): Rename to __readv.
11534         (__readv): Do not define as alias.
11535         (readv): Define as alias of __readv.
11536         * misc/writev.c (__libc_writev): Rename to __writev.
11537         (__writev): Do not define as alias.
11538         (writev): Define as alias of __writev.
11539         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11540         (__readv): Do not define as alias.
11541         (readv): Define unconditionally as alias of __readv.
11542         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11543         (__writev): Do not define as alias.
11544         (writev): Define unconditionally as alias of __writev.
11545         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11546         name.
11547         (writev): Do not define __libc_writev name.
11549 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11551         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11552         (convert_charseq): New function, broken out of ...
11553         (use_from_charmap): ... here.  Call it.
11554         (use_to_charmap): Use convert_charseq and free instead of duplicating
11555         its code with a variable-length stack struct.
11557 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11559         * include/fcntl.h (__libc_creat): Remove declaration.
11560         * io/creat.c (__libc_creat): Rename to creat.
11561         (creat): Do not define as alias.
11562         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11563         of creat instead of __libc_creat.
11564         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11565         to creat.
11566         (creat): Do not define as alias.
11567         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11568         __libc_creat.
11569         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11570         __libc_creat name.
11571         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11572         Likewise.
11574 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11576         * manual/llio.texi: Add comments discussing why write() may be
11577         considered MT-unsafe on Linux.
11579 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11581         * dl-load.c (local_strdup): Remove.
11582         (expand_dynamic_string_token): Use __strdup.
11583         (decompose_rpath): Likewise.
11584         (_dl_map_object): Likewise.
11586 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11588         [BZ #14132]
11589         * sysdeps/generic/unwind-dw2-fde.c
11590         (__register_frame_info_bases_internal): Do not declare.
11591         (__register_frame_info_table_bases_internal): Likewise.
11592         (__deregister_frame_info_bases_internal): Likewise.
11593         (__register_frame_info_bases): Declare and use hidden_proto before
11594         definition.  Use hidden_def instead of INTDEF.
11595         (__register_frame_info_table_bases): Likewise.
11596         (__deregister_frame_info_bases): Likewise.
11597         (__register_frame_info): Do not use INTUSE.
11598         (__register_frame): Likewise.
11599         (__register_frame_info_table): Likewise.
11600         (__register_frame_table): Likewise.
11601         (__deregister_frame_info): Likewise.
11602         (__deregister_frame): Likewise.
11604 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11606         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11607         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11608         not undefine.
11609         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11610         Likewise.
11611         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11612         Likewise.
11614 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11616         [BZ #14138]
11617         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11618         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11619         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11620         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11621         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11622         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11623         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11624         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11625         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11626         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11627         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11628         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11629         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11630         syscall.
11631         (setfsuid): Likewise.
11632         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11633         (setfsuid): Likewise.
11634         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11635         (setfsuid): Likewise.
11636         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11637         Likewise.
11638         (setfsuid): Likewise.
11639         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11640         (setfsuid): Likewise.
11641         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11642         Likewise.
11643         (setfsuid): Likewise.
11645 2014-10-27  Andreas Schwab  <schwab@suse.de>
11647         [BZ #17501]
11648         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11649         check for Slow_SSE4_2 feature bit.
11650         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11651         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11652         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11653         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11655 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11657         * configure.ac: Validate compiler version with a empirical test of
11658         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11659         $CC -v output.
11660         * configure: Regenerated.
11662         * inet/htons.c (htons): Prototypify.
11663         * inet/htonl.c (htonl): Likewise.
11665 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11667         * string/strncat.c (strncat): Improve performance by using strlen.
11669 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11671         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11673 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11675         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11676         Call libc_fetestexcept_aarch64.
11678 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11680         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11681         Call libc_feholdexcept_aarch64.
11683 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11685         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11686         Call get_rounding_mode.
11688 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11690         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11691         Simplify logic.
11693 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11695         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11696         Simplify logic.
11698 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11700         [BZ #14138]
11701         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11702         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11703         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11704         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11705         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11706         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11707         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11708         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11709         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11710         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11711         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11712         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11713         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11714         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11715         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11716         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11717         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11718         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11719         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11720         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11721         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11722         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11723         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11724         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11725         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11726         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11727         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11728         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11729         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11730         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11731         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11732         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11733         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11734         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11735         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11736         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11737         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11738         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11739         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11740         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11741         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11742         syscall.
11743         (geteuid): Likewise.
11744         (getgid): Likewise.
11745         (getuid): Likewise.
11746         (getresgid): Likewise.
11747         (getresuid): Likewise.
11748         (getgroups): Likewise.
11749         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11750         (geteuid): Likewise.
11751         (getgid): Likewise.
11752         (getuid): Likewise.
11753         (getresgid): Likewise.
11754         (getresuid): Likewise.
11755         (getgroups): Likewise.
11756         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11757         (geteuid): Likewise.
11758         (getgid): Likewise.
11759         (getuid): Likewise.
11760         (getresgid): Likewise.
11761         (getresuid): Likewise.
11762         (getgroups): Likewise.
11763         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11764         Likewise.
11765         (geteuid): Likewise.
11766         (getgid): Likewise.
11767         (getuid): Likewise.
11768         (getresgid): Likewise.
11769         (getresuid): Likewise.
11770         (getgroups): Likewise.
11771         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11772         (geteuid): Likewise.
11773         (getgid): Likewise.
11774         (getuid): Likewise.
11775         (getresgid): Likewise.
11776         (getresuid): Likewise.
11777         (getgroups): Likewise.
11778         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11779         Likewise.
11780         (geteuid): Likewise.
11781         (getgid): Likewise.
11782         (getuid): Likewise.
11783         (getgroups): Likewise.
11785         [BZ #14138]
11786         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11787         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11788         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11789         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11790         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11791         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11792         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11793         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11794         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11795         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11796         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11797         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11798         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11799         __chown.
11800         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11801         (lchown): Likewise.
11802         (fchown): Likewise.
11803         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11804         Likewise.
11805         (lchown): Likewise.
11806         (fchown): Likewise.
11807         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11808         (lchown): Likewise.
11809         (fchown): Likewise.
11810         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11811         Likewise.
11812         (lchown): Likewise.
11813         (fchown): Likewise.
11815 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11817         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11818         Simplify logic.
11820 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11822         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11823         Cleanup logic.
11825 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11827         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11828         Remove unused include.
11830 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11832         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11833         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11834         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11835         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11837 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11838             Helge Deller <deller@gmx.de>
11840         [BZ #17508]
11841         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11842         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11843         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11845 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11847         [BZ #14132]
11848         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11849         Remove macro definition.
11850         (__ashrdi3_v_glibc20): Likewise.
11851         (__lshrdi3_v_glibc20): Likewise.
11852         (__cmpdi2_v_glibc20): Likewise.
11853         (__ucmpdi2_v_glibc20): Likewise.
11854         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11855         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11856         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11857         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11858         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11859         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11861 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11863         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11864         old GNU extension [0] syntax.
11865         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11866         alloca rather than an array member with variable length.
11867         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11868         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11869         (parse_opt): ... here.  Likewise use alloca there.
11870         Validate the -i argument before checking for rootness.
11871         (send_shutdown): New function, broken out of ...
11872         (parse_opt): ... here.
11874 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11876         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11877         macro to get at the _rt_local_ro field.
11878         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11879         ([PIC] case) or _dl_hwcap ([!PIC] case).
11880         * sysdeps/arm/setjmp.S: Likewise.
11882         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11883         * sysdeps/arm/configure.ac: New check to define it.
11884         * sysdeps/arm/configure: Regenerated.
11885         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11886         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11887         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11888         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11889         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11890         Use move/movt pair instead of a load.
11891         (LDST_GLOBAL): Macro removed.
11892         (LDR_GLOBAL): New macro replaces it.
11893         (LDR_HIDDEN): New macro.
11894         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11895         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11897         * setjmp/tst-setjmp-static.c: New file.
11898         * setjmp/Makefile (tests): Add it.
11899         (tests-static): New variable.
11901 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11903         [BZ #17485]
11904         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11906 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11908         [BZ #14132]
11909         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11911 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11913         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11915 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11917         * io/fts.c (dirent_not_directory): New function.
11918         (fts_build): Call it.
11920 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11922         * nptl/version.c (__nptl_main): Use normal __write rather than
11923         INTERNAL_SYSCALL.
11924         (banner): Update copyright years.
11926         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11927         gettimeofday.
11928         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11929         * nptl/pthread_cond_timedwait.c: Likewise.
11930         * nptl/pthread_mutex_timedlock.c: Likewise.
11931         * nptl/sem_timedwait.c: Likewise.
11933         * sysdeps/nptl/bits/libc-lock.h
11934         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11935         (__libc_lock_init_recursive): Return void, not 0.
11936         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11937         (__libc_rwlock_init): Likewise.
11938         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11940 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11942         [BZ #15215]
11943         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11944         (__pthread_once_slow): ... here.
11945         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11946         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11948 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11950         [BZ #15215]
11951         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11952         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11953         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11954         * nptl/pthread_once.c (__pthread_once): Likewise.
11955         Update comments.
11957 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11959         [BZ #14138]
11960         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11961         name.
11962         (writev): Use __libc_writev as strong name.
11963         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11964         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11966 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11968         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11970         * sysdeps/i386/nptl/tls.h
11971         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11972         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11973         New macros.
11974         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11975         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11976         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11977         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11978         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11979         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11981         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11982         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11983         on [__NR_futex].
11984         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11985         broken out of ...
11986         (__pthread_mutex_init): ... here.  Call it.
11987         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11988         Conditionalize PI cases on [__NR_futex].
11989         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11990         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11991         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11993         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11994         conditional on [SIGSETXID].
11995         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11996         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11997         is defined.  Likewise for SIGSETXID.
11998         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11999         Conditionalize definitions on [SIGSETXID].
12000         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12001         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12002         unblocking on [SIGCANCEL].
12004         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12005         [__NR_set_robust_list].
12007 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12009         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12010         (do_compare): Likewise.
12012 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12014         [BZ #15884]
12015         * string/strcoll_l.c: Don't include stdio.h.
12016         (coll_seq): Remove members idxarr and rulearr.
12017         (get_next_seq_cached): Remove function.
12018         (get_next_seq): Likewise.
12019         (get_next_seq_nocache): Rename to get_next_seq.
12020         (do_compare): Remove function.
12021         (do_compare_nocache): Rename to do_compare.
12022         (STRCOLL): Remove weight and rules cache.
12024 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12026         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12027         * sysdeps/arm/sfp-machine.h: ... to here.
12028         * sysdeps/arm/Implies: Remove arm/soft-fp.
12030 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12032         * conform/data/sys/utsname.h-data (*_t): Allow.
12033         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12034         [POSIX] (WEXITED): Do not expect constant.
12035         [POSIX] (WSTOPPED): Likewise.
12036         [POSIX] (WNOHANG): Likewise.
12037         [POSIX] (WNOWAIT): Likewise.
12038         [POSIX] (siginfo_t): Do not expect type or elements.
12039         [POSIX] (pid_t): Do not expect type.
12040         [POSIX] (signal.h): Do not allow header.
12041         [POSIX] (sys/resource.h): Likewise.
12042         [POSIX] (si_*): Do not allow pattern.
12043         [POSIX] (W*): Likewise.
12044         [POSIX] (P_*): Likewise.
12045         [POSIX] (BUS_*): Likewise.
12046         [POSIX] (CLD_*): Likewise.
12047         [POSIX] (FPE_*): Likewise.
12048         [POSIX] (ILL_*): Likewise.
12049         [POSIX] (POLL_*): Likewise.
12050         [POSIX] (SEGV_*): Likewise.
12051         [POSIX] (SI_*): Likewise.
12052         [POSIX] (TRAP_*): Likewise.
12053         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12054         variable.
12056 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12058         [BZ #12926]
12059         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12060         infinite loop when __recvmsg returns 0.
12062 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12064         * CANCEL-FCT-WAIVE: Remove file.
12065         * CANCEL-FILE-WAIVE: Likewise.
12067         [BZ #14132]
12068         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12069         instead of INTVARDEF.
12070         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12071         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12072         rtld_hidden_data_def instead of INTVARDEF.
12073         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12074         * elf/dl-deps.c (expand_dst): Likewise.
12075         * elf/dl-load.c (_dl_dst_count): Likewise.
12076         (_dl_dst_substitute): Likewise.
12077         (decompose_rpath): Likewise.
12078         (_dl_init_paths): Likewise.
12079         (open_path): Likewise.
12080         (_dl_map_object): Likewise.
12081         * elf/rtld.c (dl_main): Likewise.
12082         (process_dl_audit): Likewise.
12083         (process_envvars): Likewise.
12084         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12085         Remove declaration.
12086         (__libc_enable_secure): Use rtld_hidden_proto.
12088 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12090         * elf/dl-load.c
12091         (add_path): New function broken out of _dl_rtld_di_serinfo.
12092         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12094 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12096         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12097         parentheses around macro arguments.
12098         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12099         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12100         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12101         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12102         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12103         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12104         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12105         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12106         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12107         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12108         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12109         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12110         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12111         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12112         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12113         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12114         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12115         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12116         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12117         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12118         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12119         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12120         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12121         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12122         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12123         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12124         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12125         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12126         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12127         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12128         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12129         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12130         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12131         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12132         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12133         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12134         Likewise.
12135         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12136         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12137         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12138         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12139         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12140         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12141         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12142         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12143         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12144         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12145         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12146         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12147         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12148         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12149         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12150         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12152         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12153         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12154         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12155         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12156         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12157         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12158         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12159         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12160         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12161         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12162         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12163         (_FP_FRAC_SRS_1): Likewise.
12164         (_FP_FRAC_CLZ_1): Likewise.
12165         (_FP_MUL_MEAT_1_imm): Likewise.
12166         (_FP_MUL_MEAT_1_wide): Likewise.
12167         (_FP_MUL_MEAT_1_hard): Likewise.
12168         (_FP_SQRT_MEAT_1): Likewise.
12169         (_FP_FRAC_ASSEMBLE_1): Likewise.
12170         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12171         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12172         (__FP_CLZ_2): Likewise.
12173         (_FP_MUL_MEAT_2_wide): Likewise.
12174         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12175         (_FP_MUL_MEAT_2_gmp): Likewise.
12176         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12177         (_FP_SQRT_MEAT_2): Likewise.
12178         (_FP_FRAC_ASSEMBLE_2): Likewise.
12179         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12180         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12181         (_FP_FRAC_CLZ_4): Likewise.
12182         (_FP_MUL_MEAT_4_wide): Likewise.
12183         (_FP_MUL_MEAT_4_gmp): Likewise.
12184         (_FP_SQRT_MEAT_4): Likewise.
12185         (_FP_FRAC_ASSEMBLE_4): Likewise.
12186         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12187         * soft-fp/op-common.h (_FP_CMP): Likewise.
12188         (_FP_CMP_EQ): Likewise.
12189         (_FP_CMP_UNORD): Likewise.
12190         (_FP_TO_INT): Likewise.
12191         (_FP_FROM_INT): Likewise.
12192         [!__FP_CLZ] (__FP_CLZ): Likewise.
12193         (_FP_DIV_HELP_imm): Likewise.
12194         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12195         Likewise.
12196         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12197         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12198         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12200         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12201         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12202         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12203         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12204         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12205         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12207         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12208         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12209         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12210         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12211         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12212         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12213         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12214         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12215         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12216         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12218         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12219         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12220         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12221         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12222         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12223         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12224         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12225         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12226         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12227         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12228         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12229         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12230         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12231         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12232         (FP_UNPACK_RAW_SP): Likewise.
12233         (FP_PACK_RAW_S): Likewise.
12234         (FP_PACK_RAW_SP): Likewise.
12235         (FP_UNPACK_S): Likewise.
12236         (FP_UNPACK_SP): Likewise.
12237         (FP_UNPACK_SEMIRAW_S): Likewise.
12238         (FP_UNPACK_SEMIRAW_SP): Likewise.
12239         (FP_PACK_S): Likewise.
12240         (FP_PACK_SP): Likewise.
12241         (FP_PACK_SEMIRAW_S): Likewise.
12242         (FP_PACK_SEMIRAW_SP): Likewise.
12243         (_FP_SQRT_MEAT_S): Likewise.
12244         (FP_CMP_S): Likewise.
12245         (FP_CMP_EQ_S): Likewise.
12246         (FP_CMP_UNORD_S): Likewise.
12247         (FP_TO_INT_S): Likewise.
12248         (FP_FROM_INT_S): Likewise.
12250         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12252         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12253         (FP_EX_INVALID_IMZ): Likewise.
12254         (FP_EX_INVALID_IMZ_FMA): Likewise.
12255         (FP_EX_INVALID_ISI): Likewise.
12256         (FP_EX_INVALID_ZDZ): Likewise.
12257         (FP_EX_INVALID_IDI): Likewise.
12258         (FP_EX_INVALID_SQRT): Likewise.
12259         (FP_EX_INVALID_CVI): Likewise.
12260         (FP_EX_INVALID_VC): Likewise.
12261         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12262         "invalid" exceptions.
12263         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12264         (_FP_ADD_INTERNAL): Likewise.
12265         (_FP_MUL): Likewise.
12266         (_FP_FMA): Likewise.
12267         (_FP_DIV): Likewise.
12268         (_FP_CMP_CHECK_NAN): Likewise.
12269         (_FP_SQRT): Likewise.
12270         (_FP_TO_INT): Likewise.
12271         (FP_EXTEND): Likewise.
12273 2014-10-09  Allan McRae  <allan@archlinux.org>
12275         * po/fr.po: Update French translation from translation project.
12277 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12279         [BZ #14132]
12280         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12281         of INTDEF.
12282         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12283         (__cxa_atexit): Use libc_hidden_proto.
12284         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12286         [BZ #14132]
12287         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12288         declaration.
12289         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12290         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12291         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12292         [!_ISOMAC] (__iswctype_internal): Likewise.
12293         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12294         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12295         alias.
12296         (fcntl): Remove __fcntl_internal alias.
12297         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12298         __connect_internal alias.
12299         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12300         Likewise.
12302         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12303         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12304         FP_DENORM_ZERO.
12305         (_FP_CHECK_FLUSH_ZERO): New macro.
12306         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12307         (_FP_CMP): Likewise.
12308         (_FP_CMP_EQ): Likewise.
12309         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12310         FP_DENORM_ZERO.
12311         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12312         (FP_TRUNC): Likewise.
12314         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12315         treated as invalid conversion, not as normal exponent.
12317         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12318         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12319         (_FP_CMP_EQ): Likewise.
12320         (_FP_CMP_UNORD): Likewise.
12321         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12322         (FP_CMP_EQ_D): Likewise.
12323         (FP_CMP_UNORD_D): Likewise.
12324         * soft-fp/extended.h (FP_CMP_E): Likewise.
12325         (FP_CMP_EQ_E): Likewise.
12326         (FP_CMP_UNORD_E): Likewise.
12327         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12328         (FP_CMP_EQ_Q): Likewise.
12329         (FP_CMP_UNORD_Q): Likewise.
12330         * soft-fp/single.h (FP_CMP_S): Likewise.
12331         (FP_CMP_EQ_S): Likewise.
12332         (FP_CMP_UNORD_S): Likewise.
12333         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12334         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12335         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12336         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12337         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12338         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12339         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12340         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12341         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12342         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12343         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12344         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12345         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12346         to FP_CMP_Q.
12347         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12348         FP_CMP_Q.
12349         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12350         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12351         FP_CMP_EQ_Q.
12352         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12353         FP_CMP_Q.
12354         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12355         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12356         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12357         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12358         FP_CMP_EQ_Q.
12359         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12360         FP_CMP_Q.
12361         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12362         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12363         FP_CMP_EQ_Q.
12364         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12365         FP_CMP_Q.
12366         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12367         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12368         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12369         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12370         FP_CMP_EQ_Q.
12372         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12373         a subnormal result, set the underflow exception if trapping on
12374         underflow is enabled.
12375         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12376         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12377         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12378         redefine to 0.
12379         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12380         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12381         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12382         * soft-fp/extendxftf2.c (__extendxftf2): Use
12383         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12385         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12386         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12387         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12388         FP_HANDLE_EXCEPTIONS.
12389         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12390         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12391         FP_HANDLE_EXCEPTIONS.
12392         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12393         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12394         FP_HANDLE_EXCEPTIONS.
12395         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12396         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12397         FP_HANDLE_EXCEPTIONS.
12399 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12401         [BZ #14132]
12402         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12403         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12404         use INTUSE.
12405         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12406         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12407         Remove alias.
12408         (__adjtimex): Define using libc_hidden_ver.
12409         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12410         Remove declaration.
12411         (ntp_gettime): Call __adjtimex directly.
12412         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12413         Remove declaration.
12414         (ntp_gettimex): Call __adjtimex directly.
12415         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12416         __adjtimex_internal alias.
12418 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12420         [BZ #17460]
12421         * nscd/nscd.c (more_help): Rewrite list of tables collection
12422         using xstrdup and asprintf.
12424         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12426 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12427             Roland McGrath  <roland@hack.frob.com>
12429         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12430         (do_lookup_unique): ... local function 'enter' here; update callers.
12432 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12434         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12435         compat_symbol calls on [SHARED].
12436         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12437         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12438         Remove.
12439         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12440         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12441         (oldsetrlimit): Remove.
12442         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12444         (lchown): New syscall entry.
12445         (oldsetrlimit): Remove.
12446         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12447         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12448         (oldsetrlimit): Remove.
12449         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12451         [BZ #14138]
12452         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12453         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12454         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12455         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12456         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12457         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12458         (fchown): Likewise.
12459         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12460         (fchown): Likewise.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12462         Likewise.
12464 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12466         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12467         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12468         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12469         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12470         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12471         Likewise.
12472         (__old_sem_post): Likewise.
12474 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12476         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12477         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12478         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12479         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12480         Use INLINE_VSYSCALL macro.
12481         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12482         __vdso_clock_gettime.
12483         * sysdeps/unix/sysv/linux/tile/init-first.c
12484         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12485         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12486         __vdso_clock_gettime.
12488         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12489         to set up frame more cleanly.
12491         * sysdeps/tile/memcmp.c: New file.
12493         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12495         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12496         * sysdeps/tile/tilegx/strcasestr.c: New file.
12497         * sysdeps/tile/tilegx/strnlen.c: New file.
12498         * sysdeps/tile/tilegx/strstr.c: New file.
12500         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12502 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12504         * nptl/tst-setuid3.c: Write errors to stdout.
12506 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12508         * elf/dl-deps.c
12509         (preload): New functions broken out of _dl_map_object_deps.
12510         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12512 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12514         [BZ #14138]
12515         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12516         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12518 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12520         * sysdeps/mips/strcmp.S: New.
12522 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12524         [BZ #14138]
12525         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12526         (linkat): Likewise.
12527         (mkdirat): Likewise.
12528         (readlinkat): Likewise.
12529         (renameat): Likewise.
12530         (symlinkat): Likewise.
12531         (unlinkat): Likewise.
12532         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12533         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12534         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12535         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12536         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12537         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12538         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12540 2014-09-30  Will Newton  <will.newton@linaro.org>
12542         * math/math.h: Define long double math functions if
12543         _LIBC_TEST is defined.
12544         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12546         * localedata/Makefile: Move assignment to tests-special
12547         into an ifdef testing run-built-tests.
12548         * timezone/Makefile: Likewise.
12550 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12552         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12553         with $(BASH) not $(SHELL).
12555 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12556             Matthew LeGendre  <legendre1@llnl.gov>
12558         [BZ #17411]
12559         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12560         l_reloc_result.
12562 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12564         * stdio-common/printf_fp.c
12565         (hack_digit): New function, broken out of ...
12566         (__printf_fp): ... local function here.  Update call sites.
12567         hack_digit now takes an additional parameter that is a pointer
12568         to a struct of the referenced locals.  Those locals moved inside
12569         the struct and references updated.
12571 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12573         * aclocal.m4: Require autoconf 2.69.
12574         * configure: Regenerated.
12575         * sysdeps/aarch64/configure: Likewise.
12576         * sysdeps/alpha/configure: Likewise.
12577         * sysdeps/arm/armv7/configure: Likewise.
12578         * sysdeps/arm/configure: Likewise.
12579         * sysdeps/ia64/configure: Likewise.
12580         * sysdeps/mach/configure: Likewise.
12581         * sysdeps/mips/configure: Likewise.
12582         * sysdeps/s390/configure: Likewise.
12583         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12586         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12587         file.
12588         * sysdeps/ia64/configure.ac: Likewise.
12590 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12593         specify symbol version for ld.so.  Do not include entry for
12594         libpthread.
12595         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12596         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12597         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12599         [BZ #14171]
12600         * Makeconfig [$(build-shared) = yes]
12601         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12602         makefiles.
12603         [$(build-shared) = yes && $(soversions.mk-done) = t]
12604         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12605         [$(build-shared) = yes && $(soversions.mk-done) = t]
12606         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12607         to Makerules.
12608         [$(build-shared) = yes && $(soversions.mk-done) = t]
12609         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12610         here.
12611         [$(build-shared) = yes && $(soversions.mk-done) = t]
12612         (common-generated): Don't append gnu/lib-names.h and
12613         gnu/lib-names.stmp here.
12614         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12615         (lib-names-h-abi): New variable.
12616         [$(build-shared) = yes && $(soversions.mk-done) = t]
12617         (lib-names-stmp-abi): Likewise.
12618         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12619         abi-variants] (before-compile): Append
12620         $(common-objpfx)$(lib-names-h-abi).
12621         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12622         abi-variants] (common-generated): Append gnu/lib-names.h.
12623         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12624         abi-variants] (install-others-nosubdir): Depend on
12625         $(inst_includedir)/$(lib-names-h-abi).
12626         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12627         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12628         [$(build-shared) = yes && $(soversions.mk-done) = t]
12629         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12630         [$(build-shared) = yes && $(soversions.mk-done) = t]
12631         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12632         [$(build-shared) = yes && $(soversions.mk-done) = t]
12633         (common-generated): Append $(lib-names-h-abi) and
12634         $(lib-names-stmp-abi).
12635         * scripts/lib-names.awk: Do not handle multi being set.
12636         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12637         Remove variable.
12638         (abi-lp64_be-ld-soname): Likewise.
12639         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12640         Likewise.
12641         (abi-hard-ld-soname): Likewise.
12642         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12643         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12644         Remove variable.
12645         (abi-o32_hard-ld-soname): Likewise.
12646         (abi-o32_soft_2008-ld-soname): Likewise.
12647         (abi-o32_hard_2008-ld-soname): Likewise.
12648         (abi-n32_soft-ld-soname): Likewise.
12649         (abi-n32_hard-ld-soname): Likewise.
12650         (abi-n32_soft_2008-ld-soname): Likewise.
12651         (abi-n32_hard_2008-ld-soname): Likewise.
12652         (abi-n64_soft-ld-soname): Likewise.
12653         (abi-n64_hard-ld-soname): Likewise.
12654         (abi-n64_soft_2008-ld-soname): Likewise.
12655         (abi-n64_hard_2008-ld-soname): Likewise.
12656         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12657         Likewise.
12658         (abi-64-v2-ld-soname): Likewise.
12659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12660         ld.so entries.
12661         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12662         variable.
12663         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12664         entry.
12665         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12666         variable.
12667         (abi-64-ld-soname): Likewise.
12668         (abi-x32-ld-soname): Likewise.
12669         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12670         entry.
12671         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12673 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12675         [BZ #14138]
12676         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12677         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12678         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12679         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12680         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12681         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12682         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12683         syscall entry for GLIBC_2.2 symbol version.
12684         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12685         Likewise.
12686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12687         (setrlimit): Likewise.
12688         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12689         Likewise.
12691 2014-09-23  Will Newton  <will.newton@linaro.org>
12693         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12694         _LINUX_ARM_SYSDEP_H include guard too.
12695         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12696         define.
12698 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12700         * sysdeps/unix/sysv/linux/eventfd.c:
12701         Make first argument unsigned.
12702         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12703         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12705 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12707         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12708         * socket/sys/socket.h: Likewise
12709         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12711 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12713         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12715 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12717         * time/tst-ftime.c: New test.
12718         * time/Makefile (tests): Add tst-ftime.
12720 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12722         * soft-fp/extended.h: Fix comment formatting.
12723         * soft-fp/op-1.h: Likewise.
12724         * soft-fp/op-2.h: Likewise.
12725         * soft-fp/op-4.h: Likewise.
12726         * soft-fp/op-8.h: Likewise.
12727         * soft-fp/op-common.h: Likewise.
12728         * soft-fp/soft-fp.h: Likewise.
12730         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12732 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12734         [BZ #6652]
12735         * Makeconfig (soversions-default-setname): Remove variable.
12736         ($(common-objpfx)soversions.i): Don't pass default_setname to
12737         soversions.awk.
12738         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12739         oldest_abi to abi-versions.awk.
12740         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12741         * config.make.in (oldest-abi): Remove variable.
12742         * configure.ac (--enable-oldest-abi): Remove configure option.
12743         * configure: Regenerated.
12744         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12745         text.
12746         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12747         * scripts/soversions.awk: Do not handle default_setname variable.
12748         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12749         variable.
12750         * sysdeps/mach/hurd/configure: Regenerated.
12751         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12752         variable.
12753         * sysdeps/unix/sysv/linux/configure: Regenerated.
12755 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12757         * elf/Makefile (CFLAGS-interp.c): Remove.
12758         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12759         path string.
12760         * elf/interp.c: Include generated runtime-linker.h
12762         * Makerules (lib%.so): Don't include $(+interp) in
12763         prerequisites.
12764         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12765         * dlfcn/eval.c: Remove file.
12767         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12768         macros.
12770         [BZ #17266]
12771         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12772         4.2 and newer.
12774         [BZ #17370]
12775         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12777 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12778             Jakub Jelinek  <jakub@redhat.com>
12780         [BZ #17266]
12781         * libio/stdio.h: Check definition of __fortify_function
12782         instead of __extern_always_inline to include bits/stdio2.h.
12783         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12784         check if __extern_always_inline is defined.
12785         [__USE_MISC || __USE_XOPEN]: Likewise.
12786         [__USE_ISOC99] Likewise.
12787         * misc/sys/cdefs.h (__fortify_function): Define only if
12788         __extern_always_inline is defined.
12789         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12790         __extern_always_inline and __extern_inline only for g++-4.3
12791         and newer or a compatible gcc.
12793 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12795         [BZ #17371]
12796         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12797         last change to handle zero prefix length.
12799 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12801         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12802         _SC_REGEX_VERSION.
12804         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12805         _POSIX_RAW_SOCKETS.
12807 2014-09-13  Allan McRae  <allan@archlinux.org>
12809         * po/ru.po: Update Russian translation from translation project.
12811 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12813         * locale/programs/locale.c (show_locale_vars): Inline local function
12814         into its sole call site.  Clean up some style nits.
12815         (print_item): New function, broken out of ...
12816         (show_info): ... local function here.  Clean up style nits.
12818         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12819         out of ...
12820         (set_class_defaults): ... local function set_default here.
12821         Define set_default as a macro locally to pass constant parameters.
12822         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12823         rather than a shared local.
12825         * stdlib/rpmatch.c (try): New function, broken out of ...
12826         (rpmatch): ... local function here.  Also, prototypify definition.
12828 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12830         * scripts/soversions.awk: Do not handle configuration names.
12831         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12832         vendor and os variables to soversions.awk.
12833         * configure.ac: Do not modify gnu-* host_os.
12834         * configure: Regenerated
12835         * shlib-versions: Remove first column with configuration names.
12836         * nptl/shlib-versions: Likewise.
12837         * nptl_db/shlib-versions: Likewise.
12838         * sysdeps/hppa/shlib-versions: Likewise.
12839         * sysdeps/m68k/shlib-versions: Likewise.
12840         * sysdeps/mach/hurd/shlib-versions: Likewise.
12841         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12842         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12843         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12844         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12845         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12846         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12847         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12848         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12850         Likewise.
12851         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12852         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12853         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12854         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12855         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12856         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12857         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12858         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12861         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12863         Regenerated.
12864         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12866         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12868         * shlib-versions: Remove OS-specific entries.  Moved to files in
12869         sysdeps.
12870         * sysdeps/mach/hurd/shlib-versions: New file.
12871         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12873         * nptl/shlib-versions: Remove architecture-specific entries.
12874         Moved to files in sysdeps.
12875         * shlib-versions: Likewise.
12876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12877         file.
12878         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12879         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12880         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12881         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12883         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12884         (UDP_NO_CHECK6_RX): Likewise.
12886 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12888         * sysdeps/posix/sysconf.c (__sysconf): Spell
12889         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12891 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12893         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12894         loading.
12895         * iconv/Versions (__gconv_transliterate): Export for use from
12896         gconv modules.
12897         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12898         (struct __gconv_trans_data, __gconv_trans_fct,
12899         __gconv_trans_context_fct, __gconv_trans_query_fct,
12900         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12901         definitions.
12902         (struct __gconv_step_data): Remove __trans member.
12903         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12904         longer hidden.  Remove unused trans_data argument.
12905         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12906         (__gconv_translit_find): Remove declaration.
12907         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12908         prototype.
12909         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12910         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12911         trans_data argument.  Add hidden definition.
12912         (__gconv_translit_find): Remove.
12913         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12914         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12915         * iconv/skeleton.c: Remove transliteration initialization.
12916         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12917         __gconv_step_data initialization.
12918         * libio/iofwide.c (__libio_translit_): Remove.
12919         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12920         * wcsmbs/btowc.c (__btowc): Likewise.
12921         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12922         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12923         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12924         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12925         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12926         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12927         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12928         * wcsmbs/wctob.c (wctob): Likewise.
12930 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12932         [BZ #16194]
12933         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12934         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12935         register usage.
12936         * sysdeps/x86/Makefile: Adjust.
12938 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12939             Roland McGrath  <roland@hack.frob.com>
12941         * locale/weight.h: Add include guard.
12942         (findidx): Make static rather than auto; take new parameters
12943         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12944         * locale/weightwc.h: Likewise.
12945         * posix/fnmatch_loop.c
12946         (FCT): Change type of EXTRA from int32_t to wint_t.
12947         Don't include either header inside the function.
12948         Call FINDIDX rather than findidx, and pass new arguments.
12949         #undef FINDIDX at the end of the file.
12950         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12951         FINDIDX before including fnmatch_loop.c for the non-wide version.
12952         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12953         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12954         for the wide version.
12955         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12956         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12957         Pass new arguments to findidx.
12958         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12959         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12960         Don't #include it inside the function.  Pass new arguments to findidx.
12961         * posix/regex_internal.h
12962         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12963         (re_string_elem_size_at): Don't #include it inside the function.
12964         Pass new arguments to findidx.
12965         * string/strcoll_l.c: #include WEIGHT_H at top level.
12966         (get_next_seq): Don't #include it inside the function.
12967         Pass new arguments to findidx.
12968         (get_next_seq_nocache): Likewise.
12969         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12970         (STRXFRM): Don't #include it inside the function.
12971         Pass new arguments to findidx.
12973 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12975         [BZ #17344]
12976         * malloc/malloc.c (unlink): Turn asserts into a call to
12977         malloc_printerr.
12979 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12981         [BZ #17370]
12982         * libio/wfileops (do_ftell_wide): Free OUT.
12984 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12986         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12988 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12990         [BZ #17363]
12991         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12992         group if the current group is empty.
12994 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12996         * benchtests/bench-memset.c (test_main): Add more test from size
12997         from 32 to 512 bytes.
12998         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12999         Add POWER8 memset object.
13000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13001         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13002         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13003         implementation.
13004         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13005         Likewise.
13006         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13007         multiarch POWER8 memset optimization.
13008         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13009         POWER8 memset optimization.
13011         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13012         Remove bzero multiarch objects.
13013         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13014         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13015         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13016         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13017         Remove define.
13018         [__bzero]: Redefine to specific name.
13019         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13020         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13021         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13022         define.
13023         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13024         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13026 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13028         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13029         warnings into errors.
13031         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13032         __cxa_thread_atexit_impl prototype.
13034 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13036         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13037         Fix capitalization of error message.
13039 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13041         * sysdeps/mips/preconfigure: Modify ABI tests.
13043 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13045         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13047 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13048             Carlos O'Donell  <carlos@systemhalted.org>
13050         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13051         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13052         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13053         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13054         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13055         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13056         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13057         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13058         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13059         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13060         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13061         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13062         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13063         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13064         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13065         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13066         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13067         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13068         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13069         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13070         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13071         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13072         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13073         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13074         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13075         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13076         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13077         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13078         Deconditionalize the code that was previously under [RESET_PID].
13079         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13080         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13081         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13082         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13083         include sysdep.h.
13085 2014-09-08  Allan McRae  <allan@archlinux.org>
13087         * version.h (RELEASE): Set to "development".
13088         (VERSION): Set to "2.20.90"
13090 2014-09-07  Allan McRae  <allan@archlinux.org
13092         * version.h (RELEASE): Set to "stable".
13093         (VERSION): Set to "2.20"
13094         * include/features.h (__GLIBC_MINOR__): Set to 20.
13096         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13097         Liebler.
13099         * po/ko.po: Update Korean translation from translation project.
13101 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13103         [BZ #17354]
13104         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13105         macro for handling signed relocations.
13107 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13109         [BZ #17325]
13110         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13111         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13112         assert.
13113         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13114         * iconvdata/ibm935.c (BODY): Likewise.
13115         * iconvdata/ibm937.c (BODY): Likewise.
13116         * iconvdata/ibm939.c (BODY): Likewise.
13117         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13118         assert.
13119         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13120         script.
13121         * iconvdata/run-iconv-test.sh: New test loop for checking for
13122         decoder crashers.
13124 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13126         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13127         libm_hidden_ver.
13129 2014-09-01  Allan McRae  <allan@archlinux.org>
13131         * po/eo.po: Update Esperanto translation from translation project.
13133         * po/ca.po: Update Catalan translation from translation project.
13135 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13137         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13138         __proc_dostop call.
13140 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13142         [BZ #17319]
13143         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13144         to call set_thread_area instead of hand written asm.
13145         (__NR_set_thread_area): Removed define.
13146         (TLS_FLAG_WRITABLE): Likewise.
13147         (__ASSUME_SET_THREAD_AREA): Remove check.
13148         (TLS_EBX_ARG): Remove define.
13149         (TLS_LOAD_EBX): Likewise.
13151 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13153         Simplify atomicity of socket creation in bind.
13155         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13156         looking up the name after linking the file.
13158 2014-08-27  Allan McRae  <allan@archlinux.org>
13160         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13162 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13164         [BZ #17187]
13165         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13166         trans_compare, open_translit, __gconv_translit_find):
13167         Remove module loading code.
13169 2014-08-26  Allan McRae  <allan@archlinux.org>
13171         * po/vi.po: Update Vietnamese translation from translation project.
13173         * po/uk.po: Update Ukrainian translation from translation project.
13175         * po/fr.po: Update French translation from translation project.
13177         * po/ru.po: Update Russian translation from translation project.
13179         * po/pl.po: Update Polish translation from translation project.
13181         * po/cs.po: Update Czech translation from translation project.
13183         * po/de.po: Update German translation from translation project.
13185         * po/bg.po: Update Bulgarian translation from translation project.
13187         * po/sv.po: Update Sweedish translation from translation project.
13189         * po/nl.po: Update Dutch translation from translation project.
13191         * po/es.po: Update Spanish translation from translation project.
13193 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13195         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13197         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13198         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13199         (CPPFLAGS-iconvconfig): Likewise.
13200         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13202         * include/libc-symbols.h: Remove unnecessary check for
13203         NOT_IN_libc.
13204         * nptl/pthreadP.h: Likewise.
13205         * sysdeps/aarch64/setjmp.S: Likewise.
13206         * sysdeps/alpha/setjmp.S: Likewise.
13207         * sysdeps/arm/sysdep.h: Likewise.
13208         * sysdeps/i386/setjmp.S: Likewise.
13209         * sysdeps/m68k/setjmp.c: Likewise.
13210         * sysdeps/posix/getcwd.c: Likewise.
13211         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13212         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13213         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13214         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13215         * sysdeps/sh/sh3/setjmp.S: Likewise.
13216         * sysdeps/sh/sh4/setjmp.S: Likewise.
13217         * sysdeps/unix/alpha/sysdep.h: Likewise.
13218         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13219         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13220         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13221         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13224         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13225         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13226         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13227         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13228         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13229         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13230         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13231         * sysdeps/x86_64/setjmp.S: Likewise.
13233 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13235         [BZ #17263]
13236         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13237         <stdint.h>.
13238         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13239         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13241 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13243         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13245         [BZ #17262]
13246         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13247         and __x86_64__ when disabling x87 inline functions.
13249 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13251         [BZ #17259]
13252         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13253         asm statement with __cpuid_count.
13255 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13257         * configure.ac: Change __ehdr_start code to dereference the struct.
13258         Run readelf on the output to look for relocations.
13259         * configure: Regenerated.
13261 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13263         [BZ #17261]
13264         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13265         value to 0.
13266         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13268 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13270         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13272 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13274         [BZ #16892]
13275         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13276         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13278 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13280         * malloc/malloc.c: Fix typo in comment.
13282 2014-08-09  Allan McRae  <allan@archlinux.org>
13284         * Regenerate libc.po.
13286 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13288         * intl/tst-gettext2.sh: Check every lang file for creation.
13290 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13292         * sysdeps/aarch64/fpu/math_private.h
13293         (libc_feholdsetround_noex_aarch64_ctx): New function.
13295 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13297         * sysdeps/arm/armv6/strcpy.S (strcpy):
13298         Fix performance issue in misaligned cases.
13300 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13302         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13303         Move definition from termios.h.
13304         (struct termio): Likewise.
13305         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13306         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13307         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13308         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13309         Likewise.
13310         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13311         Move definition to ioctl-types.h
13312         (struct termio): Likewise.
13313         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13314         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13315         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13316         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13317         Likewise.
13319 2014-08-05  Richard Henderson  <rth@redhat.com>
13321         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13322         exceptions.
13323         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13324         Add fraiseexcpt.
13325         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13326         Use __feraiseexcept.
13327         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13328         Protect libm symbols with IS_IN_libm.
13330         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13332 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13334         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13336 2014-08-04  Will Newton  <will.newton@linaro.org>
13338         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13339         file.
13341 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13343         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13344         variants for each function.
13346 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13348         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13349         appended ...
13350         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13351         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13352         appended ...
13353         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13354         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13355         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13356         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13357         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13358         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13359         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13360         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13361         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13362         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13363         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13364         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13365         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13366         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13367         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13368         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13369         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13370         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13371         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13372         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13373         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13374         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13375         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13376         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13377         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13378         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13379         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13380         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13381         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13382         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13383         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13384         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13385         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13386         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13387         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13388         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13389         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13390         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13391         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13392         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13393         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13394         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13395         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13396         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13397         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13398         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13399         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13400         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13401         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13402         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13403         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13404         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13405         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13406         Update #include.
13407         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13408         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13410 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13412         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13413         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13414         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13415         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13416         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13417         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13419 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13421         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13422         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13423         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13424         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13426 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13428         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13429         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13430         (__libc_vfork): Define function under this name.
13431         (__vfork): Define as an alias.
13432         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13433         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13435 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13437         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13438         that was previously under [RESET_PID].
13439         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13441 2014-08-04  Andreas Schwab  <schwab@suse.de>
13443         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13445 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13447         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13448         (main): Likewise.
13450 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13452         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13454 2014-08-01  Richard Henderon  <rth@redhat.com>
13456         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13457         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13458         typo in exact zero test.
13459         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13460         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13461         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13463 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13465         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13466         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13467         * sysdeps/arm/sysdep.h: ... here.
13468         [!__ASSEMBLER__]: Include <stdint.h>.
13470 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13472         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13473         (HAVE_WCTYPE_H): Likewise.
13474         (HAVE_ISWCTYPE): Likewise.
13475         (ENABLE_NLS): Likewise.
13476         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13477         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13479         * posix/regex_internal.c: Check if DEBUG is defined and is
13480         set.
13482         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13483         (HAVE_MBSRTOWCS): Likewise.
13484         * posix/fnmatch.c: Include string.h unconditionally.
13486 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13488         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13489         reversal.
13491 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13493         * sysdeps/generic/safe-fatal.h: New file.
13494         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13495         * nptl/forward.c: Include it.
13496         (__pthread_unwind): Use __safe_fatal as default action, rather
13497         than a bogus use of INTERNAL_SYSCALL that could never work.
13499         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13500         * configure.ac (libc_cv_builtin_trap): New test.
13501         * configure: Regenerated.
13502         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13503         (ABORT_INSTRUCTION): Define using __builtin_trap.
13505         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13506         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13507         * sysdeps/nptl/nptl-signals.h: New file.
13508         * nptl/pthreadP.h: Include <nptl-signals.h>.
13510 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13512         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13513         (ONE_DIRECTION): Define.
13514         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13515         (ONE_DIRECTION): Define.
13516         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13517         (ONE_DIRECTION): Define.
13519 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13521         * sysdeps/s390/Makefile: Delete file.
13522         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13523         * sysdeps/s390/__longjmp.c: Delete file.
13524         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13525         Remove fields __flags and __reserved.
13526         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13527         and add versioning.
13528         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13529         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13530         * sysdeps/s390/rtld-setjmp.S: Likewise.
13531         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13532         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13533         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13534         * sysdeps/s390/s390-32/setjmp.S: ... here.
13535         Add versioning.
13536         (__sigsetjmp): Remove setting __flags field.
13537         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13538         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13539         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13540         * sysdeps/s390/s390-64/setjmp.S: ... here.
13541         Add versioning.
13542         (__sigsetjmp): Remove setting __flags field.
13543         * sysdeps/s390/setjmp.S: Delete file.
13544         * sysdeps/s390/sigjmp.c: Likewise.
13545         * sysdeps/s390/v1-longjmp.c: Likewise.
13546         * sysdeps/s390/v1-setjmp.h: Likewise.
13547         * sysdeps/s390/v1-sigjmp.c: Likewise.
13548         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13549         Remove v1-longjmp_chk.
13550         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13551         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13552         Include debug/longjmp_chk.c and add versioning.
13553         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13554         Include nptl/pt-longjmp.c and add versioning.
13555         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13556         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13557         Include __longjmp.c.
13558         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13559         Move to ...
13560         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13561         (__getcontext): Remove setting __flags field.
13562         Add versioning.
13563         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13564         Don't restore upper high grps.
13565         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13566         Likewise.
13567         (__swapcontext): Remove setting uc_flags field.
13568         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13569         Delete file.
13570         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13571         Include __longjmp.c.
13572         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13573         Move to ...
13574         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13575         (__getcontext): Remove setting __flags field.
13576         Add versioning.
13577         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13578         (__swapcontext): Remove setting uc_flags field.
13579         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13580         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13581         Remove fields uc_high_gprs and __reserved.
13582         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13583         New file with reverted content.
13584         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13585         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13586         Regenerated.
13587         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13588         Regenerated.
13590 2014-07-31  Andreas Schwab  <schwab@suse.de>
13592         * config.h.in (HAVE_IFUNC): Define to 0.
13593         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13594         definedness.
13596 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13599         memmove-avx-unaligned, memcpy-avx-unaligned and
13600         mempcpy-avx-unaligned.
13601         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13602         Add tests for AVX memcpy functions.
13603         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13604         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13605         memcpy_chk.
13606         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13607         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13608         memmove_chk.
13609         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13610         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13611         mempcpy_chk.
13612         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13613         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13614         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13616 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13618         [BZ #17213]
13619         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13620         powerpc64le.
13622 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13624         [BZ #16839]
13625         * manual/llio.texi: Add section about open file description locks.
13626         * manual/examples/ofdlocks.c: Example of open file description
13627         lock usage.
13628         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13629         F_OFD_SETLK, and F_OFD_SETLKW.
13631 2014-07-23  Allan McRae  <allan@archlinux.org>
13633         * po/es.po: Update Spanish translation from translation project.
13635 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13637         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13639 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13641         [BZ #17078]
13642         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13643         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13644         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13646 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13648         [BZ #17088]
13649         * math/fesetenv.c (__fesetenv)
13650         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13651         * math/feupdateenv.c (__feupdateenv)
13652         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13654         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13655         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13656         (__ASSUME_SOCKETCALL): Do not define.
13658         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13659         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13660         (__ASSUME_SOCKETCALL): Do not define.
13661         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13662         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13663         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13664         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13665         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13666         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13667         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13668         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13670         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13671         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13672         (__ASSUME_SOCKETCALL): Do not define.
13673         (__ASSUME_IPC64): Define unconditionally.
13674         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13675         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13676         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13677         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13678         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13679         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13680         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13681         Likewise.
13683         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13684         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13685         (__ASSUME_SOCKETCALL): Do not define.
13686         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13687         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13688         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13689         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13690         (__ASSUME_REQUEUE_PI): Define unconditionally.
13691         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13692         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13693         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13694         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13695         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13696         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13698         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13699         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13700         (__ASSUME_SOCKETCALL): Do not define.
13701         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13702         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13703         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13704         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13705         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13706         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13708         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13709         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13710         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13711         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13712         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13713         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13714         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13715         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13716         (__ASSUME_GETCPU_SYSCALL): Likewise.
13718         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13719         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13720         cases for individual architectures.
13721         * sysdeps/gnu/configure: Regenerated.
13722         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13723         LIBC_SLIBDIR_RTLDDIR.
13724         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13725         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13726         LIBC_SLIBDIR_RTLDDIR.
13727         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13729         LIBC_SLIBDIR_RTLDDIR.
13730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13731         Regenerated.
13732         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13733         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13734         file.
13735         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13736         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13737         file.
13738         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13739         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13740         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13741         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13743         * sysdeps/aarch64/shlib-versions: Move to ...
13744         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13745         * sysdeps/alpha/shlib-versions: Move to ...
13746         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13747         * sysdeps/arm/shlib-versions: Move to ...
13748         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13749         * sysdeps/hppa/shlib-versions: Move all contents except for
13750         libgcc_s entry to ...
13751         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13752         entry from ...
13753         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13754         * sysdeps/ia64/shlib-versions: Move to ...
13755         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13756         entry from ...
13757         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13758         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13759         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13760         * sysdeps/microblaze/shlib-versions: Move to ...
13761         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13762         * sysdeps/mips/shlib-versions: Move to ...
13763         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13764         entry from ...
13765         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13766         * sysdeps/tile/shlib-versions: Move to ...
13767         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13768         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13769         from ...
13770         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13771         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13772         entry from ...
13773         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13775 2014-07-17  Will Newton  <will.newton@linaro.org>
13777         * sysdeps/arm/bits/atomic.h
13778         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13779         (__arch_compare_and_exchange_bool_16_int): Likewise.
13780         (__arch_compare_and_exchange_bool_64_int): Likewise.
13782         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13783         into an #else block.
13785 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13787         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13788         just Linux configurations.  Test empirically that the compiler sets
13789         __ARM_EABI__, rather than using the tuple to decide.
13790         * sysdeps/arm/preconfigure: Regenerated.
13791         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13792         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13793         contents appended ...
13794         * sysdeps/arm/configure.ac: ... here.
13795         * sysdeps/arm/configure: Regenerated.
13797 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13799         * nptl/pthread_kill.c: New file.
13800         * nptl/pthread_sigmask.c: New file.
13801         * nptl/pthread_sigqueue.c: New file.
13803         * sysdeps/nptl/lowlevellock.h: New file.
13804         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13805         * sysdeps/nptl/lowlevellock-futex.h: New file.
13807         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13808         Remove dead declarations.
13810 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13812         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13813         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13814         config-cflags-avx2.
13815         * sysdeps/x86_64/configure.ac: Likewise.
13816         * sysdeps/i386/configure: Regenerated.
13817         * sysdeps/x86_64/configure: Likewise.
13818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13819         memset-avx2 only if config-cflags-avx2 is yes.
13820         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13821         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13822         defined.
13823         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13824         only if HAVE_AVX2_SUPPORT is defined.
13825         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13827 2014-07-14  Alan Modra  <amodra@gmail.com>
13829         [BZ #17153]
13830         * elf/elf.h (DT_PPC64_NUM): Correct value.
13831         * NEWS: Add to fixed bug list.
13833 2014-07-13  Jim Meyering  <meyering@fb.com>
13835         [BZ 17150]
13836         regex: don't deref NULL upon heap allocation failure
13837         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13838         failure in one more place.
13839         To trigger the segfault, configure grep -with-included-regex,
13840         build it, and run these commands:
13841         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13843 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13845         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13847 2014-07-11  Richard Henderson  <rth@redhat.com>
13849         * sysdeps/aarch64/libm-test-ulps: Update.
13851 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13853         [BZ #17135]
13854         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13855         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13856         (__nptl_setxid): Initialize error member.  Call
13857         __nptl_setxid_error.
13858         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13859         * nptl/descr.h (struct xid_command): Add error member.
13860         * nptl/tst-setuid3.c: New file.
13861         * nptl/Makefile (tests): Add it.
13863 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13865         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13866         New define.
13867         (__lll_trylock): Use __lll_base_trylock.
13868         (__lll_cond_trylock): Likewise.
13870 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13872         * nptl/pthread_create.c (start_thread): Use atomic_or and
13873         lll_futex_wake directly rather than lll_robust_dead.
13874         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13875         (lll_robust_dead): Macro removed.
13876         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13877         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13878         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13879         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13880         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13881         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13882         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13883         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13884         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13885         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13886         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13887         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13888         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13889         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13890         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13892         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13893         Use atomic_compare_and_exchange_val_acq directly rather than
13894         lll_robust_trylock.
13895         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13896         (__lll_robust_trylock, lll_robust_trylock): Removed.
13897         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13898         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13899         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13900         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13901         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13902         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13903         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13904         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13905         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13906         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13907         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13908         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13909         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13910         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13912 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13914         * manual/locale.texi (Locale Names): New section documenting
13915         locale name syntax.  Adjust menu and node chaining accordingly.
13916         (Choosing Locale): Reference Locale Names, Locale Categories.
13917         Mention setting LC_ALL=C.  Reflect that name syntax is now
13918         documented.
13919         (Locale Categories): New section title.  Reference Locale Names.
13920         LC_ALL is an environment variable, but not a category.
13921         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13922         description, now in Locale Name.  Reference that section.  Locale
13923         name syntax is now documented.
13925 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13927         [BZ #17137]
13928         * locale/findlocale.c (name_present, valid_locale_name): New
13929         functions.
13930         (_nl_find_locale): Use the loc_name variable to store name
13931         candidates.  Call name_present and valid_locale_name to check and
13932         validate locale names.  Return an error if the locale is invalid.
13934 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13936         * locale/setlocale.c (setlocale): Use strdup for allocating
13937         composite name copy.
13939 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13941         Sync up with gnulib.
13942         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13943         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13944         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13945         and _GL_ARG_NONNULL.
13946         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13947         [!_LIBC]: Include code for Windows and Cygwin.
13948         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13949         Include prototype for int strerror_r.
13950         [!_LIBC] (is_open): New function.
13951         (flush_stdout): New function.
13952         (print_errno_message): Use it.
13953         (error): Likewise.
13954         (error_at_line): Likewise.
13955         (error_tail) Add function attribute macros.  Use
13956         __builtin_expect.
13958         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13960         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13962         * io/ftw.c: Include sys/param.h unconditionally.
13964         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13966         [BZ #17125]
13967         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13968         libc_freeres_ptr.
13969         (freecache): New function to free CACHE on exit.
13971         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13972         initialization.
13974 2014-07-09  David S. Miller  <davem@davemloft.net>
13976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13978         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13979         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13980         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13981         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13982         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13983         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13984         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13985         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13986         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13987         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13988         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13989         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13990         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13992 2014-07-09  Andreas Schwab  <schwab@suse.de>
13994         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13995         output.
13996         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13997         (do_test): Likewise.
13999         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14001 2014-07-09  Will Newton  <will.newton@linaro.org>
14003         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14004         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14005         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14006         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14007         * sysdeps/hppa/start.S (_start): Likewise.
14009 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14011         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14013         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14014         defined.
14016 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14018         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14019         after checking that it is non-NULL.
14021         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14023 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14025         * sysdeps/powerpc/memmove.c: Remove file.
14026         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14027         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14028         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14029         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14030         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14031         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14032         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14033         string memmove instead of removed powerpc one.
14035         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14036         [weak_alias]: Fix compiler warning due trailing data.
14037         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14038         [weak_alias]: Likewise.
14039         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14040         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14042         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14043         (__libc_ifunc_impl_list): Add memmove functions.
14045 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14047         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14048         Remove code.
14049         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14050         Likewise
14051         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14052         Likewise
14053         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14054         Likewise
14055         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14056         Likewise
14057         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14058         Likewise
14059         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14060         Likewise
14061         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14062         Likewise
14063         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14064         Likewise
14065         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14066         Likewise
14067         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14068         Likewise
14069         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14070         Likewise
14071         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14072         Likewise
14073         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14074         Likewise
14075         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14076         Likewise
14077         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14078         Likewise
14079         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14080         Likewise
14082 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14084         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14085         to avoid alignment traps in non-cacheable memory.
14086         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14089         multiarch objects.
14090         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14091         file: multiarch power7 memmove.
14092         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14093         multiarch default memmove.
14094         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14095         multiarch memove for powerpc32/power4.
14097         * string/bcopy.c: Use full path to include memmove.c.
14098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14099         multiarch objects.
14100         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14101         bcopy for powerpc64.
14102         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14103         bcopy for powerpc64.
14104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14105         and memmove implementations.
14106         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14107         optimized multiarch memmove for POWER7/powerpc64.
14108         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14109         default multiarch memmove for powerpc64.
14110         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14111         multiarch for powerpc64.
14112         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14113         for POWER7/powerpc64.
14114         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14115         memmove for POWER7/powerpc64.
14117         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14118         glibc default one.
14120         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14121         __ELF_NATIVE_CLASS equal to 64.
14123 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14125         * sysdeps/nptl/lowlevellock.h: File removed.
14127         * NEWS: NPTL is no longer an add-on!
14128         * nptl/internaltypes.h: Moved ...
14129         * sysdeps/nptl/internaltypes.h: ... here.
14130         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14131         * sysdeps/nptl/fork.c: Likewise.
14132         * sysdeps/nptl/gai_misc.h: Likewise.
14133         * sysdeps/nptl/librt-cancellation.c: Likewise.
14134         * sysdeps/nptl/jmp-unwind.c: Likewise.
14135         * sysdeps/nptl/setxid.h: Likewise.
14136         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14137         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14138         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14139         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14140         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14141         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14142         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14143         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14144         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14145         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14146         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14147         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14148         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14149         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14150         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14151         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14152         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14153         * nptl/Makeconfig: Moved ...
14154         * sysdeps/nptl/Makeconfig: ... here.
14155         * nptl/configure: File removed.
14156         * nptl/ANNOUNCE: File removed.
14157         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14158         * sysdeps/unix/sysv/linux/configure: Regenerated.
14160         * nptl/Makefile (routines): Add libc_pthread_init,
14161         libc_multiple_threads, register-atfork and unregister-atfork.
14162         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14163         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14164         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14165         pthread-pi-defines.sym, structsem.sym.
14166         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14167         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14168         [$(subdir) = nptl] (tests): Add tst-setgetname.
14169         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14170         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14171         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14172         [!LIBC_SIGACTION]: Remove aliases.
14173         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14174         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14175         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14176         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14177         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14178         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14179         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14180         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14181         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14182         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14183         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14184         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14185         __libc_allocate_rtsig_private.
14186         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14187         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14188         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14189         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14190         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14191         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14192         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14193         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14194         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14195         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14196         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14197         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14198         * nptl/internaltypes.h: ... here.
14199         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14200         * sysdeps/nptl/jmp-unwind.c: ... here.
14201         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14202         * nptl/libc-lowlevellock.c: ... here.
14203         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14204         * nptl/libc_multiple_threads.c: ... here.
14205         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14206         * nptl/libc_pthread_init.c: ... here.
14207         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14208         * nptl/lowlevelbarrier.sym: ... here.
14209         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14210         * nptl/lowlevelcond.sym: ... here.
14211         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14212         * nptl/lowlevellock.c: ... here.
14213         * nptl/lowlevellock.h: Moved ...
14214         * sysdeps/nptl/lowlevellock.h: ... here.
14215         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14216         * nptl/lowlevelrobustlock.c: ... here.
14217         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14218         * nptl/lowlevelrobustlock.sym: ... here.
14219         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14220         * nptl/lowlevelrwlock.sym: ... here.
14221         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14222         * nptl/pt-fork.c: ... here.
14223         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14224         * nptl/pthread-pi-defines.sym: ... here.
14225         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14226         * nptl/pthread_attr_getaffinity.c: ... here.
14227         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14228         * nptl/pthread_attr_setaffinity.c: ... here.
14229         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14230         * nptl/pthread_mutex_cond_lock.c: ... here.
14231         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14232         Update #include.
14233         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14234         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14235         * nptl/pthread_once.c: ... here, replacing old file.
14236         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14237         * nptl/pthread_yield.c: ... here.
14238         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14239         * nptl/register-atfork.c: ... here.
14240         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14241         * nptl/sem_post.c: ... here.
14242         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14243         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14244         * nptl/sem_timedwait.c: ... here.
14245         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14246         * nptl/sem_trywait.c: ... here.
14247         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14248         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14249         * nptl/sem_wait.c: ... here.
14250         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14251         * nptl/structsem.sym: ... here.
14252         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14253         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14254         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14255         * nptl/unregister-atfork.c: ... here.
14256         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14257         * nptl/unwindbuf.sym: ... here.
14258         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14259         * sysdeps/nptl/fork.c: ... here.
14260         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14261         * sysdeps/nptl/fork.h: ... here.
14262         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14263         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14264         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14265         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14266         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14267         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14268         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14269         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14270         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14271         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14272         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14273         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14274         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14275         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14276         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14277         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14278         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14279         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14280         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14281         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14282         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14283         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14284         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14285         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14286         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14287         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14288         * sysdeps/unix/sysv/linux/raise.c: ... here.
14289         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14290         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14291         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14292         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14293         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14294         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14295         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14296         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14297         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14298         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14299         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14300         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14301         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14302         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14303         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14305 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14307         * sysdeps/generic/memcopy.h: Add comment for
14308         MEMCPY_OK_FOR_FWD_MEMMOVE.
14310 2014-07-04  Will Newton  <will.newton@linaro.org>
14312         * string/memchr.c: Merge from gnulib.
14313         [_LIBC]: Remove conditionals.
14314         (__ptr_t): Remove define.
14315         (LONG_MAX_32_BITS): Likewise.
14316         (LONG_MAX): Likewise.
14317         (MEMCHR): Use ANSI prototype and optimize algorithm.
14319         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14321 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14323         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14324         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14326         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14327         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14328         in a bare environment with no <stdlib.h> installed.
14329         * sysdeps/nptl/configure: Regenerated.
14331         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14333         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14334         AC_EGREP_CPP for kernel header checks, so they only succeed if
14335         including <linux/version.h> actually works right.
14336         * sysdeps/unix/sysv/linux/configure: Regenerated.
14338         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14339         value so it's not diagnosed as unused.
14341         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14342         thing) with "ifeq ($(subdir),rt)".
14344 2014-07-03  Richard Henderson  <rth@redhat.com>
14346         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14347         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14348         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14350         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14351         (math_force_eval): New.
14353         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14354         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14356         * sysdeps/alpha/fpu/s_round.c: Remove file.
14357         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14359         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14360         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14361         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14362         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14363         (_dl_start, print_statistics): Likewise.
14364         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14365         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14367         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14368         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14369         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14370         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14371         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14372         (HP_SMALL_TIMING_AVAIL): Define.
14373         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14374         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14375         (HP_SMALL_TIMING_AVAIL): Define.
14376         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14377         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14379         * sysdeps/aarch64/hp-timing.h: New file.
14381         * sysdeps/generic/hp-timing.h: Remove dead comment.
14382         * sysdeps/generic/hp-timing-common.h: New file.
14383         * sysdeps/alpha/hp-timing.h: Include it.
14384         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14385         * sysdeps/i386/i686/hp-timing.h: Likewise.
14386         * sysdeps/ia64/hp-timing.h: Likewise.
14387         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14388         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14389         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14390         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14391         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14392         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14393         (hp_timing_t): New.
14395         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14396         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14397         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14398         * elf/rtld.c (_dl_start_final): Likewise.
14399         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14400         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14401         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14402         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14403         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14404         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14405         (HP_TIMING_DIFF_INIT): Remove.
14406         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14407         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14408         (HP_TIMING_DIFF_INIT): Remove.
14409         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14410         * sysdeps/i386/i686/hp-timing.c: Remove file.
14411         * sysdeps/x86_64/hp-timing.c: Remove file.
14412         * sysdeps/ia64/hp-timing.c: Remove file.
14413         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14414         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14415         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14416         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14418         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14419         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14420         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14421         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14422         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14423         (HP_TIMING_ACCUM): Remove.
14424         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14425         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14426         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14428         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14429         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14430         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14431         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14432         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14433         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14434         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14435         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14437         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14439 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14441         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14443 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14445         Sync up with gettext.
14446         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14447         [_MSC_VER]: Include malloc.h
14448         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14449         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14450         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14451         TEMP_FAILURE_RETRY.  Cast return of alloca.
14452         [!_LIBC] Call gl_rwlock_init.
14453         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14455 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14457         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14458         before checking its value.
14460 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14462         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14464         * debug/memcpy_chk.c: Don't include pagecopy.h.
14465         * debug/mempcpy_chk.c: Likewise.
14466         * string/memcpy.c: Likewise.
14467         * string/memmove.c: Likewise.
14468         * sysdeps/powerpc/memmove.c: Likewise.
14469         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14470         definition of PAGE_COPY_FWD_MAYBE here...
14471         * sysdeps/generic/pagecopy.h: ... from here.
14472         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14474 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14475             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14477         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14479         optimizations.
14480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14481         (__libc_ifunc_impl_list): Likewise.
14482         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14483         multiarch strcat for PPC64.
14484         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14485         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14487 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14489         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14491 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14493         * intl/loadmsgcat.c: Remove declaration of
14494         get_sysdep_segment_value.
14495         (get_sysdep_segment_value): Use ISO C style.
14496         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14497         semicolon.  Fix typo and formatting in comment.
14498         (_nl_unload_domain): Use ISO C style.
14500         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14502 2014-07-02  Will Newton  <will.newton@linaro.org>
14504         * malloc/obstack.c: Merge from gnulib master.
14505         [HAVE_CONFIG_H]: Remove conditional code.
14506         [!_LIBC]: Include config.h.
14507         [!ELIDE_CODE]: Don't include inttypes.h, include
14508         stdint.h unconditionally.
14509         (print_and_abort): Mark as _Noreturn.
14510         (_obstack_allocated_p): Mark as __attribute_pure__.
14511         (obstack_free): Rename to __obstack_free.
14512         [!__attribute__]: Remove conditional code.
14513         * malloc/obstack.h: Merge from gnulib master.
14514         [__cplusplus]: Move conditional down.
14515         [!__attribute_pure__]: Define __attribute_pure__ here
14516         if it is not already defined.
14517         (_obstack_memory_used): Mark as __attribute_pure__.
14518         [!__obstack_free]: Define as obstack_free.
14519         [__GNUC__]: Remove check for ancient NeXT gcc.
14521 2014-07-02  Will Newton  <will.newton@linaro.org>
14522             Paul Eggert  <eggert@cs.ucla.edu>
14524         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14526 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14528         * resolv/gethnamaddr.c: Add comment warning that the file is
14529         not maintained.
14531 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14533         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14534         entries.
14536         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14537         entry for aio_cancel and aio_cancel64.
14538         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14539         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14540         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14541         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14542         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14543         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14544         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14545         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14546         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14547         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14548         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14549         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14550         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14552 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14554         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14555         * nptl/pthread_mutex_lock.c: Likewise.
14556         * nptl/pthread_mutex_timedlock.c: Likewise.
14557         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14559 2014-07-01  Richard henderson  <rth@redhat.com>
14561         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14562         (__isnan, __isnanl): Remove.
14563         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14565         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14567 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14569         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14571 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14573         * resolv/nss_dns/dns-host.c (getanswer_r)
14574         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14576 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14578         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14579         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14580         undefine.
14581         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14582         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14584 2014-07-01  Roland McGrath <roland@hack.frob.com>
14586         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14587         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14589         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14590         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14592         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14593         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14594         ... here.
14595         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14596         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14598         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14599         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14600         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14601         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14603         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14604         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14605         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14606         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14607         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14608         Moved ...
14609         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14610         ... here.
14611         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14612         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14613         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14614         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14615         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14616         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14617         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14618         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14619         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14620         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14621         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14622         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14623         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14624         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14625         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14626         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14627         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14628         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14629         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14630         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14631         ... here.
14632         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14633         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14634         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14635         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14636         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14637         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14638         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14639         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14641 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14643         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14644         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14645         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14646         Add sysdep.
14648 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14652 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14654         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14655         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14657         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14659         * sysdeps/arm/libm-test-ulps: Regenerated.
14661 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14662             Roland McGrath <roland@hack.frob.com>
14664         * test-skeleton.c (signal_handler): Kill the whole process group
14665         before killing the child individually.
14666         (main): Report any failure on `setpgid'.
14668 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14670         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14671         from _TLS_H to _ARM_NPTL_TLS_H.
14672         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14673         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14675 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14677         [BZ #16539]
14678         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14679         (__expm1l): Return argument unchanged when small but not
14680         subnormal.
14682         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14683         include macro name.
14684         (_FP_UNPACK_RAW_1_P): Likewise.
14685         (_FP_PACK_RAW_1): Likewise.
14686         (_FP_PACK_RAW_1_P): Likewise.
14687         (_FP_MUL_MEAT_1_wide): Likewise.
14688         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14689         (_FP_MUL_MEAT_1_hard): Likewise.
14690         (_FP_DIV_MEAT_1_imm): Likewise.
14691         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14692         (_FP_DIV_MEAT_1_udiv): Likewise.
14693         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14694         (_FP_UNPACK_RAW_2): Likewise.
14695         (_FP_UNPACK_RAW_2_P): Likewise.
14696         (_FP_PACK_RAW_2): Likewise.
14697         (_FP_PACK_RAW_2_P): Likewise.
14698         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14699         (_FP_MUL_MEAT_2_wide): Likewise.
14700         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14701         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14702         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14703         (_FP_MUL_MEAT_2_gmp): Likewise.
14704         (_FP_DIV_MEAT_2_udiv): Likewise.
14705         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14706         (_FP_FRAC_SRL_4): Likewise.
14707         (_FP_FRAC_SRST_4): Likewise.
14708         (_FP_FRAC_SRS_4): Likewise.
14709         (_FP_UNPACK_RAW_4): Likewise.
14710         (_FP_UNPACK_RAW_4_P): Likewise.
14711         (_FP_PACK_RAW_4): Likewise.
14712         (_FP_PACK_RAW_4_P): Likewise.
14713         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14714         (_FP_MUL_MEAT_4_wide): Likewise.
14715         (_FP_MUL_MEAT_4_gmp): Likewise.
14716         (umul_ppppmnnn): Likewise.
14717         (_FP_DIV_MEAT_4_udiv): Likewise.
14718         (__FP_FRAC_ADD_4): Likewise.
14719         (__FP_FRAC_SUB_3): Likewise.
14720         (__FP_FRAC_SUB_4): Likewise.
14721         (__FP_FRAC_DEC_3): Likewise.
14722         (__FP_FRAC_DEC_4): Likewise.
14723         (__FP_FRAC_ADDI_4): Likewise.
14724         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14725         (_FP_FRAC_SRL_8): Likewise.
14726         (_FP_FRAC_SRS_8): Likewise.
14728         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14729         include macro name.
14730         (FP_UNPACK_RAW_EP): Likewise.
14731         (FP_PACK_RAW_E): Likewise.
14732         (FP_PACK_RAW_EP): Likewise.
14733         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14734         (_FP_ISSIGNAN): Likewise.
14735         (_FP_ADD_INTERNAL): Likewise.
14736         (_FP_FMA): Likewise.
14737         (_FP_CMP): Likewise.
14738         (_FP_SQRT): Likewise.
14739         (_FP_TO_INT): Likewise.
14740         (_FP_FROM_INT): Likewise.
14741         (FP_EXTEND): Likewise.
14742         (_FP_DIV_MEAT_N_loop): Likewise.
14744 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14746         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14747         throughout.
14749 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14751         [BZ #17097]
14752         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14753         result with correct sign in case of exponents that produce
14754         overflow except for X very close to 1.
14756 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14758         mktime: merge #if/#ifdef usage from glibc
14759         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14760         as that works with both Glibc's and Gnulib's style.
14761         See thread starting at Siddhesh Poyarekar's bug report at:
14762         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14764 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14766         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14767         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14768         * sysdeps/tile/tilegx/memmove.c: Remove file.
14770 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14772         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14773         abi-name definition.
14774         * scripts/soversions.awk: Do not handle or generate ABI lines.
14775         * shlib-versions: Remove ABI entries.
14776         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14777         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14779 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14782         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14783         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14784         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14786         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14787         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14788         Moved ...
14789         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14790         ... here.
14791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14792         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14793         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14794         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14796         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14797         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14798         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14799         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14800         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14802         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14804         Moved ...
14805         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14807         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14809         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14811         Moved ...
14812         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14814         Moved ...
14815         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14817         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14819         Moved ...
14820         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14822         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14824         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14826         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14828         Moved ...
14829         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14831         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14832         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14833         Moved ...
14834         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14835         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14836         Moved ...
14837         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14838         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14839         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14840         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14841         Moved ...
14842         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14843         ... here.
14844         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14845         Identical file removed.
14846         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14847         Moved ...
14848         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14849         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14850         Identical file removed.
14851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14852         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14854         Moved ...
14855         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14856         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14857         Identical file removed.
14858         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14859         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14861         Identical file removed.
14862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14863         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14865         Identical file removed.
14866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14867         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14868         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14869         Identical file removed.
14870         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14871         Moved ...
14872         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14873         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14874         Identical file removed.
14875         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14876         Moved ...
14877         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14879         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14880         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14881         Identical file removed.
14882         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14883         Moved ...
14884         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14885         ... here.
14886         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14887         Identical file removed.
14888         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14889         Moved ...
14890         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14891         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14892         Identical file removed.
14893         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14894         Moved ...
14895         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14896         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14897         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14898         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14899         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14900         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14901         Moved ...
14902         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14903         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14904         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14906         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14907         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14908         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14909         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14910         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14912 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14914         [BZ #17092]
14915         * nscd/nscd.c (monitor_child): Return exit status of child
14916         instead of return value from wait syscall.
14918 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14920         * configure.ac (libc_commonpagesize): Remove variable.
14921         (libc_relro_required): Likewise.
14922         (libc_cv_z_relro): Remove configure test.
14923         * configure: Regenerated.
14924         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14925         variable.
14926         (libc_relro_required): Likewise.
14927         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14928         (libc_relro_required): Likewise.
14929         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14930         (libc_relro_required): Likewise.
14931         * sysdeps/arm/preconfigure: Regenerated.
14932         * sysdeps/ia64/preconfigure: Remove file.
14933         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14934         variable.
14935         (libc_relro_required): Likewise.
14937         [BZ #16561]
14938         [BZ #16562]
14939         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14940         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14941         recompute overflowing results in original rounding mode.
14942         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14943         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14944         recompute overflowing results in original rounding mode.
14945         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14946         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14947         recompute overflowing results in original rounding mode.
14948         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14949         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14950         recompute overflowing results in original rounding mode.
14951         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14952         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14953         recompute overflowing results in original rounding mode.
14954         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14955         (libc_feholdsetround_ctx): New macro.
14956         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14957         * sysdeps/i386/fpu/libm-test-ulps: Update.
14958         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14960 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14962         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14963         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14964         corresponding .cpsetup call.
14966 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14968         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14969         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14970         * sysdeps/arm/Makefile [$(subdir) = csu]
14971         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14972         (static-only-routines): Add aeabi_read_tp here.
14973         (shared-only-routines): Add libc-aeabi_read_tp here.
14974         (CFLAGS-libc-start.c): Add -fexceptions here.
14975         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14976         (sysdep_routines, static-only-routines, shared-only-routines):
14977         Don't add to these here.
14978         (CFLAGS-libc-start.c): Likewise.
14980         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14981         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14982         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14983         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14984         * sysdeps/arm/Makefile [$(subdir) = rt]
14985         (librt-sysdep_routines, librt-shared-only-routines):
14986         Append rt-aeabi_unwind_cpp_pr1 here.
14987         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14988         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14989         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14990         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14991         Append nptl-aeabi_unwind_cpp_pr1 here.
14992         (tests): Filter out tst-cleanupx4 here.
14993         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14994         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14995         Don't do those here.
14997 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14999         * scripts/list-sources.sh: Do not handle ports specially.
15001 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15003         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15004         * sysdeps/arm/feupdateenv.c: Likewise.
15006         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15008 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15010         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15011         trailing whitespace removed.
15012         * scripts/config.guess: Update to version 2014-03-23.
15013         * scripts/config.sub: Update to version 2014-05-01
15014         * scripts/install-sh: Update to version 2013-12-25.23.
15015         * scripts/move-if-change: Update from gnulib.
15017 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15019         * debug/memmove_chk.c: Remove pagecopy.h include.
15021 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15023         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15024         identical to gnulib mktime.
15026 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15028         * configure.ac: Do not test for machine being rs6000.  Do not test
15029         for powerpc*-*soft.
15030         * configure: Regenerated.
15032         [BZ #11505]
15033         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15034         test.
15035         * configure: Regenerated.
15036         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15037         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15038         Remove configure test.
15039         * sysdeps/arm/configure: Regenerated.
15040         * sysdeps/nptl/configure.ac: Do not check
15041         libc_cv_asm_cfi_directives.
15042         * sysdeps/nptl/configure: Regenerated.
15043         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15044         * sysdeps/x86_64/nptl/configure: Remove generated file.
15045         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15046         unconditional.
15047         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15049 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15051         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15052         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15053         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15054         it is defined.
15056         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15057         instead of whether it is defined.
15058         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15059         * sysdeps/hppa/dl-machine.h: Likewise.
15060         * sysdeps/ia64/dl-machine.h: Likewise.
15061         * sysdeps/m68k/dl-machine.h: Likewise.
15062         * sysdeps/microblaze/dl-machine.h: Likewise.
15063         * sysdeps/mips/dl-machine.: Likewise.
15064         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15065         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15066         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15067         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15068         * sysdeps/sh/dl-machine.h: Likewise.
15069         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15070         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15071         * sysdeps/tile/dl-machine.h: Likewise.
15072         * sysdeps/x86_64/dl-machine.h: Likewise.
15074         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15075         code.
15076         (verify_persistent_db): Likewise.
15078 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15081         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15083         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15085         Moved ...
15086         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15087         ... here.
15088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15089         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15091         Identical file removed.
15092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15093         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15095         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15097         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15099         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15101         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15103         Moved ...
15104         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15106         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15108         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15110         Moved ...
15111         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15113         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15115         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15117         Identical file removed.
15118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15119         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15121         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15123         Moved ...
15124         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15125         ... here.
15126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15127         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15129         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15131         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15133         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15135         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15137         Moved ...
15138         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15140         Moved ...
15141         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15143         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15145         Moved ...
15146         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15148         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15150         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15151         folded into ...
15152         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15153         * sysdeps/unix/sysv/linux/s390/Versions
15154         (libpthread: GLIBC_2.19): New version set.
15155         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15156         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15157         (librt: GLIBC_2.3.3): New version set.
15158         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15159         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15160         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15161         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15162         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15163         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15164         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15165         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15166         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15167         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15168         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15169         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15170         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15171         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15172         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15173         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15174         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15175         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15176         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15177         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15178         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15179         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15180         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15181         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15182         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15183         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15184         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15185         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15186         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15187         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15188         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15189         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15190         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15191         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15192         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15193         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15194         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15195         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15196         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15197         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15198         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15200         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15201         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15202         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15204         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15205         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15206         (__libc_vfork): Define the function under this name.
15207         [!NOT_IN_libc] (__vfork): Make this an alias.
15208         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15209         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15210         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15211         (__libc_vfork): Define the function under this name.
15212         [!NOT_IN_libc] (__vfork): Make this an alias.
15213         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15214         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15215         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15216         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15217         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15218         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15220         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15221         code that was previously under [RESET_PID].
15222         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15223         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15224         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15226         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15227         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15228         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15229         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15230         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15231         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15232         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15233         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15234         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15235         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15236         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15237         Moved ...
15238         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15239         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15240         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15241         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15242         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15243         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15244         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15245         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15246         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15247         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15248         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15249         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15250         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15251         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15252         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15253         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15254         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15255         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15256         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15257         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15258         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15259         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15260         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15261         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15262         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15263         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15264         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15265         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15266         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15268 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15270         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15271         that was previously under [RESET_PID].
15272         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15274 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15276         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15277         not undefine and redefine.
15278         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15279         [O_CLOEXEC]: Make code unconditional.
15280         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15281         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15282         <kernel-features.h>.
15283         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15284         conditional variable definition.
15285         (shm_open) [O_CLOEXEC]: Make code unconditional.
15286         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15287         code.
15289         * configure.ac (USE_REGPARMS): Don't define here.
15290         * configure: Regenerated.
15291         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15292         * sysdeps/i386/configure: Regenerated.
15294         * nptl/createthread.c: Don't include kernel-features.h.
15295         * nptl/pthread_cancel.c: Likewise.
15296         * nptl/pthread_condattr_setclock.c: Likewise.
15297         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15298         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15299         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15300         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15301         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15302         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15303         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15306         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15307         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15308         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15309         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15310         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15311         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15312         * nscd/gai.c: Likewise.
15313         * nss/nss_db/db-open.c: Likewise.
15314         * sysdeps/generic/ldsodefs.h: Likewise.
15315         * sysdeps/sh/nptl/tls.h: Likewise.
15316         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15317         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15318         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15319         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15320         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15321         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15322         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15323         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15324         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15325         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15326         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15327         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15328         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15329         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15330         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15331         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15332         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15333         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15334         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15335         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15336         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15337         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15338         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15339         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15341         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15342         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15343         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15344         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15345         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15346         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15347         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15348         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15349         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15350         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15351         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15352         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15353         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15354         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15355         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15356         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15357         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15358         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15359         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15360         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15361         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15362         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15363         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15364         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15365         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15366         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15367         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15368         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15369         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15370         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15371         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15372         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15373         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15396         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15397         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15398         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15399         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15400         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15401         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15402         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15403         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15404         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15405         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15406         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15407         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15408         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15409         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15410         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15411         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15412         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15413         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15414         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15415         * sysdeps/unix/sysv/linux/system.c: Likewise.
15416         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15417         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15418         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15419         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15420         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15421         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15422         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15424         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15425         * configure: Regenerated.
15426         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15428         * configure.ac (base_machine): Do not set specially for particular
15429         machines here.
15430         * configure: Regenerated.
15431         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15432         settings from configure.ac.
15433         * sysdeps/i386/preconfigure: New file.
15434         * sysdeps/s390/preconfigure: Likewise.
15435         * sysdeps/sh/preconfigure: Likewise.
15436         * sysdeps/sparc/preconfigure: Likewise.
15438 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15440         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15441         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15442         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15443         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15444         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15445         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15446         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15447         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15448         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15449         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15450         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15451         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15452         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15453         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15454         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15455         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15456         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15457         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15458         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15460         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15461         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15462         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15463         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15464         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15465         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15466         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15467         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15468         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15469         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15470         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15471         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15472         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15473         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15474         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15475         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15476         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15477         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15478         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15479         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15480         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15481         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15482         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15483         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15484         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15485         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15486         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15487         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15488         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15489         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15490         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15491         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15492         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15493         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15494         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15495         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15496         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15497         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15500         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15502         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15504         Moved ...
15505         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15506         ... here.
15507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15508         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15510         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15512         Moved ...
15513         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15515         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15517         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15519         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15521         Moved ...
15522         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15524         Moved ...
15525         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15527         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15529         Moved ...
15530         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15532         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15534         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15536         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15538         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15540         Moved ...
15541         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15542         ... here.
15543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15544         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15546         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15548         Moved ...
15549         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15551         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15553         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15555         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15557         Moved ...
15558         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15560         Moved ...
15561         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15563         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15565         Moved ...
15566         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15568         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15570         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15572 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15574         * timezone/checktab.awk: Update from tzcode 2014e.
15575         * timezone/private.h: Likewise.
15576         * timezone/tzfile.h: Likewise.
15577         * timezone/zdump.c: Likewise.
15578         * timezone/zic.c: Likewise.
15580         * sysdeps/unix/sysv/linux/kernel-features.h
15581         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15582         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15583         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15584         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15585         Remove conditional code.
15587 2014-06-25  Will Newton  <will.newton@linaro.org>
15589         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15590         (_dl_arm_cap_flags): Add HWCAP2 values.
15591         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15592         (_DL_HWCAP_COUNT): Increase to 37.
15593         (_DL_HWCAP_LAST): New define.
15594         (_DL_HWCAP2_LAST): New define.
15595         (_dl_procinfo): Add support for printing
15596         AT_HWCAP2 entries.
15597         (_dl_string_hwcap): Use _dl_hwcap_string.
15599 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15603 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15605         * README: Do not mention ports directory.
15607         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15608         Remove macro.
15609         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15610         <kernel-features.h>.
15611         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15612         conditional variable definition.
15613         (__futimes): Update comment.
15614         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15615         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15617         [BZ #16560]
15618         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15619         arguments close to 0.
15620         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15621         Likewise.
15622         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15623         Likewise.
15624         * math/auto-libm-test-in: Add more tests of exp10.
15625         * math/auto-libm-test-out: Regenerated.
15626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15628         * sysdeps/unix/sysv/linux/kernel-features.h
15629         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15630         * sysdeps/unix/sysv/linux/readv.c: Do not include
15631         <kernel-features.h>.
15632         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15633         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15634         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15635         unconditional.
15636         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15637         conditional code.
15638         * sysdeps/unix/sysv/linux/writev.c: Do not include
15639         <kernel-features.h>.
15640         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15641         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15642         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15643         unconditional.
15644         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15645         conditional code.
15647 2014-06-25  Will Newton  <will.newton@linaro.org>
15649         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15650         comment changes throughout the file.  Remove checks
15651         for HAVE_*_H definitions that are not required.
15652         (__gen_tempname): Call abort if an unknown kind value is
15653         passed.
15655 2014-06-25  Andreas Schwab  <schwab@suse.de>
15657         [BZ #17086]
15658         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15659         scalbln, scalblnf, scalblnl in libc.
15661 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15663         [BZ #17086]
15664         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15665         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15666         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15668 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15670         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15671         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15672         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15673         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15674         Update #include.
15675         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15676         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15677         Update #include.
15678         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15679         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15680         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15681         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15682         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15683         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15684         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15685         * sysdeps/x86/bits/semaphore.h: ... here.
15686         * sysdeps/x86/nptl/elide.h: Moved ...
15687         * sysdeps/x86/elide.h: ... here.
15688         * sysdeps/x86_64/nptl/Implies: File removed.
15689         * sysdeps/i386/nptl/Implies: File removed.
15691 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15693         [BZ #16539]
15694         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15695         return the argument for normal arguments with exponent below -64.
15696         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15697         Likewise.
15698         * math/auto-libm-test-in: Add another test of expm1.
15699         * math/auto-libm-test-out: Regenerated.
15701         [BZ #16287]
15702         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15703         calling __erfcl for arguments at least 16.
15704         * math/auto-libm-test-in: Add more tests of erf.
15705         * math/auto-libm-test-out: Regenerated.
15707         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15708         individual architectures.
15709         * sysdeps/unix/sysv/linux/configure: Regenerated.
15710         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15711         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15712         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15713         (ldd_rewrite_script): Define variable.
15714         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15716         file.
15717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15718         generated file.
15719         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15720         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15721         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15722         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15723         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15724         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15725         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15726         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15728 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15730         [BZ #17084]
15731         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15732         Rename member __data.d to __data.__elision_data.
15734 2014-06-24  Wilco  <wdijkstr@arm.com>
15736         * NEWS: Add 16918 to fixed bug list.
15738 2014-06-24  Wilco  <wdijkstr@arm.com>
15740         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15742 2014-06-24  Wilco  <wdijkstr@arm.com>
15744         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15745         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15746         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15747         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15748         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15749         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15750         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15751         Use _FPU_MASK_RM.
15753 2014-06-24  Wilco  <wdijkstr@arm.com>
15755         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15757 2014-06-24  Wilco  <wdijkstr@arm.com>
15759         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15760         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15761         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15762         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15764 2014-06-24  Wilco  <wdijkstr@arm.com>
15766         [BZ #16918]
15767         * sysdeps/arm/feupdateenv.c (feupdateenv):
15768         Rewrite to reduce FPSCR accesses and fix return value.
15770 2014-06-24  Wilco  <wdijkstr@arm.com>
15772         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15773         Optimize to avoid unnecessary FPSCR writes.
15774         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15775         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15776         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15777         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15779 2014-06-24  Wilco  <wdijkstr@arm.com>
15781         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15782         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15783         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15784         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15785         Call libc_fetestexcept_vfp.
15786         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15787         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15788         __SOFTFP__ ifdef so that they can be built for softfp.
15790 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15792         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15793         argument type signed char.
15795         * Makerules (check-abi): Dump diff of symlist if the test
15796         fails.
15798 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15800         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15801         using abort.
15803         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15804         Remove unused variable ST.
15806 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15808         [BZ #16354]
15809         [BZ #17061]
15810         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15811         small arguments before calling __expm1.
15812         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15813         small arguments before calling __expm1f.
15814         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15815         small arguments before calling __expm1l.
15816         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15817         Likewise.
15818         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15819         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15820         spurious underflow for some cosh tests.
15821         * math/auto-libm-test-out: Regenerated.
15822         * sysdeps/i386/fpu/libm-test-ulps: Update.
15824         [BZ #17050]
15825         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15826         (__ieee754_y1): Set errno if return value overflows.
15827         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15828         (__ieee754_y1f): Set errno if return value overflows.
15829         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15830         (__ieee754_y1l): Set errno if return value overflows.
15831         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15832         (__ieee754_y1l): Set errno if return value overflows.
15833         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15834         * math/auto-libm-test-out: Regenerated.
15836         * math/gen-auto-libm-tests.c: Document use of
15837         ignore-zero-inf-sign.
15838         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15839         (input_flags): Add ignore-zero-inf-sign.
15840         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15841         * math/gen-libm-test.pl (generate_testfile): Handle
15842         ignore-zero-inf-sign.
15843         * math/auto-libm-test-in: Mark some cpow tests with
15844         ignore-zero-inf-sign and some with xfail-rounding.
15845         * math/auto-libm-test-out: Regenerated.
15846         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15847         * sysdeps/i386/fpu/libm-test-ulps: Update.
15848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15850         [BZ #16315]
15851         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15852         overflowing or underflowing operations take place with sign of
15853         result.
15854         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15855         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15856         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15857         (__ieee754_pow): Recompute overflowing and underflowing results in
15858         original rounding mode.
15859         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15860         (__powl_helper): Allow negative argument X and scale negated value
15861         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15862         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15863         overflowing or underflowing operations take place with sign of
15864         result.
15865         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15866         Include <math.h>.
15867         * math/auto-libm-test-in: Add more tests of pow.
15868         * math/auto-libm-test-out: Regenerated.
15869         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15870         (pow_tonearest_test_data): Remove.
15871         (pow_test_tonearest): Likewise.
15872         (pow_towardzero_test_data): Likewise.
15873         (pow_test_towardzero): Likewise.
15874         (pow_downward_test_data): Likewise.
15875         (pow_test_downward): Likewise.
15876         (pow_upward_test_data): Likewise.
15877         (pow_test_upward): Likewise.
15878         (main): Don't call removed functions.
15879         * sysdeps/i386/fpu/libm-test-ulps: Update.
15880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15882 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15885         Moved ...
15886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15888         Moved ...
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15891         Moved ...
15892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15894         Moved ...
15895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15897         File removed.
15898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15899         File removed.
15900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15901         File removed.
15902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15903         File removed.
15904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15905         File removed.
15906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15907         File removed.
15908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15909         File removed.
15910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15911         File removed.
15912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15913         File removed.
15914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15915         File removed.
15916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15917         File removed.
15918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15919         File removed.
15920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15921         Moved ...
15922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15924         Moved ...
15925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15926         ... here.
15927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15928         Moved ...
15929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15931         Moved ...
15932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15934         Moved ...
15935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15937         Moved ...
15938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15940         Moved ...
15941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15943         Moved ...
15944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15946         Moved ...
15947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15950         ... here.
15951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15952         Moved ...
15953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15955         Moved ...
15956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15957         ... here.
15958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15959         Moved ...
15960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15961         ... here.
15962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15963         Moved ...
15964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15965         ... here.
15966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15967         Moved ...
15968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15970         Moved ...
15971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15975         Moved ...
15976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15977         ... here.
15978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15979         Moved ...
15980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15981         ... here.
15982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15983         Moved ...
15984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15986         Moved ...
15987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15989         Moved ...
15990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15992         Moved ...
15993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15995         Moved ...
15996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15997         ... here.
15998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15999         Moved ...
16000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16002         Moved ...
16003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16005         Moved ...
16006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16008         Moved ...
16009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16013         Moved ...
16014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16016         Moved ...
16017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16019         Moved ...
16020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16021         ... here.
16022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16023         Moved ...
16024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16025         ... here.
16026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16027         Moved ...
16028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16029         ... here.
16030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16031         Moved ...
16032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16034         Moved ...
16035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16037         Moved ...
16038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16040         Moved ...
16041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16042         ... here.
16043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16044         Moved ...
16045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16046         ... here.
16047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16048         Moved ...
16049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16050         ... here.
16051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16052         Moved ...
16053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16055         Moved ...
16056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16058 2014-06-23  Will Newton  <will.newton@linaro.org>
16059             Wilco  <wdijkstr@arm.com>
16061         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16062         implementation.  Include get-rounding-mode.h.
16063         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16064         [!libc_feholdsetround_noex_ctx]: Define
16065         libc_feholdsetround_noex_ctx.
16066         [!libc_feholdsetround_noexf_ctx]: Define
16067         libc_feholdsetround_noexf_ctx.
16068         [!libc_feholdsetround_noexl_ctx]: Define
16069         libc_feholdsetround_noexl_ctx.
16070         (libc_feholdsetround_ctx): New function.
16071         (libc_feresetround_ctx): New function.
16072         (libc_feholdsetround_noex_ctx): New function.
16073         (libc_feresetround_noex_ctx): New function.
16075 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16077         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16078         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16079         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16080         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16081         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16082         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16084         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16085         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16086         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16087         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16088         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16089         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16090         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16091         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16092         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16093         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16094         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16095         Moved ...
16096         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16097         ... here.
16098         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16099         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16100         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16101         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16103         Moved ...
16104         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16106         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16107         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16108         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16109         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16110         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16111         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16112         Moved ...
16113         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16114         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16115         Moved ...
16116         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16117         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16118         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16119         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16120         Moved ...
16121         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16122         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16123         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16124         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16125         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16126         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16127         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16128         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16129         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16130         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16131         Moved ...
16132         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16133         ... here.
16134         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16135         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16136         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16137         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16138         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16139         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16140         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16141         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16142         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16143         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16144         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16145         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16146         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16147         Moved ...
16148         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16149         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16150         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16151         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16152         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16153         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16154         Moved ...
16155         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16156         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16157         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16158         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16159         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16161         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16162         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16163         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16164         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16165         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16166         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16167         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16168         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16169         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16170         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16171         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16172         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16173         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16174         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16175         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16176         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16177         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16178         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16179         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16180         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16181         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16182         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16183         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16184         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16185         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16186         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16187         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16188         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16190 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16192         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16193         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16194         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16195         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16196         (IPV6_PMTUDISC_INTERFACE): Likewise.
16197         (IPV6_PMTUDISC_OMIT): Likewise.
16199 2014-06-23  Andreas Schwab  <schwab@suse.de>
16201         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16202         Remove unused errout label.
16204 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16206         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16207         macro: hardware supports Vector Crypto instructions.
16209 2014-06-23  Will Newton  <will.newton@linaro.org>
16211         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16212         rather than __builtin_expect.
16214         * elf/dl-lookup.c (undefined_msg): Remove variable.
16215         (_dl_lookup_symbol_x): Replace undefined_msg with string
16216         literal.
16218         * elf/dl-lookup.c (do_lookup_unique): New function.
16219         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16220         to a separate function.
16222 2014-06-23  Andreas Schwab  <schwab@suse.de>
16224         [BZ #17079]
16225         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16226         before reading the next line.
16228 2014-06-23  Will Newton  <will.newton@linaro.org>
16230         * test-skeleton.c (signal_handler): Use printf and %m
16231         rather than perror.  Use printf rather than fprintf to
16232         stderr.  Use puts rather than fputs to stderr.
16233         (main): Likewise.
16235 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16237         * nscd/nscd.c (thread_info_t): Remove typedef.
16238         (thread_info): Remove variable.
16240 2014-06-21  Allan McRae  <allan@archlinux.org>
16242         * NEWS: Mention CVE-2014-4043.
16244 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16246         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16247         * nptl/smp.h: ... here.
16249         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16251         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16252         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16253         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16254         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16256         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16257         * nptl/stack-aliasing.h: New file.
16258         * sysdeps/i386/i686/stack-aliasing.h: New file.
16259         * sysdeps/i386/i686/nptl/Makefile: File removed.
16260         * sysdeps/x86_64/stack-aliasing.h: New file.
16261         * sysdeps/x86_64/nptl/Makefile
16262         (CFLAGS-pthread_create.c): Variable removed.
16264         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16265         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16266         old file.
16267         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16268         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16269         old file.
16271 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16273         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16274         (__ASSUME_SIGFRAME_V2): Remove macro.
16275         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16276         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16277         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16278         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16279         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16280         Declare as function.  Remove conditional macro definitions.
16281         (__default_rt_sa_restorer): Likewise.
16282         (__default_sa_restorer_v1): Remove declaration.
16283         (__default_sa_restorer_v2): Likewise.
16284         (__default_rt_sa_restorer_v1): Likewise.
16285         (__default_rt_sa_restorer_v2): Likewise.
16286         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16287         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16288         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16290 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16292         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16293         (libpthread-routines): Add sysdep.
16294         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16295         * sysdeps/unix/sysv/linux/sparc/Versions
16296         (libpthread: GLIBC_2.3.3): New version set.
16297         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16298         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16299         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16300         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16301         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16302         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16303         Moved ...
16304         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16305         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16306         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16307         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16308         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16309         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16310         * sysdeps/sparc/nptl/sem_init.c: ... here.
16311         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16312         * sysdeps/sparc/nptl/sem_post.c: ... here.
16313         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16314         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16315         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16316         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16317         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16318         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16319         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16320         (libpthread-routines): Add cpu_relax.
16321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16322         File removed.
16323         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16324         (librt: GLIBC_2.3.3): New version set.
16325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16326         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16327         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16328         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16331         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16333         Moved ...
16334         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16336         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16338         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16340         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16342         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16344         Moved ...
16345         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16346         Update #include.
16347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16348         Moved ...
16349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16350         Update #include.
16351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16352         Moved ...
16353         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16354         Update #include.
16355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16356         Moved ...
16357         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16358         Update #include.
16359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16360         Moved ...
16361         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16362         Update #include.
16363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16364         Moved ...
16365         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16366         Update #include.
16367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16368         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16370         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16372         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16374         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16376         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16378         Moved ...
16379         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16381         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16383         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16385 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16387         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16388         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16389         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16390         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16391         * nscd/nscd.c: Likewise.
16392         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16393         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16394         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16395         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16397         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16398         <kernel-features.h>.
16399         (init_mq_netlink): Remove conditional have_sock_cloexec
16400         definitions.  Remove code conditional on have_sock_cloexec < 0.
16401         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16402         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16403         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16404         <kernel-features.h>.
16405         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16406         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16408 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16410         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16411         Add tests for memset_chk and memset.
16413         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16414         with AVX2_Usable.
16416 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16418         [BZ #16046]
16419         * elf/tst-dl-iter-static.c: New file.
16420         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16422         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16423         error.
16425 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16427         * sysdeps/unix/sysv/linux/kernel-features.h
16428         (__ASSUME_F_GETOWN_EX): Remove macro.
16429         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16430         <kernel-features.h>.
16431         (miss_F_GETOWN_EX): Remove variable or macro.
16432         (do_fcntl): Do not check miss_F_GETOWN_EX.
16433         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16435         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16436         Remove macro.
16437         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16438         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16439         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16441         * sysdeps/unix/sysv/linux/kernel-features.h
16442         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16443         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16444         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16445         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16447 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16449         [BZ #17075]
16450         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16451         Fix calculation of the symbol's value.
16452         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16453         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16454         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16455         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16456         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16457         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16458         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16459         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16460         (modules-names): Add `tst-armtlsdescmod',
16461         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16462         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16463         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16464         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16465         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16466         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16467         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16468         ($(objpfx)tst-armtlsdescloc): New dependency.
16469         ($(objpfx)tst-armtlsdescextnow): Likewise.
16470         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16471         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16472         TLS scheme support.
16473         * sysdeps/arm/configure: Regenerate.
16475 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16477         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16478         (__atfct_seterrno_2): Likewise.
16479         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16480         <kernel-features.h>.
16481         (__ASSUME_ATFCTS): Do not undefine and redefine.
16482         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16483         (__have_atfcts): Remove conditional definition.
16484         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16485         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16486         unreachable if [__ASSUME_ATFCTS].
16487         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16488         not undefine and redefine.
16489         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16490         <kernel-features.h>.
16491         (faccessat) [__NR_faccessat]: Make code unconditional.
16492         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16493         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16494         <kernel-features.h>.
16495         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16496         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16497         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16498         <kernel-features.h>.
16499         (fchownat) [__NR_fchownat]: Make code unconditional.
16500         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16501         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16502         <kernel-features.h>.
16503         (futimesat) [__NR_futimesat]: Make code unconditional.
16504         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16505         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16506         <kernel-features.h>.
16507         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16508         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16509         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16510         <kernel-features.h>.
16511         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16512         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16513         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16514         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16515         <kernel-features.h>.
16516         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16517         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16518         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16519         <kernel-features.h>.
16520         (linkat) [__NR_linkat]: Make code unconditional.
16521         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16522         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16523         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16524         <kernel-features.h>.
16525         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16526         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16527         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16528         <kernel-features.h>.
16529         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16530         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16531         * sysdeps/unix/sysv/linux/openat.c: Do not include
16532         <kernel-features.h>.
16533         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16534         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16535         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16536         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16537         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16538         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16539         <kernel-features.h>.
16540         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16541         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16542         result of INLINE_SYSCALL directly, not via int variable.
16543         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16544         <kernel-features.h>.
16545         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16546         (renameat) [__NR_renameat]: Make code unconditional.
16547         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16548         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16549         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16550         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16551         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16552         (__ASSUME_ATFCTS): Do not undefine and redefine.
16553         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16554         <kernel-features.h>.
16555         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16556         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16557         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16558         <kernel-features.h>.
16559         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16560         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16561         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16562         (__ASSUME_ATFCTS): Do not undefine and redefine.
16563         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16564         <kernel-features.h>.
16565         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16566         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16567         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16568         <kernel-features.h>.
16569         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16570         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16572 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16574         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16576 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16578         [BZ #17069]
16579         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16580         constructed tree before returning error.
16581         * posix/bug-regexp36.c: Expand test case.
16583 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16585         [BZ #6803]
16586         * math/libm-test.inc (scalbln_test_date):
16587         Add errno expectations.
16588         * math/w_scalblnf.c: New File.
16589         Add wrapper which checks for setting errno to ERANGE.
16590         Add weak_alias for corresponding scalbln function.
16591         * math/w_scalbln.c: Likewise.
16592         * math/w_scalblnl.c: Likewise.
16593         * math/Makefile (libm-calls): Add w_scalbln.
16594         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16595         Remove weak_alias for corresponding scalbln function.
16596         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16597         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16598         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16599         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16600         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16601         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16602         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16603         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16604         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16605         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16606         Remove long_double_symbol for scalblnl function in libm, libc.
16607         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16608         Add wrapper which checks for setting errno to ERANGE.
16609         Add long_double_symbol for scalblnl function in libm, libc.
16610         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16611         Remove long_double_symbol for scalblnl in libm.
16612         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16613         Add wrapper which checks for setting errno to ERANGE.
16614         Add long_double_symbol for scalblnl function in libm.
16615         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16616         Do not use wrapper because of own implementation.
16618 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16620         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16621         3 bytes for __pad1 for x32.
16622         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16624 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16625             H.J. Lu  <hongjiu.lu@intel.com>
16627         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16628         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16629         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16630         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16631         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16633 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16635         [BZ #17069]
16636         * posix/regcomp.c (parse_expression): Deallocate partially
16637         constructed tree before returning error.
16638         * posix/Makefile.c (tests): Add bug-regex36.
16639         (generated): Add bug-regex36.mtrace.
16640         (tests-special): Add $(objpfx)bug-regex36-mem.out
16641         (bug-regex36-ENV): New variable.
16642         ($(objpfx)bug-regex36-mem.out): New rule.
16643         * posix/bug-regex36.c: New file.
16645 2014-06-19  Will Newton  <will.newton@linaro.org>
16647         * malloc/malloc.c (systrim): If extra is zero then return
16648         early.
16650 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16652         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16654 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16656         * sysdeps/aarch64/strchr.S: New file.
16658 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16660         [BZ #17022]
16661         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16662         from arguments -2 or below.
16663         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16664         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16666 2014-06-18  Andreas Schwab  <schwab@suse.de>
16668         [BZ #17062]
16669         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16670         of a bracket expr not to run off the end of the string.
16671         * posix/Makefile (tests): Add tst-fnmatch3.
16672         * posix/tst-fnmatch3.c: New file.
16674 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16676         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16677         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16678         [$(cross-compiling) = no]: Likewise.
16679         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16680         [$(cross-compiling) = no]: Likewise.
16682 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16684         [BZ #17031]
16685         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16686         double, adjusted for any remainder from the high double.
16687         * math/libm-test.inc (nearbyint): Add tests.
16688         (rint): Likewise.
16690 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16692         * nptl/sysdeps/powerpc/Makefile: Moved ...
16693         * sysdeps/powerpc/nptl/Makefile: ... here.
16694         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16695         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16696         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16697         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16698         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16699         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16700         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16701         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16702         * nptl/sysdeps/powerpc/tls.h: Moved ...
16703         * sysdeps/powerpc/nptl/tls.h: ... here.
16705 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16707         [BZ #16681]
16708         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16709         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16710         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16711         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16712         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16713         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16714         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16715         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16716         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16718 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16720         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16722 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16724         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16725         defined operator.
16727         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16728         $TIMEOUTFACTOR.
16730 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16732         [BZ #17058]
16733         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16734         non-executed part of the test.
16736 2014-06-16  Andreas Schwab  <schwab@suse.de>
16738         * string/bits/string2.h (strdup, strndup): Update feature guard.
16740 2014-06-14  David S. Miller  <davem@davemloft.net>
16742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16744 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16746         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16747         that was previously under [RESET_PID].
16748         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16750         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16751         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16752         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16753         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16754         (__libc_vfork): New strong alias.
16755         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16757 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16759         * sysdeps/generic/elide.h: New file.
16761 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16763         * Makefile (installed-headers): Adjust path of pthread.h header.
16765 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16767         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16768         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16769         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16770         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16772         * nptl/sysdeps/s390/Makefile: Moved ...
16773         * sysdeps/s390/nptl/Makefile: ... here.
16774         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16775         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16776         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16777         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16778         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16779         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16780         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16781         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16782         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16783         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16784         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16785         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16786         * nptl/sysdeps/s390/tls.h: Moved ...
16787         * sysdeps/s390/nptl/tls.h: ... here.
16789         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16790         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16792 2014-06-13  David S. Miller  <davem@davemloft.net>
16794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16797         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16801         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16802         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16803         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16804         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16805         Remove RESET_PID cpp guards.
16806         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16807         Remove RESET_PID cpp guards.
16808         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16810 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16812         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16813         __sp to uintptr_t.
16815 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16817         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16818         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16819         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16820         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16821         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16822         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16823         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16824         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16825         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16826         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16827         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16828         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16829         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16830         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16831         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16832         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16833         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16834         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16835         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16836         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16838         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16839         (pthread_rwlock_rdlock): Add elision.
16840         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16841         (pthread_rwlock_wrlock): Add elision.
16842         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16843         (pthread_rwlock_trywrlock): Add elision.
16844         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16845         (pthread_rwlock_tryrdlock): Add elision.
16846         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16847         (pthread_rwlock_tryrdlock): Add elision unlock.
16848         * nptl/sysdeps/pthread/pthread.h:
16849         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16850         (PTHREAD_RWLOCK_INITIALIZER,
16851         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16852         Handle new elision field.
16853         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16854         * sysdeps/arm/nptl/bits/pthreadtypes.h
16855         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16856         * sysdeps/sh/nptl/bits/pthreadtypes.h
16857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16858         * sysdeps/tile/nptl/bits/pthreadtypes.h
16859         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16860         * sysdeps/a/nptl/bits/pthreadtypes.h
16861         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16862         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16863         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16864         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16865         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16866         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16867         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16868         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16869         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16870         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16871         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16872         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16874         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16875         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16876         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16877         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16878         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16879         (elision_init): Set try_xbegin to zero when no RTM.
16880         * sysdeps/x86/nptl/bits/pthreadtypes.h
16881         (pthread_rwlock_t): Change __pad1 to __rwelision.
16882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16884 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16886         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16887         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16888         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16889         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16891 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16893         [BZ #16996]
16894         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16895         that the cached result has been set before returning it.
16897 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16899         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16900         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16901         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16902         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16903         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16904         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16906         * nptl/sysdeps/sparc/Makefile: Moved ...
16907         * sysdeps/sparc/nptl/Makefile: ... here.
16908         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16909         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16910         * nptl/sysdeps/sparc/tls.h: Moved ...
16911         * sysdeps/sparc/nptl/tls.h: ... here.
16912         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16913         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16914         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16915         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16916         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16917         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16918         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16919         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16920         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16921         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16922         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16923         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16924         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16925         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16926         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16927         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16928         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16929         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16930         Update #include.
16931         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16932         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16933         Update #include.
16934         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16935         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16936         Update #include.
16937         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16938         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16939         Update #include.
16941         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16943         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16944         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16946         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16947         (struct list_links): Type removed.
16948         (struct thread_node, struct timer_node): Replace struct list_links
16949         with struct list_head.
16950         (list_unlink_ip): Likewise.
16951         * sysdeps/pthread/timer_routines.c
16952         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16953         (list_append, list_insbefore): Likewise.
16954         (list_init): Function removed.
16955         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16956         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16957         * sysdeps/pthread/Makefile: ... here, new file.
16959         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16960         * sysdeps/nptl/Implies: ... here.
16961         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16962         * nptl/sysdeps/pthread/list.h: Moved ...
16963         * include/list.h: ... here.
16964         * nptl/sysdeps/pthread/createthread.c: Moved ...
16965         * nptl/createthread.c: ... here.
16966         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16967         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16968         * nptl/pt-longjmp.c: ... here.
16969         * nptl/sysdeps/pthread/Makefile: Moved ...
16970         * sysdeps/nptl/Makefile: ... here.
16971         * nptl/sysdeps/pthread/Subdirs: Moved ...
16972         * sysdeps/nptl/Subdirs: ... here.
16973         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16974         * sysdeps/nptl/aio_misc.h: ... here.
16975         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16976         * sysdeps/nptl/bits/libc-lock.h: ... here.
16977         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16978         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16979         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16980         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16981         * nptl/sysdeps/pthread/configure: Moved ...
16982         * sysdeps/nptl/configure: ... here.
16983         * nptl/sysdeps/pthread/configure.ac: Moved ...
16984         * sysdeps/nptl/configure.ac: ... here.
16985         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16986         * sysdeps/nptl/gai_misc.h: ... here.
16987         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16988         * sysdeps/nptl/librt-cancellation.c: ... here.
16989         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16990         * sysdeps/nptl/malloc-machine.h: ... here.
16991         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16992         * sysdeps/nptl/pthread-functions.h: ... here.
16993         * nptl/sysdeps/pthread/pthread.h: Moved ...
16994         * sysdeps/nptl/pthread.h: ... here.
16995         * nptl/sysdeps/pthread/setxid.h: Moved ...
16996         * sysdeps/nptl/setxid.h: ... here.
16997         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16998         * sysdeps/nptl/sigfillset.c: ... here.
16999         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17000         * sysdeps/nptl/tcb-offsets.h: ... here.
17001         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17002         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17003         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17004         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17005         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17006         * sysdeps/pthread/allocalim.h: ... here.
17007         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17008         * sysdeps/pthread/bits/sigthread.h: ... here.
17009         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17010         * sysdeps/pthread/flockfile.c: ... here.
17011         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17012         * sysdeps/pthread/ftrylockfile.c: ... here.
17013         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17014         * sysdeps/pthread/funlockfile.c: ... here.
17015         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17016         * sysdeps/pthread/posix-timer.h: ... here.
17017         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17018         * sysdeps/pthread/timer_create.c: ... here.
17019         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17020         * sysdeps/pthread/timer_delete.c: ... here.
17021         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17022         * sysdeps/pthread/timer_getoverr.c: ... here.
17023         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17024         * sysdeps/pthread/timer_gettime.c: ... here.
17025         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17026         * sysdeps/pthread/timer_routines.c: ... here.
17027         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17028         * sysdeps/pthread/timer_settime.c: ... here.
17029         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17030         * sysdeps/pthread/tst-timer.c: ... here.
17031         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17032         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17034         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17035         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17037         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17038         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17039         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17040         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17041         Update #include target.
17042         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17043         * sysdeps/i386/i686/nptl/Makefile: ... here.
17044         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17045         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17046         Update #include target.
17047         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17048         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17049         * nptl/sysdeps/i386/Makefile: Moved ...
17050         * sysdeps/i386/nptl/Makefile: ... here.
17051         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17052         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17053         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17054         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17055         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17056         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17057         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17058         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17059         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17060         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17061         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17062         * nptl/sysdeps/i386/tls.h: Moved ...
17063         * sysdeps/i386/nptl/tls.h: ... here.
17065         * sysdeps/sh/Makefile [$(subdir) = csu]
17066         (gen-as-const-headers): Add tcb-offsets.sym.
17067         * nptl/sysdeps/sh/Makefile: File removed.
17068         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17069         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17070         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17071         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17072         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17073         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17074         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17075         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17076         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17077         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17078         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17079         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17080         * nptl/sysdeps/sh/tls.h: Moved ...
17081         * sysdeps/sh/nptl/tls.h: ... here.
17082         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17083         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17084         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17085         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17086         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17087         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17088         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17089         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17090         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17091         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17092         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17093         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17094         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17095         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17096         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17097         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17098         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17099         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17100         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17101         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17102         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17103         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17104         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17105         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17106         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17107         Moved ...
17108         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17109         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17110         Moved ...
17111         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17112         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17113         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17114         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17115         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17116         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17117         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17118         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17119         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17120         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17121         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17122         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17123         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17124         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17125         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17126         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17127         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17128         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17129         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17131 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17133         * posix/spawn_faction_addopen.c: Include string.h.
17135 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17137         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17138         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17139         * nptl/sysdeps/x86_64/Makefile: Moved ...
17140         * sysdeps/x86_64/nptl/Makefile: ... here.
17141         * nptl/sysdeps/x86_64/configure: Moved ...
17142         * sysdeps/x86_64/nptl/configure: ... here.
17143         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17144         * sysdeps/x86_64/nptl/configure.ac: ... here.
17145         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17146         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17147         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17148         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17149         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17150         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17151         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17152         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17153         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17154         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17155         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17156         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17157         * nptl/sysdeps/x86_64/tls.h: Moved ...
17158         * sysdeps/x86_64/nptl/tls.h: ... here.
17159         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17160         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17161         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17162         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17164         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17166 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17170 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17172         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17173         type.
17174         [POSIX] (off_t): Likewise.
17175         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17176         [POSIX] (S_ISBLK): Require macro.
17177         [POSIX] (S_ISCHR): Likewise.
17178         [POSIX] (S_ISDIR): Likewise.
17179         [POSIX] (S_ISFIFO): Likewise.
17180         [POSIX] (S_ISREG): Likewise.
17181         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17182         optional-macro.
17183         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17184         type.
17185         [POSIX] (time_t): Likewise.
17186         [POSIX] (timer_t): Likewise.
17188 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17190         [BZ #17048]
17191         * posix/spawn_int.h (struct __spawn_action): Make the path string
17192         non-const to support deallocation.
17193         * posix/spawn_faction_addopen.c
17194         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17195         * posix/spawn_faction_destroy.c
17196         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17197         path in all spawn_do_open actions.
17198         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17199         posix_spawn_file_actions_addopen.
17201 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17203         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17204         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17205         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17206         conditional code always true.
17207         (__libc_vfork): New alias.
17209 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17211         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17212         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17214         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17216         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17217         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17219         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17220         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17222         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17223         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17225 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17227         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17228         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17229         multiarch strcmp for PPC64.
17230         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17231         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17233         multiarch optimizations.
17234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17235         (__libc_ifunc_impl_list): Likewise.
17237 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17239         * benchtests/scripts/validate_benchout.py: New script.
17240         * benchtests/Makefile (bench-func): Call it.
17241         * benchtests/scripts/benchout.schema.json: New file.
17243 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17245         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17246         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17247         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17248         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17249         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17250         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17251         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17252         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17253         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17254         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17255         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17256         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17257         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17258         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17259         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17260         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17262         Moved ...
17263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17264         ... here.
17265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17266         Moved ...
17267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17269         Moved ...
17270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17271         ... here.
17272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17273         Moved ...
17274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17275         ... here.
17276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17277         Moved ...
17278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17280         Moved ...
17281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17282         ... here.
17283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17284         Moved ...
17285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17286         ... here.
17287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17288         Moved ...
17289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17291         Moved ...
17292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17293         ... here.
17294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17295         Moved ...
17296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17297         ... here.
17298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17299         Moved ...
17300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17301         ... here.
17302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17303         Moved ...
17304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17306         Moved ...
17307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17308         ... here.
17309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17310         Moved ...
17311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17312         ... here.
17313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17314         Moved ...
17315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17316         ... here.
17317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17318         Moved ...
17319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17321         Moved ...
17322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17323         ... here.
17324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17325         Moved ...
17326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17327         ... here.
17328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17329         Moved ...
17330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17332         Moved ...
17333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17334         ... here.
17335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17336         Moved ...
17337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17339         Moved ...
17340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17342         Moved ...
17343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17344         ... here.
17345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17346         Moved ...
17347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17348         ... here.
17349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17350         Moved ...
17351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17352         ... here.
17353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17354         Moved ...
17355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17357         Moved ...
17358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17359         ... here.
17360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17361         Moved ...
17362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17363         ... here.
17364         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17365         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17366         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17367         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17368         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17369         Moved ...
17370         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17371         ... here.
17372         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17373         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17374         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17375         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17376         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17377         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17379         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17380         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17381         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17382         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17383         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17384         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17385         Moved ...
17386         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17387         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17388         Moved ...
17389         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17390         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17391         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17392         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17393         Moved ...
17394         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17395         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17396         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17397         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17398         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17399         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17400         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17402 2014-06-10  Wilco  <wdijkstr@arm.com>
17404         * math/test-fenv-return.c: New file.
17405         * math/Makefile: Add new test test-fenv-return.
17407 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17409         [BZ #17042]
17410         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17411         when x - 1 is zero.
17412         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17413         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17414         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17415         0.0L for an argument of 1.0L.
17416         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17417         Likewise.
17418         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17419         value when x - 1 is zero.
17420         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17421         * sysdeps/i386/fpu/libm-test-ulps: Update.
17422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17424 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17426         [BZ #15119]
17427         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17429 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17431         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17432         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17434 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17436         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17437         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17439         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17440         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17442         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17443         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17445         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17446         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17448         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17449         if not already defined.
17450         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17451         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17452         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17453         (TLS_INIT_TP): Use it.
17454         (TLS_DEFINE_INIT_TP): New macro.
17455         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17457 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17459         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17460         constant.
17461         [POSIX] (IXANY): Likewise.
17462         [POSIX] (OLCUC): Likewise.
17463         [POSIX || POSIX2008] (CBAUD): Do not allow.
17464         [POSIX || POSIX2008] (DEFECHO): Likewise.
17465         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17466         [POSIX || POSIX2008] (ECHOKE): Likewise.
17467         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17468         [POSIX || POSIX2008] (EXTA): Likewise.
17469         [POSIX || POSIX2008] (EXTB): Likewise.
17470         [POSIX || POSIX2008] (FLUSHO): Likewise.
17471         [POSIX || POSIX2008] (LOBLK): Likewise.
17472         [POSIX || POSIX2008] (PENDIN): Likewise.
17473         [POSIX || POSIX2008] (SWTCH): Likewise.
17474         [POSIX || POSIX2008] (VDISCARD): Likewise.
17475         [POSIX || POSIX2008] (VDSUSP): Likewise.
17476         [POSIX || POSIX2008] (VLNEXT): Likewise.
17477         [POSIX || POSIX2008] (VREPRINT): Likewise.
17478         [POSIX || POSIX2008] (VSTATUS): Likewise.
17479         [POSIX || POSIX2008] (VWERASE): Likewise.
17480         (B*): Change to B[0123456789]*.
17481         * conform/data/time.h-data [POSIX || UNIX98]
17482         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17483         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17484         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17485         [POSIX] (tm_*): Do not allow.
17487 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17489         * Makefile (install): Don't set LANGUAGE.
17490         * Makefile.in (install): Likewise.
17491         * assert/Makefile (test-assert-ENV): Remove variable.
17492         (test-assert-perr-ENV): Likewise.
17493         * elf/Makefile (neededtest4-ENV): Likewise.
17494         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17495         [$(cross-compiling) = no]: Don't set LANGUAGE.
17496         * io/ftwtest-sh (LANG): Remove variable.
17497         * libio/Makefile (tst-widetext-ENV): Likewise.
17498         * manual/install.texi (Running make install): Don't refer to
17499         environment settings for make install.
17500         * INSTALL: Regenerated.
17501         * nptl/tst-tls6.sh: Don't set LANG.
17502         * posix/globtest.sh (LANG): Remove variable.
17503         * string/Makefile (tester-ENV): Likewise.
17504         (inl-tester-ENV): Likewise.
17505         (noinl-tester-ENV): Likewise.
17506         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17507         [$(cross-compiling) = no]: Don't set LANGUAGE.
17508         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17509         without explicit environment settings.
17511 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17513         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17514         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17515         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17516         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17518 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17520         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17521         other files in the crypt directory.
17522         * crypt/crypt.c: Remove duplicate includes.
17523         * crypt/crypt-entry.c: Likewise.
17524         * crypt/crypt_util.c: Likewise.
17526 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17528         * Makeconfig (run-program-env): New variable.
17529         (run-program-prefix-before-env): Likewise.
17530         (run-program-prefix-after-env): Likewise.
17531         (run-program-prefix): Define in terms of new variables.
17532         (built-program-cmd-before-env): New variable.
17533         (built-program-cmd-after-env): Likewise.
17534         (built-program-cmd): Define in terms of new variables.
17535         (test-program-prefix-before-env): New variable.
17536         (test-program-prefix-after-env): Likewise.
17537         (test-program-prefix): Define in terms of new variables.
17538         (test-program-cmd-before-env): New variable.
17539         (test-program-cmd-after-env): Likewise.
17540         (test-program-cmd): Define in terms of new variables.
17541         * Rules (make-test-out): Use $(run-program-env).
17542         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17543         (help): Do not mention environment variables.  Mention
17544         --timeoutfactor option.
17545         (timeoutfactor): New variable.
17546         (blacklist_exports): Remove function.
17547         (exports): Remove variable.
17548         (command): Do not include ${exports}.
17549         * manual/install.texi (Configuring and compiling): Do not mention
17550         test wrappers preserving environment variables.  Mention that last
17551         assignment to a variable must take precedence.
17552         * INSTALL: Regenerated.
17553         * benchtests/Makefile (run-bench): Use $(run-program-env).
17554         * catgets/Makefile ($(objpfx)test1.cat): Use
17555         $(built-program-cmd-before-env), $(run-program-env) and
17556         $(built-program-cmd-after-env).
17557         ($(objpfx)test2.cat): Do not specify environment variables
17558         explicitly.
17559         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17560         $(run-program-env) and $(built-program-cmd-after-env).
17561         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17562         $(run-program-env) and $(test-program-cmd-after-env).
17563         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17564         explicitly.
17565         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17566         run_program_env and test_program_cmd_after_env arguments.
17567         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17568         * elf/tst-pathopt.sh: Use run_program_env argument.
17569         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17570         $(test-wrapper-env) and $(run-program-env).
17571         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17572         run_program_env arguments.
17573         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17574         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17575         $(test-program-prefix-before-env), $(run-program-env) and
17576         $(test-program-prefix-after-env).
17577         ($(objpfx)tst-gettext2.out): Likewise.
17578         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17579         run_program_env and test_program_prefix_after_env arguments.
17580         * intl/tst-gettext2.sh: Likewise.
17581         * intl/tst-gettext4.sh: Do not set environment variables
17582         explicitly.
17583         * intl/tst-gettext6.sh: Likewise.
17584         * intl/tst-translit.sh: Likewise.
17585         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17586         $(test-program-prefix-before-env), $(run-program-env) and
17587         $(test-program-prefix-after-env).
17588         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17589         run_program_env and test_program_prefix_after_env arguments.
17590         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17591         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17592         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17593         explicitly with each use of ${test_wrapper_env}.
17594         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17595         $(test-program-prefix-before-env), $(run-program-env) and
17596         $(test-program-prefix-after-env).
17597         * posix/tst-getconf.sh: Do not set environment variables
17598         explicitly.
17599         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17600         run_program_env and test_program_prefix_after_env arguments.
17601         * stdio-common/tst-printf.sh: Do not set environment variables
17602         explicitly.
17603         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17604         $(test-program-prefix-before-env), $(run-program-env) and
17605         $(test-program-prefix-after-env).
17606         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17607         run_program_env and test_program_prefix_after_env arguments.
17608         Split $test calls into $test_pre and $test.
17609         * timezone/Makefile (build-testdata): Use
17610         $(built-program-cmd-before-env), $(run-program-env) and
17611         $(built-program-cmd-after-env).
17613 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17615         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17616         strlen for non SHARED builds.
17618 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17620         * nptl/allocatestack.c (check_list): Inlined function...
17621         (__reclaim_stacks): ... here.
17623 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17625         [BZ #15698]
17626         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17627         memory overrun.
17629 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17631         * Rules (make-test-out): Include
17632         LOCPATH=$(common-objpfx)localedata in default environment.
17633         * debug/Makefile (tst-chk1-ENV): Remove variable.
17634         (tst-chk2-ENV): Likewise.
17635         (tst-chk3-ENV): Likewise.
17636         (tst-chk4-ENV): Likewise.
17637         (tst-chk5-ENV): Likewise.
17638         (tst-chk6-ENV): Likewise.
17639         (tst-lfschk1-ENV): Likewise.
17640         (tst-lfschk2-ENV): Likewise.
17641         (tst-lfschk3-ENV): Likewise.
17642         (tst-lfschk4-ENV): Likewise.
17643         (tst-lfschk5-ENV): Likewise.
17644         (tst-lfschk6-ENV): Likewise.
17645         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17646         (tst-iconv7-ENV): Likewise.
17647         * intl/Makefile (LOCPATH-ENV): Likewise.
17648         (tst-codeset-ENV): Likewise.
17649         (tst-gettext3-ENV): Likewise.
17650         (tst-gettext5-ENV): Likewise.
17651         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17652         (tst-fopenloc-ENV): Likewise.
17653         (tst-fgetws-ENV): Remove variable.
17654         (tst-ungetwc1-ENV): Likewise.
17655         (tst-ungetwc2-ENV): Likewise.
17656         (bug-ungetwc2-ENV): Likewise.
17657         (tst-swscanf-ENV): Likewise.
17658         (bug-ftell-ENV): Likewise.
17659         (tst-fgetwc-ENV): Likewise.
17660         (tst-fseek-ENV): Likewise.
17661         (tst-ftell-partial-wide-ENV): Likewise.
17662         (tst-ftell-active-handler-ENV): Likewise.
17663         (tst-ftell-append-ENV): Likewise.
17664         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17665         (tst-regexloc-ENV): Likewise.
17666         (bug-regex1-ENV): Likewise.
17667         (tst-regex-ENV): Likewise.
17668         (tst-regex2-ENV): Likewise.
17669         (bug-regex5-ENV): Likewise.
17670         (bug-regex6-ENV): Likewise.
17671         (bug-regex17-ENV): Likewise.
17672         (bug-regex18-ENV): Likewise.
17673         (bug-regex19-ENV): Likewise.
17674         (bug-regex20-ENV): Likewise.
17675         (bug-regex22-ENV): Likewise.
17676         (bug-regex23-ENV): Likewise.
17677         (bug-regex25-ENV): Likewise.
17678         (bug-regex26-ENV): Likewise.
17679         (bug-regex30-ENV): Likewise.
17680         (bug-regex32-ENV): Likewise.
17681         (bug-regex33-ENV): Likewise.
17682         (bug-regex34-ENV): Likewise.
17683         (bug-regex35-ENV): Likewise.
17684         (tst-rxspencer-ENV): Likewise.
17685         (tst-rxspencer-no-utf8-ENV): Likewise.
17686         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17687         (tst-sscanf-ENV): Likewise.
17688         (tst-swprintf-ENV): Likewise.
17689         (tst-swscanf-ENV): Likewise.
17690         (test-vfprintf-ENV): Likewise.
17691         (scanf13-ENV): Likewise.
17692         (bug14-ENV): Likewise.
17693         (tst-grouping-ENV): Likewise.
17694         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17695         (tst-strtod3-ENV): Likewise.
17696         (tst-strtod4-ENV): Likewise.
17697         (tst-strtod5-ENV): Likewise.
17698         (testmb2-ENV): Likewise./
17699         * string/Makefile (tst-strxfrm-ENV): Likewise.
17700         (tst-strxfrm2-ENV): Likewise.
17701         (bug-strcoll1-ENV): Likewise.
17702         (test-strcasecmp-ENV): Likewise.
17703         (test-strncasecmp-ENV): Likewise.
17704         * time/Makefile (tst-strptime-ENV): Likewise.
17705         (tst-ftime_l-ENV): Likewise.
17706         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17707         (tst-mbrtowc-ENV): Likewise.
17708         (tst-wcrtomb-ENV): Likewise.
17709         (tst-mbrtowc2-ENV): Likewise.
17710         (tst-c16c32-1-ENV): Likewise.
17711         (tst-mbsnrtowcs-ENV): Likewise.
17713 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17715         * manual/resource.texi (How to get information about the memory
17716         subsystem?): Fix typo.
17717         Reported by Peon de la Parra Ivan <peon@keba.com>
17719 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17721         [BZ #16882]
17722         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17723         (pthread_spin_lock): Branch out of spin loop to proper location.
17724         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17725         (pthread_spin_lock): Likewise.
17727         * nptl/tst-spin4.c: New test.
17728         * nptl/Makefile (tests): Add tst-spin4.
17730 2014-06-03  Andreas Schwab  <schwab@suse.de>
17732         [BZ #15946]
17733         * resolv/res_send.c (send_dg): Reload file descriptor after
17734         calling reopen.
17736 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17738         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17740 2014-06-03  Richard Henderson  <rth@redhat.com>
17742         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17743         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17744         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17745         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17746         in the SAVE_PID block.
17747         (__libc_vfork): New alias.
17748         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17750         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17751         child in registers, not on the stack.  Remove RESET_PID conditionals.
17752         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17754 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17756         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17758 2014-06-03  Wilco  <wdijkstr@arm.com>
17760         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17761         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17762         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17763         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17764         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17765         Likewise.
17767 2014-06-03  Wilco  <wdijkstr@arm.com>
17769         * sysdeps/aarch64/fpu/math_private.h
17770         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17771         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17772         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17773         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17774         Fix declarations.
17776 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17778         * crypt/crypt-private.h: Include ufc-crypt.h.
17779         (__b64_from_24bit): Declare extern.
17780         * crypt/crypt_util.c(__b64_from_24bit): New function.
17781         (b64t): New static const variable.
17782         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17783         (b64t): Remove variable.
17784         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17785         * crypt/sha256-crypt.c: Include crypt-private.h.
17786         (b64t): Remove variable.
17787         (__sha256_crypt_r): Remove b64_from_24bit and replace
17788         with __b64_from_24bit.
17789         * crypt/sha512-crypt.c: Likewise.
17791 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17793         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17794         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17795         Label the code __libc_vfork rather than __vfork.
17796         [!NOT_IN_libc] (vfork): Define as weak alias.
17797         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17798         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17799         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17801 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17803         * malloc/malloc.c (malloc_info): Fix format specifier for
17804         n_mmaps.
17806 2014-06-02  Wilco  <wdijkstr@arm.com>
17808         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17809         FPCR write.
17811 2014-06-02  Wilco  <wdijkstr@arm.com>
17813         [BZ #17009]
17814         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17815         Rewrite to reduce FPCR/FPSR accesses.
17817 2014-06-01  David S. Miller  <davem@davemloft.net>
17819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17821 2014-05-31  David S. Miller  <davem@davemloft.net>
17823         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17824         to occur in round to nearest mode when |x| >= 2.0
17826 2014-05-30  Richard Henderson  <rth@twiddle.net>
17828         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17829         (PSEUDO_RET_NOERRNO): Remove.
17830         (ret): Don't redefine.
17831         (ret_NOERRNO): Define in terms of ret.
17832         (ret_ERRVAL): Likewise.
17834         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17835         use of PSEUDO_RET; perform the error check directly.
17837 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17839         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17840         with __int128_t.
17842 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17844         * malloc/malloc (malloc_info): Fix formatting.
17846 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17847             Roland McGrath  <roland@hack.frob.com>
17849         * malloc/malloc (malloc_info): Also print mmapped statistics.
17851 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17853         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17854         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17856 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17858         * malloc/malloc.c (malloc_info): Inline mi_arena.
17860 2014-05-29  Richard Henderson  <rth@twiddle.net>
17862         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17863         Remove comma before expanding ASM_ARGS_##nr.
17864         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17865         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17866         of ASM_ARGS_##nr.
17867         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17868         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17869         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17870         (ASM_ARGS_1): Add leading comma.
17872         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17873         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17874         to __errno_location.
17875         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17876         Remove the expected plt for __errno_location.
17878         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17879         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17880         call to __read_tp.
17882         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17883         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17884         it and break it down.
17885         (DOCARGS_0, DOCARGS_1): Do nothing.
17886         (DOCARGS_2): Update to store into the new stack frame.
17887         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17888         (UNDOCARGS_1): Update to restore from the new stack frame.
17889         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17890         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17892         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17893         (SINGLE_THREAD_P): New parameter for result regno.
17894         (PSEUDO): Update to match; use cbz instead of beq.
17896         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17897         Use ENTRY to define the _nocancel entry point.  Share the syscall
17898         and syscall error check paths with the cancel path.
17899         (PSEUDO_END): New.
17901         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17902         whitespace; tabs before and after asm mnemonics.
17904 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17906         [BZ #15132]
17907         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17908         Call fstat64 or stat64 internally, depending on arguments passed.
17909         Replace stat buffer argument with file descriptor argument.
17910         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17911         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17912         Pass fd to __internal_statvfs instead of calling fstat64.
17913         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17914         Pass fd to __internal_statvfs64 instead of calling fstat64.
17915         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17916         Pass -1 to __internal_statvfs instead of calling stat64.
17917         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17918         Pass -1 to __internal_statvfs64 instead of calling stat64.
17920 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17922         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17923         that was previously under [RESET_PID].
17924         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17926         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17927         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17929 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17931         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17933         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17934         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17936 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17938         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17940 2014-05-27  Andreas Schwab  <schwab@suse.de>
17942         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17943         TLS_INIT_TP macro.
17944         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17945         * elf/rtld.c (init_tls, dl_main): Likewise.
17946         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17947         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17948         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17949         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17950         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17951         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17952         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17953         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17954         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17955         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17956         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17957         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17958         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17959         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17960         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17961         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17962         * sysdeps/generic/tls.h: Update description.
17964 2014-05-27  Will Newton  <will.newton@linaro.org>
17966         [BZ #16990]
17967         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17968         and restore r2 rather than just restoring.
17970 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17972         [BZ #16724]
17973         * libio/tst-ftell-append.c: New test case.
17974         * libio/Makefile (tests): Add test case.
17975         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17976         append mode.
17977         * libio/wfileops.c (do_ftell_wide): Likewise.
17979 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17983         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17984         ...
17985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17987         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17988         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17989         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17990         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17991         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17992         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17993         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17994         Moved ...
17995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17997         Moved ...
17998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17999         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18000         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18001         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18002         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18003         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18004         ...
18005         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18006         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18007         Moved ...
18008         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18009         here.
18010         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18011         ...
18012         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18013         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18014         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18016         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18017         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18018         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18019         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18022         merge into ...
18023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18024         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18025         ...
18026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18027         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18028         ...
18029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18030         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18031         Moved ...
18032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18033         here.
18034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18035         Moved ...
18036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18038         Moved ...
18039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18042         conditional [RESET_PID].
18043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18044         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18045         removed.
18046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18047         removed.
18049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18050         <tcb-offsets.h>.
18051         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18052         (__libc_vfork): New strong alias.
18053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18054         removed.
18055         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18056         Removed.
18058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18059         <tcb-offsets.h>.
18060         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18061         (__libc_vfork): New strong alias.
18062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18063         removed.
18064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18065         removed.
18067 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18069         * malloc/malloc.c (mi_arena): New function.
18070         (malloc_info): Remove nested function mi_arena. Call non-nosted
18071         function mi_arena.
18073 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18075         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18076         by insrwi.
18077         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18078         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18079         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18080         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18081         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18082         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18083         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18085 2014-05-26  Andreas Schwab  <schwab@suse.de>
18087         [BZ #16984]
18088         * locale/programs/repertoire.c (repertoire_read): Add slash
18089         between I18NPATH element and file name.
18090         * locale/programs/locfile.c (locfile_read): Likewise.
18092 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18094         * nptl/pthread_mutexattr_settype.c
18095         (__pthread_mutexattr_settype):
18096         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18098 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18100         * nptl/tst-mutex5 (do_test):
18101         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18103 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18105         * benchtests/README: Document 'init' directive.
18106         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18107         BENCH_INIT.
18108         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18109         (parse_file): Recognize 'init' directive.
18111 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18113         [BZ #16796]
18114         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18115         alignment of struct pthread.
18117 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18119         [BZ #16878]
18120         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18121         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18122         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18123         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18125 2014-05-25  Richard Henderson  <rth@twiddle.net>
18127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18128         (SINGLE_THREAD_P_PIC): Remove.
18129         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18130         (SINGLE_THREAD_P_PIC): Remove.
18132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18133         branch to syscall error ...
18134         (PSEUDO): ... here.
18135         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18136         from __local_syscall_error to .Lsyscall_error.
18137         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18138         (SYSCALL_ERROR): Update label name.
18140         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18141         Do not use DOARGS/UNDOARGS.
18142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18143         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18144         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18145         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18146         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18148         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18149         block comment.
18151         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18152         define if !NOT_IN_libc.
18153         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18154         define with non-default symbol versions.
18156 2014-05-23  Richard Henderson  <rth@twiddle.net>
18158         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18159         (vfork, __vfork): Define via compat_symbol.
18161         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18162         [!HAVE_IFUNC] (vfork_compat): Remove.
18163         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18165 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18167         [BZ #16978]
18168         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18169         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18170         variable.
18172 2014-05-23  Richard Henderson  <rth@twiddle.net>
18174         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18175         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18176         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18177         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18179         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18180         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18181         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18182         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18183         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18184         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18185         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18186         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18187         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18188         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18189         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18190         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18191         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18192         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18193         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18194         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18195         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18196         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18197         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18198         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18199         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18200         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18201         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18202         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18203         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18204         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18205         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18206         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18207         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18208         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18209         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18210         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18211         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18212         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18213         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18214         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18215         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18216         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18217         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18218         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18219         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18220         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18221         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18222         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18223         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18224         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18225         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18226         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18227         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18228         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18229         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18230         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18231         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18232         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18233         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18234         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18236         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18237         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18238         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18239         before exiting on error.
18240         (__libc_vfork): New strong alias.
18241         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18242         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18244         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18245         that was previously under [RESET_PID].
18246         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18248         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18250 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18252         [BZ #16977]
18253         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18254         value when x - 1 is zero.
18255         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18256         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18257         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18258         0.0L for an argument of 1.0L.
18259         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18260         Likewise.
18261         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18262         value when x - 1 is zero.
18263         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18264         * sysdeps/i386/fpu/libm-test-ulps: Update.
18265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18267 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18269         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18270         alphasort and versionsort.
18272 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18274         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18275         macro.
18276         [copysignf]: Likewise.
18278 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18280         * crypt/md5-crypt.c: Fix formatting.
18282 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18284         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18285         (b64_from_24bit): New function.
18287 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18289         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18290         libc_hidden_builtin_def to ifunc.
18291         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18292         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18294 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18296         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18297         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18299 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18301         * nscd/Depend (linuxthreads): Remove.
18302         (nptl): Add.
18303         * resolv/Depend (linuxthreads): Remove.
18304         * rt/Depend (linuxthreads): Remove.
18306         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18307         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18308         $(common-objpfx)elf/.
18309         (link-libc-before-gnulib): Likewise.
18310         (elfobjdir): Remove variable.
18311         * Makefile (install): Use $(elf-objpfx) instead of
18312         $(common-objpfx)elf/.
18313         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18314         $(elfobjdir)/.
18315         (link-libc-deps): Likewise.
18316         ($(common-objpfx)libc.so): Likewise.
18317         ($(common-objpfx)linkobj/libc.so): Likewise.
18318         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18319         instead of $(common-objpfx)elf/.
18320         (symbolic-link-list): Likewise.
18321         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18322         [$(cross-compiling) = no]: Likewise.
18323         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18324         $(elfobjdir)/.
18325         (static-gnulib-arch): Likewise.
18326         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18327         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18328         $(common-objpfx)elf/.
18330 2014-05-21  Richard Henderson  <rth@redhat.com>
18332         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18333         (SINGLE_THREAD_P): Use the correct width load.  Fold
18334         into the ldr offset.
18336         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18337         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18339 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18341         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18342         (libgcc_s_resume): Use __attribute_used__.
18343         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18344         Likewise.
18346 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18348         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18349         optimization when used with float constants.
18351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18353 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18355         [BZ #16915]
18356         * locale/nl_langinfo_l.c: Make direct reference to every
18357         _nl_current_CATEGORY symbol.
18358         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18359         (tests-static): Add tst-langinfo-static.
18360         (tests-special): Add tst-langinfo-static.out.
18361         ($(objpfx)tst-langinfo.out): Redirect output.
18362         ($(objpfx)tst-langinfo-static.out): New.
18363         * localedata/tst-langinfo.sh: Send output to stdout.
18364         * localedata/tst-langinfo-static.c: New file.
18366         [BZ #16965]
18367         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18368         when the shift amount is modulo the limb size.
18370 2014-05-20  Richard Henderson  <rth@redhat.com>
18372         [BZ #16967]
18373         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18374         Change type of sa_flags from unsigned int to int.
18376         [BZ #16966]
18377         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18379         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18381 2014-05-20  Will Newton  <will.newton@linaro.org>
18383         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18384         Test the return value of the system call in the nocancel case.
18386 2014-05-20  Will Newton  <will.newton@linaro.org>
18387             Yvan Roux  <yvan.roux@linaro.org>
18389         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18390         #include of asm/ptrace.h.
18391         (PTRACE_GET_THREAD_AREA): Remove #undef.
18392         (PTRACE_GETHBPREGS): Likewise.
18393         (PTRACE_SETHBPREGS): Likewise.
18394         (struct user_regs_struct): New structure.
18395         (struct user_fpsimd_struct): New structure.
18396         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18397         #include of asm/ptrace.h and second #include of sys/user.h.
18398         (PTRACE_GET_THREAD_AREA): Remove #undef.
18399         (PTRACE_GETHBPREGS): Likewise.
18400         (PTRACE_SETHBPREGS): Likewise.
18401         (ELF_NGREG): Use new struct user_regs_struct.
18402         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18404 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18406         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18407         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18409 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18411         [BZ #16958]
18412         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18413         membar to avoid block loads/stores to overlap previous stores.
18415 2014-05-17  Richard Henderson  <rth@redhat.com>
18417         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18418         Create the __##syscall_name##_nocancel entry point.
18419         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18420         Remove; let the sysdep-cancel.h code create it.
18422 2014-05-17  David S. Miller  <davem@davemloft.net>
18424         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18425         Protect with __USE_GNU.
18426         (TIOCSET_TEMPT): Likewise.
18427         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18428         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18429         these are already provided in bits/ioctl-types.h
18431 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18433         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18434         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18436         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18437         Use wait4 regardless of [__NR_waitpid].
18439 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18441         PR libgcc/60166
18442         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18443         (_FP_NANSIGN_Q): Set the quiet bit.
18445 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18447         * benchtests/Makefile
18448         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18449         not $(common-objpfx)math/libm.so.
18450         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18451         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18452         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18453         $(common-objpfx)dlfcn/libdl.so.
18454         ($(objpfx)tst-audit8): Depend on $(libm), not
18455         $(common-objpfx)math/libm.so.
18456         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18457         not $(common-objpfx)dlfcn/libdl.so.
18458         * math/Makefile
18459         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18460         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18461         [$(build-shared) = yes].
18462         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18463         $(common-objpfx)nptl/libpthread.so.
18464         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18465         $(common-objpfx)math/libm.so$(libm.so-version) or
18466         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18467         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18468         $(common-objpfx)dlfcn/libdl.so.
18469         * setjmp/Makefile (link-libm): Remove variable.
18470         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18471         * stdio-common/Makefile (link-libm): Remove variable.
18472         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18473         * stdlib/Makefile (link-libm): Remove variable.
18474         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18475         ($(objpfx)tst-strtod-round): Likewise.
18476         ($(objpfx)tst-tininess): Likewise.
18477         ($(objpfx)tst-strtod-underflow): Likewise.
18478         ($(objpfx)tst-strtod6): Likewise.
18479         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18480         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18481         $(common-objpfx)dlfcn/libdl.so.
18483 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18485         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18486         BSD terminal modes definitions.
18488 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18490         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18491         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18493         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18494         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18495         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18496         Don't do #include_next.
18497         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18498         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18499         Don't do #include_next.
18500         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18501         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18502         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18503         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18505 2014-05-16  Allan McRae  <allan@archlinux.org>
18507         * po/sv.po: Update Swedish translation from translation project.
18509         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18510         in sed expression.
18512 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18514         [BZ #16917]
18515         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18516         errno if the TIOCGPTN ioctl fails with an error different than
18517         EINVAL.
18518         * login/tst-ptsname.c: New file.
18519         * login/Makefile (tests): Add tst-ptsname.
18521         [BZ #16943]
18522         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18523         and prlimit64.
18525 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18527         [BZ #16849]
18528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18529         herrno to return EAI_AGAIN.
18531 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18533         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18534         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18535         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18536         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18537         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18538         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18539         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18540         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18541         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18542         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18543         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18544         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18545         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18546         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18547         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18548         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18549         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18550         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18551         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18552         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18553         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18554         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18555         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18556         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18557         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18558         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18559         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18560         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18561         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18562         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18564         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18566         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18568         Moved ...
18569         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18571         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18573         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18575         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18577         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18579         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18581         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18583         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18585         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18587         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18589         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18591         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18593         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18595         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18597         Moved ...
18598         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18600         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18602         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18604         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18606         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18608         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18610         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18612         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18614         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18616         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18618         Moved ...
18619         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18621         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18623         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18624         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18625         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18626         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18627         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18628         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18629         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18630         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18631         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18632         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18633         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18634         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18635         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18636         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18637         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18638         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18639         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18640         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18641         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18642         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18643         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18644         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18645         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18646         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18647         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18648         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18649         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18650         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18651         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18652         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18653         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18655         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18656         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18658         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18659         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18660         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18661         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18662         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18663         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18664         Moved ...
18665         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18666         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18667         Moved ...
18668         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18669         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18670         Moved ...
18671         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18672         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18673         Moved ...
18674         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18675         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18676         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18677         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18678         Moved ...
18679         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18680         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18681         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18682         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18683         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18684         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18685         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18686         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18687         Moved ...
18688         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18689         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18690         Moved ...
18691         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18692         ... here.
18693         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18694         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18695         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18696         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18697         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18698         Moved ...
18699         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18700         ... here.
18701         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18702         Moved ...
18703         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18704         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18705         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18706         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18707         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18708         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18709         Moved ...
18710         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18711         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18712         Moved ...
18713         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18714         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18715         Moved ...
18716         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18717         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18718         Moved ...
18719         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18720         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18721         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18722         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18723         Moved ...
18724         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18725         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18726         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18727         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18728         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18729         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18730         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18731         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18732         Moved ...
18733         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18734         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18735         Moved ...
18736         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18737         ... here.
18738         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18739         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18740         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18741         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18742         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18743         Moved ...
18744         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18745         ... here.
18746         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18747         Moved ...
18748         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18749         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18750         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18751         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18752         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18753         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18754         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18755         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18756         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18757         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18758         Moved ...
18759         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18760         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18761         Moved ...
18762         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18763         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18764         Moved ...
18765         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18766         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18767         Moved ...
18768         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18769         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18770         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18771         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18772         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18773         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18774         Moved ...
18775         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18776         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18777         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18778         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18779         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18780         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18781         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18782         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18783         Moved ...
18784         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18785         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18786         Moved ...
18787         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18788         ... here.
18789         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18790         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18791         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18792         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18793         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18794         Moved ...
18795         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18796         ... here.
18797         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18798         Moved ...
18799         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18800         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18801         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18802         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18803         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18804         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18805         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18806         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18807         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18808         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18809         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18811         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18812         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18814         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18815         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18817         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18818         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18819         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18820         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18821         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18822         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18823         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18824         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18825         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18826         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18827         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18828         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18829         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18830         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18831         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18832         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18833         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18834         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18835         Moved ...
18836         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18837         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18838         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18840         Moved ...
18841         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18843         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18844         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18845         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18846         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18847         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18848         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18849         Moved ...
18850         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18851         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18852         Moved ...
18853         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18854         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18855         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18856         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18857         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18859         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18860         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18861         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18862         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18863         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18864         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18865         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18866         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18867         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18868         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18869         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18871         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18872         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18873         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18874         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18875         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18877         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18878         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18879         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18880         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18881         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18882         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18883         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18884         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18885         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18886         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18888         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18889         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18891         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18892         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18893         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18894         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18895         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18896         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18897         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18898         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18899         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18900         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18901         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18902         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18903         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18904         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18905         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18906         Update #include.
18907         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18908         Likewise.
18909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18910         Likewise.
18911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18912         Likewise.
18913         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18914         Likewise.
18915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18916         Likewise.
18917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18918         Likewise.
18919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18920         Likewise.
18921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18922         Likewise.
18923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18924         Likewise.
18925         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18926         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18929         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18930         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18931         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18932         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18933         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18934         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18935         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18936         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18937         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18938         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18941         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18942         that was previously under [RESET_PID].
18943         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18944         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18945         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18947         * sysdeps/i386/nptl/Implies: New file.
18948         * sysdeps/x86_64/nptl/Implies: New file.
18949         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18950         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18951         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18952         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18954         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18955         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18956         (__libc_vfork): New strong alias.
18957         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18958         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18960         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18961         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18962         (__libc_vfork): New strong alias.
18963         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18964         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18966         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18967         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18968         (__libc_vfork): New strong alias.
18969         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18970         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18971         * nptl/pt-vfork.c: New file.
18972         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18973         (libpthread: GLIBC_2.20): New version set (empty).
18975 2014-05-14  Will Newton  <will.newton@linaro.org>
18977         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18978         rather than #if.
18980 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18982         [BZ #16564]
18983         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18984         arguments with exponent 65 or above.
18985         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18986         arguments 0x1p113L or above.
18987         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18988         to arguments 0x1p107L or above.
18989         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18990         positive arguments with exponent 65 or above.
18991         * math/auto-libm-test-in: Add more tests of log1p.
18992         * math/auto-libm-test-out: Regenerated.
18994         [BZ #16928]
18995         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18996         non-finite arguments is +0.
18997         * math/s_cacosf.c (__cacosf): Likewise.
18998         * math/s_cacosl.c (__cacosl): Likewise.
18999         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19000         * sysdeps/i386/fpu/libm-test-ulps: Update.
19001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19003         [BZ #16927]
19004         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19005         value.
19006         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19007         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19008         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19009         for explicit high bit of mantissa when testing for argument equal
19010         to 1.
19011         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19012         * sysdeps/i386/fpu/libm-test-ulps: Update.
19013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19015         [BZ #16516]
19016         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19017         (__erf): Scale by 16 instead of 8 in potentially underflowing
19018         case.  Ensure exception if result actually underflows.
19019         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19020         (__erff): Scale by 16 instead of 8 in potentially underflowing
19021         case.  Ensure exception if result actually underflows.
19022         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19023         (efx8): Remove variable.
19024         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19025         case.  Ensure exception if result actually underflows.
19026         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19027         (efx8): Remove variable.
19028         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19029         case.  Ensure exception if result actually underflows.
19030         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19031         (efx8): Remove variable.
19032         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19033         case.  Ensure exception if result actually underflows.
19034         * math/auto-libm-test-in: Add more tests of erf.
19035         * math/auto-libm-test-out: Regenerated.
19037 2014-05-14  Andreas Schwab  <schwab@suse.de>
19039         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19040         Remove code conditionalized on USE___THREAD.
19042         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19043         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19044         not definedness.
19046 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19048         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19049         Define unconditionally.
19050         (__ASSUME_O_CLOEXEC): Likewise.
19051         (__ASSUME_SOCK_CLOEXEC): Likewise.
19052         (__ASSUME_IN_NONBLOCK): Likewise.
19053         (__ASSUME_PIPE2): Likewise.
19054         (__ASSUME_EVENTFD2): Likewise.
19055         (__ASSUME_SIGNALFD4): Likewise.
19056         (__ASSUME_DUP3): Likewise.
19057         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19058         (__ASSUME_DUP3): Do not define.
19059         (__ASSUME_EVENTFD2): Likewise.
19060         (__ASSUME_IN_NONBLOCK): Likewise.
19061         (__ASSUME_O_CLOEXEC): Likewise.
19062         (__ASSUME_PIPE2): Likewise.
19063         (__ASSUME_SIGNALFD4): Likewise.
19064         (__ASSUME_SOCK_CLOEXEC): Likewise.
19065         (__ASSUME_UTIMES): Undefine.
19066         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19067         (__ASSUME_UTIMES): Do not define.
19068         (__ASSUME_O_CLOEXEC): Likewise.
19069         (__ASSUME_SOCK_CLOEXEC): Likewise.
19070         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19071         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19072         0x020621].
19073         (__ASSUME_PIPE2): Likewise.
19074         (__ASSUME_EVENTFD2): Likewise.
19075         (__ASSUME_SIGNALFD4): Likewise.
19076         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19077         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19078         Do not define.
19079         (__ASSUME_EVENTFD2): Likewise.
19080         (__ASSUME_SIGNALFD4): Likewise.
19081         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19082         (__ASSUME_32BITUIDS): Likewise.
19083         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19084         (__ASSUME_IPC64): Likewise.
19085         (__ASSUME_ST_INO_64_BIT): Likewise.
19086         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19087         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19088         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19089         (__ASSUME_UTIMES): Do not define.
19090         (__ASSUME_PSELECT): Likewise.
19091         (__ASSUME_PPOLL): Likewise.
19092         (__ASSUME_O_CLOEXEC): Likewise.
19093         (__ASSUME_SOCK_CLOEXEC): Likewise.
19094         (__ASSUME_IN_NONBLOCK): Likewise.
19095         (__ASSUME_PIPE2): Likewise.
19096         (__ASSUME_EVENTFD2): Likewise.
19097         (__ASSUME_SIGNALFD4): Likewise.
19098         (__ASSUME_DUP3): Likewise.
19099         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19100         (__ASSUME_UTIMES): Likewise.
19101         (__ASSUME_O_CLOEXEC): Likewise.
19102         (__ASSUME_SOCK_CLOEXEC): Likewise.
19103         (__ASSUME_IN_NONBLOCK): Likewise.
19104         (__ASSUME_PIPE2): Likewise.
19105         (__ASSUME_EVENTFD2): Likewise.
19106         (__ASSUME_SIGNALFD4): Likewise.
19107         (__ASSUME_DUP3): Likewise.
19108         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19109         (__ASSUME_UTIMES): Likewise.
19110         (__ASSUME_O_CLOEXEC): Likewise.
19111         (__ASSUME_SOCK_CLOEXEC): Likewise.
19112         (__ASSUME_IN_NONBLOCK): Likewise.
19113         (__ASSUME_PIPE2): Likewise.
19114         (__ASSUME_EVENTFD2): Likewise.
19115         (__ASSUME_SIGNALFD4): Likewise.
19116         (__ASSUME_DUP3): Likewise.
19117         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19118         Likewise.
19119         (__ASSUME_UTIMES): Likewise.
19120         (__ASSUME_EVENTFD2): Likewise.
19121         (__ASSUME_SIGNALFD4): Likewise.
19122         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19123         (__ASSUME_O_CLOEXEC): Likewise.
19124         (__ASSUME_SOCK_CLOEXEC): Likewise.
19125         (__ASSUME_IN_NONBLOCK): Likewise.
19126         (__ASSUME_PIPE2): Likewise.
19127         (__ASSUME_EVENTFD2): Likewise.
19128         (__ASSUME_SIGNALFD4): Likewise.
19129         (__ASSUME_DUP3): Likewise.
19130         (__ASSUME_UTIMES): Undefine.
19132         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19133         feclearexcept.  Remove symbol versioning code.
19134         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19135         symbol versioning code.
19136         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19137         symbol versioning code.
19138         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19139         feupdateenv.  Remove symbol versioning code.
19140         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19141         fegetexceptflag.  Remove symbol versioning code.
19142         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19143         fesetexceptflag.  Remove symbol versioning code.
19144         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19145         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19146         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19147         (__posix_fadvise64_l32): Remove prototype.
19148         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19149         code.
19151 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19153         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19154         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19155         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19156         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19158 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19160         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19161         current working directory
19163 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19165         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19166         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19167         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19168         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19169         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19170         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19171         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19172         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19173         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19174         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19175         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19176         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19177         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19178         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19179         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19180         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19181         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19182         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19183         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19184         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19185         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19186         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19187         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19188         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19189         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19190         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19191         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19192         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19193         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19194         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19195         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19196         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19197         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19198         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19199         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19200         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19201         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19202         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19203         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19204         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19205         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19206         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19208         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19209         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19211         * sysdeps/unix/sysv/linux/arm/Makefile
19212         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19213         Add rt-aeabi_unwind_cpp_pr1.
19214         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19215         Add nptl-aeabi_unwind_cpp_pr1.
19216         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19217         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19218         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19219         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19220         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19221         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19223         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19224         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19225         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19226         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19228         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19229         Deconditionalize the code that was previously under [RESET_PID].
19230         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19232         * sysdeps/generic/exit-thread.h: New file.
19233         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19234         * include/unistd.h (__exit_thread): Remove declaration.
19235         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19236         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19237         * csu/libc-start.c: Include <exit-thread.h>.
19238         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19239         * nptl/pthread_create.c: Include <exit-thread.h>.
19240         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19241         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19242         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19243         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19244         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19245         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19246         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19247         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19248         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19249         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19250         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19251         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19252         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19253         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19254         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19255         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19256         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19258 2014-05-13  Andreas Schwab  <schwab@suse.de>
19260         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19262 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19264         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19265         (__ASSUME_UTIMES): Do not condition on kernel version.
19266         (__ASSUME_PSELECT): Define unconditionally.
19267         (__ASSUME_PPOLL): Likewise.
19268         (__ASSUME_ATFCTS): Likewise.
19269         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19270         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19271         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19272         (__ASSUME_UTIMENSAT): Define unconditionally.
19273         (__ASSUME_PRIVATE_FUTEX): Likewise.
19274         (__ASSUME_FALLOCATE): Likewise.
19275         (__ASSUME_O_CLOEXEC): Likewise.
19276         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19277         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19278         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19279         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19280         (__ASSUME_IN_NONBLOCK): Likewise.
19281         (__ASSUME_PIPE2): Likewise.
19282         (__ASSUME_EVENTFD2): Likewise.
19283         (__ASSUME_SIGNALFD4): Likewise.
19284         (__ASSUME_DUP3): Likewise.
19285         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19286         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19287         (__ASSUME_AT_RANDOM): Likewise.
19288         (__ASSUME_PREADV): Likewise.
19289         (__ASSUME_PWRITEV): Likewise.
19290         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19291         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19292         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19293         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19294         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19295         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19296         (__ASSUME_O_CLOEXEC): Define unconditionally.
19297         (__ASSUME_PSELECT): Do not undefine conditionally.
19298         (__ASSUME_PPOLL): Likewise.
19299         (__ASSUME_ATFCTS): Likewise.
19300         (__ASSUME_SET_ROBUST_LIST): Likewise.
19301         (__ASSUME_UTIMENSAT): Likewise.
19302         (__ASSUME_FDATASYNC): Define unconditionally.
19303         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19304         (__ASSUME_SIGFRAME_V2): Likewise.
19305         )__ASSUME_EVENTFD2): Likewise.
19306         (__ASSUME_SIGNALFD4): Likewise.
19307         (__ASSUME_PSELECT): Do not undefine conditionally.
19308         (__ASSUME_PPOLL): Likewise.
19309         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19310         (__ASSUME_PSELECT): Define unconditionally.
19311         (__ASSUME_PPOLL): Likewise.
19312         (__ASSUME_O_CLOEXEC): Likewise.
19313         (__ASSUME_SOCK_CLOEXEC): Likewise.
19314         (__ASSUME_IN_NONBLOCK): Likewise.
19315         (__ASSUME_PIPE2): Likewise.
19316         (__ASSUME_EVENTFD2): Likewise.
19317         (__ASSUME_SIGNALFD4): Likewise.
19318         (__ASSUME_DUP3): Likewise.
19319         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19320         (__ASSUME_O_CLOEXEC): Likewise.
19321         (__ASSUME_SOCK_CLOEXEC): Likewise.
19322         (__ASSUME_IN_NONBLOCK): Likewise.
19323         (__ASSUME_PIPE2): Likewise.
19324         (__ASSUME_EVENTFD2): Likewise.
19325         (__ASSUME_SIGNALFD4): Likewise.
19326         (__ASSUME_DUP3): Likewise.
19327         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19328         (__ASSUME_EVENTFD2): Likewise.
19329         (__ASSUME_SIGNALFD4): Likewise.
19330         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19332 2014-05-12  Andreas Schwab  <schwab@suse.de>
19334         [BZ #16932]
19335         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19336         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19337         than maximum RPC packet size.
19338         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19339         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19340         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19341         (_nss_nis_getservbyport_r): Likewise.
19343 2014-05-12  Will Newton  <will.newton@linaro.org>
19345         * malloc/Makefile (tests): Add tst-mallopt.
19346         * malloc/tst-mallopt.c: New file.
19348 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19350         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19351         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19353 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19355         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19356         (tst-tlsmod6.so): Likewise.
19358 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19360         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19362 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19364         [BZ #16064]
19365         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19366         and <dl-procinfo.h>.
19367         (__fegetenv): Save SSE state in envp->__eip if supported.
19368         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19369         envp->__eip if supported.
19370         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19371         and <dl-procinfo.h>.
19372         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19373         __data_offset and __data_selector in environment to 0.  Set SSE
19374         state if supported.
19375         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19376         test-fenv-sse.
19377         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19378         -mfpmath=sse.
19379         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19381 2014-05-09  Will Newton  <will.newton@linaro.org>
19383         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19384         and libc_relro_required for ARM.
19385         * sysdeps/arm/preconfigure: Regenerate.
19387 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19388             Stefan Liebler  <stli@linux.vnet.ibm.com>
19390         * config.make.in (enable-lock-elision): New Makefile variable.
19391         * configure.ac: Likewise.
19392         * configure: Regenerate.
19393         * sysdeps/s390/configure.ac:
19394         Add check for gcc transactions support.
19395         * sysdeps/s390/configure: Regenerate.
19396         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19397         Build elision files if enabled.
19398         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19399         Add lock elision support for s390.
19400         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19401         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19402         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19403         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19404         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19405         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19406         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19407         Likewise.
19408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19409         Likewise.
19410         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19411         Likewise.
19412         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19413         Likewise.
19414         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19415         (__lll_timedlock_elision, __lll_lock_elision)
19416         (__lll_unlock_elision, __lll_trylock_elision)
19417         (lll_timedlock_elision, lll_lock_elision)
19418         (lll_unlock_elision, lll_trylock_elision): Add.
19419         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19420         (pthread_mutex_t): Add lock elision support for s390.
19422 2014-05-14  Wilco  <wdijkstr@arm.com>
19424         * sysdeps/arm/fclrexcpt.c: Cleanup.
19425         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19426         * sysdeps/arm/feenablxcpt.c: Cleanup.
19427         * sysdeps/arm/fegetenv.c: Cleanup.
19428         * sysdeps/arm/fegetexcept.c: Cleanup.
19429         * sysdeps/arm/fegetround.c: Cleanup.
19430         * sysdeps/arm/feholdexcpt.c: Cleanup.
19431         * sysdeps/arm/fesetenv.c: Cleanup.
19432         * sysdeps/arm/fesetround.c: Cleanup.
19433         * sysdeps/arm/feupdateenv.c: Cleanup.
19434         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19435         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19436         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19437         * sysdeps/arm/ftestexcept.c: Cleanup.
19438         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19439         * sysdeps/arm/setfpucw.c: Cleanup.
19441 2014-05-09  Will Newton  <will.newton@linaro.org>
19443         * sysdeps/arm/armv7/strcmp.S: New file.
19444         * NEWS: Mention addition of ARMv7 optimized strcmp.
19446 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19448         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19449         look for %.ac rather than %.in.
19451         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19452         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19453         * sysdeps/mach/hurd/configure: Regenerated.
19454         * sysdeps/unix/sysv/linux/configure: Regenerated.
19456         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19458 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19460         [BZ# 16922]
19461         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19462         (LONG_SUB): Ditto.
19463         (PTR_SUB): Ditto.
19465 2014-05-07  Andreas Schwab  <schwab@suse.de>
19467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19468         when skipping over non-matching result from nscd.
19470 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19472         [BZ #16876]
19473         * nptl/sockperf.c (client): Check socket return value.
19475         [BZ #16877]
19476         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19477         nscd security class.
19479 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19481         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19482         * sysdeps/arm/unwind.h: ... here.
19484 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19486         [BZ# 16916]
19487         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19488         Define.
19490 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19492         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19493         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19494         multiarch strncpy for PPC64.
19495         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19496         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19498         multiarch optimizations.
19499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19500         (__libc_ifunc_impl_list): Likewise.
19501         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19502         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19503         multiarch stpncpy for PPC64.
19504         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19505         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19507 2014-05-06  Andreas Schwab  <schwab@suse.de>
19509         [BZ #16912]
19510         * gmon/mcount.c (_MCOUNT_DECL): Use
19511         atomic_compare_and_exchange_bool_acq instead of
19512         catomic_compare_and_exchange_bool_acq.
19514 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19516         * elf/Makefile (others, install-bin): Remove pldd.
19517         (pldd-modules): Variable removed.
19518         ($(objpfx)pldd): Target removed.
19519         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19520         (others, install-bin): Append pldd here.
19521         ($(objpfx)pldd): New target.
19523         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19524         to 0, so the first #if test emitted later doesn't see it undefined.
19525         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19526         * sysdeps/gnu/errlist.c: Regenerated.
19528 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19530         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19531         [libc_hidden_builtin_def]: Define to empty value.
19532         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19533         [libc_hidden_builtin_def]: Likewise.
19534         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19535         [libc_hidden_builtin_def]: Likewise.
19536         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19537         [libc_hidden_builtin_def]: Likewise.
19538         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19539         __redirect_memcpy and define ifunc as default hidden symbol.
19540         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19541         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19543 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19545         * locale/iso-4217.def: Reintroduce XDR currency.
19547 2014-05-04  Allan McRae  <allan@archlinux.org>
19549         * po/eo.po: Update Esperanto translation from translation project.
19551 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19553         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19554         and FEATURE_INDEX_MAX to 1.
19555         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19557 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19559         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19560         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19561         * iconvdata/big5.c (ONE_DIRECTION): Define.
19562         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19563         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19564         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19565         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19566         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19567         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19568         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19569         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19570         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19571         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19572         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19573         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19574         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19575         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19576         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19577         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19578         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19579         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19580         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19581         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19582         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19583         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19584         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19585         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19586         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19587         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19588         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19589         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19590         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19591         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19592         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19593         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19594         * iconvdata/johab.c (ONE_DIRECTION): Define.
19595         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19596         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19597         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19598         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19599         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19600         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19601         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19602         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19603         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19604         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19606 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19608         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19609         (_IO_JUMPS_OFFSET): Define to 0.
19611         * nptl/sysdeps/pthread/bits/libc-lock.h
19612         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19613         (__libc_lock_define_initialized_recursive): Always define using
19614         initializer.  Modern compilers treat uninitialized (implicit zero) and
19615         explicit zero initializers the same (i.e. put the datum in bss).
19617 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19619         * nscd/nscd-client.h: Include <string.h>.
19621 2014-05-01  David S. Miller  <davem@davemloft.net>
19623         [BZ #16885]
19624         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19625         multiple zero bytes exist at the end of a string.
19626         Reported by Aurelien Jarno <aurelien@aurel32.net>
19628         * string/test-strcmp.c (check): Add explicit test for situations where
19629         there are multiple zero bytes after the first.
19631 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19633         [BZ #16890]
19634         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19635         when compiling wprintf.
19636         * stdio-common/tstdiomisc.c (t3): New function.
19637         (main): Call it.
19639 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19641         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19642         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19643         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19644         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19646 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19648         * stdlib/longlong.h: Updated from GCC.
19650 2014-05-01  Will Newton  <will.newton@linaro.org>
19651             Bernard Ogden  <bernie.ogden@linaro.org>
19653         * NEWS: Update fixed bug list.
19655         [BZ #15119]
19656         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19658 2014-04-30  David S. Miller  <davem@davemloft.net>
19660         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19661         (libc_feholdexcept_setround_sparc_ctx): New function.
19662         (libc_fesetenv_sparc_ctx): Likewise.
19663         (libc_feupdateenv_sparc_ctx): Likewise.
19664         (libc_feholdsetround_sparc_ctx): Likewise.
19665         (libc_feholdexcept_setround_ctx): Define.
19666         (libc_feholdexcept_setroundf_ctx): Likewise.
19667         (libc_feholdexcept_setroundl_ctx): Likewise.
19668         (libc_fesetenv_ctx): Likewise.
19669         (libc_fesetenvf_ctx): Likewise.
19670         (libc_fesetenvl_ctx): Likewise.
19671         (libc_feupdateenv_ctx): Likewise.
19672         (libc_feupdateenvf_ctx): Likewise.
19673         (libc_feupdateenvl_ctx): Likewise.
19674         (libc_feresetround_ctx): Likewise.
19675         (libc_feresetroundf_ctx): Likewise.
19676         (libc_feresetroundl_ctx): Likewise.
19677         (libc_feholdsetround_ctx): Likewise.
19678         (libc_feholdsetroundf_ctx): Likewise.
19679         (libc_feholdsetroundl_ctx): Likewise.
19681         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19682         with __USE_GNU instead of XOPEN cpp guards.
19684         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19685         0.
19687         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19688         with XOPEN cpp guards.
19690 2014-04-30  Julian Brown  <julian@codesourcery.com>
19692         [BZ #16888]
19693         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19694         handling.
19696 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19698         [BZ #9894]
19699         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19700         Change to 2.6.32.
19701         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19702         * sysdeps/unix/sysv/linux/configure: Regenerated.
19703         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19704         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19705         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19706         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19707         * README: Update reference to required Linux kernel version.
19708         * manual/install.texi (Linux): Update reference to required Linux
19709         kernel headers version.
19710         * INSTALL: Regenerated.
19712         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19713         header inclusion.
19714         [POSIX] (limits.h): Likewise.
19715         [POSIX] (math.h): Likewise.
19716         [POSIX] (sys/wait.h): Likewise.
19717         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19718         function.
19719         [POSIX] (stddef.h): Do not allow header inclusion.
19721 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19723         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19725 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19727         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19728         Return immediately after lll_futex_wake.
19730 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19732         [BZ #16791]
19733         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19734         structure.
19735         (datahead_init_pos): Call datahead_init_common early.
19736         (datahead_init_neg): Likewise.
19738         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19739         datahead_init_neg): New functions.
19740         * nscd/aicache.c (addhstaiX): Use them.
19741         * nscd/grpcache.c (cache_addgr): Likewise.
19742         * nscd/hstcache.c (cache_addhst): Likewise.
19743         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19744         * nscd/netgroupcache.c (do_notfound): Likewise.
19745         (addgetnetgrentX): Likewise.
19746         (addinnetgrX): Likewise.
19747         * nscd/pwdcache.c (cache_addpw): Likewise.
19748         * nscd/servicescache.c (cache_addserv): Likewise.
19750 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19751             Atsushi Onoe  <atsushi@onoe.org>
19753         [BZ #14308]
19754         [BZ #12994]
19755         [BZ #13651]
19756         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19757         one response is valid.
19758         * resolv/res_send.c (send_dg): Check for validity of other
19759         response if the current response is a referral.
19761 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19763         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19765 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19767         [BZ #16823]
19768         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19769         Always divide by positive zero when computing -Inf result.
19770         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19771         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19773 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19775         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19776         FPSCR if value do not change.
19777         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19778         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19779         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19780         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19781         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19782         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19783         function.
19785 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19787         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19788         * sysdeps/unix/sysv/linux/hppa: Move directory from
19789         ports/systeps/unix/sysv/linux/hppa.
19790         * README: Update listing for hppa-*-linux-gnu.
19792 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19794         [BZ #16754]
19795         * manual/stdio.texi (Hook functions): Fix types of stream hook
19796         functions.
19797         [BZ #16854]
19798         * socket/sys/socket.h: Fix typo in comment.
19800 2014-04-28  Wilco  <wdijkstr@arm.com>
19802         * sysdeps/arm/fenv_private.h: New file.
19803         * sysdeps/arm/math_private.h: New file.
19804         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19806 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19808         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19809         with __int128_t.
19810         (La_x86_64_retval): Likewise.
19812 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19814         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19815         fpsr if value didn't change.
19816         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19817         to fpcr if value didn't change.
19818         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19819         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19820         fpsr or fpcr if value didn't change.
19821         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19822         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19823         fpcr if value didn't change.
19824         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19825         to fpsr if value didn't change.
19827 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19829         * nptl/tst-sem3.c: Use test-skeleton.c
19830         (main): Rename to do_test.  Use return instead of
19831         exit.
19832         * nptl/tst-sem4.c: Use test-skeleton.c
19833         (main): Rename to do_test.
19835 2014-04-22  David S. Miller  <davem@davemloft.net>
19837         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19838         (struct sigaction): New struct member __glibc_reserved0, change
19839         type of sa_flags to int.
19841 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19843         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19844         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19846 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19848         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19849         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19851 2014-04-22  Will Newton  <will.newton@linaro.org>
19852             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19854         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19855         (__longjmp): Add longjmp and longjmp_target SystemTap
19856         probes.
19857         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19858         (__sigsetjmp): Add setjmp SystemTap probe.
19860 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19862         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19863         match manual order.
19865 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19867         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19869         * sysdeps/powerpc/fpu/fenv_private.h
19870         (libc_feholdexcept_setroundl_ctx): Define to
19871         libc_feholdexcept_setround_ppc_ctx.
19872         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19873         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19874         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19875         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19877 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19879         * sysdeps/aarch64/math-tests.h: New file.
19881 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19883         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19884         New.
19885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19886         Check and set bit_AVX2_Usable.
19887         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19888         macro.
19889         (bit_AVX2): Likewise.
19890         (index_AVX2_Usable): Likewise.
19891         (CPUID_AVX2): Likewise.
19892         (HAS_AVX2): Likewise.
19894 2014-04-17  Will Newton  <will.newton@linaro.org>
19896         * manual/setjmp.texi (System V contexts): Add note that
19897         calling setcontext on a context created by a call to a
19898         signal handler is undefined.  Update text to note that
19899         setcontext from a signal handler is possible but not
19900         recommended.
19902         [BZ #16629]
19903         * stdlib/tst-setcontext.c: Include signal.h.
19904         (main): Check that the signal stack before and
19905         after swapcontext is the same.
19907         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19908         Re-implement to restore registers in user code and avoid
19909         rt_sigreturn system call.
19911 2014-04-17  Wilco  <wdijkstr@arm.com>
19913         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19914         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19915         * math/test-fenv.c: Skip exception trap tests on targets which only
19916         support non-stop mode.
19918 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19919             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19921         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19922         (libc_feholdsetround_aarch64_ctx)
19923         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19924         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19925         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19926         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19927         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19928         (libc_feresetround_noexl_ctx): Define.
19930 2014-04-16  Richard Henderson  <rth@redhat.com>
19932         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19934         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19935         unwind tables.
19937         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19938         const from the non-libc, non-ldso copy.
19940         * sysdeps/alpha/libm-test-ulps: Regenerate.
19942 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19943             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19945         * sysdeps/aarch64/fpu/math_private.h: New file.
19947 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19949         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19951 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19953         [BZ #16275]
19954         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19955         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19956         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19957         Intel MPX bound registers before _dl_profile_fixup.
19958         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19959         registers after _dl_profile_fixup.  Save and restore bound
19960         registers bnd0/bnd1 when calling _dl_call_pltexit.
19961         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19962         (LR_BND_OFFSET): Likewise.
19963         (LRV_BND0_OFFSET): Likewise.
19964         (LRV_BND1_OFFSET): Likewise.
19966 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19968         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19969         to...
19970         * sysdeps/mach/hurd/i386/tls.h: ... here.
19971         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19972         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19973         fields.
19975 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19977         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19979 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19981         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19983 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19985         [BZ #14770]
19986         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19987         * sysdeps/s390/configure: Regenerate.
19989         [BZ #16824]
19990         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19991         Set round-to-nearest internally to reduce error accumulation.
19993 2014-04-16  Alan Modra  <amodra@gmail.com>
19995         [BZ #16740]
19996         [BZ #16619]
19997         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19998         * math/libm-test.inc (frexp_test_data): Add tests.
19999         * NEWS: Update fixed bug list.
20001 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20003         * benchtests/Makefile: Depend on libraries in build directory.
20004         (bench-math): Separate out math tests.
20005         (bench-pthread): Separate out pthread tests.
20006         (bench): Include math and pthread tests.
20008 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20010         [BZ #16831]
20011         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20012         _dl_debug_initialize.
20014         * configure.ac: Remove SELinux header check.
20015         * configure: Regenerate.
20016         * nscd/selinux.c (perms): Array of const char* to permission names.
20017         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20018         default policy. Call string_to_security_class and string_to_av_perm to
20019         translate strings. Enforce default policy and call avs_has_perm with
20020         results of translated strings.
20022 2014-04-13  David S. Miller  <davem@davemloft.net>
20024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20026 2014-04-12  Allan McRae  <allan@archlinux.org>
20028         [BZ #16838]
20029         * manual/string.texi (Collation Functions): Fix qsort argument
20030         order in example.
20031         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20033 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20035         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20036         Make the test a no-op if there are no exceptions defined.
20038 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20040         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20041         enable-hardcoded-path-in-tests
20043 2014-04-11  Will Newton  <will.newton@linaro.org>
20045         * benchtests/Makefile (extra-objs): Add json-lib.o.
20046         (bench-func): Tidy up JSON output.
20047         * benchtests/bench-skeleton.c: Include json-lib.h.
20048         (main): Use JSON library functions to do output of
20049         benchmark results.
20050         * benchtests/bench-timing-type.c (main): Output the
20051         timing type simply, leaving formatting to the user.
20052         * benchtests/json-lib.c: New file.
20053         * benchtests/json-lib.h: Likewise.
20055 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20057         [BZ #15215]
20058         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20059         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20060         memory barriers.  Add comments.
20061         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20062         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20063         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20064         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20065         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20066         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20068 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20070         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20071         * sysdeps/s390/s390-64/configure.ac: ... this ...
20072         * sysdeps/s390/configure.ac: ... to here.
20073         * sysdeps/s390/s390-32/configure: Delete file.
20074         * sysdeps/s390/s390-64/configure: Delete file.
20075         * sysdeps/s390/configure: Regenerate.
20077 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20079         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20081 2014-04-11  Will Newton  <will.newton@linaro.org>
20083         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20084         to zero if it is not defined elsewhere.  (mtrim): Test
20085         the value of MALLOC_DEBUG with #if rather than #ifdef.
20087 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20089         * benchtests/pthread_once-inputs: New file.
20090         * benchtests/pthread_once-source.c: New file.
20091         * benchtests/README: Update documentation.
20093 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20094             H.J. Lu  <hongjiu.lu@intel.com>
20096         [BZ #16275]
20097         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20098         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20099         * sysdeps/x86_64/configure: Regenerated.
20100         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20101         macro.
20102         (REGISTER_SAVE_RAX): Likewise.
20103         (REGISTER_SAVE_RCX): Likewise.
20104         (REGISTER_SAVE_RDX): Likewise.
20105         (REGISTER_SAVE_RSI): Likewise.
20106         (REGISTER_SAVE_RDI): Likewise.
20107         (REGISTER_SAVE_R8): Likewise.
20108         (REGISTER_SAVE_R9): Likewise.
20109         (REGISTER_SAVE_BND0): Likewise.
20110         (REGISTER_SAVE_BND1): Likewise.
20111         (REGISTER_SAVE_BND2): Likewise.
20112         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20113         bound registers when calling _dl_fixup.
20115 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20117         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20118         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20119         of its definition.
20120         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20121         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20122         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20123         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20124         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20125         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20126         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20128 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20130         [BZ #15514]
20131         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20132         pathconf(_PC_NAME_MAX).
20134 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20136         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20137         Remove macro usage.
20138         (__PTHREAD_SPINS): Move definition to ...
20139         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20140         (__PTHREAD_SPINS): ... here.
20141         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20142         (__PTHREAD_SPIN): Likewise.
20143         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20144         (__PTHREAD_SPIN): Likewise.
20145         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20146         (__PTHREAD_SPIN): Likewise.
20147         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20148         (__PTHREAD_SPIN): Likewise.
20149         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20150         (__PTHREAD_SPIN): Likewise.
20151         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20152         (__PTHREAD_SPIN): Likewise.
20153         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20154         (__PTHREAD_SPIN): Likewise.
20155         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20156         (__PTHREAD_SPIN): Likewise.
20157         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20158         (__PTHREAD_SPIN): Likewise.
20159         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20160         (__PTHREAD_SPIN): Likewise.
20161         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20162         (__PTHREAD_SPIN): Likewise.
20163         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20164         (__PTHREAD_SPIN): Likewise.
20166         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20167         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20168         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20169         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20170         imply folder.
20171         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20172         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20173         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20174         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20175         correct imply path.
20176         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20177         strlen symbol for non multi-arch builds.
20178         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20179         missing hidden_def and weak_alias.
20181 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20183         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20185 2014-04-07  Will Newton  <will.newton@linaro.org>
20187         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20188         and contents.  [!_LIBC] Remove #ifndef and contents.
20189         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20190         * string/memccpy.c (__memccpy): Use ANSI prototype.
20191         * string/memfrob.c (memfrob): Likewise.
20192         * string/strcoll.c (STRCOLL): Likewise.
20193         * string/strlen.c (strlen): Likewise.
20194         * string/strtok.c (STRTOK): Likewise.
20195         * string/strcat.c: Remove unused #include of memcopy.h.
20196         (strcat): Use ANSI prototype.
20197         * string/strchr.c: Remove unused #include of memcopy.h.
20198         (strchr): Use ANSI prototype.
20199         * string/strcmp.c: Remove unused #include of memcopy.h.
20200         (strcmp): Use ANSI prototype.
20201         * string/strcpy.c: Remove unused #include of memcopy.h.
20202         (strcpy): Use ANSI prototype.
20204 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20206         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20207         * config.make.in (config-extra-cppflags): Set it from
20208         libc_extra_cppflags.
20209         * configure.ac (libc_extra_cflags): Make it accumulate over
20210         configure fragments.
20211         (libc_extra_cppflags): New flag.
20212         * configure. Regenerate.
20213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20214         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20215         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20218         [BZ #16815]
20219         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20220         result for FE_DOWNWARD rounding mode.
20221         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20222         Likewise.
20223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20225 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20227         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20228         in function argument name.
20230 2014-04-03  David Svoboda  <svoboda@cert.org>
20232         [BZ #5666]
20233         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20234         explicitly.
20236 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20238         * elf/dl-unmap-segments.h: New file.
20239         * sysdeps/generic/ldsodefs.h
20240         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20241         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20242         * elf/dl-fptr.c: Likewise.
20243         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20244         * sysdeps/aarch64/tlsdesc.c: Likewise.
20245         * sysdeps/arm/tlsdesc.c: Likewise.
20246         * sysdeps/i386/tlsdesc.c: Likewise.
20247         * sysdeps/tile/dl-runtime.c: Likewise.
20248         * sysdeps/x86_64/tlsdesc.c: Likewise.
20249         * elf/dl-load.h: New file.
20250         * elf/dl-load.c: Include it.
20251         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20252         Macros moved to dl-load.h.
20253         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20254         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20255         Use _dl_unmap_segments in place of __munmap.
20256         Break out segment-mapping loop into ...
20257         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20259 2014-04-03  Will Newton  <will.newton@linaro.org>
20261         * elf/dl-lookup.c (do_lookup_x): Remove comment
20262         referring to nested function and move variable
20263         declarations down to before first use.
20265 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20267         [BZ #16799]
20268         [BZ #16800]
20269         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20270         with 0 numerator.
20271         * math/s_catanf.c (__catanf): Likewise.
20272         * math/s_catanh.c (__catanh): Likewise.
20273         * math/s_catanhf.c (__catanhf): Likewise.
20274         * math/s_catanhl.c (__catanhl): Likewise.
20275         * math/s_catanl.c (__catanl): Likewise.
20276         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20277         by positive zero when computing -Inf result.
20278         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20279         (catanh_test): Likewise.
20280         * sysdeps/i386/fpu/libm-test-ulps: Update.
20281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20283         [BZ #16789]
20284         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20285         instead of using underflowing value in computing result.
20286         * math/s_clog10.c (__clog10): Likewise.
20287         * math/s_clog10f.c (__clog10f): Likewise.
20288         * math/s_clog10l.c (__clog10l): Likewise.
20289         * math/s_clogf.c (__clogf): Likewise.
20290         * math/s_clogl.c (__clogl): Likewise.
20291         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20292         (clog10_test): Likewise.
20293         * sysdeps/i386/fpu/libm-test-ulps: Update.
20294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20296 2014-04-02  Alan Modra  <amodra@gmail.com>
20298         [BZ #16739]
20299         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20300         output when value is near a power of two.  Use int64_t for lx and
20301         remove casts.  Use decimal rather than hex exponent constants.
20302         Don't use long double multiplication when double will suffice.
20303         * math/libm-test.inc (nextafter_test_data): Add tests.
20304         * NEWS: Add 16739 and 16786 to bug list.
20306         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20308         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20310 2014-04-01  Will Newton  <will.newton@linaro.org>
20312         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20313         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20315 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20317         [BZ #13347]
20318         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20319         * nptl/tst-setuid2.c: New file.
20320         * nptl/Makefile (xtests): Add tst-setuid2.
20322 2014-04-01  Alan Modra  <amodra@gmail.com>
20324         [BZ #16786]
20325         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20327 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20329         [BZ #6803]
20330         [BZ #6804]
20331         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20332         set errno as appropriate.
20333         * math/w_scalbf.c (__scalbf): Likewise.
20334         * math/w_scalbl.c (__scalbl): Likewise.
20335         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20336         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20337         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20338         Add more NaN tests.
20340         [BZ #16349]
20341         * math/w_atan2.c: Include <errno.h>.
20342         (__atan2): Set errno for result underflowing to zero.
20343         * math/w_atan2f.c: Include <errno.h>.
20344         (__atan2f): Set errno for result underflowing to zero.
20345         * math/w_atan2l.c: Include <errno.h>.
20346         (__atan2l): Set errno for result underflowing to zero.
20347         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20348         tests.
20349         * math/auto-libm-test-out: Regenerated.
20351 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20353         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20354         Encode instruction correctly in little endian.
20355         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20356         Likewise.
20357         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20358         Likewise.
20359         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20360         Likewise.
20361         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20362         Likewise.
20364 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20366         [BZ #9894]
20367         * sysdeps/unix/sysv/linux/kernel-features.h
20368         [__sparc__ && !__arch64__ && !__sparc_v9__]
20369         (__ASSUME_SET_ROBUST_LIST): Do not define.
20370         [__sparc__ && !__arch64__ && !__sparc_v9__]
20371         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20372         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20373         Likewise.
20374         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20375         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20376         (__ASSUME_REQUEUE_PI): Likewise.
20377         (__ASSUME_SET_ROBUST_LIST): Likewise.
20378         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20379         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20380         Undefine.
20381         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20382         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20383         Likewise.
20384         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20385         Likewise.
20386         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20387         Likewise.
20388         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20389         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20390         Undefine.
20391         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20392         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20393         Likewise.
20395         [BZ #16648]
20396         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20397         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20398         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20400 2014-03-31  Will Newton  <will.newton@linaro.org>
20402         * benchtests/Makefile (bench): Add ffs and ffsll to list
20403         of tests.
20404         * benchtests/ffs-inputs: New file.
20405         * benchtests/ffsll-inputs: Likewise.
20407 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20409         [BZ #16770]
20410         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20411         too large before casting to int.
20412         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20413         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20414         * math/libm-test.inc (scalb_test_data): Add more tests.
20416 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20418         * benchtests/Makefile (DETAILED_OPT): New make option.
20419         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20420         set.
20421         * benchtests/bench-skeleton.c: Include stdbool.h.
20422         (main): Store and print timings per input.
20423         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20424         member to each argument value.
20425         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20426         (_print_arg_data): Initialize per-input timing to 0.
20428         * benchtests/Makefile (timing-type): New binary.
20429         (bench-clean): Also remove bench-timing-type.
20430         (bench): New target for timing-type.
20431         (bench-func): Print output in JSON format.
20432         * benchtests/bench-skeleton.c (main): Print output in JSON
20433         format.
20434         * benchtests/bench-timing-type.c: New file.
20435         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20436         (TIMING_PRINT_STATS): Remove.
20437         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20438         name separately.
20440         * benchtests/bench-modf.c: Remove.
20441         * benchtests/modf-inputs: New inputs file.
20443 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20445         [BZ #16362]
20446         * math/s_clog10.c (M_PI_LOG10E): New macro.
20447         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20448         imaginary parts are 0.
20449         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20450         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20451         imaginary parts are 0.
20452         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20453         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20454         imaginary parts are 0.
20455         * math/libm-test.inc (clog10_test_data): Update expected results
20456         for when real and imaginary parts are 0.
20458 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20460         * elf/dl-load.c: Finish conversion of __builtin_expect into
20461         __glibc_{un}likely.
20463 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20465         [BZ #16348]
20466         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20467         1+x for argument with exponent below -67.
20468         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20469         Likewise.
20470         * math/auto-libm-test-in: Add more tests of exp.
20471         * math/auto-libm-test-out: Regenerated.
20473 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20475         [BZ #16759]
20476         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20477         (nscd_getnetgrent): Use it.
20479         [BZ #16760]
20480         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20481         of stpcpy.
20483 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20485         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20486         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20487         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20488         (lll_robust_unlock): Remove out of line section. Use cfi
20489         intrinsics.
20490         (LLL_STUB_UNWIND_INFO*): Remove.
20491         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20492         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20493         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20494         (lll_robust_unlock): Remove out of line section. Use cfi
20495         intrinsics.
20496         (LLL_STUB_UNWIND_INFO*): Remove.
20498 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20500         [BZ #16758]
20501         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20502         blank values.
20504 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20506         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20508 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20510         [BZ #16198]
20511         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20512         fnstenv.
20513         * math/test-fenv-preserve.c: New file.
20514         * math/Makefile (tests): Add test-fenv-preserve.
20516 2014-03-26  Will Newton <will.newton@linaro.org>
20518         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20520 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20522         * scripts/versionlist.awk: Partition the version sets and emit all
20523         GLIBC_* (sorted) before all others (sorted).
20525 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20527         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20528         GLIBC_2.2.5 version.
20530 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20532         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20533         calls.
20535         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20536         previous change.
20538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20540 2014-03-25  Andreas Schwab  <schwab@suse.de>
20542         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20543         label to be used after in6ailist is initialized.
20545 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20547         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20548         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20550 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20552         [BZ #16357]
20553         [BZ #16599]
20554         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20555         min_plus_half.
20556         (fp_formats): Update initializers.
20557         (init_fp_formats): Initialize new field.
20558         (output_for_one_input_case): Allow underflow for results up to
20559         min_plus_half.
20560         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20561         * math/auto-libm-test-in: Don't mark some underflows from asin and
20562         atanh as spurious.
20563         * math/auto-libm-test-out: Regenerated.
20564         * sysdeps/i386/fpu/libm-test-ulps: Update.
20565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20567 2014-03-25  Andreas Schwab  <schwab@suse.de>
20569         * libio/Makefile (tst-ftell-partial-wide-ENV)
20570         (tst-ftell-active-handler-ENV): Define.
20572 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20574         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20576 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20578         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20580 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20582         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20583         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20584         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20586 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20588         [BZ #16634]
20589         * elf/dl-load.c (open_verify): Add mode parameter.
20590         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20591         (open_path): Change from boolean 'secure' to complete flag 'mode'
20592         (_dl_map_object): Adjust.
20593         * elf/Makefile (tests): Add tst-dlopen-aout.
20594         * elf/tst-dlopen-aout.c: New test.
20596 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20598         [BZ #16714]
20599         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20600         (struct stat): Rename member pad0 to __glibc_reserved0.
20602         [BZ #16712]
20603         * sysdeps/s390/s390-32/bits/wordsize.h
20604         (__WORDSIZE32_SIZE_ULONG): New define.
20605         * sysdeps/s390/s390-64/bits/wordsize.h
20606         (__WORDSIZE32_SIZE_ULONG): Likewise.
20607         * sysdeps/generic/stdint.h (SIZE_MAX):
20608         Define as UL if __WORDSIZE32_SIZE_ULONG.
20610         [BZ #16713]
20611         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20612         (__glibc_reserved0): New variable.
20613         (sa_flags): Change type to int.
20615         * posix/Makefile (before-compile): Use += before-compile instead
20616         of a :=.
20618         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20619         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20621 2014-03-20  Andreas Schwab  <schwab@suse.de>
20623         [BZ #16743]
20624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20625         non-matching result from nscd.
20627 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20629         * scripts/bench.py: Moved to ...
20630         * benchtests/scripts/bench.py: ... here.
20631         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20633 2014-03-24  Andreas Schwab  <schwab@suse.de>
20635         [BZ #16002]
20636         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20637         alloca_account and account alloca use for struct in6ailist.
20639 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20641         [BZ #16284]
20642         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20643         rounding mode to recompute results that overflow to infinity or
20644         underflow to zero.
20645         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20646         bug 16284.
20647         * math/auto-libm-test-out: Regenerated.
20648         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20649         (ccosh_test): Likewise.
20650         (csin_test_data): Use plus_oflow.
20651         (csin_test): Use ALL_RM_TEST.
20652         (csinh_test_data): Use plus_oflow.
20653         (csinh_test): Use ALL_RM_TEST.
20654         * sysdeps/i386/fpu/libm-test-ulps: Update.
20655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20657 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20659         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20660         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20661         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20663         [BZ #16731]
20664         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20665         when x - 1 is zero.
20666         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20667         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20668         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20669         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20670         argument is 1.
20671         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20672         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20673         zero.
20674         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20675         * sysdeps/i386/fpu/libm-test-ulps: Update.
20676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20678 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20680         * scripts/bench.pl: Remove file.
20681         * scripts/bench.py: New benchmark script.
20682         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20683         * benchtests/README: Mention python dependency.
20684         * scripts/pylintrc: New file.
20685         * scripts/pylint: New file.
20687         * bits/mathdef.h: Use #ifdef instead of #if.
20688         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20689         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20690         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20691         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20692         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20693         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20695 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20696             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20698         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20700         and strpbrk-ppc64 objects.
20701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20702         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20703         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20704         multiarch strpbrk for POWER7.
20705         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20706         multiarch strpbrk for PPC64.
20707         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20708         ifunc selector.
20709         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20710         strpbrk for POWER7.
20712 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20714         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20715         (atan_test): Likewise.
20716         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20717         (atanh_test): Use ALL_RM_TEST.
20718         (atan2_test_data): Likewise.
20719         (cabs_test): Likewise.
20720         (cacosh_test): Likewise.
20721         (carg_test): Likewise.
20722         (casin_test): Likewise.
20723         (casinh_test): Likewise.
20724         (cbrt_test): Likewise.
20725         (csqrt_test): Likewise.
20726         (erf_test): Likewise.
20727         (erfc_test): Likewise.
20728         (pow10_test): Likewise.
20729         (exp2_test): Likewise.
20730         (hypot_test): Likewise.
20731         (j0_test): Likewise.
20732         (j1_test): Likewise.
20733         (lgamma_test): Likewise.
20734         (gamma_test): Likewise.
20735         (sincos_test): Likewise.
20736         (tanh_test): Likewise.
20737         (y0_test): Likewise.
20738         (y1_test): Likewise.
20739         * sysdeps/i386/fpu/libm-test-ulps: Update.
20740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20742 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20744         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20746         and strcspn-ppc64 objects.
20747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20748         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20749         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20750         multiarch strcspn for POWER7.
20751         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20752         multiarch strcspn for PPC64.
20753         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20754         ifunc selector.
20755         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20756         strcspn for POWER7.
20758 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20760         * math/gen-libm-test.pl (generate_testfile): Expect only function
20761         name as argument to AUTO_TESTS_* and pass results for all rounding
20762         modes to parse_args.
20763         (parse_auto_input): Separate inputs of automatic tests from
20764         outputs before storing in %auto_tests.
20765         * math/libm-test.inc (acos_test_data): Update call to
20766         AUTO_TESTS_f_f.
20767         (acos_test): Use ALL_RM_TEST.
20768         (acos_tonearest_test_data): Remove.
20769         (acos_test_tonearest): Likewise.
20770         (acos_towardzero_test_data): Likewise.
20771         (acos_test_towardzero): Likewise.
20772         (acos_downward_test_data): Likewise.
20773         (acos_test_downward): Likewise.
20774         (acos_upward_test_data): Likewise.
20775         (acos_test_upward): Likewise.
20776         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20777         (asin_test_data): Likewise.
20778         (asin_test): Use ALL_RM_TEST.
20779         (asin_tonearest_test_data): Remove.
20780         (asin_test_tonearest): Likewise.
20781         (asin_towardzero_test_data): Likewise.
20782         (asin_test_towardzero): Likewise.
20783         (asin_downward_test_data): Likewise.
20784         (asin_test_downward): Likewise.
20785         (asin_upward_test_data): Likewise.
20786         (asin_test_upward): Likewise.
20787         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20788         (atan_test_data): Likewise.
20789         (atanh_test_data): Likewise.
20790         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20791         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20792         (carg_test_data): Likewise.
20793         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20794         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20795         (ccosh_test_data): Likewise.
20796         (cexp_test_data): Likewise.
20797         (clog_test_data): Likewise.
20798         (clog10_test_data): Likewise.
20799         (cos_test_data): Update call to AUTO_TESTS_f_f.
20800         (cos_test): Use ALL_RM_TEST.
20801         (cos_tonearest_test_data): Remove.
20802         (cos_test_tonearest): Likewise.
20803         (cos_towardzero_test_data): Likewise.
20804         (cos_test_towardzero): Likewise.
20805         (cos_downward_test_data): Likewise.
20806         (cos_test_downward): Likewise.
20807         (cos_upward_test_data): Likewise.
20808         (cos_test_upward): Likewise.
20809         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20810         (cosh_test): Use ALL_RM_TEST.
20811         (cosh_tonearest_test_data): Remove.
20812         (cosh_test_tonearest): Likewise.
20813         (cosh_towardzero_test_data): Likewise.
20814         (cosh_test_towardzero): Likewise.
20815         (cosh_downward_test_data): Likewise.
20816         (cosh_test_downward): Likewise.
20817         (cosh_upward_test_data): Likewise.
20818         (cosh_test_upward): Likewise.
20819         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20820         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20821         (ctan_test_data): Likewise.
20822         (ctan_test): Use ALL_RM_TEST.
20823         (ctan_tonearest_test_data): Remove.
20824         (ctan_test_tonearest): Likewise.
20825         (ctan_towardzero_test_data): Likewise.
20826         (ctan_test_towardzero): Likewise.
20827         (ctan_downward_test_data): Likewise.
20828         (ctan_test_downward): Likewise.
20829         (ctan_upward_test_data): Likewise.
20830         (ctan_test_upward): Likewise.
20831         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20832         (ctanh_test): Use ALL_RM_TEST.
20833         (ctanh_tonearest_test_data): Remove.
20834         (ctanh_test_tonearest): Likewise.
20835         (ctanh_towardzero_test_data): Likewise.
20836         (ctanh_test_towardzero): Likewise.
20837         (ctanh_downward_test_data): Likewise.
20838         (ctanh_test_downward): Likewise.
20839         (ctanh_upward_test_data): Likewise.
20840         (ctanh_test_upward): Likewise.
20841         (erf_test_data): Update call to AUTO_TESTS_f_f.
20842         (erfc_test_data): Likewise.
20843         (exp_test_data): Likewise.
20844         (exp_test): Use ALL_RM_TEST.
20845         (exp_tonearest_test_data): Remove.
20846         (exp_test_tonearest): Likewise.
20847         (exp_towardzero_test_data): Likewise.
20848         (exp_test_towardzero): Likewise.
20849         (exp_downward_test_data): Likewise.
20850         (exp_test_downward): Likewise.
20851         (exp_upward_test_data): Likewise.
20852         (exp_test_upward): Likewise.
20853         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20854         (exp10_test): Use ALL_RM_TEST.
20855         (exp10_tonearest_test_data): Remove.
20856         (exp10_test_tonearest): Likewise.
20857         (exp10_towardzero_test_data): Likewise.
20858         (exp10_test_towardzero): Likewise.
20859         (exp10_downward_test_data): Likewise.
20860         (exp10_test_downward): Likewise.
20861         (exp10_upward_test_data): Likewise.
20862         (exp10_test_upward): Likewise.
20863         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20864         (expm1_test_data): Likewise.
20865         (expm1_test): Use ALL_RM_TEST.
20866         (expm1_tonearest_test_data): Remove.
20867         (expm1_test_tonearest): Likewise.
20868         (expm1_towardzero_test_data): Likewise.
20869         (expm1_test_towardzero): Likewise.
20870         (expm1_downward_test_data): Likewise.
20871         (expm1_test_downward): Likewise.
20872         (expm1_upward_test_data): Likewise.
20873         (expm1_test_upward): Likewise.
20874         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20875         (fma_test): Use ALL_RM_TEST.
20876         (fma_towardzero_test_data): Remove.
20877         (fma_test_towardzero): Likewise.
20878         (fma_downward_test_data): Likewise.
20879         (fma_test_downward): Likewise.
20880         (fma_upward_test_data): Likewise.
20881         (fma_test_upward): Likewise.
20882         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20883         (j0_test_data): Update call to AUTO_TESTS_f_f.
20884         (j1_test_data): Likewise.
20885         (jn_test_data): Update call to AUTO_TESTS_if_f.
20886         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20887         (log_test_data): Update call to AUTO_TESTS_f_f.
20888         (log10_test_data): Likewise.
20889         (log1p_test_data): Likewise.
20890         (log2_test_data): Likewise.
20891         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20892         (pow_tonearest_test_data): Likewise.
20893         (sin_test_data): Update call to AUTO_TESTS_f_f.
20894         (sin_test): Use ALL_RM_TEST.
20895         (sin_tonearest_test_data): Remove.
20896         (sin_test_tonearest): Likewise.
20897         (sin_towardzero_test_data): Likewise.
20898         (sin_test_towardzero): Likewise.
20899         (sin_downward_test_data): Likewise.
20900         (sin_test_downward): Likewise.
20901         (sin_upward_test_data): Likewise.
20902         (sin_test_upward): Likewise.
20903         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20904         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20905         (sinh_test): Use ALL_RM_TEST.
20906         (sinh_tonearest_test_data): Remove.
20907         (sinh_test_tonearest): Likewise.
20908         (sinh_towardzero_test_data): Likewise.
20909         (sinh_test_towardzero): Likewise.
20910         (sinh_downward_test_data): Likewise.
20911         (sinh_test_downward): Likewise.
20912         (sinh_upward_test_data): Likewise.
20913         (sinh_test_upward): Likewise.
20914         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20915         (sqrt_test): Use ALL_RM_TEST.
20916         (sqrt_tonearest_test_data): Remove.
20917         (sqrt_test_tonearest): Likewise.
20918         (sqrt_towardzero_test_data): Likewise.
20919         (sqrt_test_towardzero): Likewise.
20920         (sqrt_downward_test_data): Likewise.
20921         (sqrt_test_downward): Likewise.
20922         (sqrt_upward_test_data): Likewise.
20923         (sqrt_test_upward): Likewise.
20924         (tan_test_data): Update call to AUTO_TESTS_f_f.
20925         (tan_test): Use ALL_RM_TEST.
20926         (tan_tonearest_test_data): Remove.
20927         (tan_test_tonearest): Likewise.
20928         (tan_towardzero_test_data): Likewise.
20929         (tan_test_towardzero): Likewise.
20930         (tan_downward_test_data): Likewise.
20931         (tan_test_downward): Likewise.
20932         (tan_upward_test_data): Likewise.
20933         (tan_test_upward): Likewise.
20934         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20935         (tgamma_test_data): Likewise.
20936         (y0_test_data): Likewise.
20937         (y1_test_data): Likewise.
20938         (yn_test_data): Update call to AUTO_TESTS_if_f.
20939         (main): Do not call removed functions.
20941 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20943         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20944         (ldexp_test_data): Remove.
20945         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20946         scalbn_test_data.
20947         (scalb_test): Use ALL_RM_TEST.
20949 2014-03-19  Andreas Schwab  <schwab@suse.de>
20951         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20953 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20955         [BZ #16649]
20956         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20957         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20958         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20959         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20960         (__ASSUME_PREADV): Undefine.
20961         (__ASSUME_PWRITEV): Likewise.
20963 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20965         * bits/mman-linux.h: Add comment about non-Linux use.
20966         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20967         bits/mman-linux.h resting place.
20969         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20970         * bits/mman-linux.h: ... here.
20972 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20974         * conform/conformtest.pl: Add standard definition when calling C
20975         preprocessor on data files.
20976         (checknamespace): Remove unused variable.
20978 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20980         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20981         minus_oflow, plus_uflow and minus_uflow in expected results.
20982         * math/libm-test.inc (scalbn_test_data): Add more tests of
20983         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20984         minus_uflow.
20985         (scalbn_test): Use ALL_RM_TEST.
20986         (scalbln_test_data): Add more tests of negative arguments.  Use
20987         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20988         (scalbln_test): Use ALL_RM_TEST.
20990 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20992         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20994 2014-03-18  Will Newton  <will.newton@linaro.org>
20996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20997         inaccurate comment.
20999 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21001         * Makerules [!subdir] (check-abi): Exit with error status if a
21002         test failed.
21004 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21006         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21007         for rint.  Include results for all rounding modes.
21008         (nearbyint_test): Use ALL_RM_TEST.
21009         (rint_test_data): Include all tests used for nearbyint.
21011 2014-03-17  Will Newton  <will.newton@linaro.org>
21013         * nptl/sysdeps/pthread/pthread.h: Revert previous
21014         change.
21016         * sysdeps/generic/ldsodefs.h: Revert previous
21017         change.
21019         * libio/genops.c: Revert previous change.
21020         * libio/libioP.h: Likewise.
21021         * stdio-common/vfprintf.c: Likewise.
21023         * sysdeps/generic/math_private.h: Revert previous
21024         change.
21026         * sysdeps/generic/math_private.h: Check whether
21027         HAVE_RM_CTX is defined with #ifdef rather
21028         than #if.
21030         * argp/argp-fmtstream.h: Check whether
21031         __STRICT_ANSI__ is defined with #ifdef rather
21032         than #if.
21033         * argp/argp.h: Likewise.
21035         * libio/genops.c: Check whether
21036         _IO_JUMPS_OFFSET is defined with #ifdef rather
21037         than #if.
21038         * libio/libioP.h: Likewise.
21039         * stdio-common/vfprintf.c: Likewise.
21041         * sysdeps/generic/ldsodefs.h: Check whether
21042         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21043         than #if.
21045         * nptl/sysdeps/pthread/pthread.h: Check
21046         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21047         its value.
21049 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21051         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21052         setting O_APPEND.
21053         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21054         test case.
21056         [BZ #16680]
21057         * libio/fileops.c (_IO_file_open): Seek to end of file but
21058         don't cache the offset.
21059         (get_file_offset): Remove function.
21060         (do_ftell): Use cached offset when available.
21061         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21062         don't cache the offset.
21063         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21064         case.
21065         (do_one_test): Call it.
21066         (do_ftell_test): Fix up expected old offset for a+ mode.
21067         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21068         available.
21070         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21071         up test status with function return status.
21072         (do_write_test): Likewise.
21073         (do_append_test): Likewise.
21075         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21076         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21077         Remove.
21079 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21081         * math/gen-libm-test.pl (parse_args): Handle results specified for
21082         each rounding mode separately.
21083         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21084         tests and results from lrint_tonearest_test_data,
21085         lrint_towardzero_test_data, lrint_downward_test_data and
21086         lrint_upward_test_data.
21087         (lrint_test): Use ALL_RM_TEST.
21088         (lrint_tonearest_test_data): Remove.
21089         (lrint_test_tonearest): Likewise.
21090         (lrint_towardzero_test_data): Likewise.
21091         (lrint_test_towardzero): Likewise.
21092         (lrint_downward_test_data): Likewise.
21093         (lrint_test_downward): Likewise.
21094         (lrint_upward_test_data): Likewise.
21095         (lrint_test_upward): Likewise.
21096         (llrint_test_data): Merge in per-rounding-mode tests and results
21097         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21098         llrint_downward_test_data and llrint_upward_test_data.
21099         (llrint_test): Use ALL_RM_TEST.
21100         (llrint_tonearest_test_data): Remove.
21101         (llrint_test_tonearest): Likewise.
21102         (llrint_towardzero_test_data): Likewise.
21103         (llrint_test_towardzero): Likewise.
21104         (llrint_downward_test_data): Likewise.
21105         (llrint_test_downward): Likewise.
21106         (llrint_upward_test_data): Likewise.
21107         (llrint_test_upward): Likewise.
21108         (rint_test_data): Merge in per-rounding-mode tests and results
21109         from rint_tonearest_test_data, rint_towardzero_test_data,
21110         rint_downward_test_data and rint_upward_test_data.  Add
21111         per-rounding-mode results for tests not in those arrays.
21112         (rint_test): Use ALL_RM_TEST.
21113         (rint_tonearest_test_data): Remove.
21114         (rint_test_tonearest): Likewise.
21115         (rint_towardzero_test_data): Likewise.
21116         (rint_test_towardzero): Likewise.
21117         (rint_downward_test_data): Likewise.
21118         (rint_test_downward): Likewise.
21119         (rint_upward_test_data): Likewise.
21120         (rint_test_upward): Likewise.
21121         (main): Don't call removed functions.
21123 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21125         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21126         "Compiled on ..." crapola.  It is anti-useful.
21128 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21130         * scripts/evaluate-test.sh: Handle fourth argument to determine
21131         whether test run should stop on failure.
21132         * Makeconfig (stop-on-test-failure): New variable.
21133         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21134         $(stop-on-test-failure).
21135         * Makefile (tests): Give a summary of results from testing and
21136         exit with failure status if they include an ERROR or FAIL.
21137         (xtests): Likewise.
21138         * manual/install.texi (Configuring and compiling): Mention
21139         stop-on-test-failure=y.
21140         * INSTALL: Regenerated.
21142 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21144         * scripts/versionlist.awk: New file.
21145         * Makerules [$(build-shared) = yes]
21146         (postclean-generated): Add Versions.def, not Versions.def.v and
21147         Versions.def.v.i.
21148         ($(common-objpfx)Versions.def.v.i): Target removed.
21149         ($(common-objpfx)Versions.def): New target.
21150         ($(common-objpfx)Versions.all): Depend on that rather that
21151         $(common-objpfx)Versions.def.v.
21152         * Versions.def: File removed.
21154         * Makeconfig (+gccwarn): Add -Wundef.
21155         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21156         a dl-sysdep.h breaking its contract.
21157         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21158         * include/stackinfo.h: New file.
21159         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21160         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21161         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21162         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21163         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21164         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21165         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21166         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21167         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21168         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21169         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21170         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21171         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21172         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21173         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21175 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21177         [BZ #16707]
21178         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21179         implementation.
21180         * math/libm-test.inc (round_test_data): Add more tests.
21182         [BZ #16706]
21183         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21184         implementation.
21185         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21187         [BZ #16701]
21188         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21189         implementation.
21190         * math/libm-test.inc (ceil_test_data): Add more tests.
21192         * math/libm-test.inc (trunc_test_data): Add more tests related to
21193         BZ#16414.
21195 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21197         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21198         with #if rather than #ifdef.
21199         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21201 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21203         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21204         first.  Disable AVX-512 GCC support if assembler doesn't support
21205         it.
21206         * sysdeps/x86_64/configure: Regenerated.
21208 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21210         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21211         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21212         (__old_pthread_attr_setstack): Likewise.
21213         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21214         [!_STACK_GROWS_DOWN]: Likewise.
21216 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21218         * config.make.in (have-bash2): Delete.
21219         * configure.ac (libc_cv_have_bash2): Delete.
21220         * configure: Regenerate.
21221         * elf/Makefile (common-ldd-rewrite): Rename to ...
21222         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21223         (sh-ldd-rewrite): Delete.
21224         (bash-ldd-rewrite): Delete.
21225         (have-bash2): Delete checks.
21226         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21227         ldd-rewrite.
21229         * config.make.in (have-ksh): Delete.
21230         (KSH): Delete.
21231         * configure.ac (libc_cv_have_ksh): Delete.
21232         * configure: Regenerate.
21234         * elf/Makefile: Delete $(have-ksh) check.
21235         ($(objpfx)sotruss): Change KSH to BASH.
21236         * elf/sotruss.ksh: Rename to ...
21237         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21238         function style to match POSIX.  Drop ksh vim mode setting.
21240         * manual/time.texi (Specifying the Time Zone with TZ): Change
21241         Tuesday to Thursday.
21243         * debug/tst-longjmp_chk2.c: Update header comment.
21244         (stackoverflow_handler): Add comment.  Call assert on pass value.
21246 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21248         [BZ #16194]
21249         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21250         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21251         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21252         (La_x86_64_vector): Add zmm.
21253         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21254         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21255         ($(objpfx)tst-audit10): New target.
21256         ($(objpfx)tst-audit10.out): Likewise.
21257         (tst-audit10-ENV): New.
21258         (AVX512-CFLAGS): Likewise.
21259         (CFLAGS-tst-audit10.c): Likewise.
21260         (CFLAGS-tst-auditmod10a.c): Likewise.
21261         (CFLAGS-tst-auditmod10b.c): Likewise.
21262         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21263         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21264         * sysdeps/x86_64/configure: Regenerated.
21265         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21266         AVX-512 zmm register support.
21267         (_dl_x86_64_save_sse): Likewise.
21268         (_dl_x86_64_restore_sse): Likewise.
21269         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21270         size vector registers.
21271         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21272         (ZMM_SIZE): Likewise.
21273         * sysdeps/x86_64/tst-audit10.c: New file.
21274         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21275         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21277 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21279         * configure.ac (HAVE_EHDR_START): New check.
21280         * configure: Regenerated.
21281         * config.h.in (HAVE_EHDR_START): New #undef.
21282         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21283         assuming the lowest-addressed segment maps the start of the file.
21285 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21287         * INSTALL: Regenerated.
21289 2014-03-13  Will Newton  <will.newton@linaro.org>
21291         * manual/setjmp.texi (System V contexts): Improve
21292         clarity and grammar of documentation.
21294 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21296         [BZ #16381]
21297         * elf/Makefile (tests): Add tst-pie2.
21298         (tests-pie): Add tst-pie2.
21299         * elf/tst-pie2.c: New file.
21300         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21301         for ET_EXEC.
21302         * elf/rtld.c (map_doit): Load executable as lt_executable.
21303         (dl_main): Likewise.
21305 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21307         [BZ #16642]
21308         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21309         (__ASSUME_PSELECT): Undefine.
21311 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21313         [BZ #16689]
21314         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21315         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21316         static build.
21317         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21318         selector for static builds.
21320 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21322         [BZ #16695]
21323         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21324         key in the buffer.
21326 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21328         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21329         IFUNC selector for static builds.
21331 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21333         * sysdeps/mips/math_private.h [__mips_hard_float]
21334         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21335         libc_feresetround_mips_ctx.
21336         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21337         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21338         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21340         [BZ #16677]
21341         * math/s_nextafter.c (__nextafter): Do not return value from
21342         overflowing computation.
21343         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21344         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21345         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21346         Likewise.
21347         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21348         Likewise.
21349         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21350         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21352 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21354         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21355         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21356         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21357         the new mov targetting sp.
21359 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21361         [BZ #16683]
21362         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21363         Define it for static builds as well.
21364         (NO_BZERO_IMPL): Likewise.
21366 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21368         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21369         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21370         multiarch strspn for PPC64.
21371         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21372         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21374         (__libc_ifunc_impl_list): Likewise.
21375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21376         multiarch optimizations
21377         * string/strspn.c (strspn): Using macro to redefine symbol name.
21379 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21380             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21382         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21383         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21384         multiarch strncat for PPC64.
21385         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21386         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21388         (__libc_ifunc_impl_list): Likewise.
21389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21390         multiarch optimizations
21392 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21394         [BZ #16639]
21395         * nscd/nscd.service: Make service type forking.
21397 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21399         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21400         sign in non default rounding modes.
21401         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21403 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21405         * math/libm-test.inc (ALL_RM_TEST): New macro.
21406         (ceil_test): Use ALL_RM_TEST.
21407         (cimag_test): Likewise.
21408         (conj_test): Likewise.
21409         (copysign_test): Likewise.
21410         (cproj_test): Likewise.
21411         (creal_test): Likewise.
21412         (fabs_test): Likewise.
21413         (floor_test): Likewise.
21414         (fmax_test): Likewise.
21415         (fmin_test): Likewise.
21416         (fmod_test): Likewise.
21417         (fpclassify_test): Likewise.
21418         (frexp_test): Likewise.
21419         (ilogb_test): Likewise.
21420         (isfinite_test): Likewise.
21421         (finite_test): Likewise.
21422         (isgreater_test): Likewise.
21423         (isgreaterequal_test): Likewise.
21424         (isinf_test): Likewise.
21425         (isless_test): Likewise.
21426         (islessequal_test): Likewise.
21427         (islessgreater_test): Likewise.
21428         (isnan_test): Likewise.
21429         (isnormal_test): Likewise.
21430         (issignaling_test): Likewise.
21431         (isunordered_test): Likewise.
21432         (logb_test): Likewise.
21433         (logb_downward_test_data): Remove.
21434         (logb_test_downward): Likewise.
21435         (lround_test): Use ALL_RM_TEST.
21436         (llround_test): Likewise.
21437         (modf_test): Likewise.
21438         (nexttoward_test): Likewise.
21439         (remainder_test): Likewise.
21440         (drem_test): Likewise.
21441         (remainder_tonearest_test_data): Likewise.
21442         (remainder_test_tonearest): Likewise.
21443         (drem_test_tonearest): Likewise.
21444         (remainder_towardzero_test_data): Likewise.
21445         (remainder_test_towardzero): Likewise.
21446         (drem_test_towardzero): Likewise.
21447         (remainder_downward_test_data): Likewise.
21448         (remainder_test_downward): Likewise.
21449         (drem_test_downward): Likewise.
21450         (remainder_upward_test_data): Likewise.
21451         (remainder_test_upward): Likewise.
21452         (drem_test_upward): Likewise.
21453         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21454         (round_test): Use ALL_RM_TEST.
21455         (signbit_test): Likewise.
21456         (trunc_test): Likewise.
21457         (significand_test): Likewise.
21458         (main): Don't call removed functions.
21460 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21462         [BZ #16674]
21463         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21464         || __USE_XOPEN2K8].
21465         (ILL_ILLOPN): Likewise.
21466         (ILL_ILLADR): Likewise.
21467         (ILL_ILLTRP): Likewise.
21468         (ILL_PRVOPC): Likewise.
21469         (ILL_PRVREG): Likewise.
21470         (ILL_COPROC): Likewise.
21471         (ILL_BADSTK): Likewise.
21472         (FPE_INTDIV): Likewise.
21473         (FPE_INTOVF): Likewise.
21474         (FPE_FLTDIV): Likewise.
21475         (FPE_FLTOVF): Likewise.
21476         (FPE_FLTUND): Likewise.
21477         (FPE_FLTRES): Likewise.
21478         (FPE_FLTINV): Likewise.
21479         (FPE_FLTSUB): Likewise.
21480         (SEGV_MAPERR): Likewise.
21481         (SEGV_ACCERR): Likewise.
21482         (BUS_ADRALN): Likewise.
21483         (BUS_ADRERR): Likewise.
21484         (BUS_OBJERR): Likewise.
21485         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21486         (TRAP_TRACE): Likewise.
21487         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21488         __USE_XOPEN2K8].
21489         (CLD_KILLED): Likewise.
21490         (CLD_DUMPED): Likewise.
21491         (CLD_TRAPPED): Likewise.
21492         (CLD_STOPPED): Likewise.
21493         (CLD_CONTINUED): Likewise.
21494         (POLL_IN): Likewise.
21495         (POLL_OUT): Likewise.
21496         (POLL_MSG): Likewise.
21497         (POLL_ERR): Likewise.
21498         (POLL_PRI): Likewise.
21499         (POLL_HUP): Likewise.
21500         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21501         Likewise.
21502         (ILL_ILLOPN): Likewise.
21503         (ILL_ILLADR): Likewise.
21504         (ILL_ILLTRP): Likewise.
21505         (ILL_PRVOPC): Likewise.
21506         (ILL_PRVREG): Likewise.
21507         (ILL_COPROC): Likewise.
21508         (ILL_BADSTK): Likewise.
21509         (FPE_INTDIV): Likewise.
21510         (FPE_INTOVF): Likewise.
21511         (FPE_FLTDIV): Likewise.
21512         (FPE_FLTOVF): Likewise.
21513         (FPE_FLTUND): Likewise.
21514         (FPE_FLTRES): Likewise.
21515         (FPE_FLTINV): Likewise.
21516         (FPE_FLTSUB): Likewise.
21517         (SEGV_MAPERR): Likewise.
21518         (SEGV_ACCERR): Likewise.
21519         (BUS_ADRALN): Likewise.
21520         (BUS_ADRERR): Likewise.
21521         (BUS_OBJERR): Likewise.
21522         (BUS_MCEERR_AR): Likewise.
21523         (BUS_MCEERR_AO): Likewise.
21524         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21525         (TRAP_TRACE): Likewise.
21526         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21527         __USE_XOPEN2K8].
21528         (CLD_KILLED): Likewise.
21529         (CLD_DUMPED): Likewise.
21530         (CLD_TRAPPED): Likewise.
21531         (CLD_STOPPED): Likewise.
21532         (CLD_CONTINUED): Likewise.
21533         (POLL_IN): Likewise.
21534         (POLL_OUT): Likewise.
21535         (POLL_MSG): Likewise.
21536         (POLL_ERR): Likewise.
21537         (POLL_PRI): Likewise.
21538         (POLL_HUP): Likewise.
21539         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21540         (ILL_ILLOPN): Likewise.
21541         (ILL_ILLADR): Likewise.
21542         (ILL_ILLTRP): Likewise.
21543         (ILL_PRVOPC): Likewise.
21544         (ILL_PRVREG): Likewise.
21545         (ILL_COPROC): Likewise.
21546         (ILL_BADSTK): Likewise.
21547         (FPE_INTDIV): Likewise.
21548         (FPE_INTOVF): Likewise.
21549         (FPE_FLTDIV): Likewise.
21550         (FPE_FLTOVF): Likewise.
21551         (FPE_FLTUND): Likewise.
21552         (FPE_FLTRES): Likewise.
21553         (FPE_FLTINV): Likewise.
21554         (FPE_FLTSUB): Likewise.
21555         (SEGV_MAPERR): Likewise.
21556         (SEGV_ACCERR): Likewise.
21557         (BUS_ADRALN): Likewise.
21558         (BUS_ADRERR): Likewise.
21559         (BUS_OBJERR): Likewise.
21560         (BUS_MCEERR_AR): Likewise.
21561         (BUS_MCEERR_AO): Likewise.
21562         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21563         (TRAP_TRACE): Likewise.
21564         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21565         __USE_XOPEN2K8].
21566         (CLD_KILLED): Likewise.
21567         (CLD_DUMPED): Likewise.
21568         (CLD_TRAPPED): Likewise.
21569         (CLD_STOPPED): Likewise.
21570         (CLD_CONTINUED): Likewise.
21571         (POLL_IN): Likewise.
21572         (POLL_OUT): Likewise.
21573         (POLL_MSG): Likewise.
21574         (POLL_ERR): Likewise.
21575         (POLL_PRI): Likewise.
21576         (POLL_HUP): Likewise.
21577         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21578         Likewise.
21579         (ILL_ILLOPN): Likewise.
21580         (ILL_ILLADR): Likewise.
21581         (ILL_ILLTRP): Likewise.
21582         (ILL_PRVOPC): Likewise.
21583         (ILL_PRVREG): Likewise.
21584         (ILL_COPROC): Likewise.
21585         (ILL_BADSTK): Likewise.
21586         (ILL_BADIADDR): Likewise.
21587         (ILL_BREAK): Likewise.
21588         (FPE_INTDIV): Likewise.
21589         (FPE_INTOVF): Likewise.
21590         (FPE_FLTDIV): Likewise.
21591         (FPE_FLTOVF): Likewise.
21592         (FPE_FLTUND): Likewise.
21593         (FPE_FLTRES): Likewise.
21594         (FPE_FLTINV): Likewise.
21595         (FPE_FLTSUB): Likewise.
21596         (FPE_DECOVF): Likewise.
21597         (FPE_DECDIV): Likewise.
21598         (FPE_DECERR): Likewise.
21599         (FPE_INVASC): Likewise.
21600         (FPE_INVDEC): Likewise.
21601         (SEGV_MAPERR): Likewise.
21602         (SEGV_ACCERR): Likewise.
21603         (SEGV_PSTKOVF): Likewise.
21604         (BUS_ADRALN): Likewise.
21605         (BUS_ADRERR): Likewise.
21606         (BUS_OBJERR): Likewise.
21607         (BUS_MCEERR_AR): Likewise.
21608         (BUS_MCEERR_AO): Likewise.
21609         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21610         (TRAP_TRACE): Likewise.
21611         (TRAP_BRANCH): Likewise.
21612         (TRAP_HWBKPT): Likewise.
21613         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21614         __USE_XOPEN2K8].
21615         (CLD_KILLED): Likewise.
21616         (CLD_DUMPED): Likewise.
21617         (CLD_TRAPPED): Likewise.
21618         (CLD_STOPPED): Likewise.
21619         (CLD_CONTINUED): Likewise.
21620         (POLL_IN): Likewise.
21621         (POLL_OUT): Likewise.
21622         (POLL_MSG): Likewise.
21623         (POLL_ERR): Likewise.
21624         (POLL_PRI): Likewise.
21625         (POLL_HUP): Likewise.
21626         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21627         (ILL_ILLOPN): Likewise.
21628         (ILL_ILLADR): Likewise.
21629         (ILL_ILLTRP): Likewise.
21630         (ILL_PRVOPC): Likewise.
21631         (ILL_PRVREG): Likewise.
21632         (ILL_COPROC): Likewise.
21633         (ILL_BADSTK): Likewise.
21634         (FPE_INTDIV): Likewise.
21635         (FPE_INTOVF): Likewise.
21636         (FPE_FLTDIV): Likewise.
21637         (FPE_FLTOVF): Likewise.
21638         (FPE_FLTUND): Likewise.
21639         (FPE_FLTRES): Likewise.
21640         (FPE_FLTINV): Likewise.
21641         (FPE_FLTSUB): Likewise.
21642         (SEGV_MAPERR): Likewise.
21643         (SEGV_ACCERR): Likewise.
21644         (BUS_ADRALN): Likewise.
21645         (BUS_ADRERR): Likewise.
21646         (BUS_OBJERR): Likewise.
21647         (BUS_MCEERR_AR): Likewise.
21648         (BUS_MCEERR_AO): Likewise.
21649         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21650         (TRAP_TRACE): Likewise.
21651         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21652         __USE_XOPEN2K8].
21653         (CLD_KILLED): Likewise.
21654         (CLD_DUMPED): Likewise.
21655         (CLD_TRAPPED): Likewise.
21656         (CLD_STOPPED): Likewise.
21657         (CLD_CONTINUED): Likewise.
21658         (POLL_IN): Likewise.
21659         (POLL_OUT): Likewise.
21660         (POLL_MSG): Likewise.
21661         (POLL_ERR): Likewise.
21662         (POLL_PRI): Likewise.
21663         (POLL_HUP): Likewise.
21664         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21665         (ILL_ILLOPN): Likewise.
21666         (ILL_ILLADR): Likewise.
21667         (ILL_ILLTRP): Likewise.
21668         (ILL_PRVOPC): Likewise.
21669         (ILL_PRVREG): Likewise.
21670         (ILL_COPROC): Likewise.
21671         (ILL_BADSTK): Likewise.
21672         (FPE_INTDIV): Likewise.
21673         (FPE_INTOVF): Likewise.
21674         (FPE_FLTDIV): Likewise.
21675         (FPE_FLTOVF): Likewise.
21676         (FPE_FLTUND): Likewise.
21677         (FPE_FLTRES): Likewise.
21678         (FPE_FLTINV): Likewise.
21679         (FPE_FLTSUB): Likewise.
21680         (SEGV_MAPERR): Likewise.
21681         (SEGV_ACCERR): Likewise.
21682         (BUS_ADRALN): Likewise.
21683         (BUS_ADRERR): Likewise.
21684         (BUS_OBJERR): Likewise.
21685         (BUS_MCEERR_AR): Likewise.
21686         (BUS_MCEERR_AO): Likewise.
21687         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21688         (TRAP_TRACE): Likewise.
21689         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21690         __USE_XOPEN2K8].
21691         (CLD_KILLED): Likewise.
21692         (CLD_DUMPED): Likewise.
21693         (CLD_TRAPPED): Likewise.
21694         (CLD_STOPPED): Likewise.
21695         (CLD_CONTINUED): Likewise.
21696         (POLL_IN): Likewise.
21697         (POLL_OUT): Likewise.
21698         (POLL_MSG): Likewise.
21699         (POLL_ERR): Likewise.
21700         (POLL_PRI): Likewise.
21701         (POLL_HUP): Likewise.
21702         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21703         (ILL_ILLOPN): Likewise.
21704         (ILL_ILLADR): Likewise.
21705         (ILL_ILLTRP): Likewise.
21706         (ILL_PRVOPC): Likewise.
21707         (ILL_PRVREG): Likewise.
21708         (ILL_COPROC): Likewise.
21709         (ILL_BADSTK): Likewise.
21710         (FPE_INTDIV): Likewise.
21711         (FPE_INTOVF): Likewise.
21712         (FPE_FLTDIV): Likewise.
21713         (FPE_FLTOVF): Likewise.
21714         (FPE_FLTUND): Likewise.
21715         (FPE_FLTRES): Likewise.
21716         (FPE_FLTINV): Likewise.
21717         (FPE_FLTSUB): Likewise.
21718         (SEGV_MAPERR): Likewise.
21719         (SEGV_ACCERR): Likewise.
21720         (BUS_ADRALN): Likewise.
21721         (BUS_ADRERR): Likewise.
21722         (BUS_OBJERR): Likewise.
21723         (BUS_MCEERR_AR): Likewise.
21724         (BUS_MCEERR_AO): Likewise.
21725         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21726         (TRAP_TRACE): Likewise.
21727         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21728         __USE_XOPEN2K8].
21729         (CLD_KILLED): Likewise.
21730         (CLD_DUMPED): Likewise.
21731         (CLD_TRAPPED): Likewise.
21732         (CLD_STOPPED): Likewise.
21733         (CLD_CONTINUED): Likewise.
21734         (POLL_IN): Likewise.
21735         (POLL_OUT): Likewise.
21736         (POLL_MSG): Likewise.
21737         (POLL_ERR): Likewise.
21738         (POLL_PRI): Likewise.
21739         (POLL_HUP): Likewise.
21740         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21741         (ILL_ILLOPN): Likewise.
21742         (ILL_ILLADR): Likewise.
21743         (ILL_ILLTRP): Likewise.
21744         (ILL_PRVOPC): Likewise.
21745         (ILL_PRVREG): Likewise.
21746         (ILL_COPROC): Likewise.
21747         (ILL_BADSTK): Likewise.
21748         (ILL_DBLFLT): Likewise.
21749         (ILL_HARDWALL): Likewise.
21750         (FPE_INTDIV): Likewise.
21751         (FPE_INTOVF): Likewise.
21752         (FPE_FLTDIV): Likewise.
21753         (FPE_FLTOVF): Likewise.
21754         (FPE_FLTUND): Likewise.
21755         (FPE_FLTRES): Likewise.
21756         (FPE_FLTINV): Likewise.
21757         (FPE_FLTSUB): Likewise.
21758         (SEGV_MAPERR): Likewise.
21759         (SEGV_ACCERR): Likewise.
21760         (BUS_ADRALN): Likewise.
21761         (BUS_ADRERR): Likewise.
21762         (BUS_OBJERR): Likewise.
21763         (BUS_MCEERR_AR): Likewise.
21764         (BUS_MCEERR_AO): Likewise.
21765         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21766         (TRAP_TRACE): Likewise.
21767         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21768         __USE_XOPEN2K8].
21769         (CLD_KILLED): Likewise.
21770         (CLD_DUMPED): Likewise.
21771         (CLD_TRAPPED): Likewise.
21772         (CLD_STOPPED): Likewise.
21773         (CLD_CONTINUED): Likewise.
21774         (POLL_IN): Likewise.
21775         (POLL_OUT): Likewise.
21776         (POLL_MSG): Likewise.
21777         (POLL_ERR): Likewise.
21778         (POLL_PRI): Likewise.
21779         (POLL_HUP): Likewise.
21780         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21781         (ILL_ILLOPN): Likewise.
21782         (ILL_ILLADR): Likewise.
21783         (ILL_ILLTRP): Likewise.
21784         (ILL_PRVOPC): Likewise.
21785         (ILL_PRVREG): Likewise.
21786         (ILL_COPROC): Likewise.
21787         (ILL_BADSTK): Likewise.
21788         (FPE_INTDIV): Likewise.
21789         (FPE_INTOVF): Likewise.
21790         (FPE_FLTDIV): Likewise.
21791         (FPE_FLTOVF): Likewise.
21792         (FPE_FLTUND): Likewise.
21793         (FPE_FLTRES): Likewise.
21794         (FPE_FLTINV): Likewise.
21795         (FPE_FLTSUB): Likewise.
21796         (SEGV_MAPERR): Likewise.
21797         (SEGV_ACCERR): Likewise.
21798         (BUS_ADRALN): Likewise.
21799         (BUS_ADRERR): Likewise.
21800         (BUS_OBJERR): Likewise.
21801         (BUS_MCEERR_AR): Likewise.
21802         (BUS_MCEERR_AO): Likewise.
21803         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21804         (TRAP_TRACE): Likewise.
21805         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21806         __USE_XOPEN2K8].
21807         (CLD_KILLED): Likewise.
21808         (CLD_DUMPED): Likewise.
21809         (CLD_TRAPPED): Likewise.
21810         (CLD_STOPPED): Likewise.
21811         (CLD_CONTINUED): Likewise.
21812         (POLL_IN): Likewise.
21813         (POLL_OUT): Likewise.
21814         (POLL_MSG): Likewise.
21815         (POLL_ERR): Likewise.
21816         (POLL_PRI): Likewise.
21817         (POLL_HUP): Likewise.
21818         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21819         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21821         [BZ #16670]
21822         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21823         before #include of <time.h>.
21824         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21825         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21826         (test-xfail-UNIX98/sched.h/conform): Likewise.
21828 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21830         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21831         error absence of trapping exception support.
21832         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21834 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21836         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21837         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21838         * timezone/Makefile (testdata): Move definition above include of
21839         Rules.
21840         (test-zones): New variable.
21841         (tests-special): Add zone files.
21842         (build-testdata): Use $(evaluate-test).
21844         * elf/Makefile (tests-special): Rename tests to end with .out.
21845         ($(objpfx)noload-mem): Likewise.
21846         ($(objpfx)tst-leaks1-mem): Likewise.
21847         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21848         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21849         $(objpfx)test-iconvconfig.out.
21850         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21851         set -e inside subshell and redirect output to file.
21852         * iconvdata/Makefile (generated): Rename tests to end with .out.
21853         Correct type.
21854         (tests-special): Rename tests to end with .out.
21855         ($(objpfx)mtrace-tst-loading): Likewise.
21856         * intl/Makefile (generated): Likewise.
21857         (tests-special): Likewise.
21858         ($(objpfx)mtrace-tst-gettext): Likewise.
21859         * misc/Makefile (generated): Likewise.
21860         (tests-special): Likewise.
21861         ($(objpfx)tst-error1-mem): Likewise.
21862         * nptl/Makefile (tests-special): Likewise.
21863         ($(objpfx)tst-stack3-mem): Likewise.
21864         (generated): Likewise.
21865         * posix/Makefile (generated): Likewise.
21866         (tests-special): Likewise.
21867         (xtests-special): Likewise.
21868         ($(objpfx)tst-fnmatch-mem): Likewise.
21869         ($(objpfx)bug-regex2-mem): Likewise.
21870         ($(objpfx)bug-regex14-mem): Likewise.
21871         ($(objpfx)bug-regex21-mem): Likewise.
21872         ($(objpfx)bug-regex31-mem): Likewise.
21873         ($(objpfx)tst-vfork3-mem): Likewise.
21874         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21875         ($(objpfx)tst-pcre-mem): Likewise.
21876         ($(objpfx)tst-boost-mem): Likewise.
21877         ($(objpfx)bug-ga2-mem): Likewise.
21878         ($(objpfx)bug-glob2-mem): Likewise.
21879         * resolv/Makefile (generate): Likewise.
21880         (tests-special): Likewise.
21881         (xtests-special): Likewise.
21882         (generated): Likewise.
21883         ($(objpfx)mtrace-tst-leaks): Likewise.
21884         ($(objpfx)mtrace-tst-leaks2): Likewise.
21886         * scripts/merge-test-results.sh: New file.
21887         * Makefile (tests-special-notdir): New variable.
21888         (tests): Run merge-test-results.sh.
21889         (xtests): Likewise.
21890         * Rules (tests-special-notdir): New variable.
21891         (xtests-special-notdir): Likewise.
21892         (tests): Run merge-test-results.sh
21893         (xtests): Likewise.
21895         * Makeconfig (test-xfail-name): New variable.
21896         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21897         compute variable name for expected failures.
21898         * conform/Makefile (conformtest-headers-data): New variable.
21899         (conformtest-standards): Likewise.
21900         (conformtest-headers-ISO): Likewise.
21901         (conformtest-headers-ISO99): Likewise.
21902         (conformtest-headers-ISO11): Likewise.
21903         (conformtest-headers-POSIX): Likewise.
21904         (conformtest-headers-XPG3): Likewise.
21905         (conformtest-headers-XPG4): Likewise.
21906         (conformtest-headers-UNIX98): Likewise.
21907         (conformtest-headers-XOPEN2K): Likewise.
21908         (conformtest-headers-POSIX2008): Likewise.
21909         (conformtest-headers-XOPEN2K8): Likewise.
21910         (conformtest-header-list-base): Likewise.
21911         (conformtest-header-list-tests): Likewise.
21912         (conformtest-header-base): Likewise.
21913         (conformtest-header-tests): Likewise.
21914         (tests-special): Add $(conformtest-header-list-tests).  If
21915         [$(fast-check) && !$(cross-compiling)], add
21916         $(conformtest-header-tests) instead of
21917         $(objpfx)run-conformtest.out.
21918         (generated): Add $(conformtest-header-list-base).  If
21919         [$(fast-check) && !$(cross-compiling)], add
21920         $(conformtest-header-base).  Remove previous setting.
21921         ($(conformtest-header-list-tests)): New target.
21922         (test-xfail-run-conformtest): Remove variable.
21923         ($(objpfx)run-conformtest.out): Remove target.
21924         (test-xfail-ISO11/complex.h/conform): New variable.
21925         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21926         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21927         (test-xfail-XPG3/varargs.h/conform): Likewise.
21928         (test-xfail-XPG4/varargs.h/conform): Likewise.
21929         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21930         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21931         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21932         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21933         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21934         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21935         (test-xfail-XPG3/ftw.h/conform): Likewise.
21936         (test-xfail-XPG3/grp.h/conform): Likewise.
21937         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21938         (test-xfail-XPG3/limits.h/conform): Likewise.
21939         (test-xfail-XPG3/pwd.h/conform): Likewise.
21940         (test-xfail-XPG3/search.h/conform): Likewise.
21941         (test-xfail-XPG3/signal.h/conform): Likewise.
21942         (test-xfail-XPG3/stdio.h/conform): Likewise.
21943         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21944         (test-xfail-XPG3/string.h/conform): Likewise.
21945         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21946         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21947         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21948         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21949         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21950         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21951         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21952         (test-xfail-XPG3/termios.h/conform): Likewise.
21953         (test-xfail-XPG3/time.h/conform): Likewise.
21954         (test-xfail-XPG3/unistd.h/conform): Likewise.
21955         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21956         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21957         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21958         (test-xfail-XPG4/netdb.h/conform): Likewise.
21959         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21960         (test-xfail-XPG4/signal.h/conform): Likewise.
21961         (test-xfail-XPG4/stdio.h/conform): Likewise.
21962         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21963         (test-xfail-XPG4/stropts.h/conform): Likewise.
21964         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21965         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21966         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21967         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21968         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21969         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21970         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21971         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21972         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21973         (test-xfail-XPG4/termios.h/conform): Likewise.
21974         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21975         (test-xfail-XPG4/unistd.h/conform): Likewise.
21976         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21977         (test-xfail-POSIX/sched.h/conform): Likewise.
21978         (test-xfail-POSIX/signal.h/conform): Likewise.
21979         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21980         (test-xfail-POSIX/tar.h/conform): Likewise.
21981         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21982         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21983         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21984         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21985         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21986         (test-xfail-UNIX98/sched.h/conform): Likewise.
21987         (test-xfail-UNIX98/signal.h/conform): Likewise.
21988         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21989         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21990         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21991         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21992         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21993         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21994         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21995         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21996         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21997         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21998         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21999         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22000         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22001         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22002         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22003         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22004         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22005         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22006         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22007         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22008         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22009         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22010         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22011         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22012         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22013         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22014         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22015         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22016         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22017         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22018         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22019         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22020         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22021         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22022         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22023         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22024         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22025         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22026         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22027         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22028         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22029         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22030         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22031         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22032         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22033         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22034         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22035         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22036         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22037         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22038         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22039         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22040         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22041         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22042         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22043         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22044         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22045         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22046         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22047         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22048         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22049         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22050         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22051         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22052         (conformtest-cc-flags): Likewise.
22053         ($(conformtest-header-tests): New target.
22054         * conform/check-header-lists.sh: New file.
22055         * conform/run-conformtest.sh: Remove.
22057         * conform/conformtest.pl: Allow ' and \ in values given for
22058         constants.
22059         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22060         inclusion.
22061         [POSIX] (sys/types.h): Likewise.
22062         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22063         inclusion.
22064         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22065         inclusion.
22066         * conform/data/signal.h-data (SIGIO): Remove expectation.
22067         [XPG3] (SIGBUS): Do not expect.
22068         [POSIX || XPG3] (SIGPOLL): Likewise.
22069         [POSIX || XPG3] (SIGPROF): Likewise.
22070         [POSIX || XPG3] (SIGSYS): Likewise.
22071         [XPG3] (SIGTRAP): Likewise.
22072         [POSIX || XPG3] (SIGURG): Likewise.
22073         [POSIX || XPG3] (SIGVTALRM): Likewise.
22074         [POSIX || XPG3] (SIGXCPU): Likewise.
22075         [POSIX || XPG3] (SIGXFSZ): Likewise.
22076         [POSIX] (SA_SIGINFO): Expect.
22077         [XPG3] (siginfo_t): Do not expect type or contents.
22078         [POSIX] (si_pid): Do not expect element.
22079         [POSIX] (si_uid): Likewise.
22080         [POSIX] (si_addr): Likewise.
22081         [POSIX] (si_status): Likewise.
22082         [POSIX] (si_band): Likewise.
22083         [XPG4] (si_value): Likewise.
22084         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22085         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22086         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22087         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22088         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22089         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22090         [POSIX || XPG3] (ILL_COPROC): Likewise.
22091         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22092         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22093         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22094         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22095         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22096         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22097         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22098         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22099         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22100         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22101         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22102         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22103         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22104         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22105         [POSIX || XPG3] (CLD_EXITED): Likewise.
22106         [POSIX || XPG3] (CLD_KILLED): Likewise.
22107         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22108         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22109         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22110         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22111         [POSIX || XPG3] (POLL_IN): Likewise.
22112         [POSIX || XPG3] (POLL_OUT): Likewise.
22113         [POSIX || XPG3] (POLL_MSG): Likewise.
22114         [POSIX || XPG3] (POLL_ERR): Likewise.
22115         [POSIX || XPG3] (POLL_PRI): Likewise.
22116         [POSIX || XPG3] (POLL_HUP): Likewise.
22117         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22118         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22119         (SIG*): Do not allow.
22120         [XPG3] (si_*): Likewise.
22121         [XPG3] (SI_*): Likewise.
22122         [XPG3 || XPG4] (sigev_*): Likewise.
22123         [XPG3 || XPG4] (SIGEV_*): Likewise.
22124         [XPG3 || XPG4] (sival_*): Likewise.
22125         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22126         [POSIX || XPG3] (BUS_*): Likewise.
22127         [POSIX || XPG3] (CLD_*): Likewise.
22128         [POSIX || XPG3] (FPE_*): Likewise.
22129         [POSIX || XPG3] (ILL_*): Likewise.
22130         [POSIX || XPG3] (POLL_*): Likewise.
22131         [POSIX || XPG3] (SEGV_*): Likewise.
22132         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22133         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22134         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22135         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22136         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22137         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22138         Specify type and value.
22139         (TVERSLEN): Likewise.
22140         (REGTYPE): Likewise.
22141         (AREGTYPE): Likewise.
22142         (LNKTYPE): Likewise.
22143         (SYMTYPE): Likewise.
22144         (CHRTYPE): Likewise.
22145         (BLKTYPE): Likewise.
22146         (DIRTYPE): Likewise.
22147         (FIFOTYPE): Likewise.
22148         (CONTTYPE): Likewise.
22149         (TSUID): Likewise.
22150         (TSGID): Likewise.
22151         (TSVTX): Likewise.
22152         (TUREAD): Likewise.
22153         (TUWRITE): Likewise.
22154         (TUEXEC): Likewise.
22155         (TGREAD): Likewise.
22156         (TGWRITE): Likewise.
22157         (TGEXEC): Likewise.
22158         (TOREAD): Likewise.
22159         (TOWRITE): Likewise.
22160         (TOEXEC): Likewise.
22161         [POSIX] (TSVTX): Expect constant.
22163 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22165         * Makefile (tests): Change dependencies to ....
22166         (tests-special): ... additions to this variable.
22167         (tests): Depend on $(tests-special).
22168         * Makerules (check-abi-list): New variable.
22169         (check-abi): Depend on $(check-abi-list).
22170         [$(subdir) = elf] (tests-special): Add
22171         $(objpfx)check-abi-libc.out.
22172         [$(build-shared) = yes && subdir] (tests-special): Add
22173         $(check-abi-list).
22174         [$(build-shared) = yes && subdir] (tests): Do not depend on
22175         check-abi.
22176         * Rules (tests): Depend on $(tests-special).
22177         (xtests): Depend on $(xtests-special).
22178         * catgets/Makefile (tests): Change dependencies to ....
22179         (tests-special): ... additions to this variable.
22180         * conform/Makefile (tests): Change dependencies to ....
22181         (tests-special): ... additions to this variable.
22182         * elf/Makefile (tests): Change dependencies to ....
22183         (tests-special): ... additions to this variable.
22184         * grp/Makefile (tests): Change dependencies to ....
22185         (tests-special): ... additions to this variable.
22186         * iconv/Makefile (xtests): Change dependencies to ....
22187         (xtests-special): ... additions to this variable.
22188         * iconvdata/Makefile (tests): Change dependencies to ....
22189         (tests-special): ... additions to this variable.
22190         * intl/Makefile (tests): Change dependencies to ....
22191         (tests-special): ... additions to this variable.  Also add
22192         $(objpfx)tst-gettext.out.
22193         * io/Makefile (tests): Change dependencies to ....
22194         (tests-special): ... additions to this variable.
22195         * libio/Makefile (tests): Change dependencies to ....
22196         (tests-special): ... additions to this variable.
22197         * malloc/Makefile (tests): Change dependencies to ....
22198         (tests-special): ... additions to this variable.
22199         * misc/Makefile (tests): Change dependencies to ....
22200         (tests-special): ... additions to this variable.
22201         * nptl/Makefile (tests): Change dependencies to ....
22202         (tests-special): ... additions to this variable.
22203         * nptl_db/Makefile (tests): Change dependencies to ....
22204         (tests-special): ... additions to this variable.
22205         * posix/Makefile (tests): Change dependencies to ....
22206         (tests-special): ... additions to this variable.
22207         (xtests): Change dependencies to ....
22208         (xtests-special): ... additions to this variable.
22209         * resolv/Makefile (tests): Change dependencies to ....
22210         (tests-special): ... additions to this variable.
22211         (xtests): Change dependencies to ....
22212         (xtests-special): ... additions to this variable.
22213         * stdio-common/Makefile (tests): Change dependencies to ....
22214         (tests-special): ... additions to this variable.
22215         (do-tst-unbputc): Remove target.
22216         (do-tst-printf): Likewise.
22217         * stdlib/Makefile (tests): Change dependencies to ....
22218         (tests-special): ... additions to this variable.
22219         * string/Makefile (tests): Change dependencies to ....
22220         (tests-special): ... additions to this variable.
22221         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22222         (tests-special): ... additions to this variable.
22224         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22225         whole file.
22226         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22227         whole file.
22228         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22229         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22231         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22232         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22233         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22234         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22235         * conform/data/libgen.h-data [XPG3]: Likewise.
22236         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22237         * conform/data/ndbm.h-data [XPG3]: Likewise.
22238         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22239         * conform/data/netdb.h-data [XPG3]: Likewise.
22240         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22241         * conform/data/poll.h-data [XPG3]: Likewise.
22242         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22243         * conform/data/strings.h-data [XPG3]: Likewise.
22244         * conform/data/stropts.h-data [XPG3]: Likewise.
22245         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22246         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22247         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22248         Likewise.
22249         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22250         * conform/data/sys/time.h-data [XPG3]: Likewise.
22251         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22252         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22253         * conform/data/sys/un.h-data [XPG3]: Likewise.
22254         * conform/data/syslog.h-data [XPG3]: Likewise.
22255         * conform/data/ucontext.h-data [XPG3]: Likewise.
22256         * conform/data/utmpx.h-data [XPG3]: Likewise.
22257         * conform/data/varargs.h-data [UNIX98]: Enable file.
22259         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22261         * math/libm-test.inc (struct test_f_f_data): Move expected results
22262         into structure for each rounding mode.
22263         (struct test_ff_f_data): Likewise.
22264         (struct test_ff_f_data_nexttoward): Likewise.
22265         (struct test_fi_f_data): Likewise.
22266         (struct test_fl_f_data): Likewise.
22267         (struct test_if_f_data): Likewise.
22268         (struct test_fff_f_data): Likewise.
22269         (struct test_c_f_data): Likewise.
22270         (struct test_f_f1_data): Likewise.
22271         (struct test_fF_f1_data): Likewise.
22272         (struct test_ffI_f1_data): Likewise.
22273         (struct test_c_c_data): Likewise.
22274         (struct test_cc_c_data): Likewise.
22275         (struct test_f_i_data): Likewise.
22276         (struct test_ff_i_data): Likewise.
22277         (struct test_f_l_data): Likewise.
22278         (struct test_f_L_data): Likewise.
22279         (struct test_fFF_11_data): Likewise.
22280         (RM_): New macro.
22281         (RM_FE_DOWNWARD): Likewise.
22282         (RM_FE_TONEAREST): Likewise.
22283         (RM_FE_TOWARDZERO): Likewise.
22284         (RM_FE_UPWARD): Likewise.
22285         (RUN_TEST_LOOP_f_f): Update references to expected results.
22286         (RUN_TEST_LOOP_2_f): Likewise.
22287         (RUN_TEST_LOOP_fff_f): Likewise.
22288         (RUN_TEST_LOOP_c_f): Likewise.
22289         (RUN_TEST_LOOP_f_f1): Likewise.
22290         (RUN_TEST_LOOP_fF_f1): Likewise.
22291         (RUN_TEST_LOOP_fI_f1): Likewise.
22292         (RUN_TEST_LOOP_ffI_f1): Likewise.
22293         (RUN_TEST_LOOP_c_c): Likewise.
22294         (RUN_TEST_LOOP_cc_c): Likewise.
22295         (RUN_TEST_LOOP_f_i): Likewise.
22296         (RUN_TEST_LOOP_f_i_tg): Likewise.
22297         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22298         (RUN_TEST_LOOP_f_b): Likewise.
22299         (RUN_TEST_LOOP_f_b_tg): Likewise.
22300         (RUN_TEST_LOOP_f_l): Likewise.
22301         (RUN_TEST_LOOP_f_L): Likewise.
22302         (RUN_TEST_LOOP_fFF_11): Likewise.
22303         * math/gen-libm-test.pl (parse_args): Output four copies of
22304         expected results for each test.
22306         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22307         (__ASSUME_UTIMES): Remove.
22308         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22309         (__ASSUME_UTIMES): Likewise.
22311         * math/gen-auto-libm-tests.c: Update comment on output format.
22312         (output_for_one_input_case): Generate before-rounding and
22313         after-rounding information as conditions on output flags not
22314         floating-point format.
22315         * math/auto-libm-test-out: Regenerated.
22316         * math/gen-libm-test.pl (cond_value): New function.
22317         (or_cond_value): Use cond_value.
22318         (generate_testfile): Handle conditional exceptions.
22320 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22322         * math/libm-test.inc (max_valid_error): New variable.
22323         (init_max_error): Take new argument specifying whether function
22324         results are exactly determined.  Set max_valid_error and bound
22325         other variables for errors based on this argument.
22326         (set_max_error): Do not record results above max_valid_error.
22327         (check_float_internal): Only accept errors of up to 0.5ulps if
22328         also at most max_valid_error.
22329         (START): Take new argument EXACT and pass it to init_max_error.
22330         (acos_test): Update call to START.
22331         (acos_test_tonearest): Likewise.
22332         (acos_test_towardzero): Likewise.
22333         (acos_test_downward): Likewise.
22334         (acos_test_upward): Likewise.
22335         (acosh_test): Likewise.
22336         (asin_test): Likewise.
22337         (asin_test_tonearest): Likewise.
22338         (asin_test_towardzero): Likewise.
22339         (asin_test_downward): Likewise.
22340         (asin_test_upward): Likewise.
22341         (asinh_test): Likewise.
22342         (atan_test): Likewise.
22343         (atanh_test): Likewise.
22344         (atan2_test): Likewise.
22345         (cabs_test): Likewise.
22346         (cacos_test): Likewise.
22347         (cacosh_test): Likewise.
22348         (carg_test): Likewise.
22349         (casin_test): Likewise.
22350         (casinh_test): Likewise.
22351         (catan_test): Likewise.
22352         (catanh_test): Likewise.
22353         (cbrt_test): Likewise.
22354         (ccos_test): Likewise.
22355         (ccosh_test): Likewise.
22356         (ceil_test): Likewise.
22357         (cexp_test): Likewise.
22358         (cimag_test): Likewise.
22359         (clog_test): Likewise.
22360         (clog10_test): Likewise.
22361         (conj_test): Likewise.
22362         (copysign_test): Likewise.
22363         (cos_test): Likewise.
22364         (cos_test_tonearest): Likewise.
22365         (cos_test_towardzero): Likewise.
22366         (cos_test_downward): Likewise.
22367         (cos_test_upward): Likewise.
22368         (cosh_test): Likewise.
22369         (cosh_test_tonearest): Likewise.
22370         (cosh_test_towardzero): Likewise.
22371         (cosh_test_downward): Likewise.
22372         (cosh_test_upward): Likewise.
22373         (cpow_test): Likewise.
22374         (cproj_test): Likewise.
22375         (creal_test): Likewise.
22376         (csin_test): Likewise.
22377         (csinh_test): Likewise.
22378         (csqrt_test): Likewise.
22379         (ctan_test): Likewise.
22380         (ctan_test_tonearest): Likewise.
22381         (ctan_test_towardzero): Likewise.
22382         (ctan_test_downward): Likewise.
22383         (ctan_test_upward): Likewise.
22384         (ctanh_test): Likewise.
22385         (ctanh_test_tonearest): Likewise.
22386         (ctanh_test_towardzero): Likewise.
22387         (ctanh_test_downward): Likewise.
22388         (ctanh_test_upward): Likewise.
22389         (erf_test): Likewise.
22390         (erfc_test): Likewise.
22391         (exp_test): Likewise.
22392         (exp_test_tonearest): Likewise.
22393         (exp_test_towardzero): Likewise.
22394         (exp_test_downward): Likewise.
22395         (exp_test_upward): Likewise.
22396         (exp10_test): Likewise.
22397         (exp10_test_tonearest): Likewise.
22398         (exp10_test_towardzero): Likewise.
22399         (exp10_test_downward): Likewise.
22400         (exp10_test_upward): Likewise.
22401         (pow10_test): Likewise.
22402         (exp2_test): Likewise.
22403         (expm1_test): Likewise.
22404         (expm1_test_tonearest): Likewise.
22405         (expm1_test_towardzero): Likewise.
22406         (expm1_test_downward): Likewise.
22407         (expm1_test_upward): Likewise.
22408         (fabs_test): Likewise.
22409         (fdim_test): Likewise.
22410         (floor_test): Likewise.
22411         (fma_test): Likewise.
22412         (fma_test_towardzero): Likewise.
22413         (fma_test_downward): Likewise.
22414         (fma_test_upward): Likewise.
22415         (fmax_test): Likewise.
22416         (fmin_test): Likewise.
22417         (fmod_test): Likewise.
22418         (fpclassify_test): Likewise.
22419         (frexp_test): Likewise.
22420         (hypot_test): Likewise.
22421         (ilogb_test): Likewise.
22422         (isfinite_test): Likewise.
22423         (finite_test): Likewise.
22424         (isgreater_test): Likewise.
22425         (isgreaterequal_test): Likewise.
22426         (isinf_test): Likewise.
22427         (isless_test): Likewise.
22428         (islessequal_test): Likewise.
22429         (islessgreater_test): Likewise.
22430         (isnan_test): Likewise.
22431         (isnormal_test): Likewise.
22432         (issignaling_test): Likewise.
22433         (isunordered_test): Likewise.
22434         (j0_test): Likewise.
22435         (j1_test): Likewise.
22436         (jn_test): Likewise.
22437         (ldexp_test): Likewise.
22438         (lgamma_test): Likewise.
22439         (gamma_test): Likewise.
22440         (lrint_test): Likewise.
22441         (lrint_test_tonearest): Likewise.
22442         (lrint_test_towardzero): Likewise.
22443         (lrint_test_downward): Likewise.
22444         (lrint_test_upward): Likewise.
22445         (llrint_test): Likewise.
22446         (llrint_test_tonearest): Likewise.
22447         (llrint_test_towardzero): Likewise.
22448         (llrint_test_downward): Likewise.
22449         (llrint_test_upward): Likewise.
22450         (log_test): Likewise.
22451         (log10_test): Likewise.
22452         (log1p_test): Likewise.
22453         (log2_test): Likewise.
22454         (logb_test): Likewise.
22455         (logb_test_downward): Likewise.
22456         (lround_test): Likewise.
22457         (llround_test): Likewise.
22458         (modf_test): Likewise.
22459         (nearbyint_test): Likewise.
22460         (nextafter_test): Likewise.
22461         (nexttoward_test): Likewise.
22462         (pow_test): Likewise.
22463         (pow_test_tonearest): Likewise.
22464         (pow_test_towardzero): Likewise.
22465         (pow_test_downward): Likewise.
22466         (pow_test_upward): Likewise.
22467         (remainder_test): Likewise.
22468         (drem_test): Likewise.
22469         (remainder_test_tonearest): Likewise.
22470         (drem_test_tonearest): Likewise.
22471         (remainder_test_towardzero): Likewise.
22472         (drem_test_towardzero): Likewise.
22473         (remainder_test_downward): Likewise.
22474         (drem_test_downward): Likewise.
22475         (remainder_test_upward): Likewise.
22476         (drem_test_upward): Likewise.
22477         (remquo_test): Likewise.
22478         (rint_test): Likewise.
22479         (rint_test_tonearest): Likewise.
22480         (rint_test_towardzero): Likewise.
22481         (rint_test_downward): Likewise.
22482         (rint_test_upward): Likewise.
22483         (round_test): Likewise.
22484         (scalb_test): Likewise.
22485         (scalbn_test): Likewise.
22486         (scalbln_test): Likewise.
22487         (signbit_test): Likewise.
22488         (sin_test): Likewise.
22489         (sin_test_tonearest): Likewise.
22490         (sin_test_towardzero): Likewise.
22491         (sin_test_downward): Likewise.
22492         (sin_test_upward): Likewise.
22493         (sincos_test): Likewise.
22494         (sinh_test): Likewise.
22495         (sinh_test_tonearest): Likewise.
22496         (sinh_test_towardzero): Likewise.
22497         (sinh_test_downward): Likewise.
22498         (sinh_test_upward): Likewise.
22499         (sqrt_test): Likewise.
22500         (sqrt_test_tonearest): Likewise.
22501         (sqrt_test_towardzero): Likewise.
22502         (sqrt_test_downward): Likewise.
22503         (sqrt_test_upward): Likewise.
22504         (tan_test): Likewise.
22505         (tan_test_tonearest): Likewise.
22506         (tan_test_towardzero): Likewise.
22507         (tan_test_downward): Likewise.
22508         (tan_test_upward): Likewise.
22509         (tanh_test): Likewise.
22510         (tgamma_test): Likewise.
22511         (trunc_test): Likewise.
22512         (y0_test): Likewise.
22513         (y1_test): Likewise.
22514         (yn_test): Likewise.
22515         (significand_test): Likewise.
22517         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22518         individual tests in comment.
22519         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22520         (prev_max_error): New variable.
22521         (prev_real_max_error): Likewise.
22522         (prev_imag_max_error): Likewise.
22523         (compare_ulp_data): Don't refer to test names in comment.
22524         (find_test_ulps): Remove function.
22525         (find_function_ulps): Likewise.
22526         (find_complex_function_ulps): Likewise.
22527         (init_max_error): Take function name as argument.  Look up ulps
22528         for that function.
22529         (print_ulps): Remove function.
22530         (print_max_error): Use prev_max_error instead of calling
22531         find_function_ulps.
22532         (print_complex_max_error): Use prev_real_max_error and
22533         prev_imag_max_error instead of calling find_complex_function_ulps.
22534         (check_float_internal): Take max_ulp parameter instead of calling
22535         find_test_ulps.  Don't call print_ulps.
22536         (check_float): Update call to check_float_internal.
22537         (check_complex): Update calls to check_float_internal.
22538         (START): Pass argument to init_max_error.
22539         * math/gen-libm-test.pl (%results): Don't include "kind"
22540         information.
22541         (parse_ulps): Don't handle ulps of individual tests.
22542         (print_ulps_file): Likewise.
22543         (output_ulps): Likewise.
22544         * math/README.libm-test: Update.
22545         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22546         individual tests.
22547         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22548         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22549         * sysdeps/arm/libm-test-ulps: Likewise.
22550         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22551         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22552         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22553         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22554         * sysdeps/microblaze/libm-test-ulps: Likewise.
22555         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22556         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22557         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22558         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22559         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22560         * sysdeps/sh/libm-test-ulps: Likewise.
22561         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22562         * sysdeps/tile/libm-test-ulps: Likewise.
22563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22565 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22567         * math/libm-test.inc (print_complex_max_error): Check separately
22568         whether real and imaginary errors are within allowed range and
22569         pass 0 to print_complex_function_ulps instead of value within
22570         allowed range.
22572 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22574         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22575         formatting.
22576         (get_handles_fopen): Likewise.
22577         (do_write_test): Likewise.
22579         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22581         * libio/fileops.c (do_ftell): Use cached offset when
22582         available.
22583         * libio/iofwide.c (do_ftell_wide): Likewise.
22584         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22585         _IO_file_attach.
22586         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22588         [BZ #16532]
22589         * libio/libioP.h (get_file_offset): New function.
22590         * libio/fileops.c (get_file_offset): Likewise.
22591         (do_ftell): Likewise.
22592         (_IO_new_file_seekoff): Split out ftell logic.
22593         * libio/wfileops.c (do_ftell_wide): Likewise.
22594         (_IO_wfile_seekoff): Split out ftell logic.
22595         * libio/tst-ftell-active-handler.c: New test case.
22596         * libio/Makefile (tests): Add it.
22598 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22600         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22601         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22603 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22605         [BZ #16639]
22606         * nscd/connections.c (nscd_init): Call do_exit.
22607         (start_threads): Call do_exit and notify_parent.
22608         (begin_drop_privileges): Call do_exit.
22609         (finish_drop_privileges): Likewise.
22610         * nscd/selinux.c (preserve_capabilities): Likewise.
22611         (install_real_capabilities): Likewise.
22612         (nscd_selinux_enabled): Likewise.
22613         (avc_create_thread): Likewise.
22614         (avc_alloc_lock): Likewise.
22615         (nscd_avc_init): Likewise.
22616         * nscd/nscd.c (parent_fd): New static variable.
22617         (main): Create a pipe between parent and child processes.
22618         Skip closing parent_fd.
22619         (monitor_child): New function.
22620         (do_exit): Likewise.
22621         (notify_parent): Likewise.
22622         * nscd/nscd.h (notify_parent): Likewise.
22623         (do_exit): Likewise.
22625 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22627         * malloc/malloc.c (__libc_calloc): Revert last change.
22629 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22633 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22635         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22637         implementation.
22638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22639         (__libc_ifunc_impl_list): Likewise.
22640         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22641         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22642         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22643         * string/strrchr.c: Define STRRCHR.
22645 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22647         * benchtest/bench-strtok.c (simple_strtok): Delete.
22648         (strtok_string): Use as benchmark.
22649         * string/strtok (STRTOK): New macro.
22651 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22653         * manual/threads.texi: Add header and standard comments to all
22654         functions.
22656         * elf/dl-lookup.c (check_match): New function.
22657         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22658         (do_lookup_x): Remove nested function check_match. Use non-nested
22659         function check_match.
22661 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22663         * csu/Makefile (generated, before-compile): Use += rather than =.
22664         * catgets/Makefile (generated, generated-dirs): Likewise.
22665         * debug/Makefile (generated): Likewise.
22666         * dlfcn/Makefile (generated): Likewise.
22667         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22668         * iconvdata/Makefile (before-compile, generated): Likewise.
22669         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22670         * libio/Makefile (generated): Likewise.
22671         * malloc/Makefile (generated): Likewise.
22672         * manual/Makefile (generated, generated-dirs): Likewise.
22673         * misc/Makefile (generated): Likewise.
22674         * posix/Makefile (generated): Likewise.
22675         * resolv/Makefile (generated): Likewise.
22676         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22677         * timezone/Makefile (generated, generated-dirs): Likewise.
22679         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22681 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22683         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22684         power8 implementation.
22685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22686         file: POWER8 llround ifunc implementation.
22687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22688         (__lllround): Add POWER8 implementation.
22689         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22690         POWER8 llround implementation.
22692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22693         power8 implementation.
22694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22695         file: POWER8 llrint ifunc implementation.
22696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22697         Add POWER8 implementation.
22698         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22699         POWER8 llrint implementation.
22701         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22702         power8 implementation.
22703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22704         file: POWER8 finite ifunc implementation.
22705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22706         Add POWER8 implementation.
22707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22708         Likewise.
22709         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22710         POWER8 finite implementation.
22711         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22714         power8 implementation.
22715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22716         file: POWER8 isinf ifunc implementation.
22717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22718         POWER8 implementation.
22719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22720         Likewise.
22721         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22722         isinf implementation.
22723         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22725         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22726         (INIT_ARCH): Add hwcap2 initialization.
22727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22728         power8 implementation.
22729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22730         file: POWER8 isnan ifunc implementation.
22731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22732         POWER8 implementation.
22733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22734         Likewise.
22735         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22736         isnan implementation.
22737         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22739 2014-02-27  Joey Ye  <joey.ye@arm.com>
22741         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22742         (_FP_NANFRAC_Q): Set to zero.
22744 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22746         [BZ #16623]
22747         * math/auto-libm-test-in: New test inputs.
22748         * math/auto-libm-test-out: Regenerate.
22749         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22750         and DA.
22751         (__cos): Likewise.
22752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22754 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22756         * scripts/evaluate-test.sh: Take new argument indicating whether
22757         failure is expected.
22758         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22759         indicating whether failure is expected.
22760         * conform/Makefile (test-xfail-run-conformtest): New variable.
22761         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22762         level.
22763         * posix/Makefile (test-xfail-annexc): New variable.
22764         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22766 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22768         * argp/Makefile: Include Makeconfig immediately after defining
22769         subdir.
22770         * assert/Makefile: Likewise.
22771         * benchtests/Makefile: Likewise.
22772         * catgets/Makefile: Likewise.
22773         * conform/Makefile: Likewise.
22774         * crypt/Makefile: Likewise.
22775         * csu/Makefile: Likewise.
22776         (all): Remove target.
22777         * ctype/Makefile: Include Makeconfig immediately after defining
22778         subdir.
22779         * debug/Makefile: Likewise.
22780         * dirent/Makefile: Likewise.
22781         * dlfcn/Makefile: Likewise.
22782         * gmon/Makefile: Likewise.
22783         * gnulib/Makefile: Likewise.
22784         * grp/Makefile: Likewise.
22785         * gshadow/Makefile: Likewise.
22786         * hesiod/Makefile: Likewise.
22787         * hurd/Makefile: Likewise.
22788         (all): Remove target.
22789         * iconvdata/Makefile: Include Makeconfig immediately after
22790         defining subdir.
22791         * inet/Makefile: Likewise.
22792         * intl/Makefile: Likewise.
22793         * io/Makefile: Likewise.
22794         * libio/Makefile: Likewise.
22795         (all): Remove target.
22796         * locale/Makefile: Include Makeconfig immediately after defining
22797         subdir.
22798         * login/Makefile: Likewise.
22799         * mach/Makefile: Likewise.
22800         (all): Remove target.
22801         * malloc/Makefile: Include Makeconfig immediately after defining
22802         subdir.
22803         (all): Remove target.
22804         * manual/Makefile: Include Makeconfig immediately after defining
22805         subdir.
22806         * math/Makefile: Likewise.
22807         * misc/Makefile: Likewise.
22808         * nis/Makefile: Likewise.
22809         * nss/Makefile: Likewise.
22810         * po/Makefile: Likewise.
22811         (all): Remove target.
22812         * posix/Makefile: Include Makeconfig immediately after defining
22813         subdir.
22814         * pwd/Makefile: Likewise.
22815         * resolv/Makefile: Likewise.
22816         * resource/Makefile: Likewise.
22817         * rt/Makefile: Likewise.
22818         * setjmp/Makefile: Likewise.
22819         * shadow/Makefile: Likewise.
22820         * signal/Makefile: Likewise.
22821         * socket/Makefile: Likewise.
22822         * soft-fp/Makefile: Likewise.
22823         * stdio-common/Makefile: Likewise.
22824         * stdlib/Makefile: Likewise.
22825         * streams/Makefile: Likewise.
22826         * string/Makefile: Likewise.
22827         * sunrpc/Makefile: Likewise.
22828         (all): Remove target.
22829         * sysvipc/Makefile: Include Makeconfig immediately after defining
22830         subdir.
22831         * termios/Makefile: Likewise.
22832         * time/Makefile: Likewise.
22833         * timezone/Makefile: Likewise.
22834         (all): Remove target.
22835         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22836         subdir.
22837         * wctype/Makefile: Likewise.
22839 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22841         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22842         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22843         (libc_feholdexcept_setround_mips): Ditto.
22844         (libc_feholdsetround): New.
22845         (libc_feholdsetroundf): New.
22846         (libc_feholdsetroundl): New.
22847         (libc_feupdateenv_test_mips): New.
22848         (libc_feupdateenv_test): New.
22849         (libc_feupdateenv_testf): New.
22850         (libc_feupdateenv_testl): New.
22851         (libc_feresetround): New.
22852         (libc_feresetroundf): New.
22853         (libc_feresetroundl): New.
22854         (libc_fetestexcept_mips): New.
22855         (libc_fetestexcept): New.
22856         (libc_fetestexceptf): New.
22857         (libc_fetestexceptl): New.
22858         (HAVE_RM_CTX): New.
22859         (libc_feholdexcept_setround_mips_ctx): New.
22860         (libc_feholdexcept_setround_ctx): New.
22861         (libc_feholdexcept_setroundf_ctx): New.
22862         (libc_feholdexcept_setroundl_ctx): New.
22863         (libc_fesetenv_mips_ctx): New.
22864         (libc_fesetenv_ctx): New.
22865         (libc_fesetenv_ctxf): New.
22866         (libc_fesetenv_ctxl): New.
22867         (libc_feupdateenv_mips_ctx): New.
22868         (libc_feupdateenv_ctx): New.
22869         (libc_feupdateenvf_ctx): New.
22870         (libc_feupdateenvl_ctx): New.
22871         (libc_feholdsetround_mips_ctx): New.
22872         (libc_feholdsetround_ctx): New.
22873         (libc_feholdsetroundf_ctx): New.
22874         (libc_feholdsetroundl_ctx): New.
22875         (libc_feresetround_mips_ctx): New.
22876         (libc_feresetround_ctx): New.
22877         (libc_feresetroundf_ctx): New.
22878         (libc_feresetroundl_ctx): New.
22880 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22882         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22884         * manual/ipc.texi: New file.
22885         * manual/Makefile (chapters): Add ipc.
22886         * manual/job.texi: Add "Inter-Process Communication" to next.
22887         * manual/process.texi: Add "Inter-Process Communication" to prev.
22889 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22893 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22895         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22897         * manual/arith.texi: Fix spaces after sentences.
22898         * manual/charset.texi: Likewise.
22899         * manual/errno.texi: Likewise.
22900         * manual/install.texi: Likewise.
22901         * manual/llio.texi: Likewise.
22902         * manual/locale.texi: Likewise.
22903         * manual/maint.texi: Likewise.
22904         * manual/math.texi: Likewise.
22905         * manual/memory.texi: Likewise.
22906         * manual/message.texi: Likewise.
22907         * manual/probes.texi: Likewise.
22908         * manual/resource.texi: Likewise.
22909         * manual/signal.texi: Likewise.
22910         * manual/socket.texi: Likewise.
22911         * manual/stdio.texi: Likewise.
22912         * manual/string.texi: Likewise.
22913         * manual/time.texi: Likewise.
22914         * manual/users.texi: Likewise.
22916 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22918         [BZ #16632]
22919         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22920         _DEFAULT_SOURCE is defined.
22922 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22923             Carlos O'Donell  <carlos@redhat.com>
22925         [BZ #16613]
22926         * elf/dl-tls.c (_dl_count_modids): New function.
22927         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22928         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22929         audit library and increment generation counter.
22930         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22931         * elf/tst-audit9.c: New file.
22932         * elf/tst-auditmod9a.c: New file.
22933         * elf/tst-auditmod9b.c: New file.
22934         * elf/Makefile: Add rules to build and run tst-audit9.
22936 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22938         [BZ #15347]
22939         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22941 2014-02-25  Will Newton  <will.newton@linaro.org>
22943         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22944         (__longjmp): Restore sp and lr before restoring callee
22945         saved registers.  Add longjmp and longjmp_target
22946         SystemTap probe point.
22947         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22948         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22949         Define to zero to match jmpbuf layout.
22950         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22951         (__sigsetjmp): Save sp and lr before saving callee
22952         saved registers.  Add setjmp SystemTap probe point.
22954 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22956         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22958 2014-02-24  Andreas Schwab  <schwab@suse.de>
22960         [BZ #15804]
22961         * elf/pldd.c (wait_for_ptrace_stop): New function.
22962         (main): Call it after attaching.
22964 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22966         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22967         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22968         Versions files is now verboten.
22969         * hurd/Versions (libc: GLIBC_2.0):
22970         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22971         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22972         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22973         * mach/Versions: Likewise.
22975         * csu/Versions: Remove unused %include.
22976         * resolv/Versions: Likewise.
22978 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22980         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22981         ($(objpfx)check-local-headers.out): Likewise.
22982         ($(objpfx)begin-end-check.out): Likewise.
22983         * Makerules (check-abi-%.out): Likewise.
22984         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22985         ($(objpfx)test2.cat): Likewise.
22986         ($(objpfx)de/libc.cat): Likewise.
22987         ($(objpfx)test-gencat.out): Likewise.
22988         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22989         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22990         ($(objpfx)noload-mem): Likewise.
22991         ($(objpfx)tst-pathopt.out): Likewise.
22992         ($(objpfx)tst-rtld-load-self.out): Likewise.
22993         ($(objpfx)tst-array1-cmp.out): Likewise.
22994         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22995         ($(objpfx)tst-array2-cmp.out): Likewise.
22996         ($(objpfx)tst-array3-cmp.out): Likewise.
22997         ($(objpfx)tst-array4-cmp.out): Likewise.
22998         ($(objpfx)tst-array5-cmp.out): Likewise.
22999         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23000         ($(objpfx)check-textrel.out): Likewise.
23001         ($(objpfx)check-execstack.out): Likewise.
23002         ($(objpfx)check-localplt.out): Likewise.
23003         ($(objpfx)order2-cmp.out): Likewise.
23004         ($(objpfx)tst-leaks1-mem): Likewise.
23005         ($(objpfx)tst-leaks1-static-mem): Likewise.
23006         ($(objpfx)tst-initorder-cmp.out): Likewise.
23007         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23008         ($(objpfx)tst-unused-dep.out): Likewise.
23009         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23010         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23011         * iconv/Makefile (test-iconvconfig): Likewise.
23012         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23013         ($(objpfx)iconv-test.out): Likewise.
23014         ($(objpfx)tst-tables.out): Likewise.
23015         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23016         ($(objpfx)tst-gettext.out): Likewise.
23017         ($(objpfx)tst-translit.out): Likewise.
23018         ($(objpfx)tst-gettext2.out): Likewise.
23019         ($(objpfx)tst-gettext4.out): Likewise.
23020         ($(objpfx)tst-gettext6.out): Likewise.
23021         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23022         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23023         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23024         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23025         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23026         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23027         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23028         ($(objpfx)wordexp-tst.out): Likewise.
23029         ($(objpfx)annexc.out): Likewise.
23030         ($(objpfx)tst-fnmatch-mem): Likewise.
23031         ($(objpfx)bug-regex2-mem): Likewise.
23032         ($(objpfx)bug-regex14-mem): Likewise.
23033         ($(objpfx)bug-regex21-mem): Likewise.
23034         ($(objpfx)bug-regex31-mem): Likewise.
23035         ($(objpfx)tst-vfork3-mem): Likewise.
23036         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23037         ($(objpfx)tst-pcre-mem): Likewise.
23038         ($(objpfx)tst-boost-mem): Likewise.
23039         ($(objpfx)tst-getconf.out): Likewise.
23040         ($(objpfx)bug-ga2-mem): Likewise.
23041         ($(objpfx)bug-glob2-mem): Likewise.
23042         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23043         ($(objpfx)mtrace-tst-leaks2): Likewise.
23044         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23045         ($(objpfx)tst-printf.out): Likewise.
23046         ($(objpfx)tst-setvbuf1.out): Likewise.
23047         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23048         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23049         ($(objpfx)tst-fmtmsg.out): Likewise.
23050         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23051         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23053         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23054         * bits/sigaction.h [__USE_MISC]: Likewise.
23055         * bits/waitstatus.h: Update #endif comments.
23056         * ctype/ctype.h: Likewise.
23057         * dirent/dirent.h: Likewise.
23058         [__USE_MISC]: Remove redundant conditionals.
23059         * grp/grp.h: Update #endif comments.
23060         [__USE_GNU]: Remove redundant conditionals.
23061         [__USE_MISC]: Likewise.
23062         * inet/netinet/in.h [__USE_GNU]: Likewise.
23063         * io/sys/stat.h [__USE_MISC]: Likewise.
23064         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23065         * libio/bits/stdio.h: Update #endif comments.
23066         [__USE_MISC]: Remove redundant conditionals.
23067         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23068         * libio/stdio.h: Update #endif comments.
23069         [__USE_MISC]: Remove redundant conditionals.
23070         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23071         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23072         * math/math.h: Update #else and #endif comments.
23073         [__USE_MISC]: Remove redundant conditionals.
23074         * misc/sys/uio.h: Update #endif comments.
23075         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23076         * posix/glob.h [__USE_MISC]: Likewise.
23077         * posix/sys/types.h: Update #endif comments.
23078         [__USE_MISC]: Remove redundant conditionals.
23079         * posix/sys/wait.h: Update #endif comments.
23080         [__USE_MISC]: Remove redundant conditionals.
23081         * posix/unistd.h: Update #endif comments.
23082         [__USE_MISC]: Remove redundant conditionals.
23083         * pwd/pwd.h [__USE_GNU]: Likewise.
23084         [__USE_MISC]: Likewise.
23085         * resolv/netdb.h [__USE_GNU]: Likewise.
23086         * signal/signal.h: Update #endif comments.
23087         [__USE_MISC]: Remove redundant conditionals.
23088         * stdlib/stdlib.h: Update #else and #endif comments.
23089         [__USE_MISC]: Remove redundant conditionals.
23090         [__USE_GNU]: Likewise.
23091         * string/bits/string2.h [__USE_MISC]: Likewise.
23092         * string/string.h: Update #endif comments.
23093         [__USE_MISC]: Remove redundant conditionals.
23094         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23095         Likewise.
23096         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23097         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23098         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23099         Likewise.
23100         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23101         Likewise.
23102         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23103         comments.
23104         [__USE_MISC]: Remove redundant conditionals.
23105         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23106         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23107         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23108         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23109         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23110         Likewise.
23111         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23112         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23113         Likewise.
23114         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23115         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23116         Likewise.
23117         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23118         Likewise.
23119         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23120         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23121         Likewise.
23122         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23123         Likewise.
23124         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23125         * sysdeps/x86/bits/string.h: Update #endif comments.
23126         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23127         conditionals.
23128         * time/sys/time.h: Update #endif comments.
23129         * time/time.h: Likewise.
23130         [__USE_MISC]: Remove redundant conditionals.
23132 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23134         [BZ #16600]
23135         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23137 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23139         * Versions.def (librt): Add GLIBC_2.17.
23141 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23143         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23144         synonym for _SYS_AUXV_H to allow direct inclusion.
23145         * sysdeps/sparc/bits/hwcap.h: Likewise.
23146         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23147         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23148         * sysdeps/sparc/sysdep.h: Likewise.
23150 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23152         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23154 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23156         * benchtests/bench-strrchr.c: Print length instead of position.
23158 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23160         [BZ #16611]
23161         * sysdeps/unix/sysv/linux/kernel-features.h
23162         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23163         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23164         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23165         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23166         Likewise.
23167         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23168         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23169         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23170         (__ASSUME_SENDMMSG): Define instead of using previous
23171         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23172         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23173         (__ASSUME_SENDMMSG_SYSCALL): Define.
23174         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23175         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23176         Likewise.
23177         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23178         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23179         Likewise.
23180         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23181         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23182         Likewise.
23183         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23184         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23185         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23186         [__ASSUME_SENDMMSG]: Change conditionals to
23187         [__ASSUME_SENDMMSG_SOCKETCALL].
23188         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23189         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23190         Define.
23191         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23192         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23193         Likewise.
23194         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23195         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23196         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23197         [!__ASSUME_SENDMMSG]: Change conditional to
23198         [!__ASSUME_SENDMMSG_SOCKETCALL].
23199         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23200         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23201         Define.
23203         [BZ #16610]
23204         * sysdeps/unix/sysv/linux/kernel-features.h
23205         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23206         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23207         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23208         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23209         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23210         [__i386__ || __sparc__]
23211         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23212         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23213         (__ASSUME_RECVMMSG): Define instead of using previous
23214         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23215         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23216         (__ASSUME_RECVMMSG_SYSCALL): Define.
23217         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23218         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23219         Likewise.
23220         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23221         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23222         Likewise.
23223         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23224         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23225         Likewise.
23226         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23227         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23228         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23229         [__ASSUME_RECVMMSG]: Change condition to
23230         [__ASSUME_RECVMMSG_SOCKETCALL].
23231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23232         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23233         Define.
23234         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23235         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23236         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23237         Likewise.
23238         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23239         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23240         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23241         [!__ASSUME_RECVMMSG]: Change condition to
23242         [!__ASSUME_RECVMMSG_SOCKETCALL].
23243         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23244         (__ASSUME_RECVMMSG_SYSCALL): Define.
23246         [BZ #16609]
23247         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23248         __powerpc__ || __s390__ || __sh__ || __sparc__]
23249         (__ASSUME_SOCKETCALL): Define.
23250         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23251         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23252         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23253         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23254         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23255         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23256         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23257         (__ASSUME_ACCEPT4): Define instead of using previous
23258         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23259         __powerpc__ || __sparc__ || __s390__)] condition.
23260         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23261         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23262         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23263         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23264         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23265         [!__ASSUME_ACCEPT4]: Change condition to
23266         [!__ASSUME_ACCEPT4_SOCKETCALL].
23267         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23268         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23269         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23270         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23271         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23272         __ASSUME_ACCEPT4_SYSCALL.
23273         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23274         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23275         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23276         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23277         __ASSUME_ACCEPT4_SYSCALL.
23278         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23279         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23280         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23281         [__ASSUME_ACCEPT4]: Change condition to
23282         [__ASSUME_ACCEPT4_SOCKETCALL].
23283         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23284         (__ASSUME_SOCKETCALL): Define.
23285         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23286         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23287         (__ASSUME_SOCKETCALL): Define.
23288         (__ASSUME_ACCEPT4): Remove.
23289         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23290         Define.
23291         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23292         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23293         Likewise.
23294         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23295         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23297         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23298         macro.
23299         (HWCAP_ARM_LPAE): Likewise.
23300         (HWCAP_ARM_EVTSTRM): Likewise.
23301         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23302         Add vpfd32, lpae and evtstrm.
23303         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23304         Increase to 22.
23306 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23308         * math/auto-libm-test-in: Add tests of clog10.
23309         * math/auto-libm-test-out: Regenerated.
23310         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23311         * sysdeps/i386/fpu/libm-test-ulps: Update.
23312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23314 2014-02-18  Andreas Schwab  <schwab@suse.de>
23316         [BZ #16574]
23317         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23318         Store non-zero if the second buffer was newly allocated.
23319         (send_dg): Likewise.
23320         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23321         to send_vc and send_dg.
23322         (res_nsend): Pass NULL for ansp2_malloced.
23323         * resolv/res_query.c (__libc_res_nquery): Add parameter
23324         answerp2_malloced and pass it down to __libc_res_nsend.
23325         (res_nquery): Pass additional NULL to __libc_res_nquery.
23326         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23327         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23328         second answer buffer if answerp2_malloced was set.
23329         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23330         (__libc_res_nquerydomain): Add parameter
23331         answerp2_malloced and pass it down to __libc_res_nquery.
23332         (res_nquerydomain): Pass additional NULL to
23333         __libc_res_nquerydomain.
23334         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23335         additional NULL to __libc_res_nsend and __libc_res_nquery.
23336         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23337         additional NULL to __libc_res_nsearch.
23338         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23339         parameter of __libc_res_nsearch to check for separately allocated
23340         second buffer.
23341         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23342         __libc_res_nquery.
23343         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23344         additional NULL to __libc_res_nquery.
23345         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23346         __libc_res_nsearch.
23347         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23348         * include/resolv.h: Update prototypes of __libc_res_nquery,
23349         __libc_res_nsearch, __libc_res_nsend.
23351 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23353         * math/auto-libm-test-in: Add tests of fma.
23354         * math/auto-libm-test-out: Regenerated.
23355         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23356         (fma_towardzero_test_data): Likewise.
23357         (fma_downward_test_data): Likewise.
23358         (fma_upward_test_data): Likewise.
23359         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23360         mpc_mode.
23361         (rounding_modes): Add values for new field.
23362         (func_calc_method): Add value mpfr_fff_f.
23363         (func_calc_desc): Add mpfr_fff_f union field.
23364         (test_function): Add field exact_args.
23365         (FUNC): Add macro argument EXACT_ARGS.
23366         (FUNC_mpfr_f_f): Update call to FUNC.
23367         (FUNC_mpfr_f_f): Likewise.
23368         (FUNC_mpfr_ff_f): Likewise.
23369         (FUNC_mpfr_if_f): Likewise.
23370         (FUNC_mpc_c_f): Likewise.
23371         (FUNC_mpc_c_c): Likewise.
23372         (test_functions): Add fma.  Update calls to FUNC.
23373         (handle_input_arg): Add argument exact_args.
23374         (add_test): Update call to handle_input_arg.
23375         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23376         (output_for_one_input_case): Update call to calc_generic_results.
23377         Recalculate exact zero results in each rounding mode.
23379         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23380         non-negative before setting low bit.
23381         * math/auto-libm-test-in: Mark one asin test possibly having
23382         spurious underflow.
23383         * math/auto-libm-test-out: Regenerated.
23384         * sysdeps/i386/fpu/libm-test-ulps: Update.
23385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23387 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23389         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23390         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23391         ports/sysdeps/unix/sysv/linux/microblaze.
23392         * README: Add missing listing for microblaze*-*-linux-gnu.
23394 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23396         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23397         duplicate code
23399 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23401         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23402         * sysdeps/unix/sysv/linux/ia64: Move directory from
23403         ports/sysdeps/unix/sysv/linux/ia64.
23404         * README: Update listing for ia64-*-linux-gnu.
23406 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23407             Joseph Myers  <joseph@codesourcery.com>
23409         * Makeconfig (test-name): New variable.
23410         (evaluate-test): Likewise.
23411         * Makerules (do-test-clean): Remove .test-result files.
23412         (common-mostlyclean): Likewise.
23413         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23414         * scripts/evaluate-test.sh: New file.
23416 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23418         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23419         separate $(objpfx)tst-fopenloc-cmp.out and
23420         $(objpfx)tst-fopenloc-mem.out targets.
23421         (tests): Update dependencies.
23422         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23423         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23424         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23425         (tst-rxspencer-no-utf8-ARGS): New variable.
23426         (tst-rxspencer-no-utf8-ENV): Likewise.
23427         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23428         instead of $(objpfx)tst-rxspencer-mem.
23429         ($(objpfx)tst-rxspencer-mem): Change target to
23430         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23431         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23432         * posix/tst-rxspencer-no-utf8.c: New file.
23434         * elf/Makefile ($(objpfx)order.out): Remove rule.
23435         [$(run-built-tests) = yes] (tests): Depend on
23436         $(objpfx)order-cmp.out.
23437         ($(objpfx)order-cmp.out): New rule.
23438         [$(run-built-tests) = yes] (tests): Depend on
23439         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23440         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23441         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23442         $(objpfx)tst-array5-static-cmp.out.
23443         ($(objpfx)tst-array1.out): Remove rule.
23444         ($(objpfx)tst-array1-cmp.out): New rule.
23445         ($(objpfx)tst-array1-static.out): Remove rule.
23446         ($(objpfx)tst-array1-static-cmp.out): New rule.
23447         ($(objpfx)tst-array2.out): Remove rule.
23448         ($(objpfx)tst-array2-cmp.out): New rule.
23449         ($(objpfx)tst-array3.out): Remove rule.
23450         ($(objpfx)tst-array3-cmp.out): New rule.
23451         ($(objpfx)tst-array4.out): Remove rule.
23452         ($(objpfx)tst-array4-cmp.out): New rule.
23453         ($(objpfx)tst-array5.out): Remove rule.
23454         ($(objpfx)tst-array5-cmp.out): New rule.
23455         ($(objpfx)tst-array5-static.out): Remove rule.
23456         ($(objpfx)tst-array5-static-cmp.out): New rule.
23457         [$(run-built-tests) = yes] (tests): Depend on
23458         $(objpfx)order2-cmp.out.
23459         ($(objpfx)order2.out): Remove rule.
23460         ($(objpfx)order2-cmp.out): New rule.
23461         ($(objpfx)tst-initorder.out): Remove rule.
23462         [$(run-built-tests) = yes] (tests): Depend on
23463         $(objpfx)tst-initorder-cmp.out.
23464         ($(objpfx)tst-initorder-cmp.out): New rule.
23465         ($(objpfx)tst-initorder2.out): Remove rule.
23466         [$(run-built-tests) = yes] (tests): Depend on
23467         $(objpfx)tst-initorder2-cmp.out.
23468         ($(objpfx)tst-initorder2-cmp.out): New rule.
23469         [$(run-built-tests) = yes] (tests): Depend on
23470         $(objpfx)tst-unused-dep-cmp.out.
23471         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23472         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23473         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23474         on $(objpfx)tst-setvbuf1-cmp.out.
23475         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23476         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23477         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23478         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23479         ($(objpfx)tst-svc.out): Remove rule.
23480         ($(objpfx)tst-svc-cmp.out): New rule.
23482 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23484         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23485         * ctype/ctype.h [__USE_MISC]: Likewise.
23486         * dirent/dirent.h [__USE_MISC]: Likewise.
23487         * grp/grp.h [__USE_MISC]: Likewise.
23488         * io/fcntl.h [__USE_MISC]: Likewise.
23489         * io/sys/stat.h [__USE_MISC]: Likewise.
23490         * libio/stdio.h [__USE_MISC]: Likewise.
23491         * posix/unistd.h [__USE_MISC]: Likewise.
23492         * pwd/pwd.h [__USE_MISC]: Likewise.
23493         * stdlib.h [__USE_MISC]: Likewise.
23494         * string/bits/string2.h [__USE_MISC]: Likewise.
23495         * string/string.h [__USE_MISC]: Likewise.
23496         * time/time.h [__USE_MISC]: Likewise.
23498 2014-02-13  Andreas Schwab  <schwab@suse.de>
23500         [BZ #16574]
23501         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23502         second answer buffer if it was separately allocated.
23504 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23506         * sysdeps/mips/math-tests.h: Include <features.h>.
23507         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23508         (ROUNDING_TESTS_long_double): Do not define.
23509         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23510         (EXCEPTION_TESTS_long_double): Likewise.
23511         * sysdeps/mips/mips64/libm-test-ulps: Update.
23513         * include/features.h (__USE_BSD): Remove macro definitions.
23514         (__USE_SVID): Likewise.
23515         (_BSD_SOURCE): Likewise.
23516         (_SVID_SOURCE): Likewise.
23517         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23518         from definition of _DEFAULT_SOURCE.
23519         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23520         [_DEFAULT_SOURCE].
23521         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23522         * bits/mman.h [__USE_BSD]: Likewise.
23523         * bits/termios.h [__USE_BSD]: Likewise.
23524         * bits/waitstatus.h [__USE_BSD]: Likewise.
23525         * ctype/ctype.h [__USE_SVID]: Likewise.
23526         * dirent/dirent.h [__USE_BSD]: Likewise.
23527         * grp/grp.h [__USE_SVID]: Likewise.
23528         [__USE_BSD]: Likewise.
23529         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23530         * io/fcntl.h [__USE_BSD]: Likewise.
23531         * io/ftw.h [__USE_BSD]: Likewise.
23532         * io/sys/stat.h [__USE_BSD]: Likewise.
23533         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23534         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23535         * libio/stdio.h [__USE_SVID]: Likewise.
23536         [__USE_BSD]: Likewise.
23537         * math/math.h [__USE_SVID]: Likewise.
23538         [__USE_BSD]: Likewise.
23539         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23540         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23541         * misc/search.h [__USE_SVID]: Likewise.
23542         * misc/sys/mman.h [__USE_BSD]: Likewise.
23543         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23544         * misc/sys/uio.h [__USE_BSD]: Likewise.
23545         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23546         * posix/glob.h [__USE_BSD]: Likewise.
23547         * posix/regex.h [__USE_BSD]: Likewise.
23548         * posix/sys/types.h [__USE_BSD]: Likewise.
23549         [__USE_SVID]: Likewise.
23550         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23551         * posix/sys/wait.h [__USE_BSD]: Likewise.
23552         [__USE_SVID]: Likewise.
23553         * posix/unistd.h [__USE_BSD]: Likewise.
23554         [__USE_SVID]: Likewise.
23555         * pwd/pwd.h [__USE_SVID]: Likewise.
23556         * resolv/netdb.h [__USE_BSD]: Likewise.
23557         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23558         * signal/signal.h [__USE_BSD]: Likewise.
23559         [__USE_SVID]: Likewise.
23560         * socket/sys/socket.h [__USE_BSD]: Likewise.
23561         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23562         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23563         [__USE_SVID]: Likewise.
23564         * string/bits/string2.h [__USE_BSD]: Likewise.
23565         [__USE_SVID]: Likewise.
23566         * string/bits/string3.h [__USE_BSD]: Likewise.
23567         * string/endian.h [__USE_BSD]: Likewise.
23568         * string/string.h [__USE_SVID]: Likewise.
23569         [__USE_BSD]: Likewise.
23570         * string/strings.h [__USE_BSD]: Likewise.
23571         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23572         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23573         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23574         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23575         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23576         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23577         Likewise.
23578         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23579         Likewise.
23580         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23581         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23582         Likewise.
23583         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23584         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23585         Likewise.
23586         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23587         Likewise.
23588         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23589         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23590         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23591         Likewise.
23592         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23593         Likewise.
23594         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23595         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23596         * termios/termios.h [__USE_BSD]: Likewise.
23597         * time/sys/time.h [__USE_BSD]: Likewise.
23598         * time/time.h [__USE_BSD]: Likewise.
23599         [__USE_SVID]: Likewise.
23601         * Makefile (subdir_targets): Remove subdir_lint.out.
23603         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23604         (do-tst-printf): Likewise.
23605         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23606         $(objpfx)tst-printf.out.
23608         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23610         * Makerules (check-abi-%): Change target to
23611         $(objpfx)check-abi-%.out.
23612         (check-abi target): Update dependencies.
23613         (check-abi-pattern variable): Redirect output of diff to $@.
23614         (check-abi variable): Likewise.
23615         * elf/Makefile (check-abi): Update dependencies.
23617         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23618         unused.
23619         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23620         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23621         subnormal range.
23622         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23623         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23624         value has largest subnormal exponent.
23625         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23626         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23627         * sysdeps/aarch64/soft-fp/sfp-machine.h
23628         (_FP_TININESS_AFTER_ROUNDING): New macro.
23629         * sysdeps/alpha/soft-fp/sfp-machine.h
23630         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23631         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23632         Likewise.
23633         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23634         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23635         * sysdeps/mips/soft-fp/sfp-machine.h
23636         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23637         * sysdeps/powerpc/soft-fp/sfp-machine.h
23638         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23639         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23640         Likewise.
23641         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23642         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23643         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23644         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23645         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23646         Likewise.
23648 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23650         [BZ #16545]
23651         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23652         model 1.
23654 2014-02-12  Richard Henderson  <rth@redhat.com>
23656         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23657         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23658         * sysdeps/unix/sysv/linux/alpha: Move directory from
23659         ports/sysdeps/unix/sysv/linux/alpha.
23660         * README: Update listing for alpha-*-linux-gnu.
23662 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23664         * include/features.h: Update comment documenting feature test
23665         macros.
23666         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23667         _DEFAULT_SOURCE.
23668         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23669         (_SVID_SOURCE): Likewise.
23670         (_DEFAULT_SOURCE): Update description of default features.
23671         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23672         with _GNU_SOURCE.
23673         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23674         (S_ISVTX): Likewise.
23675         * manual/math.texi (Mathematical Constants): Likewise.
23676         * manual/signal.texi (Interrupted Primitives): Likewise.
23677         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23678         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23679         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23680         Don't refer to _SVID_SOURCE in warning text.
23682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23684         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23685         already defined.
23686         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23687         * sysdeps/mips/dl-lookup.c: Remove.
23688         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23690 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23692         [BZ #16447]
23693         * math/auto-libm-test-in: Add testcase for expl.
23694         * math/auto-libm-test-out: Regenerate.
23695         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23696         calculation of unsafe.
23697         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23699 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23701         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23702         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23703         ports/sysdeps/unix/sysv/linux/aarch64.
23704         * README: Update listing for aarch64*-*-linux-gnu.
23706 2014-02-11  Will Newton  <will.newton@linaro.org>
23708         * manual/probes.texi (Mathematical Function Probes): Use
23709         "triggered" instead of "hit".
23711         * manual/probes.texi (Internal Probes): Add documentation
23712         of setjmp, longjmp and longjmp_target probes.
23714         * include/stap-probe.h: Add comment about probe argument
23715         format.
23717         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23718         definition.  (tr_where, tr_freehook, tr_mallochook,
23719         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23721 2014-02-11  David S. Miller  <davem@davemloft.net>
23723         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23724         processing int_tests.
23726 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23728         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23729         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23730         * sysdeps/unix/sysv/linux/mips: Move directory from
23731         ports/sysdeps/unix/sysv/linux/mips.
23732         * README: Update listing for mips-*-linux-gnu and
23733         mips64-*-linux-gnu.
23735 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23737         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23738         * sysdeps/unix/sysv/linux/m68k: Move directory from
23739         ports/sysdeps/unix/sysv/linux/m68k.
23740         * README: Update listing for m68k-*-linux-gnu.
23742 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23744         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23745         * sysdeps/unix/sysv/linux/generic: Move directory from
23746         ports/sysdeps/unix/sysv/linux/generic.
23747         * sysdeps/unix/sysv/linux/tile: Move directory from
23748         ports/sysdeps/unix/sysv/linux/tile.
23749         * README: Update listing for tile*-*-linux-gnu.
23751 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23753         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23754         __builtin_expect.
23755         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23756         * catgets/open_catalog.c (__open_catalog): Likewise.
23757         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23758         * debug/confstr_chk.c: Likewise.
23759         * debug/fread_chk.c (__fread_chk): Likewise.
23760         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23761         * debug/getgroups_chk.c: Likewise.
23762         * debug/mbsnrtowcs_chk.c: Likewise.
23763         * debug/mbsrtowcs_chk.c: Likewise.
23764         * debug/mbstowcs_chk.c: Likewise.
23765         * debug/memcpy_chk.c: Likewise.
23766         * debug/memmove_chk.c: Likewise.
23767         * debug/mempcpy_chk.c: Likewise.
23768         * debug/memset_chk.c: Likewise.
23769         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23770         * debug/strcat_chk.c (__strcat_chk): Likewise.
23771         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23772         * debug/strncat_chk.c (__strncat_chk): Likewise.
23773         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23774         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23775         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23776         * debug/wcpncpy_chk.c: Likewise.
23777         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23778         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23779         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23780         * debug/wcsncpy_chk.c: Likewise.
23781         * debug/wcsnrtombs_chk.c: Likewise.
23782         * debug/wcsrtombs_chk.c: Likewise.
23783         * debug/wcstombs_chk.c: Likewise.
23784         * debug/wmemcpy_chk.c: Likewise.
23785         * debug/wmemmove_chk.c: Likewise.
23786         * debug/wmempcpy_chk.c: Likewise.
23787         * debug/wmemset_chk.c: Likewise.
23788         * dirent/scandirat.c (SCANDIRAT): Likewise.
23789         * dlfcn/dladdr1.c (dladdr1): Likewise.
23790         * dlfcn/dladdr.c (dladdr): Likewise.
23791         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23792         * dlfcn/dlerror.c (__dlerror): Likewise.
23793         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23794         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23795         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23796         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23797         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23798         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23799         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23800         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23801         Likewise.
23802         * elf/dl-conflict.c: Likewise.
23803         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23804         * elf/dl-dst.h: Likewise.
23805         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23806         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23807         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23808         * elf/dl-init.c (call_init, _dl_init): Likewise.
23809         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23810         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23811         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23812         Likewise.
23813         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23814         Likewise.
23815         * elf/dl-minimal.c (__libc_memalign): Likewise.
23816         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23817         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23818         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23819         * elf/dl-sym.c (do_sym): Likewise.
23820         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23821         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23822         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23823         * elf/dl-writev.h (_dl_writev): Likewise.
23824         * elf/ldconfig.c (search_dir): Likewise.
23825         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23826         (dl_main): Likewise.
23827         * elf/setup-vdso.h (setup_vdso): Likewise.
23828         * grp/compat-initgroups.c (compat_call): Likewise.
23829         * grp/fgetgrent.c (fgetgrent): Likewise.
23830         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23831         * grp/putgrent.c (putgrent): Likewise.
23832         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23833         Likewise.
23834         * hurd/hurdinit.c: Likewise.
23835         * iconvdata/8bit-gap.c (struct): Likewise.
23836         * iconvdata/ansi_x3.110.c : Likewise.
23837         * iconvdata/big5.c : Likewise.
23838         * iconvdata/big5hkscs.c : Likewise.
23839         * iconvdata/cp1255.c: Likewise.
23840         * iconvdata/cp1258.c : Likewise.
23841         * iconvdata/cp932.c : Likewise.
23842         * iconvdata/euc-cn.c: Likewise.
23843         * iconvdata/euc-jisx0213.c : Likewise.
23844         * iconvdata/euc-jp.c: Likewise.
23845         * iconvdata/euc-jp-ms.c : Likewise.
23846         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23847         * iconvdata/gb18030.c : Likewise.
23848         * iconvdata/gbbig5.c (const): Likewise.
23849         * iconvdata/gbgbk.c: Likewise.
23850         * iconvdata/gbk.c : Likewise.
23851         * iconvdata/ibm1364.c : Likewise.
23852         * iconvdata/ibm930.c : Likewise.
23853         * iconvdata/ibm932.c: Likewise.
23854         * iconvdata/ibm933.c : Likewise.
23855         * iconvdata/ibm935.c : Likewise.
23856         * iconvdata/ibm937.c : Likewise.
23857         * iconvdata/ibm939.c : Likewise.
23858         * iconvdata/ibm943.c: Likewise.
23859         * iconvdata/iso_11548-1.c: Likewise.
23860         * iconvdata/iso-2022-cn.c : Likewise.
23861         * iconvdata/iso-2022-cn-ext.c : Likewise.
23862         * iconvdata/iso-2022-jp-3.c: Likewise.
23863         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23864         * iconvdata/iso-2022-kr.c : Likewise.
23865         * iconvdata/iso646.c (gconv_end): Likewise.
23866         * iconvdata/iso_6937-2.c : Likewise.
23867         * iconvdata/iso_6937.c : Likewise.
23868         * iconvdata/iso8859-1.c: Likewise.
23869         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23870         * iconvdata/shift_jisx0213.c : Likewise.
23871         * iconvdata/sjis.c : Likewise.
23872         * iconvdata/t.61.c : Likewise.
23873         * iconvdata/tcvn5712-1.c : Likewise.
23874         * iconvdata/tscii.c: Likewise.
23875         * iconvdata/uhc.c : Likewise.
23876         * iconvdata/unicode.c (gconv_end): Likewise.
23877         * iconvdata/utf-16.c (gconv_end): Likewise.
23878         * iconvdata/utf-32.c (gconv_end): Likewise.
23879         * iconvdata/utf-7.c (base64): Likewise.
23880         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23881         * iconv/gconv_close.c (__gconv_close): Likewise.
23882         * iconv/gconv_open.c (__gconv_open): Likewise.
23883         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23884         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23885         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23886         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23887         (ucs4le_internal_loop_single): Likewise.
23888         * iconv/iconv.c (iconv): Likewise.
23889         * iconv/iconv_close.c: Likewise.
23890         * iconv/loop.c (SINGLE): Likewise.
23891         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23892         * include/atomic.h: Likewise.
23893         * inet/inet6_option.c (option_alloc): Likewise.
23894         * intl/bindtextdom.c (set_binding_values): Likewise.
23895         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23896         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23897         * intl/localealias.c (read_alias_file): Likewise.
23898         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23899         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23900         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23901         * libio/fmemopen.c (fmemopen): Likewise.
23902         * libio/iofgets.c (_IO_fgets): Likewise.
23903         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23904         * libio/iofgetws.c (fgetws): Likewise.
23905         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23906         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23907         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23908         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23909         * locale/findlocale.c (_nl_find_locale): Likewise.
23910         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23911         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23912         Likewise.
23913         * locale/setlocale.c (setlocale): Likewise.
23914         * login/programs/pt_chown.c (main): Likewise.
23915         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23916         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23917         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23918         (mmap, mmap64, mremap, munmap): Likewise.
23919         * math/e_exp2l.c: Likewise.
23920         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23921         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23922         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23923         * math/s_catan.c (__catan): Likewise.
23924         * math/s_catanf.c (__catanf): Likewise.
23925         * math/s_catanh.c (__catanh): Likewise.
23926         * math/s_catanhf.c (__catanhf): Likewise.
23927         * math/s_catanhl.c (__catanhl): Likewise.
23928         * math/s_catanl.c (__catanl): Likewise.
23929         * math/s_ccosh.c (__ccosh): Likewise.
23930         * math/s_ccoshf.c (__ccoshf): Likewise.
23931         * math/s_ccoshl.c (__ccoshl): Likewise.
23932         * math/s_cexp.c (__cexp): Likewise.
23933         * math/s_cexpf.c (__cexpf): Likewise.
23934         * math/s_cexpl.c (__cexpl): Likewise.
23935         * math/s_clog10.c (__clog10): Likewise.
23936         * math/s_clog10f.c (__clog10f): Likewise.
23937         * math/s_clog10l.c (__clog10l): Likewise.
23938         * math/s_clog.c (__clog): Likewise.
23939         * math/s_clogf.c (__clogf): Likewise.
23940         * math/s_clogl.c (__clogl): Likewise.
23941         * math/s_csin.c (__csin): Likewise.
23942         * math/s_csinf.c (__csinf): Likewise.
23943         * math/s_csinh.c (__csinh): Likewise.
23944         * math/s_csinhf.c (__csinhf): Likewise.
23945         * math/s_csinhl.c (__csinhl): Likewise.
23946         * math/s_csinl.c (__csinl): Likewise.
23947         * math/s_csqrt.c (__csqrt): Likewise.
23948         * math/s_csqrtf.c (__csqrtf): Likewise.
23949         * math/s_csqrtl.c (__csqrtl): Likewise.
23950         * math/s_ctan.c (__ctan): Likewise.
23951         * math/s_ctanf.c (__ctanf): Likewise.
23952         * math/s_ctanh.c (__ctanh): Likewise.
23953         * math/s_ctanhf.c (__ctanhf): Likewise.
23954         * math/s_ctanhl.c (__ctanhl): Likewise.
23955         * math/s_ctanl.c (__ctanl): Likewise.
23956         * math/w_pow.c: Likewise.
23957         * math/w_powf.c: Likewise.
23958         * math/w_powl.c: Likewise.
23959         * math/w_scalb.c (sysv_scalb): Likewise.
23960         * math/w_scalbf.c (sysv_scalbf): Likewise.
23961         * math/w_scalbl.c (sysv_scalbl): Likewise.
23962         * misc/error.c (error_tail): Likewise.
23963         * misc/pselect.c (__pselect): Likewise.
23964         * nis/nis_callback.c (__nis_create_callback): Likewise.
23965         * nis/nis_call.c (__nisfind_server): Likewise.
23966         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23967         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23968         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23969         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23970         * nis/nis_lookup.c (nis_lookup): Likewise.
23971         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23972         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23973         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23974         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23975         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23976         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23977         * nis/nss_compat/compat-initgroups.c (add_group)
23978         (internal_getgrent_r): Likewise.
23979         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23980         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23981         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23982         (internal_getspnam_r): Likewise.
23983         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23984         (_nss_nis_getaliasbyname_r): Likewise.
23985         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23986         (_nss_nis_getntohost_r): Likewise.
23987         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23988         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23989         (_nss_nis_getgrgid_r): Likewise.
23990         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23991         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23992         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23993         (_nss_nis_gethostbyname4_r): Likewise.
23994         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23995         (initgroups_netid): Likewise.
23996         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23997         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23998         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23999         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24000         (_nss_nis_getprotobynumber_r): Likewise.
24001         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24002         (_nss_nis_getsecretkey): Likewise.
24003         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24004         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24005         (_nss_nis_getpwuid_r): Likewise.
24006         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24007         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24008         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24009         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24010         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24011         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24012         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24013         Likewise.
24014         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24015         (_nss_nisplus_getntohost_r): Likewise.
24016         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24017         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24018         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24019         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24020         Likewise.
24021         * nis/nss_nisplus/nisplus-initgroups.c
24022         (_nss_nisplus_initgroups_dyn): Likewise.
24023         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24024         (_nss_nisplus_getnetbyaddr_r): Likewise.
24025         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24026         (_nss_nisplus_getprotobynumber_r): Likewise.
24027         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24028         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24029         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24030         Likewise.
24031         * nis/nss_nisplus/nisplus-service.c
24032         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24033         (_nss_nisplus_getservbyport_r): Likewise.
24034         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24035         (_nss_nisplus_getspnam_r): Likewise.
24036         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24037         Likewise.
24038         * nscd/aicache.c (addhstaiX): Likewise.
24039         * nscd/cache.c (cache_search, prune_cache): Likewise.
24040         * nscd/connections.c (register_traced_file, send_ro_fd)
24041         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24042         (main_loop_epoll): Likewise.
24043         * nscd/grpcache.c (addgrbyX): Likewise.
24044         * nscd/hstcache.c (addhstbyX): Likewise.
24045         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24046         * nscd/mem.c (gc, mempool_alloc): Likewise.
24047         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24048         (addinnetgrX): Likewise.
24049         * nscd/nscd-client.h (__nscd_acquire_maplock)
24050         (__nscd_drop_map_ref): Likewise.
24051         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24052         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24053         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24054         Likewise.
24055         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24056         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24057         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24058         (__nscd_get_map_ref): Likewise.
24059         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24060         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24061         Likewise.
24062         * nscd/pwdcache.c (addpwbyX): Likewise.
24063         * nscd/selinux.c (preserve_capabilities): Likewise.
24064         * nscd/servicescache.c (addservbyX): Likewise.
24065         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24066         * posix/fnmatch.c (fnmatch): Likewise.
24067         * posix/getopt.c (_getopt_internal_r): Likewise.
24068         * posix/glob.c (glob, glob_in_dir): Likewise.
24069         * posix/wordexp.c (exec_comm_child): Likewise.
24070         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24071         (getanswer_r, gaih_getanswer_slice): Likewise.
24072         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24073         * resolv/res_init.c: Likewise.
24074         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24075         * resolv/res_query.c (__libc_res_nquery): Likewise.
24076         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24077         Likewise.
24078         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24079         * stdio-common/perror.c (perror): Likewise.
24080         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24081         * stdio-common/tmpnam.c (tmpnam): Likewise.
24082         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24083         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24084         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24085         Likewise.
24086         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24087         * stdlib/putenv.c (putenv): Likewise.
24088         * stdlib/setenv.c (__add_to_environ): Likewise.
24089         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24090         * stdlib/strtol_l.c (INTERNAL): Likewise.
24091         * string/memmem.c (memmem): Likewise.
24092         * string/strerror.c (strerror): Likewise.
24093         * string/strnlen.c (__strnlen): Likewise.
24094         * string/test-memmem.c (simple_memmem): Likewise.
24095         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24096         * sunrpc/pm_getport.c (__get_socket): Likewise.
24097         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24098         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24099         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24100         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24101         Likewise.
24102         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24103         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24104         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24105         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24106         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24107         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24108         Likewise.
24109         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24110         Likewise.
24111         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24112         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24113         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24114         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24115         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24116         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24117         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24118         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24119         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24120         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24121         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24122         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24123         Likewise.
24124         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24125         Likewise.
24126         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24127         Likewise.
24128         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24129         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24130         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24131         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24132         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24133         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24134         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24135         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24136         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24137         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24138         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24139         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24140         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24141         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24143         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24144         Likewise.
24145         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24146         Likewise.
24147         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24148         Likewise.
24149         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24150         Likewise.
24151         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24152         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24153         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24154         Likewise.
24155         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24156         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24157         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24158         * sysdeps/posix/sleep.c: Likewise.
24159         * sysdeps/posix/tempname.c: Likewise.
24160         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24161         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24162         Likewise.
24163         * sysdeps/powerpc/powerpc32/dl-machine.h
24164         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24165         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24166         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24167         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24168         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24169         Likewise.
24170         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24171         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24172         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24173         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24174         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24175         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24176         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24177         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24178         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24179         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24180         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24181         (elf_machine_lazy_rel): Likewise.
24182         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24183         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24184         (elf_machine_lazy_rel): Likewise.
24185         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24186         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24187         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24188         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24189         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24190         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24191         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24192         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24193         Likewise.
24194         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24195         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24196         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24197         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24198         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24199         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24200         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24201         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24202         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24203         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24204         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24205         Likewise.
24206         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24207         (__posix_fallocate64_l64): Likewise.
24208         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24209         (posix_fallocate): Likewise.
24210         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24211         Likewise.
24212         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24213         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24214         (getifaddrs_internal): Likewise.
24215         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24216         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24217         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24218         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24219         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24220         (__posix_fallocate64_l64): Likewise.
24221         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24222         Likewise.
24223         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24224         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24225         (__get_clockfreq): Likewise.
24226         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24227         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24228         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24229         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24230         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24231         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24232         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24233         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24234         Likewise.
24235         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24236         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24237         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24238         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24239         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24240         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24241         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24242         Likewise.
24243         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24244         (posix_fallocate): Likewise.
24245         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24246         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24247         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24248         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24249         (elf_machine_rela, elf_machine_rela_relative)
24250         (elf_machine_lazy_rel): Likewise.
24251         * time/asctime.c (asctime_internal): Likewise.
24252         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24253         * time/tzset.c (__tzset_parse_tz): Likewise.
24254         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24255         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24256         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24257         * wcsmbs/wcsmbsload.h: Likewise.
24259         [BZ #15894]
24260         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24262         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24263         (arena_get2): Remove THREAD_STATS conditionals.
24264         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24265         (__malloc_stats, int): Likewise.
24267 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24269         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24270         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24272         * manual/setjmp.texi: Fix typos/grammar errors.
24274         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24275         Only return early when n is <= 0.  Delete unused return statement.
24277         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24278         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24279         * debug/tst-longjmp_chk3.c: New file.
24281         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24282         (test_main): Replace code with set_fortify_handler call.
24283         * debug/test-strcpy_chk.c: Likewise.
24284         * debug/tst-chk1.c: Likewise.
24285         * debug/tst-longjmp_chk.c: Likewise.
24286         * test-skeleton.c: Include fcntl.h & paths.h
24287         (set_fortify_handler): Define.
24289         * debug/tst-longjmp_chk.c: Add header comment and include
24290         ../test-skeleton.c.
24291         (do_test): Mark static.
24292         (TEST_FUNCTION): Define.
24294         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24295         (IP_PMTUDISC_INTERFACE): Likewise.
24296         (IP_MULTICAST_IF): Likewise.
24297         (IP_MULTICAST_TTL): Likewise.
24298         (IP_MULTICAST_LOOP): Likewise.
24299         (IP_ADD_MEMBERSHIP): Likewise.
24300         (IP_DROP_MEMBERSHIP): Likewise.
24301         (IP_UNBLOCK_SOURCE): Likewise.
24302         (IP_BLOCK_SOURCE): Likewise.
24303         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24304         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24305         (IP_MSFILTER): Likewise.
24306         (MCAST_JOIN_GROUP): Likewise.
24307         (MCAST_BLOCK_SOURCE): Likewise.
24308         (MCAST_UNBLOCK_SOURCE): Likewise.
24309         (MCAST_LEAVE_GROUP): Likewise.
24310         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24311         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24312         (MCAST_MSFILTER): Likewise.
24313         (IP_MULTICAST_ALL): Likewise.
24314         (IP_UNICAST_IF): Likewise.
24316         * timezone/Makefile: Delete $(have-ksh) check.
24317         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24318         * timezone/tzselect.ksh: Add +x mode bits.
24320         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24321         (ANON_INODE_FS_MAGIC): Likewise.
24322         (BDEVFS_MAGIC): Likewise.
24323         (BINFMTFS_MAGIC): Likewise.
24324         (BTRFS_TEST_MAGIC): Likewise.
24325         (CRAMFS_MAGIC_WEND): Likewise.
24326         (DEBUGFS_MAGIC): Likewise.
24327         (ECRYPTFS_SUPER_MAGIC): Likewise.
24328         (EXT3_SUPER_MAGIC): Likewise.
24329         (EXT4_SUPER_MAGIC): Likewise.
24330         (FUTEXFS_SUPER_MAGIC): Likewise.
24331         (HOSTFS_SUPER_MAGIC): Likewise.
24332         (HUGETLBFS_MAGIC): Likewise.
24333         (MINIX3_SUPER_MAGIC): Likewise.
24334         (MTD_INODE_FS_MAGIC): Likewise.
24335         (NILFS_SUPER_MAGIC): Likewise.
24336         (OPENPROM_SUPER_MAGIC): Likewise.
24337         (PIPEFS_MAGIC): Likewise.
24338         (PSTOREFS_MAGIC): Likewise.
24339         (QNX6_SUPER_MAGIC): Likewise.
24340         (RAMFS_MAGIC): Likewise.
24341         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24342         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24343         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24344         (SECURITYFS_MAGIC): Likewise.
24345         (SELINUX_MAGIC): Likewise.
24346         (SMACK_MAGIC): Likewise.
24347         (SOCKFS_MAGIC): Likewise.
24348         (SQUASHFS_MAGIC): Likewise.
24349         (STACK_END_MAGIC): Likewise.
24350         (TMPFS_MAGIC): Likewise.
24351         (USBDEVICE_SUPER_MAGIC): Likewise.
24352         (V9FS_MAGIC): Likewise.
24353         (XENFS_SUPER_MAGIC): Likewise.
24354         (CRAMFS_MAGIC): Fix typo in comment.
24355         (EXT2_SUPER_MAGIC): Update comment.
24356         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24358 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24360         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24361         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24362         * sysdeps/unix/sysv/linux/arm: Move directory from
24363         ports/sysdeps/unix/sysv/linux/arm.
24364         * README: Update listing for arm-*-linux-gnueabi.
24366         * README: Remove mention of am33.
24368 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24370         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24371         than the comma operator, to avoid "rhs of comma has no effect"
24372         compiler warnings.
24373         (__sigfillset, __sigandset, __sigorset): Likewise.
24374         * include/signal.h (__sigemptyset): Likewise.
24375         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24377 2014-02-07  Allan McRae  <allan@archlinux.org>
24379         * version.h (RELEASE): Set to "development".
24380         (VERSION): Set to "2.19.90"
24381         * NEWS: Add 2.20 section.
24383 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24385         [BZ #16529]
24386         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24388 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24390         * manual/contrib.texi: Update entry for Carlos O'Donell,
24391         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24393 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24395         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24397         * sysdeps/unix/sysv/linux/kernel-features.h
24398         [__LINUX_KERNEL_VERSION >= 0x020621]
24399         (__ASSUME_PROC_PID_TASK_COMM): Define.
24401 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24403         [BZ #16398]
24404         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24405         conversion when destination buffer does not have enough space.
24406         * libio/tst-ftell-partial-wide.c: New test case.
24407         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24409         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24410         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24411         Leonard and Allan McRae.
24413 2014-02-04  David S. Miller  <davem@davemloft.net>
24415         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24416         32-bit.
24418 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24421         New file
24422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24423         New file
24424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24425         New file.
24426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24427         New file.
24428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24429         New file.
24430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24431         New file.
24432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24433         New file.
24434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24435         New file.
24436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24437         New file.
24438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24439         New file.
24440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24441         New file.
24442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24443         New file.
24444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24445         New file.
24447 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24449         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24450         * shlib-versions: Likewise.
24452 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24453             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24455         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24456         (abilist-pattern): New variable, set to %-le.abilist.
24458         * Makerules (abilist-pattern): New variable.
24459         (vpath): Use $(abilist-pattern) in place of %.abilist.
24460         (check-abi-% pattern rule): Likewise.
24461         (check-abi, update-abi): Likewise.
24463 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24467 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24469         * manual/startup.texi: Add next, previous, and top entries for
24470         the `Program Arguments' and `Environment Variables' nodes.
24472 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24474         * manual/macros.texi: Add comments before MTASC-safety macros.
24476         * manual/users.texi: Document MTASC-safety properties.
24478         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24479         (pthread_getspecific, pthread_setspecific): Format with
24480         @deftypefun, and add @safety note.
24481         * manual/signal.texi: Move comments that analyze the above
24482         functions to their home place.
24484 2014-02-03  Allan McRae  <allan@archlinux.org>
24486         * po/sl.po: Update Slovenian translation from translation project.
24488 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24490         * manual/time.texi (timegm): Add missing blank after @c.
24491         Reported by Joseph Myers <joseph@codesourcery.com>.
24493 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24495         * manual/check-safety.sh: New.
24496         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24498         * manual/terminal.texi: Document MTASC-safety properties.
24500         * manual/filesys.texi: Document MTASC-safety properties.
24502         * manual/errno.texi: Document MTASC-safety properties.
24504         * manual/intro.texi: Document safety identifiers and
24505         conditionals.
24507         * manual/string.texi (wcstok): Fix prototype.
24508         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24510         * manual/time.texi: Document MTASC-safety properties.
24512         * manual/string.texi: Document MTASC-safety properties.
24514         * manual/threads.texi: Document MTASC-safety properties.
24516         * manual/stdio.texi: Document MTASC-safety properties.
24518         * manual/syslog.texi: Document MTASC-safety properties.
24520         * manual/sysinfo.texi: Document MTASC-safety properties.
24522         * manual/startup.texi: Document MTASC-safety properties.
24524         * manual/socket.texi: Document MTASC-safety properties.
24526         * manual/signal.texi: Document MTASC-safety properties.
24528 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24530         * manual/setjmp.texi: Document MTASC-safety properties.
24532         * manual/search.texi: Document MTASC-safety properties.
24534         * manual/resource.texi: Document MTASC-safety properties.
24536         * manual/process.texi: Document MTASC-safety properties.
24538         * manual/platform.texi: Document MTASC-safety properties.
24540         * manual/pipe.texi: Document MTASC-safety properties.
24542         * manual/pattern.texi: Document MTASC-safety properties.
24544         * manual/message.texi: Document MTASC-safety properties.
24546         [BZ #12751]
24547         * manual/memory.texi: Document MTASC-safety properties.
24549         * manual/math.texi: Document MTASC-safety properties.
24551         * manual/locale.texi: Document MTASC-safety properties.
24553         * manual/llio.texi: Document MTASC-safety properties.
24555         * manual/libdl.texi: New.
24557         * manual/lang.texi: Document MTASC-safety properties.
24559         * manual/job.texi: Document MTASC-safety properties.
24561         * manual/getopt.texi: Document MTASC-safety properties.
24563         * manual/ctype.texi: Document MTASC-safety properties.
24565 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24567         [BZ #16046]
24568         * csu/libc-tls.c (static_map): Remove variable.
24569         (__libc_setup_tls): Use main executable's link map for TLS data.
24570         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24571         casing for LM_ID_BASE and GL(dl_nns).
24572         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24573         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24574         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24575         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24576         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24577         member.
24578         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24579         l_phnum members.
24581 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24583         * manual/debug.texi: Document MTASC-safety properties.
24585 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24587         [BZ #16510]
24588         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24589         of __x86_64__ when disabling x87 inline functions.
24591 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24593         * manual/charset.texi: Document MTASC-safety properties.
24595         * manual/crypt.texi: Document MTASC-safety properties.
24597         * manual/conf.texi: Document MTASC-safety properties.
24599         * manual/arith.texi: Document MTASC-safety properties.
24601         * manual/argp.texi: Document MTASC-safety properties.
24603         * manual/macros.texi: Introduce macros to document multi
24604         thread, asynchronous signal and asynchronous cancellation
24605         safety properties.
24606         * manual/intro.texi: Introduce the properties themselves.
24608 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24610         * sysdeps/sh/sh4/Makefile: New file.
24612 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24614         * math/gen-libm-test.pl ($srcdir): New variable.
24615         ($auto_input): Use it.
24617 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24619         [BZ #16506]
24620         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24621         access beyond array bounds when parsing netgroups file.
24623         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24624         the old buffer before realloc.
24626 2014-01-27  Allan McRae  <allan@archlinux.org>
24628         * po/fr.po: Update French translation from translation project.
24630 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24632         * sysdeps/sh/libm-test-ulps: Regenerate.
24634 2014-01-24  David S. Miller  <davem@davemloft.net>
24636         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24638 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24640         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24641         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24643 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24645         [BZ #16474]
24646         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24647         string pointers after reallocation.
24649 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24651         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24652         __SH4A__ instead of __SH_FPU_ANY__.
24654 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24656         * sysdeps/sh/fpu_control.h: New file.
24657         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24658         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24659         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24660         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24661         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24662         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24663         * sysdeps/sh/sys/ucontext.h: Remove.
24664         * sysdeps/sh/sys: Remove directory.
24666 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24668         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24669         s390/sys/ucontext.h.
24670         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24671         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24673 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24675         [BZ #15605]
24676         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24678 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24680         [BZ#16431]
24681         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24682         Adjust the vDSO correctly for internal calls.
24683         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24685 2014-01-20  Allan McRae  <allan@archlinux.org>
24687         * po/ca.po: Update Catalan translation from translation project.
24689 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24691         * sysdeps/s390/sotruss-lib.c: New file.
24693 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24695         [BZ#16430]
24696         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24697         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24698         local calls issues by not having a PLT stub required for IFUNC calls.
24699         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24701 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24703         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24704         * math/test-fpucw-static.c: Likewise.
24706 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24708         [BZ #16453]
24709         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24711 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24713         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24714         implementation for powerpc.
24716 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24718         [BZ #14782]
24719         * sysdeps/posix/system.c (__libc_system): Do not enable
24720         asynchronous cancellation.
24722 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24724         [BZ #16427]
24725         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24726         handling only for numbers special also in the IEEE case.
24728 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24730         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24732 2014-01-11  Allan McRae  <allan@archlinux.org>
24734         * po/bg.po: Update Bulgarian translation from translation project.
24736         * po/de.po: Update German translation from translation project.
24738 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24740         * sysdeps/generic/gcc-compat.h: New file.
24742 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24744         * benchtests/asin-inputs: Correct slow inputs.
24745         * benchtests/acos-inputs: Likewise.
24747 2014-01-10  Allan McRae  <allan@archlinux.org>
24749         * po:sv.po: Update Swedish translation from translation project.
24751         * po/vi.po: Update Vietnamese translation from translation project.
24753         * po/eo.po: Update Esperanto translation from translation project.
24755         * po/cs.po: Update Czech translation from translation project.
24757         * po/nl.po: Update Dutch translation from translation project.
24759         * po/pl.po: Update Polish translation from translation project.
24761         * po/ru.po: Update Russian translation from translation project.
24763         * po/uk.po: Update Ukrainian translation from translation project.
24765 2014-01-08  Brooks Moses  <bmoses@google.com>
24767         * elf/dl-load.c: Fix comment typo.
24769 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24771         * po/header.pot: Rename to...
24772         * po/pot.header: ... this.
24773         * po/Makefile: Use pot.header.
24775 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24776             Maxim Kuvyrkov  <maxim@kugelworks.com>
24778         [BZ #16394]
24779         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24780         SRC and DEST against LEN.
24782 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24784         [BZ #16414]
24785         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24786         implementation.
24787         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24789 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24793 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24795         [BZ #16408]
24796         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24797         for large positive arguments.
24799 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24801         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24803         * math/auto-libm-test-in: Mark various tests with
24804         xfail-rounding:ldbl-128ibm.
24805         * math/auto-libm-test-out: Regenerated.
24807         [BZ #16407]
24808         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24809         Increase overflow threshold.
24811 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24813         [BZ #14286]
24814         * stdio-common/vfprintf.c: Check for integer overflow.
24816 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24818         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24819         the first argument and return value of __tls_get_addr_internal.
24821 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24823         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24824         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24826 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24828         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24829         * sysdeps/s390/rtld-global-offsets.sym: New file.
24830         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24831         GLIBC_2.19 symbol.
24832         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24833         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24834         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24835         ... this.
24836         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24837         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24838         ... this.
24839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24840         Regenerate.
24841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24842         Regenerate.
24843         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24844         halfs of GPRs for high_gprs contexts.
24845         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24846         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24847         field.
24848         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24849         uc_flags field.
24850         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24851         64 bit versions:
24852         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24853         for high GPRs (uc_high_gprs) and for future extensions
24854         (__reserved).
24855         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24856         for future extensions (__reserved).
24857         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24858         64 bit versions:
24859         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24860         SC_HIGHGPRS offset definition.
24861         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24862         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24864         * Versions.def: Add GLIBC_2.19 for libpthread.
24865         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24866         siglongjmp for libpthread with GLIBC_2.19 symver.
24867         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24868         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24869         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24870         * sysdeps/s390/__longjmp.c: New file.
24871         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24872         * sysdeps/s390/longjmp.c: New file.
24873         * sysdeps/s390/setjmp.S: New file.
24874         * sysdeps/s390/sigjmp.S: New file.
24875         * sysdeps/s390/v1-longjmp.c: New file.
24876         * sysdeps/s390/v1-setjmp.h: New file.
24877         * sysdeps/s390/v1-sigjmp.c: New file.
24878         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24879         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24880         GLIBC_2.19 version.
24881         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24882         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24883         versioned symbols for ____longjmp_chk.
24884         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24885         Likewise.
24886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24887         Regenerate.
24888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24889         Regenerate.
24890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24891         Regenerate.
24892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24893         Regenerate.
24894         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24895         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24896         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24897         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24898         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24899         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24900         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24901         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24902         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24903         * sysdeps/s390/rtld-__longjmp.c: New file.
24904         * sysdeps/s390/rtld-setjmp.S: New file.
24906 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24908         [BZ #16400]
24909         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24910         Return -__logl (x) for small positive arguments without evaluating
24911         a polynomial.
24913 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24915         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24916         Rename to ...
24917         (__ptrace_peeksiginfo_args): ... this.
24918         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24919         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24920         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24922 2014-01-06  Allan McRae  <allan@archlinux.org>
24924         * inet/netinet/in.h: Fix typo in comment.
24926 2014-01-05  Andreas Jaeger  <aj@suse.de>
24928         * sysdeps/i386/fpu/libm-test-ulps: Update.
24930 2014-01-05  Allan McRae  <allan@archlinux.org>
24932         * po/libc.pot: Regenerated.
24934         * malloc/memusagestat.c: Fix gettext call formatting.
24936 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24938         * nscd/nscd.c: Improve usage() output.
24940 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24942         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24943         * sysdeps/unix/sysv/linux/configure: Regenerated.
24944         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24945         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24947 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24949         [BZ #16390]
24950         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24951         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24953 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24955         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24956         extra tokens at end of #undef directive.
24957         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24958         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24959         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24961 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24963         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24965         * math/auto-libm-test-in: Mark various tests with
24966         xfail-rounding:ldbl-128ibm.
24967         * math/auto-libm-test-out: Regenerated.
24969 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24971         [BZ #16386]
24972         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24973         numbers with subnormal high part when calculating exponent.
24975         [BZ #16385]
24976         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24977         fabs.
24979         [BZ #16384]
24980         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24981         M_LN2l.
24982         (__ieee754_acoshl): Use __log1pl not __log1p.
24984 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24986         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24987         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24988         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24989         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24990         (reused_arena, arena_get2): Convert to GNU style.
24991         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24992         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24993         (memalign_check, __malloc_set_state): Likewise.
24994         * malloc/mallocbug.c (main): Likewise.
24995         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24996         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24997         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24998         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24999         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25000         (__posix_memalign, malloc_info): Likewise.
25001         * malloc/malloc.h: Likewise.
25002         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25003         (mallochook, memalignhook, reallochook, mabort): Likewise.
25004         * malloc/mcheck.h: Likewise.
25005         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25006         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25007         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25008         * malloc/morecore.c (__default_morecore): Likewise.
25009         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25010         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25011         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25012         (print_and_abort): Likewise.
25013         * malloc/obstack.h: Likewise.
25014         * malloc/set-freeres.c (__libc_freeres): Likewise.
25015         * malloc/tst-mallocstate.c (main): Likewise.
25016         * malloc/tst-mtrace.c (main): Likewise.
25017         * malloc/tst-realloc.c (do_test): Likewise.
25019 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25021         [BZ #16366]
25022         * nscd/netgroupcache.c (do_notfound): New function.
25023         (addgetnetgrentX): Use it.
25025         [BZ # 16365]
25026         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25027         NSS_STATUS_NOTFOUND.
25029 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25031         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25034 2014-01-01  Allan McRae  <allan@archlinux.org>
25036         * scripts/update-copyrights: Update configure input file suffix.
25038         * NEWS: Update copyright year.
25039         * catgets/gencat.c: Likewise.
25040         * csu/version.c: Likewise.
25041         * debug/catchsegv.sh: Likewise.
25042         * debug/pcprofiledump.c: Likewise.
25043         * debug/xtrace.sh: Likewise.
25044         * elf/ldconfig.c: Likewise.
25045         * elf/ldd.bash.in: Likewise.
25046         * elf/pldd.c: Likewise.
25047         * elf/sotruss.ksh: Likewise.
25048         * elf/sprof.c: Likewise.
25049         * iconv/iconv_prog.c: Likewise.
25050         * iconv/iconvconfig.c: Likewise.
25051         * locale/programs/locale.c: Likewise.
25052         * locale/programs/localedef.c: Likewise.
25053         * login/programs/pt_chown.c: Likewise.
25054         * malloc/memusage.sh: Likewise.
25055         * malloc/memusagestat.c: Likewise.
25056         * malloc/mtrace.pl: Likewise.
25057         * manual/libc.texinfo: Likewise.
25058         * nscd/nscd.c: Likewise.
25059         * nss/getent.c: Likewise.
25060         * nss/makedb.c: Likewise.
25061         * posix/getconf.c: Likewise.
25062         * scripts/test-installation.pl: Likewise.
25064         * All files with FSF copyright notices: Update copyright dates
25065         using scripts/update-copyrights.
25066         * intl/plural.c: Regenerated.
25067         * locale/programs/charmap-kw.h: Likewise.
25068         * locale/programs/locfile-kw.h: Likewise.
25070 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25072         * sysdeps/unix/sysv/linux/configure: Regenerated.
25073         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25074         the linux/fanotify.h header.
25075         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25076         HAVE_LINUX_FANOTIFY_H is defined.
25078 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25080         * benchtests/cos-inputs: New inputs.
25081         * benchtests/sin-inputs: Likewise.
25083         * benchtests/atan-inputs: New inputs. Fix name of multiple
25084         precision fallback inputs.
25086         * benchtests/atanh-inputs: New inputs.
25087         * benchtests/tanh-inputs: Likewise.
25089         * benchtests/acosh-inputs: New inputs.
25090         * benchtests/asinh-inputs: Likewise.
25092         * benchtests/cosh-inputs: New inputs.
25093         * benchtests/sinh-inputs: Likewise.
25095         * benchtests/acos-inputs: Add more inputs.
25096         * benchtests/asin-inputs: Likewise.
25098 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25100         [BZ #16375]
25101         * manual/arith.texi: Fix spelling.
25102         * manual/charset.texi: Likewise.
25103         * manual/errno.texi: Likewise.
25104         * manual/filesys.texi: Likewise.
25105         * manual/lang.texi: Likewise.
25106         * manual/llio.texi: Likewise.
25107         * manual/locale.texi: Likewise.
25108         * manual/message.texi: Likewise.
25109         * manual/resource.texi: Likewise.
25110         * manual/search.texi: Likewise.
25111         * manual/setjmp.texi: Likewise.
25112         * manual/stdio.texi: Likewise.
25113         * manual/string.texi: Likewise.
25114         * manual/sysinfo.texi: Likewise.
25115         * manual/time.texi: Likewise.
25117 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25119         * po/sl.po: New file.
25121 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25123         * .gitignore: Add core/.gdbinit/.gdb_history.
25125 2013-12-27  Allan McRae  <allan@archlinux.org>
25127         [BZ #16369]
25128         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25129         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25131 2013-12-24  Brooks Moses  <bmoses@google.com>
25133         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25134         all compilers that claim C++98 compliance, not just GCC.
25135         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25136         Likewise.
25138 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25140         * NEWS: Restore accidentally deleted bug-fix entries.
25142 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25143             Ondřej Bílka  <neleai@seznam.cz>
25145         [BZ #15073]
25146         * malloc/malloc.c (_int_free): Perform sanity check only if we
25147         have_lock.
25149 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25151         [BZ #12986]
25152         * manual/stdio.texi (String Input Conversions): Clarify that character
25153         classes are not supported.
25155 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25159 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25161         [BZ #16337]
25162         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25163         Calculate results for small negative arguments directly rather
25164         than using reflection formula with special underflow handling.
25166         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25167         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25168         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25169         (fchflags): Likewise.
25170         (revoke): Likewise.
25171         (setlogin): Likewise.
25172         (sigaltstack): Likewise.
25173         (wait4): Likewise.
25174         (sigblock): Remove.
25175         (sigsetmask): Likewise.
25176         (wait3): Likewise.
25177         (waitpid): Likewise.
25178         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25179         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25180         file.
25181         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25182         * sysdeps/unix/bsd/Makefile: ... here.
25183         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25184         * sysdeps/unix/bsd/Versions: ... here.
25185         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25186         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25187         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25188         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25189         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25190         * sysdeps/unix/bsd/sigblock.c: ... here.
25191         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25192         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25193         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25194         * sysdeps/unix/bsd/sigvec.c: ... here.
25195         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25196         * sysdeps/unix/bsd/tcdrain.c: ... here.
25197         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25198         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25199         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25200         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25201         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25202         * sysdeps/unix/bsd/wait.c: ... here.
25203         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25204         * sysdeps/unix/bsd/wait3.c: ... here.
25205         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25206         * sysdeps/unix/bsd/waitpid.c: ... here.
25208 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25210         [BZ #16356]
25211         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25212         round-to-nearest for [!USE_AS_EXPM1L].
25213         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25214         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25215         more tests of exp and exp10.  Expect some exp10 tests to miss
25216         exceptions or fail in directed rounding modes.
25217         * math/auto-libm-test-out: Regenerated.
25218         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25219         (exp10_test_tonearest): New function.
25220         (exp10_towardzero_test_data): New array.
25221         (exp10_test_towardzero): New function.
25222         (exp10_downward_test_data): New array.
25223         (exp10_test_downward): New function.
25224         (exp10_upward_test_data): New array.
25225         (exp10_test_upward): New function.
25226         (main): Call the new functions.
25227         * sysdeps/i386/fpu/libm-test-ulps: Update.
25228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25230 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25232         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25233         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25234         * math/auto-libm-test-out: Regenerated.
25235         * math/libm-test.inc (acosh_test_data): Add more tests.
25236         (atanh_test_data): Likewise.
25237         (ceil_test_data): Likewise.
25238         (copysign_test_data): Likewise.
25239         * sysdeps/i386/fpu/libm-test-ulps: Update.
25240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25242         * timezone/checktab.awk: Update from tzcode 2013i.
25243         * timezone/private.h: Likewise.
25244         * timezone/scheck.c: Likewise.
25245         * timezone/tzfile.h: Likewise.
25246         * timezone/tzselect.ksh: Likewise.
25247         * timezone/zdump.c: Likewise.
25248         * timezone/zic.c: Likewise.
25250         * math/auto-libm-test-in: Add tests of cpow.
25251         * math/auto-libm-test-out: Regenerated.
25252         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25253         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25254         mpc_cc_c.
25255         (func_calc_desc): Add mpc_cc_c union field.
25256         (test_functions): Add cpow.
25257         (special_fill_2pi): New function.
25258         (special_real_inputs): Add 2pi.
25259         (calc_generic_results): Handle mpc_cc_c.
25260         * sysdeps/i386/fpu/libm-test-ulps: Update.
25261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25263         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25264         csqrt, ctan and ctanh.
25265         * math/auto-libm-test-out: Regenerated.
25266         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25267         (TEST_COND_x86): Likewise.
25268         (ccos_test_data): Use AUTO_TESTS_c_c.
25269         (ccosh_test_data): Likewise.
25270         (cexp_test_data): Likewise.
25271         (clog_test_data): Likewise.
25272         (csqrt_test_data): Likewise.
25273         (ctan_test_data): Likewise.
25274         (ctan_tonearest_test_data): Likewise.
25275         (ctan_towardzero_test_data): Likewise.
25276         (ctan_downward_test_data): Likewise.
25277         (ctan_upward_test_data): Likewise.
25278         (ctanh_test_data): Likewise.
25279         (ctanh_tonearest_test_data): Likewise.
25280         (ctanh_towardzero_test_data): Likewise.
25281         (ctanh_downward_test_data): Likewise.
25282         (ctanh_upward_test_data): Likewise.
25283         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25284         mpc_c_c.
25285         (func_calc_desc): Add mpc_c_c union field.
25286         (FUNC_mpc_c_c): New macro.
25287         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25288         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25289         ctanh.
25290         (special_fill_min_subnorm_p120): New function.
25291         (special_real_inputs): Add min_subnorm_p120.
25292         (calc_generic_results): Handle mpc_c_c.
25293         * sysdeps/i386/fpu/libm-test-ulps: Update.
25294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25296 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25298         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25299         (do_sin_slow): New functions.
25300         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25301         (cslow2, csloww1, csloww2): Use the new functions.
25303         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25304         Use M to change sign of result instead of X.  Assume X is
25305         positive.
25306         (csloww1): Likewise.
25307         (__sin): Adjust.
25308         (__cos): Adjust.
25310         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25311         arguments A and DA.
25312         (__sin): Adjust.
25313         (__cos): Likewise.
25315         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25316         (__cos): Likewise.
25317         (sloww1): Don't adjust sign of DX.
25318         (csloww1): Likewise.
25319         (sloww2): Use X directly and don't adjust sign of DX.
25320         (csloww2): Likewise.
25322 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25324         * math/auto-libm-test-in: Add tests of cabs and carg.
25325         * math/auto-libm-test-out: Regenerated.
25326         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25327         (carg_test_data): Likewise.
25328         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25329         mpc_c_f.
25330         (func_calc_desc): Add mpc_c_f union field.
25331         (test_functions): Add cabs and carg.
25332         (calc_generic_results): Handle mpc_c_f.
25334         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25335         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25336         as a macro and a compat symbol.
25337         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25338         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25339         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25340         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25341         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25342         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25343         not use .hidden.
25344         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25345         Likewise.
25346         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25347         Likewise.
25348         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25349         Likewise.
25350         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25351         Likewise.
25352         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25353         Likewise.
25354         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25355         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25356         from GLIBC_2.3.2.
25358 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25362 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25364         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25365         trailing whitespace removed.
25366         * scripts/config.guess: Update to version 2013-11-29.
25367         * scripts/config.sub: Update to version 2013-10-01.
25369         * math/auto-libm-test-in: Add tests of sincos.
25370         * math/auto-libm-test-out: Regenerated.
25371         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25372         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25373         mpfr_f_11.
25374         (func_calc_desc): Add mpfr_f_11 union field.
25375         (test_functions): Add sincos.
25376         (calc_generic_results): Handle mpfr_f_11.
25377         * sysdeps/i386/fpu/libm-test-ulps: Update.
25378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25380 2013-12-19  Andreas Schwab  <schwab@suse.de>
25382         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25383         CALL_MCOUNT.
25384         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25385         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25386         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25388 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25390         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25391         * sysdeps/i386/fpu/libm-test-ulps: Update.
25392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25394         [BZ #16293]
25395         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25396         round-to-nearest mode when using frndint.
25397         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25398         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25399         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25400         Likewise.
25401         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25402         sinh test to fail.
25403         * math/auto-libm-test-out: Regenerated.
25404         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25405         (TEST_COND_x86): Likewise.
25406         (expm1_tonearest_test_data): New array.
25407         (expm1_test_tonearest): New function.
25408         (expm1_towardzero_test_data): New array.
25409         (expm1_test_towardzero): New function.
25410         (expm1_downward_test_data): New array.
25411         (expm1_test_downward): New function.
25412         (expm1_upward_test_data): New array.
25413         (expm1_test_upward): New function.
25414         (main): Run the new test functions.
25415         * sysdeps/i386/fpu/libm-test-ulps: Update.
25416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25418         * include/features.h: Update comment documenting feature test
25419         macros.  Mention _DEFAULT_SOURCE in comment.
25420         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25421         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25422         _BSD_SOURCE and _SVID_SOURCE.
25423         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25424         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25425         !_SVID_SOURCE]: Likewise.
25426         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25427         (__USE_POSIX_IMPLICITLY): Define.
25428         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25429         (_POSIX_SOURCE): Undefine and redefine.
25430         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25431         (_POSIX_C_SOURCE): Likewise.
25432         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25433         (Feature Test Macros): Update documentation of default features.
25435 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25437         * benchtests/Makefile: Add bench-strtok.
25438         * benchtests/bench-strtok.c: New file: strtok benchtest.
25440 2013-12-19  Allan McRae  <allan@archlinux.org>
25442         * manual/install.texi: Suppress menu for plain text output.
25443         * INSTALL: Regenerated.
25445 2013-12-18  Brooks Moses  <bmoses@google.com>
25447         [BZ #15846]
25448         * misc/getauxval.c: Include errno.h.
25449         (__getauxval): Set errno to ENOENT if the requested type is not
25450         found.
25451         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25452         don't declare with __attribute_const__.
25453         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25454         * manual/startup.texi: Document that getauxval sets errno.
25456 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25458         * math/auto-libm-test-in: Add tests of jn and yn.
25459         * math/auto-libm-test-out: Regenerated.
25460         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25461         (yn_test_data): Likewise.
25462         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25463         mpfr_if_f.
25464         (func_calc_desc): Add mpfr_if_f union field.
25465         (FUNC_mpfr_if_f): New macro.
25466         (test_functions): Add jn and yn.
25467         (calc_generic_results): Assert type of second input for
25468         mpfr_ff_f.  Handle mpfr_if_f.
25469         (output_for_one_input_case): Disable all checking for arguments
25470         fitting floating-point types in case of an integer argument.
25471         * sysdeps/i386/fpu/libm-test-ulps: Update.
25472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25475         Don't expect fegetround reference in libm.so.
25477 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25479         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25480         $(config-cflags-nofma).
25482 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25484         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25485         * math/auto-libm-test-out: Regenerated.
25487         [BZ #16338]
25488         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25489         to determine exponent and adjust argument to have exponent of -1.
25490         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25491         log2.
25492         * math/auto-libm-test-out: Regenerated.
25493         * sysdeps/i386/fpu/libm-test-ulps: Update.
25494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25496 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25498         * manual/probes.texi: Remove cases when per-thread arenas are
25499         disabled.
25501 2013-12-18  Andreas Schwab  <schwab@suse.de>
25503         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25504         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25505         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25506         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25507         * sysdeps/i386/i686/multiarch/Makefile: Update.
25508         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25510 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25512         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25513         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25515 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25517         [BZ #15968]
25518         Support TZ transition times < 00:00:00.
25519         This is needed for version-3 tz-format files; it supports time
25520         stamps past 2037 for America/Godthab (the only entry in the tz
25521         database for which this change is relevant).
25522         * manual/time.texi (TZ Variable): Document transition times
25523         from -167:59:59 through -00:00:01.
25524         * time/tzset.c (tz_rule): Time of day is now signed.
25525         (__tzset_parse_tz): Parse negative time of day.
25527         Document TZ transition times >= 25:00:00.
25528         * manual/time.texi (TZ Variable): Document transition times from
25529         25:00:00 through 167:59:59.  These are already supported, and this
25530         support will help with version-3 tz-format files.
25532         * manual/time.texi (TZ Variable): Modernize North America example
25533         to reflect current (i.e., 2007-and-later) daylight saving rules.
25535         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25537 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25539         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25540         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25541         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25542         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25543         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25544         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25545         * sysdeps/unix/bsd/clock.c: Likewise.
25546         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25547         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25548         * sysdeps/unix/bsd/init-posix.c: Likewise.
25549         * sysdeps/unix/bsd/poll.c: Likewise.
25550         * sysdeps/unix/bsd/ptsname.c: Likewise.
25551         * sysdeps/unix/bsd/seekdir.c: Likewise.
25552         * sysdeps/unix/bsd/setegid.c: Likewise.
25553         * sysdeps/unix/bsd/seteuid.c: Likewise.
25554         * sysdeps/unix/bsd/setgid.c: Likewise.
25555         * sysdeps/unix/bsd/setrgid.c: Likewise.
25556         * sysdeps/unix/bsd/setruid.c: Likewise.
25557         * sysdeps/unix/bsd/setsid.c: Likewise.
25558         * sysdeps/unix/bsd/setuid.c: Likewise.
25559         * sysdeps/unix/bsd/sigaction.c: Likewise.
25560         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25561         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25562         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25563         * sysdeps/unix/bsd/telldir.c: Likewise.
25564         * sysdeps/unix/bsd/times.c: Likewise.
25565         * sysdeps/unix/bsd/usleep.c: Likewise.
25567         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25568         ($(objpfx)libbsd-compat.a): Remove rule.
25570         * include/features.h (__FAVOR_BSD): Do not define.
25571         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25572         features conflicting with POSIX.
25573         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25574         (_BSD_SOURCE): Remove description of not being a subset of other
25575         feature test macros.
25576         * manual/job.texi (getpgrp): Do not document BSD version.
25577         (getpgid): Do not document by reference to BSD getpgrp.
25578         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25579         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25580         * signal/signal.h [__FAVOR_BSD]: Likewise.
25581         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25582         instead of making contents conditional on [__FAVOR_BSD].
25583         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25585 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25589 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25591         [BZ #16314]
25592         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25593         values below 2**-450, not 2**-500.
25594         * math/auto-libm-test-in: Don't allow spurious underflow from
25595         hypot.
25596         * math/auto-libm-test-out: Regenerated.
25598         [BZ #16316]
25599         [BZ #16330]
25600         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25601         values of ha and hb and sort them after adjusting subnormal
25602         arguments.
25603         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25604         Likewise.
25605         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25606         values of ea and eb and sort them after adjusting subnormal
25607         arguments.
25608         * math/auto-libm-test-in: Do not expect some hypot tests of
25609         subnormals to fail.  Add more hypot tests.
25610         * math/auto-libm-test-out: Regenerated.
25612 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25614         [BZ #13304]
25615         * sysdeps/sh/s_fma.c: New file.
25616         * sysdeps/sh/s_fmaf.c: New file.
25617         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25618         version.
25619         * sysdeps/sh/Implies: Add sh/soft-fp.
25621 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25623         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25624         level of indirection to members `objname', `errstring', `malloced'.
25625         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25626         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25627         it as the __longjmp argument (just pass 1 instead).
25628         (_dl_catch_error): Initialize C with argument pointers and address of
25629         volatile local ERRCODE rather than copying values out of C at return.
25631 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25633         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25634         * math/auto-libm-test-out: Regenerated.
25635         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25636         (hypot_test_data): Likewise.
25637         (pow_test_data): Likewise.
25638         (pow_tonearest_test_data): Likewise.
25639         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25640         mpfr_ff_f.
25641         (func_calc_desc): Add mpfr_ff_f union field.
25642         (FUNC_mpfr_ff_f): New macro.
25643         (test_functions): Add atan2, hypot and pow.
25644         (special_fill_min): New function.
25645         (special_fill_minus_min): Likewise.
25646         (special_fill_min_subnorm): Likewise.
25647         (special_fill_minus_min_subnorm): Likewise.
25648         (special_real_inputs): Add min, -min, min_subnorm and
25649         -min_subnorm.
25650         (calc_generic_results): Handle mpfr_ff_f.
25651         * sysdeps/i386/fpu/libm-test-ulps: Update.
25652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25654 2013-12-16  Will Newton  <will.newton@linaro.org>
25656         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25657         (Aligned Memory Blocks): Add documentation for aligned_alloc
25658         and suggest it as an alternative to posix_memalign.
25659         (Hooks for Malloc): Document __memalign_hook is also called
25660         for aligned_alloc.  (Summary of Malloc): Add summary for
25661         aligned alloc.  Document __memalign_hook is also called
25662         for aligned_alloc.
25664 2013-12-16  Will Newton  <will.newton@linaro.org>
25666         * manual/memory.texi (Malloc Examples): Clarify default
25667         alignment documentation.  Suggest posix_memalign rather
25668         than memalign or valloc.
25669         (Aligned Memory Blocks): Remove suggestion to use memalign
25670         or valloc.  Remove obsolete comment about BSD.
25671         Document memalign errno values and mark the function obsolete.
25672         Document posix_memalign returned error codes.  Mark valloc
25673         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25674         called for posix_memalign and valloc.
25675         (Summary of Malloc): Add posix_memalign to function summary.
25676         __memalign_hook is also called for posix_memalign and valloc.
25678 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25680         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25681         TAYLOR_SIN.
25682         (__sin): Adjust.
25683         (__cos): Likewise.
25684         (sloww): Use mynumber union.  Expand ternary operator into
25685         if-else statements.
25686         (cslow): use mynumber union.
25688 2013-12-16  Allan McRae  <allan@archlinux.org>
25690         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25691         * configure: Regenerated.
25693         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25695         [BZ #14120]
25696         * configure.ac: Added --enable-maintainer-mode. Check for
25697         autoconf when enabled.
25698         * configure: Regenerated.
25700         * nscd/nscd.service: New file.
25701         * nscd/nscd.tmpfiles: New file.
25703 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25705         [BZ #12100]
25706         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25707         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25708         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25709         (strstr): Add __strstr_sse2_unaligned ifunc.
25710         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25711         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25712         (strcasestr): Remove __strcasestr_sse42 ifunc.
25713         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25714         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25715         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25717 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25719         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25720         * sysdeps/sh/bits/fenv.h: ... here.
25721         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25723 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25725         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25728         hypotf multiarch implementations.
25729         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25730         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25731         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25732         multiarch hypot for PPC64.
25733         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25734         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25735         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25736         multiarch hypotf for PPC64.
25738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25739         modff multiarch implementations.
25740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25743         multiarch modf for PPC64.
25744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25747         multiarch modff for PPC64.
25749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25750         and logl multiarch implementations.
25751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25754         multiarch logb for PPC64.
25755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25758         multiarch logb for PPC64.
25759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25762         multiarch logb for PPC64.
25764         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25765         isinff multiarch implementation.
25766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25767         file.
25768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25770         multiarch isinf for PPC64.
25771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25772         file.
25773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25774         multiarch isinff for PPC64.
25776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25777         finitef multiarch implementation.
25778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25779         file.
25780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25782         multiarch finite for PPC64.
25783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25784         file.
25785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25786         multiarch finitef for PPC64.
25788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25789         lrint multiarch implementation.
25790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25791         file.
25792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25794         multiarch llrint for PPC64.
25795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25796         multiarch lrint for PPC64.
25798         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25799         copysignf multiarch implementation.
25800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25801         file.
25802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25803         file.
25804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25805         multiarch copysign for PPC64.
25806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25807         multiarch copysignf for PPC64.
25809         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25810         multiarch implementation.
25811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25812         file.
25813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25814         file.
25815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25816         file.
25817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25818         file.
25819         multiarch llround for PPC64.
25820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25821         multiarch trunc for PPC64.
25822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25823         multiarch truncf for PPC64.
25825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25826         multiarch implementation.
25827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25828         file.
25829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25830         file.
25831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25832         file.
25833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25834         file.
25835         multiarch llround for PPC64.
25836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25837         multiarch round for PPC64.
25838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25839         multiarch roundf for PPC64.
25841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25842         multiarch implementation.
25843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25844         file.
25845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25846         file.
25847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25848         file.
25849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25850         file.
25851         multiarch llround for PPC64.
25852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25853         multiarch floor for PPC64.
25854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25855         multiarch floorf for PPC64.
25857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25858         multiarch implementation.
25859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25860         file.
25861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25862         file.
25863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25864         file.
25865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25866         file.
25867         multiarch llround for PPC64.
25868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25869         multiarch ceil for PPC64.
25870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25871         multiarch ceilf for PPC64.
25873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25874         multiarch implementation.
25875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25876         file.
25877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25878         file.
25879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25880         file.
25881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25882         multiarch llround for PPC64.
25883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25884         multiarch lround for PPC64.
25886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25887         multiarch implementation.
25888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25891         file.
25892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25895         multiarch isnan for PPC64.
25896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25897         multiarch isnanf for PPC64.
25899         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25900         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25901         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25902         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25903         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25906         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25907         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25908         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25912         multiarch implementations.
25913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25914         (__libc_ifunc_impl_list): Likewise.
25915         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25916         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25917         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25918         multiarch stpcpy for PPC64.
25920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25921         multiarch implementations.
25922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25923         (__libc_ifunc_impl_list): Likewise.
25924         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25925         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25926         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25927         multiarch strcpy for PPC64.
25929         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25930         redefine function name.
25931         (_wordcopy_fwd_dest_aligned): Likewise.
25932         (_wordcopy_bwd_aligned): Likewise.
25933         (_wordcopy_bwd_dest_aligned): Likewise.
25934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25935         multiarch implementations.
25936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25937         (__libc_ifunc_impl_list): Likewise.
25938         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25939         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25940         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25941         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25942         multiarch wcscpy for PPC64.
25944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25945         multiarch implementations.
25946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25947         (__libc_ifunc_impl_list): Likewise.
25948         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25949         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25950         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25951         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25952         multiarch wcscpy for PPC64.
25954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25955         multiarch implementations.
25956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25957         (__libc_ifunc_impl_list): Likewise.
25958         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25959         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25960         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25961         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25962         multiarch wcsrchr for PPC64.
25964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25965         multiarch implementations.
25966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25967         (__libc_ifunc_impl_list): Likewise.
25968         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25969         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25970         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25971         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25972         multiarch wcschr for PPC64.
25974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25975         multiarch implementations.
25976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25977         (__libc_ifunc_impl_list): Likewise.
25978         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25979         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25980         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25981         multiarch strchrnul for PPC64.
25983         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25984         implementations.
25985         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25986         (__libc_ifunc_impl_list): Likewise.
25987         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25988         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25989         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25990         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25991         strchr for PPC64.
25993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25994         implementations.
25995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25996         (__libc_ifunc_impl_list): Likewise.
25997         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25998         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25999         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26000         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26001         strncmp for PPC64.
26003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26004         multiarch implementations.
26005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26006         (__libc_ifunc_impl_list): Likewise.
26007         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26008         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26009         strncasecmp for PPC64.
26010         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26011         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26012         multiarch strncasecmp_l for PPC64.
26014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26015         multiarch implementations.
26016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26017         (__libc_ifunc_impl_list): Likewise.
26018         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26019         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26020         multiarch strcasecmp for PPC64.
26021         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26022         file.
26023         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26024         multiarch strcasecmp_l for PPC64.
26026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26027         implementations.
26028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26029         (__libc_ifunc_impl_list): Likewise.
26030         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26031         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26032         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26033         strnlen for PPC64.
26035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26036         implementations.
26037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26038         (__libc_ifunc_impl_list): Likewise.
26039         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26040         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26041         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26042         strlen for PPC64.
26044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26045         implementations.
26046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26047         (__libc_ifunc_impl_list): Likewise.
26048         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26049         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26050         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26051         rawmemrchr for PPC64.
26053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26054         implementation.
26055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26056         (__libc_ifunc_impl_list): Likewise.
26057         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26058         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26059         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26060         memrchr for PPC64.
26062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26063         implementation.
26064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26065         (__libc_ifunc_impl_list): Likewise.
26066         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26067         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26068         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26069         memchr for PPC64.
26071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26072         implementation.
26073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26074         (__libc_ifunc_impl_list): Likewise.
26075         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26076         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26077         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26078         mempcpy for PPC64.
26080         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26081         avoid cretion of __bzero symbol.
26082         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26083         Likewise.
26084         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26085         Likewise.
26086         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26087         Likewise.
26088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26089         multiarch implementations.
26090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26091         (__libc_ifunc_impl_list): Likewise.
26092         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26093         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26094         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26095         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26096         bzero for PPC32.
26097         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26098         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26099         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26100         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26101         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26102         memset for PPC64.
26103         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26105         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26107         implementations.
26108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26109         (__libc_ifunc_impl_list): Likewise.
26110         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26111         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26112         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26113         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26114         memcmp for PPC64.
26116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26117         multiarch for POWER/PPC64.
26118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26119         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26120         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26121         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26122         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26123         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26124         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26125         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26126         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26127         memcpy for PPC64.
26129         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26130         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26131         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26132         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26133         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26134         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26135         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26136         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26137         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26138         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26139         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26140         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26141         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26142         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26143         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26152 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26154         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26156 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26158         * benchtests/Makefile (bench): Add exp2 and log2.
26159         (LDLIBS-bench-exp2): Add -lm.
26160         (LDLIBS-bench-log2): Likewise.
26161         * benchtests/exp2-inputs: New inputs file.
26162         * benchtests/log2-inputs: New inputs file.
26163         * benchtests/log-inputs: Add new inputs.
26164         * benchtests/tan-inputs: Likewise.
26166 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26168         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26169         definition...
26170         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26171         (csloww2): ... from here.
26173         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26174         instead of structures.
26175         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26176         (POLYNOMIAL): Likewise.
26177         (TAYLOR_SLOW): Likewise.
26178         (__sin): Likewise.
26179         (__cos): Likewise.
26180         (slow1): Likewise.
26181         (slow2): Likewise.
26182         (sloww): Likewise.
26183         (sloww1); Likewise.
26184         (sloww2): Likewise.
26185         (bsloww1): Likewise.
26186         (bsloww2): Likewise.
26187         (cslow2): Likewise.
26188         (csloww): Likewise.
26189         (csloww1): Likewise.
26190         (csloww2): Likewise.
26192 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26194         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26195         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26196         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26197         * malloc/hooks.c (realloc_check): Likewise.
26199         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26200         * malloc/arena.c: Remove PER_THREAD conditional.
26201         [!PER_THREAD]: Remove code.
26202         (ptmalloc_unlock_all2): Likewise.
26203         (ptmalloc_init): Likewise.
26204         (_int_new_arena): Likewise.
26205         (arena_get2): Likewise.
26206         * malloc/hooks.c (__malloc_get_state): Likewise.
26207         (__malloc_set_state): Likewise.
26208         * malloc/malloc.c: Likewise.
26209         (struct malloc_state): Likewise.
26210         (struct malloc_par): Likewise.
26211         (__libc_realloc): Likewise.
26212         (__libc_mallopt): Likewise.
26214 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26216         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26218 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26220         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26221         macro to a function.  Check for zero perturb_byte.
26222         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26224         * malloc/malloc.c: (force_reg): Remove.
26225         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26226         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26227         force_reg by atomic_forced_read.
26228         * malloc/arena.c (ptmalloc_init): Likewise.
26229         * malloc/hooks.c (top_check): Likewise.
26231 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26235 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26237         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26239 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26241         * math/auto-libm-test-in: Add tests of lgamma.
26242         * math/auto-libm-test-out: Regenerated.
26243         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26244         (M_LOG_2_SQRT_PIl): Likewise.
26245         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26246         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26247         mpfr_f_f1.
26248         (func_calc_desc): Add mpfr_f_f1 union field.
26249         (ARGS1): New macro.
26250         (ARGS2): Likewise.
26251         (ARGS3): Likewise.
26252         (ARGS4): Likewise.
26253         (RET1): Likewise.
26254         (RET2): Likewise.
26255         (CALC): Likewise.
26256         (FUNC): Likewise.
26257         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26258         (test_functions): Add lgamma.
26259         (calc_generic_results): Handle mpfr_f_f1.
26260         * sysdeps/i386/fpu/libm-test-ulps: Update.
26261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26263 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26265         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26266         __mpn_add_n for PowerPC64/POWER7.
26267         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26268         __mpn_sub_n for PowerPC64/POWER7.
26270         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26271         __mpn_addmul_1 for PowerPC64.
26272         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26273         __mpn_submul_1 for PowerPC64.
26274         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26275         for PowerPC64.
26276         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26277         for PowerPC64.
26279 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26281         [BZ #15089]
26282         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26284 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26286         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26288         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26289         add multiarch folders.
26290         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26291         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26292         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26293         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26294         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26295         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26296         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26297         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26298         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26299         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26300         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26309         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26311         New file.
26312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26313         New file.
26314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26315         multiarch __ieee754_hypot for PowerPC32.
26316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26317         New file.
26318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26319         New file.
26320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26321         multiarch __ieee754_hypotf for PowerPC32.
26323         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26324         long_double_symbol only if __logbl is defined.
26325         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26326         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26327         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26328         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26329         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26330         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26331         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26332         path for implementation.
26333         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26334         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26336         logb, and logbl multiarch implementations for PowerPC32.
26337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26338         file.
26339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26340         file.
26341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26342         multiarch logb for PowerPC32.
26343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26344         file.
26345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26346         file.
26347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26348         multiarch logbf for PowerPC32.
26349         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26351         file.
26352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26353         multiarch logbl implementation for PowerPC32.
26355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26356         and modff multiarch implementations.
26357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26358         New file.
26359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26360         New file.
26361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26362         multiarch modf for PowerPC32.
26363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26364         New file.
26365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26366         New file.
26367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26368         multiarch modff for PowerPC32.
26370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26371         and lrintf multiarch implementations.
26372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26373         New file.
26374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26375         New file.
26376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26377         multiarch lrint for PowerPC32.
26378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26379         file: multiarch lrintf for PowerPC32.
26381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26382         and lroundf multiarch implementations.
26383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26384         New file.
26385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26386         New file.
26387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26388         New file.
26389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26390         multiarch lround for PowerPC32.
26391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26392         file: multiarch lroundf for PowerPC32.
26394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26395         copysign and copysignf multiarch implementations.
26396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26397         New file.
26398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26399         New file.
26400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26401         file: multiarch copysign for PowerPC32.
26402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26403         file: multiarch copysignf for PowerPC32.
26405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26406         and truncf multiarch implementations.
26407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26408         New file.
26409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26410         file.
26411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26412         multiarch trunc for PowerPC32.
26413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26414         New file.
26415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26416         New file.
26417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26418         multiarch truncf for PowerPC32.
26420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26421         and roundf multiarch implementations.
26422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26423         New file.
26424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26425         file.
26426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26427         multiarch round for PowerPC32.
26428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26429         New file.
26430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26431         New file.
26432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26433         multiarch roundf for PowerPC32.
26435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26436         and floorf multiarch implementations.
26437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26438         New file.
26439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26440         file.
26441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26442         multiarch floor for PowerPC32.
26443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26444         New file.
26445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26446         New file.
26447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26448         multiarch floorf for PowerPC32.
26450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26451         and ceilf multiarch implementations.
26452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26453         New file.
26454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26455         file.
26456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26457         multiarch ceil for PowerPC32.
26458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26459         New file.
26460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26461         file.
26462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26463         multiarch ceilf for PowerPC32.
26465         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26466         is defined.
26467         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26468         FINITEF is defined.
26469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26470         and finitef multiarch implementations.
26471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26472         New file.
26473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26474         file.
26475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26476         multiarch finite for PowerPC32.
26477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26478         New file.
26479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26480         file: multiarch finitef for PowerPC32.
26482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26483         and isinff multiarch implementations.
26484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26485         file.
26486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26487         file.
26488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26489         multiarch isinf for PowerPC32.
26490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26491         New file.
26492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26493         multiarch isinff for PowerPC32.
26495         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26496         alias when __isnan is defined.
26497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26498         and isnanf multiarch implementations.
26499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26500         file.
26501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26502         file.
26503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26504         file.
26505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26506         file.
26507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26508         multiarch isnan for PowerPC32.
26509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26510         New file.
26511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26512         New file.
26513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26514         multiarch isnanf for PowerPC32.
26516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26517         and sqrtf multiarch implementations.
26518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26519         file.
26520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26521         file.
26522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26523         multiarch sqrt for PowerPC32.
26524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26525         file.
26526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26527         file.
26528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26529         multiarch sqrtf for PowerPC32.
26531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26532         and llroundf multiarch implementations.
26533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26534         New file.
26535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26536         New file.
26537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26538         New file.
26539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26540         file: multiarch llround for PowerPC32.
26541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26542         file: multiarch llroundf for PowerPC32.
26544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26545         multiarch PowerPC32 fpu implementations.
26546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26547         New file.
26548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26549         New file.
26550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26551         multiarch llrint for PowerPC32.
26552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26553         New file.
26554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26555         New file.
26556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26557         file.
26559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26561         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26562         file.
26563         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26564         file.
26565         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26566         file.
26567         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26568         multiarch wordcopy for PPC32.
26569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26570         wordcopy objects.
26571         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26572         (__libc_ifunc_impl_list): Likewise.
26573         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26574         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26575         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26576         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26577         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26578         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26580         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26581         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26582         file.
26583         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26584         file.
26585         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26586         file.
26587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26588         multiarch wcscpy for PPC32.
26589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26590         multiarch objects.
26591         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26592         (__libc_ifunc_impl_list): Likewise.
26593         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26594         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26595         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26596         sysdeps/powerpc/power6/wcscpy.c.
26598         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26600         file.
26601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26602         file.
26603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26604         file.
26605         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26606         multiarch wcsrchr for PPC32.
26607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26608         multiarch objects.
26609         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26610         (__libc_ifunc_impl_list): Likewise.
26611         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26612         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26613         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26614         sysdeps/powerpc/power6/wcsrchr.c.
26616         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26617         file.
26618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26619         file.
26620         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26622         multiarch wcschr for PPc32.
26623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26624         multiarch objects.
26625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26626         (__libc_ifunc_impl_list): Likewise.
26627         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26628         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26629         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26630         sysdeps/powerpc/power6/wcschr.c.
26632         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26633         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26634         file.
26635         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26636         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26637         file: multiarch strchr for PPC32.
26638         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26639         multiarch objects.
26640         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26641         (__libc_ifunc_impl_list): Likewise.
26643         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26644         name.
26645         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26646         file.
26647         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26648         file.
26649         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26650         multiarch strchrnul for PPC32.
26651         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26652         multiarch objects.
26653         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26654         (__libc_ifunc_impl_list): Likewise.
26656         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26657         file.
26658         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26659         multiarch strncasecmp for PPC32.
26660         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26661         file.
26662         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26663         multiarch strncasecmp_l for PPC32.
26664         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26665         strncasecmp multiarch objects.
26666         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26667         (__libc_ifunc_impl_list): Likewise.
26669         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26670         file.
26671         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26672         multiarch strncasecmp for PPC32.
26673         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26674         New file.
26675         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26676         multiarch strcasecmp_l for PPC32.
26677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26678         multiarch objects.
26679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26680         (__libc_ifunc_impl_list): Likewise.
26682         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26683         file.
26684         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26685         file.
26686         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26687         multiarch strncmp for PPC32.
26688         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26689         multiarch objects.
26690         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26691         (__libc_ifunc_impl_list): Likewise.
26693         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26694         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26695         file.
26696         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26697         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26698         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26699         multiarch objects.
26700         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26701         (__libc_ifunc_impl_list): Likewise.
26703         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26704         file.
26705         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26706         file.
26707         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26709         multiarch objects.
26710         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26711         (__libc_ifunc_impl_list): Likewise.
26713         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26714         file.
26715         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26716         file.
26717         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26718         multiarch rawmemchr for PPC32.
26719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26720         multiarch objects.
26721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26722         (__libc_ifunc_impl_list): Likewise.
26724         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26725         file.
26726         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26727         file.
26728         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26729         file: memrchr multiarch for PPC32.
26730         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26731         multiarch objects.
26732         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26733         (__libc_ifunc_impl_list): Likewise.
26735         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26736         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26737         file.
26738         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26739         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26740         multiarch memchr for PPC32.
26741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26742         multiarch objects.
26743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26744         (__libc_ifunc_impl_list): Likewise.
26746         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26747         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26748         file.
26749         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26750         file.
26751         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26752         file: multiarch mempcpy for PPC32.
26753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26754         multiarch objects.
26755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26756         (__libc_ifunc_impl_list): Likewise.
26758         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26759         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26760         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26761         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26762         multiarch bzero for PPC32.
26763         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26764         file.
26765         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26766         file.
26767         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26768         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26769         file: multiarch memset for PPC32.
26770         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26772         memset multiarch objects.
26773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26774         (__libc_ifunc_impl_list): Likewise.
26776         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26777         file.
26778         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26780         memcmp for PPC32.
26781         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26782         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26783         multiarch objects.
26784         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26785         (__libc_ifunc_impl_list): Likewise.
26787         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26788         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26789         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26790         file.
26791         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26792         file.
26793         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26794         file.
26795         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26796         multiarch memcpy for PPC32.
26797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26798         multiarch objects.
26799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26800         (__libc_ifunc_impl_list): Likewise.
26802         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26803         support multiarch for POWER/PPC32.
26804         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26805         Likewise.
26806         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26808         Implies file to make multiarch folder appers before the fpu and
26809         default folder for power4 configuration.
26811 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26813         * scripts/bench.pl: Append volatile keyword to type.
26815 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26817         * sysdeps/sh/sotruss-lib.c: New file.
26818         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26820 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26824 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26826         [BZ #6810]
26827         * math/w_tgamma.c: Include <errno.h>.
26828         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26829         * math/w_tgammaf.c: Include <errno.h>.
26830         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26831         * math/w_tgammal.c: Include <errno.h>.
26832         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26833         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26834         underflow.  Add more tgamma tests.
26835         * math/auto-libm-test-out: Regenerated.
26836         * sysdeps/i386/fpu/libm-test-ulps: Update.
26837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26839         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26840         sin, sinh, tan, tanh, tgamma, y0 and y1.
26841         * math/auto-libm-test-out: Regenerated.
26842         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26843         (TEST_COND_x86): Likewise.
26844         (M_E2l): Remove macro.
26845         (M_E3l): Likewise.
26846         (M_2_SQRT_PIl): Likewise.
26847         (M_SQRT_PIl): Likewise.
26848         (M_1_DIV_El): Likewise.
26849         (log_test_data): Use AUTO_TESTS_f_f.
26850         (log10_test_data): Likewise.
26851         (log1p_test_data): Likewise.
26852         (log2_test_data): Likewise.
26853         (sin_test_data): Likewise.
26854         (sin_tonearest_test_data): Likewise.
26855         (sin_towardzero_test_data): Likewise.
26856         (sin_downward_test_data): Likewise.
26857         (sin_upward_test_data): Likewise.
26858         (sinh_test_data): Likewise.
26859         (sinh_tonearest_test_data): Likewise.
26860         (sinh_towardzero_test_data): Likewise.
26861         (sinh_downward_test_data): Likewise.
26862         (sinh_upward_test_data): Likewise.
26863         (tan_test_data): Likewise.
26864         (tan_tonearest_test_data): Likewise.
26865         (tan_towardzero_test_data): Likewise.
26866         (tan_downward_test_data): Likewise.
26867         (tan_upward_test_data): Likewise.
26868         (tanh_test_data): Likewise.
26869         (tgamma_test_data): Likewise.
26870         (y0_test_data): Likewise.
26871         (y1_test_data): Likewise.
26872         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26873         (special_real_inputs): Add pi/4.
26874         * sysdeps/i386/fpu/libm-test-ulps: Update.
26875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26877 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26879         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26880         "longjmp_target" static probes.
26881         (__longjmp): Rename to __longjmp_symbol.
26882         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26883         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26884         on which longjmp to generate.
26885         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26886         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26887         probe.
26888         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26889         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26890         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26891         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26892         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26893         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26895         __longjmp_symbol based on which __longjmp to generate.
26896         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26897         probe.
26898         (setjmp): Rename to setjmp_symbol.
26899         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26900         (_setjmp): Rename to _setjmp_symbol.
26901         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26902         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26903         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26904         which setjmp to generate.
26905         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26906         "longjmp_target" static probes.
26908 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26910         * benchtests/README: Add note about output arguments.
26911         * benchtests/bench-sincos.c: Remove file.
26912         * benchtests/sincos-inputs: New file.
26913         * scripts/bench.pl: Identify output arguments and define
26914         static variables for them.
26916         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26918         [BZ #15941]
26919         * Makefile (INSTALL): Add install-plain.texi as the primary
26920         dependency.
26921         * manual/install-plain.texi: New file.
26922         * manual/install.texi: Include node directive only for
26923         non-plaintext output.
26925 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26927         * stdlib/longlong.h: Update from GCC.
26929         [BZ #6807]
26930         [BZ #15901]
26931         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26932         * math/w_j0f.c (y0f): Likewise.
26933         * math/w_j0l.c (__y0l): Likewise.
26934         * math/w_j1.c (y1): Likewise.
26935         * math/w_j1f.c (y1f): Likewise.
26936         * math/w_j1l.c (__y1l): Likewise
26937         * math/w_jn.c (yn): Likewise.
26938         * math/w_jnf.c (ynf): Likewise.
26939         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26940         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26941         value for Bessel function domain errors outside _SVID_ mode.
26942         Adjust sign of return value for yn (negative integer, 0).
26943         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26944         by zero in return for negative x and set sign appropriately for
26945         negative n.
26946         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26947         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26948         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26949         expectations in error cases.
26950         (y1_test_data): Likewise.
26951         (yn_test_data): Likewise.
26952         * sysdeps/i386/fpu/libm-test-ulps: Update.
26953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26955 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26957         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26958         "64" to "64-v1".  Add "64-v2".
26959         (abi-64-options): Rename to ...
26960         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26961         (abi-64-condition): Rename to ...
26962         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26963         (abi-64-ld-soname): Rename to ...
26964         (abi-64-v1-ld-soname): ... this.
26965         (abi-64-v2-options): Define.
26966         (abi-64-v2-condition): Likewise.
26967         (abi-64-v2-ld-soname): Likewise.
26968         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26969         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26974 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26975             Alan Modra  <amodra@gmail.com>
26977         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26978         New versions for use with the ELFv2 ABI.
26979         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26980         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26981         declaration.
26982         (struct La_ppc64v2_retval): Likewise.
26983         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26984         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26985         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26986         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26987         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26988         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26989         Do not save or restore CR.
26990         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26991         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26992         return values for ELFv2 ABI.  Fix location of FPR return registers.
26993         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26994         updated values for _CALL_ELF == 2.
26995         (La_regs, La_retval, int_retval): Likewise.
26997 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26999         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27000         (FRAME_MIN_SIZE_PARM): Likewise.
27001         (FRAME_BACKCHAIN): Likewise.
27002         (FRAME_CR_SAVE): Likewise.
27003         (FRAME_LR_SAVE): Likewise.
27004         (FRAME_TOC_SAVE): Likewise.
27005         (FRAME_PARM_SAVE): Likewise.
27006         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27007         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27008         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27009         (call_mcount_parm_offset): New macro.
27010         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27011         (PROF): Use symbolic stack frame offsets.
27012         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27013         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27014         Redefine in terms of FRAME_MIN_SIZE.
27015         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27016         (_dl_profile_resolve): Likewise.  Update comment.
27017         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27018         symbols stack frame offsets.
27019         (__sigsetjmp): Likewise.
27020         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27021         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27022         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27023         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27026         (FRAME_BACKCHAIN): Remove.
27027         (FRAME_CR_SAVE): Likewise.
27028         (FRAME_LR_SAVE): Likewise.
27029         (FRAME_COMPILER_DW): Likewise.
27030         (FRAME_LINKER_DW): Likewise.
27031         (FRAME_TOC_SAVE): Likewise.
27032         (FRAME_PARM_SAVE): Likewise.
27033         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27034         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27035         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27037         (CHECK_SP): Use symbolic stack frame offsets.
27038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27039         zone" instead of caller's parameter save area for temp storage.
27040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27041         Likewise.  Also, use symbolic stack frame offsets.
27042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27043         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27044         our own stack frame instead of the caller's.
27045         (__socket): Use symbolic stack frame offsets.
27047 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27048             Alan Modra  <amodra@gmail.com>
27050         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27051         Define.
27052         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27053         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27054         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27055         New function.
27056         (elf_machine_fixup_plt): Call it.
27057         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27058         reloc arguments.
27059         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27060         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27061         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27062         r2 before calling target.
27064 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27065             Alan Modra  <amodra@gmail.com>
27067         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27068         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27069         versions of macros to support ELFv2 ABI.
27070         (LOCALENTRY): New macro.
27071         (ENTRY, EALIGN): Use it.
27072         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27073         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27074         fall through into ENTRY entry point.
27075         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27076         Only define if _CALL_ELF != 2.
27078         (elf_machine_matches_host): Verify ABI version matches.
27079         (RTLD_START): Use LOCALENTRY.
27080         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27081         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27082         (PLT_ENTRY_WORDS): New macro.
27083         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27084         (elf_machine_runtime_setup): Support ELFv2 ABI.
27085         (elf_machine_fixup_plt): Likewise.
27086         (elf_machine_plt_conflict): Likewise.
27087         (resolve_ifunc): Likewise.
27088         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27089         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27090         Likewise.
27091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27092         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27094         (makecontext): Support ELFv2 ABI.
27095         * elf/elf.h (EF_PPC64_ABI): Define.
27097 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27099         * sysdeps/powerpc/powerpc64/sysdep.h
27100         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27101         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27102         (ENTRY) [ASSEMBLER]: ... but instead here ...
27103         (EALIGN) [ASSEMBLER]: ... and here.
27104         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27105         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27106         (ENTRY_2) [!ASSEMBLER]: Use it.
27107         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27108         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27109         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27110         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27111         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27113         Use PPC64_LOAD_FUNCPTR.
27115         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27117 2013-12-04  Alan Modra  <amodra@gmail.com>
27119         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27120         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27121         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27122         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27124         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27125         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27126         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27127         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27128         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27129         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27131 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27134         (__makecontext): Fix incorrect CFI when backtracing out of
27135         context created via makecontext.
27136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27137         (__setcontext): Fix incorrect CFI during switch to new context.
27138         (__novec_setcontext): Likewise.
27140 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27142         [BZ #4772]
27143         * time/strptime_l.c (__strptime_internal): Allow modifiers
27144         in strptime.
27145         * time/tst-strptime.c (day_tests): Add testcase.
27147 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27149         * scripts/bench.pl: Skip over blank lines.
27151 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27153         [BZ #926]
27154         * manual/time.texi (Calendar Time): Clarify what timezone functions
27155         use.
27157 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27161 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27163         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27164         implementation.
27165         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27166         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27167         * debug/memset_chk.c (__memset_chk): Likewise.
27168         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27169         * debug/strncpy_chk.c: Likewise.
27171 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27173         [BZ #15268]
27174         [BZ #15425]
27175         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27176         (__ieee754_exp): For possibly underflowing results, check size of
27177         result and force underflow exception if required.
27178         * math/auto-libm-test-in: Add more tests of exp.
27179         * math/auto-libm-test-out: Regenerated.
27180         * sysdeps/i386/fpu/libm-test-ulps: Update.
27181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27183         [BZ #16283]
27184         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27185         * math/w_exp2f.c (__exp2f): Likewise.
27186         * math/w_exp2l.c (__exp2l): Likewise.
27187         * math/auto-libm-test-in: Do not allow missing errno on exp2
27188         underflow.
27189         * math/auto-libm-test-out: Regenerated.
27191 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27193         [BZ #16274]
27194         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27195         handle filename validation.
27196         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27197         (do_open): Delete.
27199 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27201         [BZ #6786]
27202         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27203         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27204         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27205         <float.h>.
27206         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27207         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27208         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27209         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27210         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27211         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27212         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27213         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27214         Add more erfc tests.
27215         * math/auto-libm-test-out: Regenerated.
27216         * sysdeps/i386/fpu/libm-test-ulps: Update.
27217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27219         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27220         exp2, expm1, j0 and j1.
27221         * math/auto-libm-test-out: Regenerated.
27222         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27223         (erfc_test_data): Likewise.
27224         (exp_test_data): Likewise.
27225         (exp_tonearest_test_data): Likewise.
27226         (exp_towardzero_test_data): Likewise.
27227         (exp_downward_test_data): Likewise.
27228         (exp_upward_test_data): Likewise.
27229         (exp10_test_data): Likewise.
27230         (exp2_test_data): Likewise.
27231         (expm1_test_data): Likewise.
27232         (j0_test_data): Likewise.
27233         (j1_test_data): Likewise.
27234         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27235         (input_flag_type): Add flag_xfail_rounding.
27236         (input_flags): Add xfail-rounding.
27237         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27238         (output_for_one_input_case): Handle flag_xfail_rounding.
27239         * sysdeps/i386/fpu/libm-test-ulps: Update.
27240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27242 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27244         [BZ #16289]
27245         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27246         division by 0.
27248 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27250         [BZ #16195]
27251         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27252         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27253         (STAP_PROBE0): New macro.
27254         (STAP_PROBE1): Likewise.
27255         (STAP_PROBE2): Likewise.
27256         (STAP_PROBE3): Likewise.
27257         (STAP_PROBE4): Likewise.
27259 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27261         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27263 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27265         * benchtests/Makefile (bench): Add sqrt.
27266         (LDLIBS-bench-sqrt): New.
27267         * benchtests/sqrt-input: New.
27269 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27271         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27272         (GAIH_EAI): Likewise.
27273         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27274         (gaih_inet): Likewise.
27275         (getaddrinfo): Don't use GAIH_EAI.
27277         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27278         (struct gaih): Remove definition.
27280 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27282         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27283         Use HERRNOP directly.
27285 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27289 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27291         * math/gen-auto-libm-tests.c (test_functions): Add more
27292         single-argument functions.
27293         (special_fill_pi_2): New function.
27294         (special_fill_minus_pi_2): Likewise.
27295         (special_fill_pi_6): Likewise.
27296         (special_fill_minus_pi_6): Likewise.
27297         (special_fill_pi_3): Likewise.
27298         (special_fill_2pi_3): Likewise.
27299         (special_fill_e): Likewise.
27300         (special_fill_1_e): Likewise.
27301         (special_fill_e_minus_1): Likewise.
27302         (special_real_inputs): Add more special inputs.
27303         (output_for_one_input_case): Do not require ERANGE on underflow to
27304         zero if round-to-nearest result does not underflow to zero, unless
27305         exact results required.
27306         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27307         atan, atanh, cbrt, cos and cosh.
27308         * math/auto-libm-test-out: Regenerated.
27309         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27310         (acos_tonearest_test_data): Likewise.
27311         (acos_towardzero_test_data): Likewise.
27312         (acos_downward_test_data): Likewise.
27313         (acos_upward_test_data): Likewise.
27314         (acosh_test_data): Likewise.
27315         (asin_test_data): Likewise.
27316         (asin_tonearest_test_data): Likewise.
27317         (asin_towardzero_test_data): Likewise.
27318         (asin_upward_test_data): Likewise.
27319         (asinh_test_data): Likewise.
27320         (atan_test_data): Likewise.
27321         (atanh_test_data): Likewise.
27322         (cbrt_test_data): Likewise.
27323         (cos_test_data): Likewise.
27324         (cos_tonearest_test_data): Likewise.
27325         (cos_towardzero_test_data): Likewise.
27326         (cos_downward_test_data): Likewise.
27327         (cos_upward_test_data): Likewise.
27328         (cosh_test_data): Likewise.
27329         (cosh_tonearest_test_data): Likewise.
27330         (cosh_towardzero_test_data): Likewise.
27331         (cosh_downward_test_data): Likewise.
27332         (cosh_upward_test_data): Likewise.
27333         * sysdeps/i386/fpu/libm-test-ulps: Update.
27334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27336 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27338         [BZ #6787]
27339         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27340         * math/w_exp10f.c (__exp10f): Likewise.
27341         * math/w_exp10l.c (__exp10l): Likewise.
27342         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27343         errno settings in existing tests.
27345         [BZ #14032]
27346         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27347         precision control set to double precision.
27348         * sysdeps/i386/fpu/w_sqrt.c: New file.
27349         * math/auto-libm-test-in: Add more tests.
27350         * math/auto-libm-test-out: Update.
27352         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27353         (sqrt_test_tonearest): New function.
27354         (sqrt_towardzero_test_data): New variable.
27355         (sqrt_test_towardzero): New function.
27356         (sqrt_downward_test_data): New variable.
27357         (sqrt_test_downward): New function.
27358         (sqrt_upward_test_data): New variable.
27359         (sqrt_test_upward): New function.
27360         (main): Call the new functions.
27362         * math/gen-auto-libm-tests.c: New file.
27363         * math/auto-libm-test-in: Likewise.
27364         * math/auto-libm-test-out: New generated file.
27365         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27366         variables.
27367         (%beautify): Add generated representations of zero.
27368         (top level): Set $auto_input and call parse_auto_input.
27369         (beautify): Remove trailing "f" from hex float constants.
27370         (parse_args): Handle XFAIL_TEST.
27371         (convert_condition): New function.
27372         (or_value): Likewise.
27373         (or_cond_value): Likewise.
27374         (generate_testfile): Handle AUTO_TESTS_* lines.
27375         (parse_auto_input): New function.
27376         * math/libm-test.inc (XFAIL_TEST): New macro.
27377         (ERRNO_UNCHANGED): Update value.
27378         (ERRNO_EDOM): Likewise.
27379         (ERRNO_ERANGE): Likewise.
27380         (IGNORE_RESULT): Likewise.
27381         (TEST_COND_flt_32): New macro.
27382         (TEST_COND_dbl_64): Likewise.
27383         (TEST_COND_ldbl_96_intel): Likewise.
27384         (TEST_COND_ldbl_96_m68k): Likewise.
27385         (TEST_COND_ldbl_128): Likewise.
27386         (TEST_COND_ldbl_128ibm): Likewise.
27387         (TEST_COND_long32): Likewise.
27388         (TEST_COND_long64): Likewise.
27389         (TEST_COND_before_rounding): Likewise.
27390         (TEST_COND_after_rounding): Likewise.
27391         (enable_test): Handle XFAIL_TEST flag.
27392         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27393         with finite results.
27394         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27395         auto-libm-test-out.
27397 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27398             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27400         [BZ #16214]
27401         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27402         __tls_get_addr_internal instead of __tls_get_offset in order to
27403         avoid GOT pointer dependency.  Make rtld export
27404         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27405         __tls_get_addr since we are a __tls_get_offset platform.
27406         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27407         GOT pointer being set up before.
27408         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27410 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27412         * manual/math.texi (Errors in Math Functions): Document accuracy
27413         goals.
27415         [BZ #15004]
27416         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27417         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27418         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27419         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27420         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27421         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27422         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27423         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27424         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27425         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27426         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27427         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27428         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27429         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27430         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27431         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27433         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27434         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27435         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27436         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27437         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27438         Likewise.
27439         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27440         Likewise.
27441         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27442         Likewise.
27443         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27444         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27445         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27446         atomic-feupdateenv and flt-rounds.
27447         * sysdeps/powerpc/nofpu/Versions (libc): Add
27448         __atomic_feholdexcept, __atomic_feclearexcept,
27449         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27450         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27451         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27452         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27453         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27454         here.
27455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27456         Update.
27458         * manual/arith.texi (FP Exceptions): Document that exceptions may
27459         not be raised when matherr is used.
27460         (Math Error Reporting): Document overflow in directed rounding
27461         modes.  Document that errno may not be set when finite values are
27462         returned on overflow.  Document intent to set errno on underflow
27463         only for underflow to zero.
27465         [BZ #16271]
27466         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27467         round-to-nearest then adjust result for other rounding modes.
27468         * include/fenv.h (fegetround): Use libm_hidden_proto.
27469         * math/fegetround.c (fegetround): Use libm_hidden_def.
27470         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27471         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27472         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27473         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27474         Likewise.
27475         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27476         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27477         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27478         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27480 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27482         [BZ #16077]
27483         * nss/Versions (libnss_files): Add
27484         _nss_files_gethostbyname3_r.
27485         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27486         New function.
27487         (HOST_DB_LOOKUP): Remove macro.
27488         (_nss_files_gethostbyname_r): Implement function without the
27489         HOST_DB_LOOKUP macro.
27490         (_nss_files_gethostbyname2_r): Likewise.
27492 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27494         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27496 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27498         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27499         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27500         warning.
27502 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27504         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27505         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27506         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27507         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27508         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27509         __fe_nomask_env_priv and attribute_hidden.
27510         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27511         (libc_feupdateenv_test_ppc): Likewise.
27512         (libc_feresetround_ppc): Likewise.
27513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27514         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27515         compat_symbol macro.
27516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27517         (__fe_nomask_env): Likewise.
27518         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27520 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27522         * string/Makefile: Remove ifunc tests.
27523         * string/test-string.h: Define TEST_IFUNC.
27524         * string/test-bcopy-ifunc.c: Remove.
27525         * string/test-bzero-ifunc.c: Likewise.
27526         * string/test-memccpy-ifunc.c: Likewise.
27527         * string/test-memchr-ifunc.c: Likewise.
27528         * string/test-memcmp-ifunc.c: Likewise.
27529         * string/test-memcpy-ifunc.c: Likewise.
27530         * string/test-memmem-ifunc.c: Likewise.
27531         * string/test-memmove-ifunc.c: Likewise.
27532         * string/test-mempcpy-ifunc.c: Likewise.
27533         * string/test-memrchr-ifunc.c: Likewise.
27534         * string/test-memset-ifunc.c: Likewise.
27535         * string/test-rawmemchr-ifunc.c: Likewise.
27536         * string/test-stpcpy-ifunc.c: Likewise.
27537         * string/test-stpncpy-ifunc.c: Likewise.
27538         * string/test-strcasecmp-ifunc.c: Likewise.
27539         * string/test-strcasestr-ifunc.c: Likewise.
27540         * string/test-strcat-ifunc.c: Likewise.
27541         * string/test-strchr-ifunc.c: Likewise.
27542         * string/test-strchrnul-ifunc.c: Likewise.
27543         * string/test-strcmp-ifunc.c: Likewise.
27544         * string/test-strcpy-ifunc.c: Likewise.
27545         * string/test-strcspn-ifunc.c: Likewise.
27546         * string/test-strlen-ifunc.c: Likewise.
27547         * string/test-strncasecmp-ifunc.c: Likewise.
27548         * string/test-strncat-ifunc.c: Likewise.
27549         * string/test-strncmp-ifunc.c: Likewise.
27550         * string/test-strncpy-ifunc.c: Likewise.
27551         * string/test-strnlen-ifunc.c: Likewise.
27552         * string/test-strpbrk-ifunc.c: Likewise.
27553         * string/test-strrchr-ifunc.c: Likewise.
27554         * string/test-strspn-ifunc.c: Likewise.
27555         * string/test-strstr-ifunc.c: Likewise.
27557 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27559         * benchtests/Makefile: Remove ifunc tests.
27560         * benchtests/bench-string.h: Define TEST_IFUNC.
27561         * benchtests/bench-bcopy-ifunc.c: Remove.
27562         * benchtests/bench-bzero-ifunc.c: Likewise.
27563         * benchtests/bench-memccpy-ifunc.c: Likewise.
27564         * benchtests/bench-memchr-ifunc.c: Likewise.
27565         * benchtests/bench-memcmp-ifunc.c: Likewise.
27566         * benchtests/bench-memcpy-ifunc.c: Likewise.
27567         * benchtests/bench-memmem-ifunc.c: Likewise.
27568         * benchtests/bench-memmove-ifunc.c: Likewise.
27569         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27570         * benchtests/bench-memrchr-ifunc.c: Likewise.
27571         * benchtests/bench-memset-ifunc.c: Likewise.
27572         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27573         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27574         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27575         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27576         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27577         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27578         * benchtests/bench-strcat-ifunc.c: Likewise.
27579         * benchtests/bench-strchr-ifunc.c: Likewise.
27580         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27581         * benchtests/bench-strcmp-ifunc.c: Likewise.
27582         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27583         * benchtests/bench-strcpy-ifunc.c: Likewise.
27584         * benchtests/bench-strcspn-ifunc.c: Likewise.
27585         * benchtests/bench-strlen-ifunc.c: Likewise.
27586         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27587         * benchtests/bench-strncat-ifunc.c: Likewise.
27588         * benchtests/bench-strncmp-ifunc.c: Likewise.
27589         * benchtests/bench-strncpy-ifunc.c: Likewise.
27590         * benchtests/bench-strnlen-ifunc.c: Likewise.
27591         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27592         * benchtests/bench-strrchr-ifunc.c: Likewise.
27593         * benchtests/bench-strsep-ifunc.c: Likewise.
27594         * benchtests/bench-strspn-ifunc.c: Likewise.
27595         * benchtests/bench-strstr-ifunc.c: Likewise.
27597 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27599         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27601 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27603         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27604         * rt/aio.h: Likewise.
27605         * sysdeps/gnu/bits/utmp.h: Likewise.
27606         * sysdeps/gnu/bits/utmpx.h: Likewise.
27607         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27608         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27609         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27610         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27611         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27612         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27613         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27614         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27615         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27616         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27617         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27618         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27619         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27621         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27622         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27623         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27624         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27625         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27626         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27627         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27628         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27629         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27630         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27631         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27632         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27633         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27634         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27635         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27636         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27637         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27638         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27639         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27640         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27641         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27642         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27643         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27644         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27645         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27646         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27647         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27648         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27650 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27652         [BZ #16245]
27653         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27654         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27656 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27658         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27659         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27660         Likewise.
27662 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27664         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27665         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27666         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27667         (__fesetround): Remove define.
27668         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27669         rounding and exceptions handling.
27670         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27671         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27672         (__fe_nomask_env): Likewise.
27673         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27674         __fegetround instead of fegetround.
27675         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27676         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27678 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27680         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27681         it's there.
27683         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27685 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27687         [BZ #11157]
27688         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27689         (encrypt_r): Likewise.
27690         * malloc/obstack.h (obstack_free): Likewise.
27691         * posix/unistd.h (encrypt): Likewise.
27693 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27695         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27696         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27697         DL_CALL_DT_FINI() that call the functions directly.
27698         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27699         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27700         * elf/dl-fini.c: Likewise.
27702 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27704         * malloc/hooks.c (memalign_check): Add alignment rounding.
27705         * malloc/malloc.c (_mid_memalign): New function.
27706         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27707         Implement by calling _mid_memalign.
27708         * manual/probes.texi (Memory Allocation Probes): Remove
27709         memory_valloc_retry and memory_pvalloc_retry.
27711 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27713         * locale/programs/locarchive.c (open_archive): Add const
27714         qualifier to ARCHIVEFNAME and copy default fname to
27715         DEFAULT_FNAME.
27717         [BZ #15601]
27718         * libio/tst-widetext.input: Rename Oriya to Odia.
27719         * locale/iso-639.def: Likewise.
27721         * manual/probes.texi (Mathematical Function Probes): Add
27722         documentation for sin, cos, asin and acos probes.
27723         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27724         (__sin32): Add slowasin probe.
27725         (__cos32): Add slowacos probe.
27726         (__mpsin): Add slowsin probe.
27727         (__mpcos): Add slowcos probe.
27729 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27731         [BZ #15483]
27732         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27733         thread-local __sim_exceptions_thread and global
27734         __sim_exceptions_global.
27735         (__sim_disabled_exceptions): Change to thread-local
27736         __sim_disabled_exceptions_thread and global
27737         __sim_disabled_exceptions_global.
27738         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27739         and global __sim_round_mode_global.
27740         (__simulate_exceptions): Use thread-local floating-point state and
27741         set global state from it as needed.
27742         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27743         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27744         __sim_round_mode_thread.
27745         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27746         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27747         and global __sim_exceptions_global.
27748         (__sim_disabled_exceptions): Change to thread-local
27749         __sim_disabled_exceptions_thread and global
27750         __sim_disabled_exceptions_global.
27751         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27752         and global __sim_round_mode_global.
27753         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27754         (SIM_SET_GLOBAL): Likewise.
27755         * sysdeps/powerpc/soft-fp/sfp-machine.h
27756         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27757         __sim_round_mode_thread.
27758         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27759         __sim_disabled_exceptions_thread.
27760         (__sim_exceptions): Change to __sim_exceptions_thread.
27761         (__sim_disabled_exceptions): Change to
27762         __sim_disabled_exceptions_thread.
27763         (__sim_round_mode): Change to __sim_round_mode_thread.
27764         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27765         thread-local floating-point state and set global state from it as
27766         needed.
27767         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27768         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27769         (__sim_disabled_exceptions): Remove extern declaration.
27770         (feenableexcept): Use thread-local floating-point state and set
27771         global state from it as needed.
27772         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27773         extern declaration.
27774         (__sim_disabled_exceptions): Likewise.
27775         (__sim_round_mode): Likewise.
27776         (__fegetenv): Use thread-local floating-point state.
27777         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27778         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27779         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27780         floating-point state and set global state from it as needed.
27781         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27782         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27783         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27784         Likewise.
27785         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27786         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27787         Likewise.
27788         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27789         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27790         Use __sim_round_mode_thread.
27791         * math/test-fenv-tls.c: New file.
27792         * math/Makefile (tests): Add test-fenv-tls.
27793         ($(objpfx)test-fenv-tls): Depend on
27794         $(common-objpfx)nptl/libpthread.so.
27796 2013-11-19  Andreas Schwab  <schwab@suse.de>
27798         * locale/programs/locale.c (show_info): Decode wordarray elements.
27799         * locale/categories.def (LC_MONETARY): Add element for
27800         _NL_MONETARY_CRNCYSTR.
27801         * locale/C-monetary.c (conversion_rate): New variable.
27802         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27803         element.
27805 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27807         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27808         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27810 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27812         * elf/Makefile (tst-auxv): New test.
27813         * elf/tst-auxv.c: New
27814         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27816 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27818         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27819         (hidden_proto): Caller changed.
27820         (hidden_tls_proto): New macro.
27821         (libc_hidden_tls_proto): Likewise.
27822         (rtld_hidden_tls_proto): Likewise.
27823         (libm_hidden_tls_proto): Likewise.
27824         (libresolv_hidden_tls_proto): Likewise.
27825         (librt_hidden_tls_proto): Likewise.
27826         (libdl_hidden_tls_proto): Likewise.
27827         (libnss_files_hidden_tls_proto): Likewise.
27828         (libnsl_hidden_tls_proto): Likewise.
27829         (libnss_nisplus_hidden_tls_proto): Likewise.
27830         (libutil_hidden_tls_proto): Likewise.
27832 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27834         [BZ #10253]
27835         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27836         (decompose_rpath): Defer expansion to fillin_rpath.
27837         (_dl_init_paths): Pass linkmap to fillin_rpath.
27839 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27841         * benchtests/Makefile: Add strsep.
27842         * benchtests/bench-strsep.c: New file: strsep benchtest.
27843         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27845 2013-11-18  Andreas Schwab  <schwab@suse.de>
27847         * locale/programs/locale.c (show_info) [case byte]: Check for
27848         '\377' instead of '\177'.
27849         * locale/C-monetary.c (not_available): Always use "\377".
27850         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27851         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27852         detect unavailable sign_posn locale elements.
27853         * locale/localeconv.c (__localeconv): For grouping and
27854         mon_grouping handle "\177" and "\377" like no grouping.
27855         (INT_ELEM): New macro.  Use it to set all numeric members.
27856         * locale/programs/ld-monetary.c (monetary_read)
27857         <tok_mon_grouping>: Normalize single -1 to the empty string.
27858         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27859         Likewise.
27861 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27863         [BZ #16055]
27864         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27865         when we match (nil).
27866         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27868 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27870         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27871         (NO_TEST_INLINE): Update value.
27872         (ERRNO_UNCHANGED): Likewise.
27873         (ERRNO_EDOM): Likewise.
27874         (ERRNO_ERANGE): Likewise.
27875         (IGNORE_RESULT): Likewise.
27876         (check_float_internal): Check signs of NaN results if
27877         TEST_NAN_SIGN used.
27878         (check_complex): Pass TEST_NAN_SIGN flag through to second
27879         check_float_internal call.
27880         (copysign_test_data): Add tests with quiet NaNs as second
27881         argument.  Use TEST_NAN_SIGN.
27882         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27883         TEST_NAN_SIGN.
27884         (signbit_test_data): Add tests of quiet NaN argument.
27885         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27887         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27888         $ignore_result.
27889         (parse_args): Handle function results specified as IGNORE.
27890         * math/libm-test.inc (IGNORE_RESULT): New macro.
27891         (check_float_internal): Do not check numerical result if flag
27892         IGNORE_RESULT set.
27893         (check_complex): Pass through IGNORE_RESULT to second
27894         check_float_internal call.
27895         (check_int): Do not check numerical result if flag IGNORE_RESULT
27896         set.
27897         (check_long): Likewise.
27898         (check_bool): Likewise.
27899         (check_longlong): Likewise.
27900         (lrint_test_data): Add tests of infinite and NaN arguments.
27901         (lrint_tonearest_test_data): Likewise.
27902         (lrint_towardzero_test_data): Likewise.
27903         (lrint_downward_test_data): Likewise.
27904         (lrint_upward_test_data): Likewise.
27905         (llrint_test_data): Likewise.
27906         (llrint_tonearest_test_data): Likewise.
27907         (llrint_towardzero_test_data): Likewise.
27908         (llrint_downward_test_data): Likewise.
27909         (llrint_upward_test_data): Likewise.
27910         (lround_test_data): Likewise.
27911         (llround_test_data): Likewise.
27913         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27914         (ERRNO_UNCHANGED): Update value.
27915         (ERRNO_EDOM): Likewise.
27916         (ERRNO_ERANGE): Likewise.
27917         (NO_TEST_INLINE_FLOAT): New macro.
27918         (NO_TEST_INLINE_DOUBLE): Likewise.
27919         (enable_test): New function.
27920         (RUN_TEST_f_f): Check enable_test before running test.
27921         (RUN_TEST_2_f): Likewise.
27922         (RUN_TEST_fff_f): Likewise.
27923         (RUN_TEST_c_f): Likewise.
27924         (RUN_TEST_f_f1): Likewise.
27925         (RUN_TEST_fF_f1): Likewise.
27926         (RUN_TEST_fI_f1): Likewise.
27927         (RUN_TEST_ffI_f1): Likewise.
27928         (RUN_TEST_c_c): Likewise.
27929         (RUN_TEST_cc_c): Likewise.
27930         (RUN_TEST_f_i): Likewise.
27931         (RUN_TEST_f_i_tg): Likewise.
27932         (RUN_TEST_ff_i_tg): Likewise.
27933         (RUN_TEST_f_b): Likewise.
27934         (RUN_TEST_f_b_tg): Likewise.
27935         (RUN_TEST_f_l): Likewise.
27936         (RUN_TEST_f_L): Likewise.
27937         (RUN_TEST_fFF_11): Likewise.
27938         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27939         conditionals.
27940         (cosh_test_data): Likewise.
27941         (exp_test_data): Likewise.
27942         (expm1_test_data): Likewise.
27943         (hypot_test_data): Likewise.
27944         (pow_test_data): Likewise.
27945         (sinh_test_data): Likewise.
27946         (tanh_test_data): Likewise.
27947         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27948         flags argument.
27950         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27951         tests with quiet NaN input and output.
27952         (acosh_test_data): Likewise.
27953         (asin_test_data): Likewise.
27954         (asinh_test_data): Likewise.
27955         (atan_test_data): Likewise.
27956         (atanh_test_data): Likewise.
27957         (atan2_test_data): Likewise.
27958         (cbrt_test_data): Likewise.
27959         (cos_test_data): Likewise.
27960         (cosh_test_data): Likewise.
27961         (erf_test_data): Likewise.
27962         (erfc_test_data): Likewise.
27963         (exp_test_data): Likewise.
27964         (exp10_test_data): Likewise.
27965         (exp2_test_data): Likewise.
27966         (expm1_test_data): Likewise.
27967         (hypot_test_data): Likewise.
27968         (j0_test_data): Likewise.
27969         (j1_test_data): Likewise.
27970         (jn_test_data): Likewise.
27971         (lgamma_test_data): Likewise.
27972         (log_test_data): Likewise.
27973         (log10_test_data): Likewise.
27974         (log1p_test_data): Likewise.
27975         (log2_test_data): Likewise.
27976         (pow_test_data): Likewise.
27977         (scalb_test_data): Likewise.
27978         (sin_test_data): Likewise.
27979         (sincos_test_data): Likewise.
27980         (sinh_test_data): Likewise.
27981         (tan_test_data): Likewise.
27982         (tanh_test_data): Likewise.
27983         (tgamma_test_data): Likewise.
27984         (y0_test_data): Likewise.
27985         (y1_test_data): Likewise.
27986         (yn_test_data): Likewise.
27988         [BZ #16167]
27989         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27990         argument being NaN and avoid computations with second argument in
27991         that case.
27992         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27993         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27994         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27996 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27998         * locale/iso-639.def: Add Chitwani Tharu (the).
28000 2013-11-14  Andreas Schwab  <schwab@suse.de>
28002         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28003         word instead of empty string.
28005 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28008         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28010         (__fe_nomask_env): Likewise.
28012 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28014         * benchtests/bench-timing.h: Include time.h.
28016 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28018         [BZ #15997]
28019         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28020         to 3.4.0 for x32.
28021         * sysdeps/unix/sysv/linux/configure: Regenerated.
28023 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28025         [BZ #16151]
28026         * stdlib/strtod_l.c (round_and_return): Do not consider
28027         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28028         exponent one less than half the least subnormal exponent.
28029         * stdlib/test-strtod-round-data: Add more tests.
28030         * stdlib/tst-strtod-round.c (tests): Regenerated.
28032 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28034         [BZ #14143]
28035         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28036         (__fe_mask_env): Likewise.
28037         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28038         libm_hidden_proto and add function prototype.
28039         (__fe_mask_env): Add function prototype.
28040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28041         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28043         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28045         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28047 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28049         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28050         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28052 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28054         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28055         of htab_find_slot().
28057 2013-11-11  David S. Miller  <davem@davemloft.net>
28059         [BZ #16150]
28060         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28061         symbol in the non-vis3 case in static builds.
28062         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28063         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28064         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28065         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28067 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28069         [BZ #387]
28070         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28071         it is empty.
28073 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28075         * benchtests/Makefile: Add bench-strtod.
28076         * benchtests/bench-strtod.c: New file: strtod benchtest
28078 2013-11-11  Andreas Schwab  <schwab@suse.de>
28080         [BZ #16153]
28081         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28082         terminating NUL in key length.
28084 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28086         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28087         Add artificial ODP entry for vDSO symbol for PPC64.
28088         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28089         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28091 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28093         [BZ #15374]
28094         * nss/getent.c (services_keys): Recognize services starting with digit.
28096 2013-11-06  David S. Miller  <davem@davemloft.net>
28098         [BZ #15985]
28099         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28100         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28102 2013-11-06  Will Newton  <will.newton@linaro.org>
28104         * manual/memory.texi (Malloc Examples): Remove register
28105         keyword from examples.
28107 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28109         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28111 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28113         [BZ #6981]
28114         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28115         depending on [__GCC_IEC_559 > 0].
28116         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28117         depending on [__GCC_IEC_559_COMPLEX > 0].
28119 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28121         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28122         to iso-639.def.
28124 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28126         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28128 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28130         [BZ #16112]
28131         * malloc/malloc (malloc_info): Do not handle first bin as
28132         special case.
28134 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28136         * locale/iso-639.def: Add Central Nahuatl (nhn).
28138 2013-11-01  Bruno Haible  <bruno@clisp.org>
28140         [BZ #7003]
28141         * manual/math.texi (BSD Random): Specify range upper bound as
28142         in POSIX.
28144 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28146         * locale/iso-639.def: Add Meadow Mari (mhr).
28148 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28150         [BZ #14752], [BZ #15763]
28151         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28152         Validate name.
28153         * rt/tst_shm.c: Add test for escaping directory.
28155 2013-10-31  Andreas Schwab  <schwab@suse.de>
28157         [BZ #15917]
28158         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28159         followed by 'x' as part of digit sequence.
28160         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28162 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28164         [BZ #16037]
28165         * configure.ac: allow GNU Make 4.0 and greater.
28166         * configure: Regenerated.
28168 2013-10-30  Will Newton  <will.newton@linaro.org>
28170         [BZ #16038]
28171         * malloc/hooks.c (memalign_check): Limit alignment to the
28172         maximum representable power of two.
28173         * malloc/malloc.c (__libc_memalign): Likewise.
28174         * malloc/tst-memalign.c (do_test): Add test for very
28175         large alignment values.
28176         * malloc/tst-posix_memalign.c (do_test): Likewise.
28178 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28180         [BZ #11087]
28181         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28182         (munmap_chunk): Likewise.
28183         (mremap_chunk): Likewise.
28185 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28187         [BZ #15799]
28188         * stdlib/div.c (div): Remove obsolete code.
28189         * stdlib/ldiv.c (ldiv): Likewise.
28190         * stdlib/lldiv.c (lldiv): Likewise.
28192 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28194         [BZ #16071]
28195         * nss/nss_files/files-XXX.c (get_contents_ret): New
28196         enumerator.
28197         (get_contents): New function.
28198         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28200 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28202         * configure.in: Moved to ...
28203         * configure.ac: ... here. Change reference to configure.in
28204         to configure.ac.
28205         * sysdeps/arm/preconfigure.ac: ... here.
28206         configure.in to configure.ac.
28207         * sysdeps/gnu/configure.in: Moved to ...
28208         * sysdeps/gnu/configure.ac: ... here.
28209         * sysdeps/i386/configure.in: Moved to ...
28210         * sysdeps/i386/configure.ac: ... here.
28211         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28212         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28213         * sysdeps/mach/configure.in: Moved to ...
28214         * sysdeps/mach/configure.ac: ... here.
28215         * sysdeps/mach/hurd/configure.in: Moved to ...
28216         * sysdeps/mach/hurd/configure.ac: ... here.
28217         * sysdeps/powerpc/configure.in: Moved to ...
28218         * sysdeps/powerpc/configure.ac: ... here.
28219         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28220         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28221         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28222         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28223         * sysdeps/s390/s390-32/configure.in: Moved to ...
28224         * sysdeps/s390/s390-32/configure.ac: ... here.
28225         * sysdeps/s390/s390-64/configure.in: Moved to ...
28226         * sysdeps/s390/s390-64/configure.ac: ... here.
28227         * sysdeps/sh/configure.in: Moved to ...
28228         * sysdeps/sh/configure.ac: ... here.
28229         * sysdeps/sparc/configure.in: Moved to ...
28230         * sysdeps/sparc/configure.ac: ... here.
28231         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28232         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28233         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28234         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28235         * sysdeps/x86_64/configure.in: Moved to ...
28236         * sysdeps/x86_64/configure.ac: ... here.
28237         * sysdeps/x86_64/preconfigure.in: Moved to ...
28238         * sysdeps/x86_64/preconfigure.ac: ... here.
28239         * aclocal.m4: Change reference to configure.in to configure.ac.
28240         * config.h.in: Likewise.
28241         * manual/install.texi: Likewise.
28242         * manual/maint.texi: Likewise.
28243         * Makefile: Likewise.
28244         * malloc/Makefile: Likewise.
28245         * nscd/Makefile: Likewise.
28246         * Makeconfig: Change reference to configure.in and
28247         preconfigure.in to configure.ac and preconfigure.ac
28248         respectively.
28249         * INSTALL: Regenerated.
28250         * configure: Likewise.
28251         * sysdeps/gnu/configure: Likewise.
28252         * sysdeps/i386/configure: Likewise.
28253         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28254         * sysdeps/mach/configure: Likewise.
28255         * sysdeps/mach/hurd/configure: Likewise.
28256         * sysdeps/powerpc/configure: Likewise.
28257         * sysdeps/powerpc/powerpc32/configure: Likewise.
28258         * sysdeps/powerpc/powerpc64/configure: Likewise.
28259         * sysdeps/s390/s390-32/configure: Likewise.
28260         * sysdeps/s390/s390-64/configure: Likewise.
28261         * sysdeps/sh/configure: Likewise.
28262         * sysdeps/sparc/configure: Likewise.
28263         * sysdeps/unix/sysv/linux/configure: Likewise.
28264         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28265         * sysdeps/x86_64/configure: Likewise.
28266         * sysdeps/x86_64/preconfigure: Likewise.
28268 2013-10-29  Andreas Schwab  <schwab@suse.de>
28270         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28272 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28274         * benchtests/pow-inputs: Add new inputs.
28276         * benchtests/exp-inputs: Add new inputs.
28278         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28279         conditional check for return value.
28280         (__cos32): Likewise.
28282 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28284         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28285         to provide a boost for large inputs with word alignment.
28286         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28287         implementation based on optimized PPC64 strcpy.
28288         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28289         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28290         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28291         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28293 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28295         [BZ #2801]
28296         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28298 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28300         [BZ #14876]
28301         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28302         * time/tst-strptime.c (day_tests): Add testcase.
28304 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28306         [BZ #14029]
28307         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28309 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28311         [BZ #16074]
28312         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28313         MAP_FAILED on error.
28315 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28317         [BZ #16072]
28318         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28319         heap for large requests.
28321 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28323         [BZ #9954]
28324         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28325         result if the result has no associated interface.
28326         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28327         interface for all 127.X.Y.Z addresses.
28329 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28331         * locale/iso-639.def: Add Ligurian (lij)
28333 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28335         [BZ #15825]
28336         * sunrpc/rpc_main.c: Document rpcgen -5.
28338 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28340         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28342 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28344         [BZ #10278]
28345         * posix/glob.c: Match only directories when trailing slash is present.
28346         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28347         (main): Add testcase.
28349 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28351         [BZ #15670]
28352         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28354 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28356         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28357         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28358         AUTH_DES and cindex for FIPS 140-2.
28359         (DES Encryption): Add cindex FIPS 46-3.
28361         * locale/locarchive.h (struct locarhandle): Add fname.
28362         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28363         if an optional argument was specified to --list-archive,
28364         otherwise NULL.
28365         * locale/programs/locarchive.c (show_archive_content): Take new
28366         argument fname and pass it via ah.fname to open_archive.
28367         * locale/programs/localedef.h: Update decl.
28368         (open_archive): If AH->fname is non-null, open that file
28369         rather than the default file name, and don't ignore ENOENT.
28370         (create_archive): Set AH.fname to NULL.
28371         (delete_locales_from_archive): Likewise.
28372         (add_locales_to_archive): Likewise.
28373         * locale/programs/locfile.c (write_all_categories): Likewise.
28375 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28376             Aldy Hernandez  <aldyh@redhat.com>
28378         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28379         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28380         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28381         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28382         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28383         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28384         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28385         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28386         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28387         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28388         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28389         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28390         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28391         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28392         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28393         Likewise.
28394         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28395         Likewise.
28396         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28397         Likewise.
28398         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28399         Likewise.
28400         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28401         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28402         Likewise.
28403         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28404         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28405         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28406         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28407         Likewise.
28408         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28409         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28410         * sysdeps/powerpc/preconfigure: Likewise.
28411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28412         Likewise.
28413         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28414         Replace contents of file by #include of <fenv_libc.h>.
28415         * sysdeps/powerpc/soft-fp/sfp-machine.h
28416         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28417         and <sys/prctl.h>.
28418         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28419         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28420         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28421         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28422         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28423         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28425         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28426         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28427         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28428         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28429         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28431         Allow copysignl PLT reference to be missing.
28433 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28434             Joseph Myers  <joseph@codesourcery.com
28436         [BZ #15948]
28437         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28438         single character.
28439         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28441 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28443         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28444         * elf/tst-tls1.c: Likewise.
28445         * elf/tst-tls10.h: Likewise.
28446         * elf/tst-tls14.c: Likewise.
28447         * elf/tst-tls2.c: Likewise.
28448         * elf/tst-tls3.c: Likewise.
28449         * elf/tst-tls4.c: Likewise.
28450         * elf/tst-tls5.c: Likewise.
28451         * elf/tst-tls6.c: Likewise.
28452         * elf/tst-tls7.c: Likewise.
28453         * elf/tst-tls8.c: Likewise.
28454         * elf/tst-tls9.c: Likewise.
28455         * elf/tst-tlsmod1.c: Likewise.
28456         * elf/tst-tlsmod13.c: Likewise.
28457         * elf/tst-tlsmod13a.c: Likewise.
28458         * elf/tst-tlsmod14a.c: Likewise.
28459         * elf/tst-tlsmod16a.c: Likewise.
28460         * elf/tst-tlsmod16b.c: Likewise.
28461         * elf/tst-tlsmod2.c: Likewise.
28462         * elf/tst-tlsmod3.c: Likewise.
28463         * elf/tst-tlsmod4.c: Likewise.
28464         * elf/tst-tlsmod5.c: Likewise.
28465         * elf/tst-tlsmod6.c: Likewise.
28467 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28469         [BZ #12486]
28470         * malloc/malloc.c: remove checks for statistics.
28472 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28474         [BZ #15277]
28475         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28476         * inet/tst-network.c: Add testcase.
28478 2013-10-17  Andreas Schwab  <schwab@suse.de>
28480         [BZ #15218]
28481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28482         to determine canonical name.
28484 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28486         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28487         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28488         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28489         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28490         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28491         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28492         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28493         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28494         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28495         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28496         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28497         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28498         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28499         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28500         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28501         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28502         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28503         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28504         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28505         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28506         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28507         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28508         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28509         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28510         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28511         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28512         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28513         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28514         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28515         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28516         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28517         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28518         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28519         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28520         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28521         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28522         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28523         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28524         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28525         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28526         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28527         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28528         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28529         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28530         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28531         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28532         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28533         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28534         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28535         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28536         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28537         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28538         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28539         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28540         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28541         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28542         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28543         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28545 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28547         [BZ #16041]
28548         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28549         make result into a quiet NaN.
28551 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28553         * soft-fp/adddf3.c: Fix horizontal whitespace.
28554         * soft-fp/addsf3.c: Likewise.
28555         * soft-fp/addtf3.c: Likewise.
28556         * soft-fp/divdf3.c: Likewise.
28557         * soft-fp/divsf3.c: Likewise.
28558         * soft-fp/divtf3.c: Likewise.
28559         * soft-fp/double.h: Likewise.
28560         * soft-fp/eqdf2.c: Likewise.
28561         * soft-fp/eqsf2.c: Likewise.
28562         * soft-fp/eqtf2.c: Likewise.
28563         * soft-fp/extenddftf2.c: Likewise.
28564         * soft-fp/extended.h: Likewise.
28565         * soft-fp/extendsfdf2.c: Likewise.
28566         * soft-fp/extendsftf2.c: Likewise.
28567         * soft-fp/extendxftf2.c: Likewise.
28568         * soft-fp/fixdfdi.c: Likewise.
28569         * soft-fp/fixdfsi.c: Likewise.
28570         * soft-fp/fixdfti.c: Likewise.
28571         * soft-fp/fixsfdi.c: Likewise.
28572         * soft-fp/fixsfsi.c: Likewise.
28573         * soft-fp/fixsfti.c: Likewise.
28574         * soft-fp/fixtfdi.c: Likewise.
28575         * soft-fp/fixtfsi.c: Likewise.
28576         * soft-fp/fixtfti.c: Likewise.
28577         * soft-fp/fixunsdfdi.c: Likewise.
28578         * soft-fp/fixunsdfsi.c: Likewise.
28579         * soft-fp/fixunsdfti.c: Likewise.
28580         * soft-fp/fixunssfdi.c: Likewise.
28581         * soft-fp/fixunssfsi.c: Likewise.
28582         * soft-fp/fixunssfti.c: Likewise.
28583         * soft-fp/fixunstfdi.c: Likewise.
28584         * soft-fp/fixunstfsi.c: Likewise.
28585         * soft-fp/fixunstfti.c: Likewise.
28586         * soft-fp/floatdidf.c: Likewise.
28587         * soft-fp/floatdisf.c: Likewise.
28588         * soft-fp/floatditf.c: Likewise.
28589         * soft-fp/floatsidf.c: Likewise.
28590         * soft-fp/floatsisf.c: Likewise.
28591         * soft-fp/floatsitf.c: Likewise.
28592         * soft-fp/floattidf.c: Likewise.
28593         * soft-fp/floattisf.c: Likewise.
28594         * soft-fp/floattitf.c: Likewise.
28595         * soft-fp/floatundidf.c: Likewise.
28596         * soft-fp/floatundisf.c: Likewise.
28597         * soft-fp/floatunditf.c: Likewise.
28598         * soft-fp/floatunsidf.c: Likewise.
28599         * soft-fp/floatunsisf.c: Likewise.
28600         * soft-fp/floatunsitf.c: Likewise.
28601         * soft-fp/floatuntidf.c: Likewise.
28602         * soft-fp/floatuntisf.c: Likewise.
28603         * soft-fp/floatuntitf.c: Likewise.
28604         * soft-fp/fmadf4.c: Likewise.
28605         * soft-fp/fmasf4.c: Likewise.
28606         * soft-fp/fmatf4.c: Likewise.
28607         * soft-fp/gedf2.c: Likewise.
28608         * soft-fp/gesf2.c: Likewise.
28609         * soft-fp/getf2.c: Likewise.
28610         * soft-fp/ledf2.c: Likewise.
28611         * soft-fp/lesf2.c: Likewise.
28612         * soft-fp/letf2.c: Likewise.
28613         * soft-fp/muldf3.c: Likewise.
28614         * soft-fp/mulsf3.c: Likewise.
28615         * soft-fp/multf3.c: Likewise.
28616         * soft-fp/negdf2.c: Likewise.
28617         * soft-fp/negsf2.c: Likewise.
28618         * soft-fp/negtf2.c: Likewise.
28619         * soft-fp/op-1.h: Likewise.
28620         * soft-fp/op-2.h: Likewise.
28621         * soft-fp/op-4.h: Likewise.
28622         * soft-fp/op-8.h: Likewise.
28623         * soft-fp/op-common.h: Likewise.
28624         * soft-fp/quad.h: Likewise.
28625         * soft-fp/single.h: Likewise.
28626         * soft-fp/soft-fp.h: Likewise.
28627         * soft-fp/sqrtdf2.c: Likewise.
28628         * soft-fp/sqrtsf2.c: Likewise.
28629         * soft-fp/sqrttf2.c: Likewise.
28630         * soft-fp/subdf3.c: Likewise.
28631         * soft-fp/subsf3.c: Likewise.
28632         * soft-fp/subtf3.c: Likewise.
28633         * soft-fp/truncdfsf2.c: Likewise.
28634         * soft-fp/trunctfdf2.c: Likewise.
28635         * soft-fp/trunctfsf2.c: Likewise.
28636         * soft-fp/trunctfxf2.c: Likewise.
28637         * soft-fp/unorddf2.c: Likewise.
28638         * soft-fp/unordsf2.c: Likewise.
28639         * soft-fp/unordtf2.c: Likewise.
28641 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28643         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28644         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28646 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28648         * elf/dl-libc.c: Clear initfini list after freeing.
28650 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28652         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28653         * soft-fp/addsf3.c: Likewise.
28654         * soft-fp/addtf3.c: Likewise.
28655         * soft-fp/divdf3.c: Likewise.
28656         * soft-fp/divsf3.c: Likewise.
28657         * soft-fp/divtf3.c: Likewise.
28658         * soft-fp/double.h: Likewise.
28659         * soft-fp/eqdf2.c: Likewise.
28660         * soft-fp/eqsf2.c: Likewise.
28661         * soft-fp/eqtf2.c: Likewise.
28662         * soft-fp/extenddftf2.c: Likewise.
28663         * soft-fp/extended.h: Likewise.
28664         * soft-fp/extendsfdf2.c: Likewise.
28665         * soft-fp/extendsftf2.c: Likewise.
28666         * soft-fp/extendxftf2.c: Likewise.
28667         * soft-fp/fixdfdi.c: Likewise.
28668         * soft-fp/fixdfsi.c: Likewise.
28669         * soft-fp/fixdfti.c: Likewise.
28670         * soft-fp/fixsfdi.c: Likewise.
28671         * soft-fp/fixsfsi.c: Likewise.
28672         * soft-fp/fixsfti.c: Likewise.
28673         * soft-fp/fixtfdi.c: Likewise.
28674         * soft-fp/fixtfsi.c: Likewise.
28675         * soft-fp/fixtfti.c: Likewise.
28676         * soft-fp/fixunsdfdi.c: Likewise.
28677         * soft-fp/fixunsdfsi.c: Likewise.
28678         * soft-fp/fixunsdfti.c: Likewise.
28679         * soft-fp/fixunssfdi.c: Likewise.
28680         * soft-fp/fixunssfsi.c: Likewise.
28681         * soft-fp/fixunssfti.c: Likewise.
28682         * soft-fp/fixunstfdi.c: Likewise.
28683         * soft-fp/fixunstfsi.c: Likewise.
28684         * soft-fp/fixunstfti.c: Likewise.
28685         * soft-fp/floatdidf.c: Likewise.
28686         * soft-fp/floatdisf.c: Likewise.
28687         * soft-fp/floatditf.c: Likewise.
28688         * soft-fp/floatsidf.c: Likewise.
28689         * soft-fp/floatsisf.c: Likewise.
28690         * soft-fp/floatsitf.c: Likewise.
28691         * soft-fp/floattidf.c: Likewise.
28692         * soft-fp/floattisf.c: Likewise.
28693         * soft-fp/floattitf.c: Likewise.
28694         * soft-fp/floatundidf.c: Likewise.
28695         * soft-fp/floatundisf.c: Likewise.
28696         * soft-fp/floatunsidf.c: Likewise.
28697         * soft-fp/floatunsisf.c: Likewise.
28698         * soft-fp/floatuntidf.c: Likewise.
28699         * soft-fp/floatuntisf.c: Likewise.
28700         * soft-fp/floatuntitf.c: Likewise.
28701         * soft-fp/fmadf4.c: Likewise.
28702         * soft-fp/fmasf4.c: Likewise.
28703         * soft-fp/fmatf4.c: Likewise.
28704         * soft-fp/gedf2.c: Likewise.
28705         * soft-fp/gesf2.c: Likewise.
28706         * soft-fp/getf2.c: Likewise.
28707         * soft-fp/ledf2.c: Likewise.
28708         * soft-fp/lesf2.c: Likewise.
28709         * soft-fp/letf2.c: Likewise.
28710         * soft-fp/muldf3.c: Likewise.
28711         * soft-fp/mulsf3.c: Likewise.
28712         * soft-fp/multf3.c: Likewise.
28713         * soft-fp/negdf2.c: Likewise.
28714         * soft-fp/negsf2.c: Likewise.
28715         * soft-fp/negtf2.c: Likewise.
28716         * soft-fp/op-1.h: Likewise.
28717         * soft-fp/op-2.h: Likewise.
28718         * soft-fp/op-4.h: Likewise.
28719         * soft-fp/op-8.h: Likewise.
28720         * soft-fp/op-common.h: Likewise.
28721         * soft-fp/quad.h: Likewise.
28722         * soft-fp/single.h: Likewise.
28723         * soft-fp/soft-fp.h: Likewise.
28724         * soft-fp/sqrtdf2.c: Likewise.
28725         * soft-fp/sqrtsf2.c: Likewise.
28726         * soft-fp/sqrttf2.c: Likewise.
28727         * soft-fp/subdf3.c: Likewise.
28728         * soft-fp/subsf3.c: Likewise.
28729         * soft-fp/subtf3.c: Likewise.
28730         * soft-fp/truncdfsf2.c: Likewise.
28731         * soft-fp/trunctfdf2.c: Likewise.
28732         * soft-fp/trunctfsf2.c: Likewise.
28733         * soft-fp/trunctfxf2.c: Likewise.
28734         * soft-fp/unorddf2.c: Likewise.
28735         * soft-fp/unordsf2.c: Likewise.
28736         * soft-fp/unordtf2.c: Likewise.
28738 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28740         [BZ #15672]
28741         * misc/error.c (error_tail): Fix possible buffer overflow.
28743 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28745         [BZ #13028]
28746         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28747         address.
28749 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28751         [BZ #832]
28752         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28753         testing pipefail option.
28755 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28757         * soft-fp/double.h: Indent preprocessor directives inside #if.
28758         * soft-fp/extended.h: Likewise.
28759         * soft-fp/op-2.h: Likewise.
28760         * soft-fp/op-4.h: Likewise.
28761         * soft-fp/op-common.h: Likewise.
28762         * soft-fp/quad.h: Likewise.
28763         * soft-fp/single.h: Likewise.
28764         * soft-fp/soft-fp.h: Likewise.
28766 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28768         * iconv/iconv_prog.c: Fix typos.
28769         * stdio-common/psiginfo-data.h: Likewise.
28771 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28773         [BZ #15764]
28774         * locale/setlocale.c: Fix typo.
28776 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28778         [BZ #16036]
28779         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28780         signaling NaN arguments.
28781         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28782         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28784         [BZ #14910]
28785         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28786         unordered operands.
28787         * soft-fp/gesf2.c (__gesf2): Likewise.
28788         * soft-fp/getf2.c (__getf2): Likewise.
28789         * soft-fp/ledf2.c (__ledf2): Likewise.
28790         * soft-fp/lesf2.c (__lesf2): Likewise.
28791         * soft-fp/letf2.c (__letf2): Likewise.
28793         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28794         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28795         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28796         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28797         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28798         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28799         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28800         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28801         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28802         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28803         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28804         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28805         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28806         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28807         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28808         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28809         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28810         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28811         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28812         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28813         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28814         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28815         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28816         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28817         * soft-fp/floattidf.c (__floattidf): Likewise.
28818         * soft-fp/floattisf.c (__floattisf): Likewise.
28819         * soft-fp/floattitf.c (__floattitf): Likewise.
28820         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28821         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28822         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28823         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28824         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28825         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28826         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28827         * soft-fp/gesf2.c (__gesf2): Likewise.
28828         * soft-fp/getf2.c (__getf2): Likewise.
28829         * soft-fp/ledf2.c (__ledf2): Likewise.
28830         * soft-fp/lesf2.c (__lesf2): Likewise.
28831         * soft-fp/letf2.c (__letf2): Likewise.
28833         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28834         Undefine and redefine.
28835         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28836         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28837         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28838         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28839         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28840         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28841         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28842         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28843         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28844         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28845         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28846         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28847         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28848         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28849         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28851         [BZ #16032]
28852         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28853         without decrementing exponent if mantissa >= that for the
28854         denominator, not >.
28855         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28856         denominator, not >.  Decrement exponent in < case instead of
28857         incrementing in >= case.
28858         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28859         without decrementing exponent if mantissa >= that for the
28860         denominator, not >.
28862         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28863         computing saturated result for unsigned overflow.
28865 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28866             Jeff Law  <law@redhat.com>
28868         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28869         (atan2Mp): Add systemtap probe marker.
28870         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28871         (__ieee754_log): Add systemtap probe marker.
28872         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28873         (atanMp): Add systemtap probe marker.
28874         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28875         (tanMp): Add systemtap probe marker.
28876         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28877         (__slowexp): Add systemtap probe marker.
28878         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28879         (__slowpow): Add systemtap probe marker.
28880         * manual/probes.texi: Document probes.
28882 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28884         [BZ #15362]
28885         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28886         written.
28887         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28888         written.
28889         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28890         written to buffer but not flushed.
28891         * libio/iofwrite_u.c:  Likewise.
28892         * libio/iopadn.c:  Return bytes returned even if EOF was
28893         encountered.
28894         * libio/iowpadn.c:  Likewise.
28895         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28896         if _IO_padn does not write the whole buffer.
28897         [!COMPILE_WPRINTF] (PAD): Likewise.
28899 2013-10-10  David S. Miller  <davem@davemloft.net>
28901         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28902         directory block.
28904 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28906         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28907         instead of FSF address.
28908         * soft-fp/fixdfti.c: Likewise.
28909         * soft-fp/fixsfti.c: Likewise.
28910         * soft-fp/fixtfti.c: Likewise.
28911         * soft-fp/fixunsdfti.c: Likewise.
28912         * soft-fp/fixunssfti.c: Likewise.
28913         * soft-fp/fixunstfti.c: Likewise.
28914         * soft-fp/floattidf.c: Likewise.
28915         * soft-fp/floattisf.c: Likewise.
28916         * soft-fp/floattitf.c: Likewise.
28917         * soft-fp/floatuntidf.c: Likewise.
28918         * soft-fp/floatuntisf.c: Likewise.
28919         * soft-fp/floatuntitf.c: Likewise.
28920         * soft-fp/trunctfxf2.c: Likewise.
28922         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28923         * soft-fp/fixdfti.c: Likewise.
28924         * soft-fp/fixsfti.c: Likewise.
28925         * soft-fp/fixtfti.c: Likewise.
28926         * soft-fp/fixunsdfti.c: Likewise.
28927         * soft-fp/fixunssfti.c: Likewise.
28928         * soft-fp/fixunstfti.c: Likewise.
28929         * soft-fp/floattidf.c: Likewise.
28930         * soft-fp/floattisf.c: Likewise.
28931         * soft-fp/floattitf.c: Likewise.
28932         * soft-fp/floatuntidf.c: Likewise.
28933         * soft-fp/floatuntisf.c: Likewise.
28934         * soft-fp/floatuntitf.c: Likewise.
28935         * soft-fp/trunctfxf2.c: Likewise.
28937 2013-10-10  David S. Miller  <davem@davemloft.net>
28939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28941 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28943         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28944         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28945         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28946         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28947         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28948         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28949         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28951         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28952         for NaNs before doing comparisons on argument.
28953         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28954         Likewise.
28956 2013-10-10  Will Newton  <will.newton@linaro.org>
28958         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28959         passed to _int_memalign does not overflow.
28961 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28963         * scripts/bench.pl: Add include-sources directive.
28964         * benchtests/README: Update documentation.
28966 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28968         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28969         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28970         instead of FP_INIT_ROUNDMODE.
28971         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28972         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28974         [BZ #16034]
28975         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28976         copy class of input value.
28977         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28978         not handle exceptions.
28979         * soft-fp/negsf2.c (__negsf2): Likewise.
28980         * soft-fp/negtf2.c (__negtf2): Likewise.
28981         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28983 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28985         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28986         semicolon.  From Linux kernel.
28988 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28990         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28992 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28994         [BZ #156]
28995         * manual/socket.texi: Added statement about buffer
28996         for gethostbyname2_r.
28998 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29000         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29001         Use .p2align directive instead, throughout.
29002         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29003         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29004         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29005         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29006         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29007         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29008         * sysdeps/x86_64/strchr.S: Likewise.
29009         * sysdeps/x86_64/strrchr.S: Likewise.
29011 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29013         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29015         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29017         * sysdeps/generic/math_private.h (__mpsin1): Remove
29018         declaration.
29019         (__mpcos1): Likewise.
29020         (__mpsin): New argument __range_reduce.
29021         (__mpcos): Likewise.
29022         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29023         (slow): Use __mpsin and __mpcos.
29024         (slow1): Likewise.
29025         (slow2): Likewise.
29026         (sloww): Likewise.
29027         (sloww1): Likewise.
29028         (sloww2): Likewise.
29029         (bsloww): Likewise.
29030         (bsloww1): Likewise.
29031         (bsloww2): Likewise.
29032         (cslow2): Likewise.
29033         (csloww): Likewise.
29034         (csloww1): Likewise.
29035         (csloww2): Likewise.
29036         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29037         range_reduce.  Merge in __mpsin1.
29038         (__mpcos): Likewise.
29039         (__mpsin1): Remove.
29040         (__mpcos1): Likewise.
29042 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29044         * locale/loadlocale.c (_nl_intern_locale_data): Use
29045         LOCFILE_ALIGNED_P.
29046         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29047         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29048         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29049         obstack data is appropriately aligned.
29050         (obstack_int32_grow_fast): Likewise.
29051         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29052         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29053         (add_locale_uint32_array): Likewise.
29055 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29057         * benchtests/Makefile: Remove ARGLIST and RET variables.
29058         ($(objpfx)bench-%.c): Pass only function name to the script.
29059         * benchtests/README: Update documentation.
29060         * benchtests/acos-inputs: Add new directives.
29061         * benchtests/acosh-inputs: Likewise.
29062         * benchtests/asin-inputs: Likewise.
29063         * benchtests/asinh-inputs: Likewise.
29064         * benchtests/atan-inputs: Likewise.
29065         * benchtests/atanh-inputs: Likewise.
29066         * benchtests/cos-inputs: Likewise.
29067         * benchtests/cosh-inputs: Likewise.
29068         * benchtests/exp-inputs: Likewise.
29069         * benchtests/log-inputs: Likewise.
29070         * benchtests/pow-inputs: Likewise.
29071         * benchtests/rint-inputs: Likewise.
29072         * benchtests/sin-inputs: Likewise.
29073         * benchtests/sinh-inputs: Likewise.
29074         * benchtests/tan-inputs: Likewise.
29075         * benchtests/tanh-inputs: Likewise.
29076         * scripts/bench.pl: Add support for new directives.
29078 2013-10-07  Alan Modra  <amodra@gmail.com>
29080         * README: Fix careless merge.
29082 2013-10-05  Alan Modra  <amodra@gmail.com>
29084         * NEWS: Mention powerpc64le support and bugs fixed.
29085         * README: Both big-endian and little-endian powerpc64 supported.
29087 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29089         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29090         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29091         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29092         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29094 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29096         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29097         match prototype.
29099 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29101         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29102         Move -mhard-float appending from
29103         ports/sysdeps/powerpc/powerpc32/Makefile.
29104         [$(with-fp) = yes] (ASFLAGS): Likewise.
29105         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29106         * sysdeps/powerpc/nofpu: Move directory from
29107         ports/sysdeps/powerpc/nofpu.
29108         * sysdeps/powerpc/soft-fp: Move directory from
29109         ports/sysdeps/powerpc/soft-fp.
29110         * sysdeps/powerpc/powerpc32/405: Move directory from
29111         ports/sysdeps/powerpc/powerpc32/405.
29112         * sysdeps/powerpc/powerpc32/440: Move directory from
29113         ports/sysdeps/powerpc/powerpc32/440.
29114         * sysdeps/powerpc/powerpc32/464: Move directory from
29115         ports/sysdeps/powerpc/powerpc32/464.
29116         * sysdeps/powerpc/powerpc32/476: Move directory from
29117         ports/sysdeps/powerpc/powerpc32/476.
29118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29119         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29121         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29123         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29125         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29127         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29128         * README: Update for powerpc-*-linux-gnu software floating point
29129         support in libc.
29131         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29132         case to powerpc/powerpc32*.
29133         * sysdeps/unix/sysv/linux/configure: Regenerated.
29135         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29136         (_FPU_MASK_OM): Define as 0x04.
29137         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29138         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29139         0x00c10080.
29140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29141         0x0000003c.
29142         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29145         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29146         getcontext_e500.
29147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29148         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29149         setcontext_e500.
29150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29151         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29152         and setcontext_e500.
29154 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29156         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29158 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29160         * manual/threads.texi (Default Thread Attributes): Fix typo.
29162 2013-10-04  Will Newton  <will.newton@linaro.org>
29164         * malloc/Makefile: Add tst-memalign.
29165         * malloc/tst-memalign.c: New file.
29167         * malloc/tst-posix_memalign.c: Add comments.
29168         (do_test): Add comments and call free on all potentially
29169         allocated pointers. Add space after cast.
29171         * malloc/tst-pvalloc.c: Add comments.
29172         (do_test): Add comments and call free on all potentially
29173         allocated pointers. Remove duplicate check for NULL pointer.
29174         Add space after cast.
29176         * malloc/tst-valloc.c: Add comments.
29177         (do_test): Add comments and call free on all potentially
29178         allocated pointers. Remove duplicate check for NULL pointer.
29179         Add space after cast.
29181 2013-10-04  Alan Modra  <amodra@gmail.com>
29183         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29184         Use stdint types in rather than __attribute__((mode())).
29185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29187 2013-10-04  Alan Modra  <amodra@gmail.com>
29189         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29190         Correct handling of unaligned relocs for little-endian.
29191         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29193 2013-10-04  Alan Modra  <amodra@gmail.com>
29195         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29196         * configure: Regenerate.
29197         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29198         * shlib-versions: Likewise.
29200 2013-10-04  Alan Modra  <amodra@gmail.com>
29202         * string/tester.c (test_memrchr): Increment reported test cycle.
29204 2013-10-04  Alan Modra  <amodra@gmail.com>
29206         * string/test-memcpy.c (do_one_test): When reporting errors, print
29207         string address and don't overrun end of string.
29209 2013-10-04  Alan Modra  <amodra@gmail.com>
29211         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29212         insrdi.  Make better use of reg selection to speed exit slightly.
29213         Schedule entry path a little better.  Remove useless "are we done"
29214         checks on entry to main loop.  Handle wrapping around zero address.
29215         Correct main loop count.  Handle single left-over word from main
29216         loop inline rather than by using loop_small.  Remove extra word
29217         case in loop_small caused by wrong loop count.  Add little-endian
29218         support.
29219         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29220         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29221         cache hint.
29222         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29223         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29224         support.  Avoid rlwimi.
29225         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29227 2013-10-04  Alan Modra  <amodra@gmail.com>
29229         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29230         insrdi.  Formatting.
29231         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29232         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29233         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29234         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29235         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29236         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29238 2013-10-04  Alan Modra  <amodra@gmail.com>
29240         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29241         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29242         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29243         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29244         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29245         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29246         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29247         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29248         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29249         use of regs.  Use power7 mtocrf.  Tidy function tails.
29251 2013-10-04  Alan Modra  <amodra@gmail.com>
29253         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29254         Formatting.  Consistently use rXXX register defines or rN defines.
29255         Use early exit labels that avoid restoring unused non-volatile regs.
29256         Make cr field use more consistent with rWORDn compares.  Rename
29257         regs used as shift registers for unaligned loop, using rN defines
29258         for short lifetime/multiple use regs.
29259         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29260         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29261         addi 1,1,64 to pop stack frame.  Simplify return value code.
29262         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29264 2013-10-04  Alan Modra  <amodra@gmail.com>
29266         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29267         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29268         rather than rlwimi.
29269         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29270         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29271         little-endian support.  Correct typos.
29272         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29273         rather than rlwimi.
29274         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29275         in loop and entry code to keep "and." results.
29276         (strchr): Add little-endian support.  Comment.  Move cntlzd
29277         earlier in tail.
29278         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29280 2013-10-04  Alan Modra  <amodra@gmail.com>
29282         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29283         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29284         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29285         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29287 2013-10-04  Alan Modra  <amodra@gmail.com>
29289         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29290         (rTMP): Define as r11.
29291         (strcmp): Add little-endian support.  Optimise tail.
29292         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29293         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29294         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29295         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29296         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29297         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29298         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29300 2013-10-04  Alan Modra  <amodra@gmail.com>
29302         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29303         little-endian support.  Remove unnecessary "are we done" tests.
29304         Handle "s" wrapping around zero and extremely large "size".
29305         Correct main loop count.  Handle single left-over word from main
29306         loop inline rather than by using small_loop.  Correct comments.
29307         Delete "zero" tail, use "end_max" instead.
29308         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29310 2013-10-04  Alan Modra  <amodra@gmail.com>
29312         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29313         support.  Don't branch over align.
29314         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29315         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29316         support.  Rearrange tmp reg use to suit.  Comment.
29317         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29319 2013-10-04  Alan Modra  <amodra@gmail.com>
29321         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29323 2013-10-04  Alan Modra  <amodra@gmail.com>
29325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29326         conditional form of branch and link when obtaining pc.
29327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29329 2013-10-04  Alan Modra  <amodra@gmail.com>
29331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29332         HIWORD/LOWORD.
29333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29336 2013-10-04  Alan Modra  <amodra@gmail.com>
29338         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29339         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29340         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29341         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29342         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29343         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29344         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29345         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29346         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29347         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29349 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29350             Alistair Popple <alistair@ozlabs.au.ibm.com>
29351             Alan Modra <amodra@gmail.com>
29353         [BZ #15723]
29354         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29355         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29356         _dl_hwcap access for little-endian.
29357         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29358         destroy vmx regs when saving unaligned.
29359         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29360         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29361         destroy vmx regs when saving unaligned.
29363 2013-10-04  Alan Modra  <amodra@gmail.com>
29365         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29366         Don't use a union to pack hi/low value.
29368 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29370         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29371         for little-endian.
29372         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29373         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29374         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29375         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29376         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29378 2013-10-04  Alan Modra  <amodra@gmail.com>
29380         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29381         constants to usual value for .cst8 section, and remove redundant
29382         high address load.
29383         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29384         constant for 0x1p52.  Load little-endian words of double from
29385         correct stack offsets.
29387 2013-10-04  Alan Modra  <amodra@gmail.com>
29389         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29390         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29391         words of double from correct stack offsets.
29392         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29393         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29394         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29395         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29396         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29397         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29398         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29399         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29400         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29401         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29402         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29403         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29404         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29405         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29406         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29407         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29408         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29410 2013-10-04  Alan Modra  <amodra@gmail.com>
29412         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29413         64-bit int/double union.
29414         (_FPU_SETCW): Likewise.
29415         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29416         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29418 2013-10-04  Alan Modra  <amodra@gmail.com>
29420         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29421         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29423 2013-10-04  Alan Modra  <amodra@gmail.com>
29425         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29426         use vector int constants.
29427         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29429 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29431         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29432         array with long long.
29433         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29434         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29435         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29436         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29437         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29438         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29439         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29440         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29441         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29442         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29443         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29444         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29445         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29447 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29449         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29450         (__signbit): Likewise.  Correct for little-endian.
29451         (__signbitl): Call __signbit.
29452         (lrint): Correct for little-endian.
29453         (lrintf): Call lrint.
29455 2013-10-04  Alan Modra  <amodra@gmail.com>
29457         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29458         union 32-bit int array member with 64-bit int array.
29459         (t515, tm256): Double rather than long double.
29460         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29462 2013-10-04  Alan Modra  <amodra@gmail.com>
29464         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29465         Delete.
29466         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29467         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29468         version of math_ldbl.h.
29470 2013-10-04  Alan Modra  <amodra@gmail.com>
29472         [BZ #15734], [BZ #15735]
29473         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29474         all uses of ieee875 long double macros and unions.  Simplify test
29475         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29476         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29477         normalize after ldbl_extract_mantissa, and don't add hidden bit
29478         already handled.  Don't treat low word of ieee854 mantissa like
29479         low word of IBM long double and mask off bit when testing for
29480         zero.
29481         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29482         all uses of ieee875 long double macros and unions.  Simplify tests
29483         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29484         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29485         two1022, instead use their values.  Recognise that tests for large
29486         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29487         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29488         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29489         test for 0.0L and nan.  Correct negation.
29490         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29491         ieee875 long double macros and unions.  Correct output for large
29492         magnitude x.  Correct absolute value calculation.
29493         (__erfcl): Likewise.
29494         * math/libm-test.inc: Add tests for errors discovered in IBM long
29495         double versions of fmodl, remainderl, erfl and erfcl.
29497 2013-10-04  Alan Modra  <amodra@gmail.com>
29499         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29500         all uses of ieee854 long double macros and unions.  Simplify tests
29501         for long doubles that are fully specified by the high double.
29502         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29503         Likewise.
29504         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29505         Remove dead code too.
29506         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29507         (__ieee754_ynl): Likewise.
29508         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29509         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29510         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29511         Remove dead code too.
29512         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29513         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29514         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29515         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29516         Simplify.
29517         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29518         Simplify.
29519         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29520         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29521         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29522         Comment on variable precision.
29523         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29524         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29525         Likewise.
29526         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29527         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29528         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29529         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29530         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29532 2013-10-04  Alan Modra  <amodra@gmail.com>
29534         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29535         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29536         all uses of ieee854 long double macros and unions.
29537         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29538         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29539         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29540         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29541         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29542         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29543         Likewise.
29544         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29545         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29546         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29547         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29548         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29549         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29550         Simplify sign and nan test too.
29551         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29552         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29553         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29554         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29555         Likewise.
29556         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29557         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29558         Likewise.
29559         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29560         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29561         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29562         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29563         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29566 2013-10-04  Alan Modra  <amodra@gmail.com>
29568         * stdio-common/printf_size.c (__printf_size): Don't use
29569         union ieee854_long_double in fpnum union.
29570         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29571         signbit macro to retrieve sign from long double.
29572         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29573         retrieve sign from long double.
29574         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29575         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29576         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29577         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29578         * math/test-misc.c (main): Don't use union ieee854_long_double.
29580 2013-10-04  Alan Modra  <amodra@gmail.com>
29582         [BZ #15680]
29583         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29584         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29585         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29586         calculation.  Remove unnecessary test for denormal exponent.
29587         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29588         Correct handling of denormals.  Avoid undefined shift behaviour.
29589         Correct normalisation of low mantissa when low double is denormal.
29590         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29591         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29592         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29593         Correct normalisation of low mantissa.  Test for overflow of high
29594         mantissa and normalise.
29595         (ldbl_nearbyint): Use more readable constant for two52.
29596         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29597         (__mpn_construct_long_double): Fix test for overflow of high
29598         mantissa and correct normalisation.  Avoid undefined shift.
29600 2013-10-04  Alan Modra  <amodra@gmail.com>
29602         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29603         (union ibm_extended_long_double): Define as an array of ieee754_double.
29604         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29605         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29606         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29607         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29608         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29609         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29610         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29611         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29612         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29613         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29614         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29616 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29618         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29619         page size instead of calling getpagesize.
29621         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29622         (LOCFILE_ALIGN_MASK): Likewise.
29623         (LOCFILE_ALIGN_UP): Likewise.
29624         (LOCFILE_ALIGNED_P): Likewise.
29625         * locale/programs/ld-collate.c (collate_output): Use the new
29626         macros instead of __alignof__ (int32_t).
29627         * locale/weight.h (findidx): Likewise.
29629 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29631         [BZ #431]
29632         * manual/string.texi: Fix strncat and wcsncat.
29634 2013-10-03  Brooks Moses  <bmoses@google.com>
29636         [BZ #15915]
29637         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29638         * Makerules: ...here, and adjust associated comments.
29640 2013-10-02  Will Newton  <will.newton@linaro.org>
29642         * malloc/Makefile: Add tst-pvalloc.
29643         * malloc/tst-pvalloc.c: New file.
29645 2013-10-02  Will Newton  <will.newton@linaro.org>
29647         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29648         improve test coverage.
29650 2013-10-02  Will Newton  <will.newton@linaro.org>
29652         * malloc/Makefile: Add tst-posix_memalign.
29653         * malloc/tst-posix_memalign.c: New file.
29655 2013-10-01  Eric Blake  <eblake@redhat.com>
29657         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29658         Use __THROWNL rather than __THROW on static functions.
29660 2013-09-30  Petr Machata  <pmachata@redhat.com>
29662         * elf/elf.h (R_AARCH64_ABS16): New macro.
29663         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29664         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29665         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29666         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29667         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29668         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29669         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29670         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29671         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29672         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29673         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29674         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29675         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29676         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29677         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29678         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29679         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29680         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29681         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29682         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29683         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29684         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29685         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29686         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29687         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29688         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29689         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29690         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29691         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29692         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29693         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29694         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29695         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29696         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29697         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29698         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29699         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29700         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29701         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29702         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29703         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29704         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29705         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29706         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29707         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29708         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29709         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29710         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29711         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29712         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29713         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29714         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29715         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29716         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29717         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29718         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29719         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29720         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29721         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29722         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29723         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29724         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29725         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29726         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29727         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29728         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29729         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29730         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29731         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29732         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29733         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29734         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29735         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29736         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29737         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29738         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29739         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29740         (R_AARCH64_TLSDESC_LDR): Likewise.
29741         (R_AARCH64_TLSDESC_ADD): Likewise.
29742         (R_AARCH64_TLSDESC_CALL): Likewise.
29744 2013-09-30  Andreas Schwab  <schwab@suse.de>
29746         [BZ #15048]
29747         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29748         the nss database lookup.
29749         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29750         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29752 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29754         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29756 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29758         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29759         ${Bash-specific parameter/pattern/string} parameter expansion.
29760         * sysdeps/unix/make-syscalls.sh: Likewise.
29762 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29764         * sysdeps/sh/stackguard-macros.h: New file.
29766 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29770         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29771         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29772         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29773         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29775 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29777         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29778         Fix thread ID register.
29780 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29782         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29783         [POSIX || UNIX98]: Require rather than permitting all symbols from
29784         <time.h>.
29785         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29786         element of struct sched_param.
29787         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29788         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29789         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29790         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29791         constant.
29793 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29795         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29796         argument calculation.
29798 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29800         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29801         Expect macro.
29802         [POSIX] (pthread_attr_t): Do not require type.
29803         [POSIX] (pthread_cond_t): Likewise.
29804         [POSIX] (pthread_condattr_t): Likewise.
29805         [POSIX] (pthread_key_t): Likewise.
29806         [POSIX] (pthread_mutex_t): Likewise.
29807         [POSIX] (pthread_mutexattr_t): Likewise.
29808         [POSIX] (pthread_once_t): Likewise.
29809         [POSIX] (pthread_t): Likewise.
29810         [POSIX-based standards] (pthread_atfork): Expect function.
29812 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29813             Richard Sandiford  <richard@codesourcery.com>
29815         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29816         (swap_endianness_p): New extern variable.
29817         (set_big_endian): New inline function.
29818         (maybe_swap_uint32): Likewise.
29819         (maybe_swap_uint32_array): Likewise.
29820         (maybe_swap_uint32_obstack): Likewise.
29821         * locale/programs/locfile.c: Include <stdbool.h>.
29822         (swap_endianness_p): New variable.
29823         (add_locale_uint32): Call maybe_swap_uint32.
29824         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29825         (write_locale_data): Call maybe_swap_uint32_array.
29826         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29827         maybe_swap_uint32.
29828         (obstack_int32_grow_fast): Likewise.
29829         (output_weightwc): Call maybe_swap_uint32_obstack.
29830         (collate_output): Likewise.
29831         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29832         (OPT_LITTLE_ENDIAN): Likewise.
29833         (options): Add --little-endian and --big-endian options.
29834         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29835         * locale/programs/locarchive.c: Include "locfile.h".
29836         (GET): New macro.
29837         (SET): Likewise.
29838         (INC): Likewise.
29839         (create_archive): Use the new macros to access fields of
29840         structures directly mapped from or written to locale archives.
29841         (oldlocrecentcmp): Likewise.
29842         (enlarge_archive): Likewise.
29843         (insert_name): Likewise.
29844         (add_alias): Likewise.
29845         (add_locale): Likewise.
29846         (delete_locales_from_archive): Likewise.
29847         (show_archive_content): Likewise.
29848         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29849         locale data.
29851 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29853         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29854         http://www.gnu.org/doc/freemanuals.texi.
29855         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29857 2013-09-24  Will Newton  <will.newton@linaro.org>
29859         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29860         macro.
29862 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29864         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29865         unsigned char.
29867 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29869         * manual/threads.texi (POSIX Threads): Fix a typo.
29871 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29873         [BZ #14547]
29874         * string/tst-strcoll-overflow.c: New test case.
29875         * string/Makefile (xtests): Add tst-strcoll-overflow.
29876         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29877         cache if string sizes may cause integer overflow.
29879         [BZ #14547]
29880         * string/strcoll_l.c (coll_seq): New members rule, idx,
29881         save_idx and back_us.
29882         (get_next_seq_nocache): New function.
29883         (do_compare_nocache): New function.
29884         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29885         when malloc fails.
29887 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29889         [BZ #15754]
29890         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29891         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29892         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29894         [BZ #15754]
29895         * elf/Makefile (tests): Add tst-ptrguard1.
29896         (tests-static): Add tst-ptrguard1-static.
29897         (tst-ptrguard1-ARGS): Define.
29898         (tst-ptrguard1-static-ARGS): Define.
29899         * elf/tst-ptrguard1.c: New file.
29900         * elf/tst-ptrguard1-static.c: New file.
29901         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29902         * sysdeps/i386/stackguard-macros.h: Likewise.
29903         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29904         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29905         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29906         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29907         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29908         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29910 2013-09-23  Hector Marco  <hecmargi@upv.es>
29911             Ismael Ripoll  <iripoll@disca.upv.es>
29912             Carlos O'Donell  <carlos@redhat.com>
29914         [BZ #15754]
29915         * sysdeps/generic/stackguard-macros.h: Define
29916         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29917         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29918         Define __pointer_chk_guard_local.
29919         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29920         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29922 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29924         [BZ #15859]
29925         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29927 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29929         * include/string.h (__ffs): Declare as hidden.
29930         * string/ffs.c (__ffs): Define as hidden.
29931         * sysdeps/i386/ffs.c (__ffs): Likewise.
29932         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29933         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29934         * sysdeps/s390/ffs.c (__ffs): Likewise.
29935         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29937 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29939         * NEWS: Mention malloc probes.
29941         * malloc/arena.c (new_heap): New memory_heap_new probe.
29942         (grow_heap): New memory_heap_more probe.
29943         (shrink_heap): New memory_heap_less probe.
29944         (heap_trim): New memory_heap_free probe.
29945         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29946         (systrim): New memory_sbrk_less probe.
29947         * manual/probes.texi: Document them.
29949         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29950         * manual/probes.texi: Document it.
29952         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29953         (__libc_realloc): Add memory_realloc_retry probe.
29954         (__libc_memalign): Add memory_memalign_retry probe.
29955         (__libc_valloc): Add memory_valloc_retry probe.
29956         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29957         (__libc_calloc): Add memory_calloc_retry probe.
29958         * manual/probes.texi: Document them.
29960         * malloc/arena.c (get_free_list): Add probe
29961         memory_arena_reuse_free_list.
29962         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29963         and memory_arena_reuse.
29964         (arena_get2) [!PER_THREAD]: Likewise.
29965         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29966         memory_arena_reuse_realloc.
29967         * manual/probes.texi: Document them.
29969         * malloc/malloc.c (__libc_free): Add
29970         memory_mallopt_free_dyn_thresholds probe.
29971         (__libc_mallopt): Add multiple memory_mallopt probes.
29972         * manual/probes.texi: Document them.
29974         * malloc/malloc.c: Include stap-probe.h.
29975         (__libc_mallopt): Add memory_mallopt probe.
29976         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29977         * manual/probes.texi: New.
29978         * manual/Makefile (chapters): Add probes.
29979         * manual/threads.texi: Set next node.
29981 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29983         [BZ #15963, #13985]
29984         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29985         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29986         Add `Chinese' to `nan' entry name.
29988 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29990         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29991         (POLYNOMIAL): Likewise.
29992         (TAYLOR_SINCOS): Likewise.
29993         (TAYLOR_SLOW): Likewise.
29994         (__sin): Use TAYLOR_SINCOS.
29995         (__cos): Likewise.
29996         (slow): Use TAYLOR_SLOW.
29997         (sloww): Likewise.
29998         (bsloww): Likewise.
29999         (csloww): Likewise.
30001 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30003         * stdlib/strtod_l.c: Fix buffer overrun.
30005 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30007         * benchtests/Makefile (bench): Add sincos.
30008         * benchtests/bench-sincos.c: New file.
30010         * math/libm-test.inc (cos_test_data): New test inputs.
30011         (sin_test_data): Likewise.
30013         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30014         macro.
30015         (__sin): Use it.
30016         (__cos): Likewise.
30017         (slow1): Likewise.
30018         (slow2): Likewise.
30019         (sloww1): Likewise.
30020         (sloww2): Likewise.
30021         (bsloww1): Likewise.
30022         (bsloww2): Likewise.
30023         (cslow2): Likewise.
30024         (csloww1): Likewise.
30025         (csloww2): Likewise.
30027         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30028         function.
30029         (__sin): Use it.
30030         (__cos): Likewise.
30032         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30033         gotos.
30034         (__cos): Likewise.
30036 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30038         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30039         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30040         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30041         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30042         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30043         * elf/cache.c (print_entry): Handle the new cache flags.
30045 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30046             Aldy Hernandez  <aldyh@redhat.com>
30048         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30049         Change condition to [_SOFT_FLOAT].
30050         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30053         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30056         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30057         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30058         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30061         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30062         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30063         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30065         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30066         declaration.
30068 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30070         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30071         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30072         (__longjmp): Use LOAD_GP to load saved GPRs.
30073         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30074         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30075         (__sigsetjmp): Use SAVE_GP to save GPRs.
30077         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30078         Do not append -msoft-float.
30079         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30081 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30083         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30085 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30087         [BZ #15966]
30088         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30089         (_FPU_GETCW): Use initial "__" on variable and field names but not
30090         on macro parameter name.
30091         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30092         parentheses around reference to macro parameter.
30094 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30096         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30097         prototype.
30098         (ctype_startup): Use uint32_t in cast and sizeof for
30099         ctype->charnames.
30101 2013-09-11  Jia Liu  <proljc@gmail.com>
30103         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30104         __daddr_t_defined.
30105         [__FreeBSD__]: Likewise.
30107 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30110         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30111         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30112         (strchr): Remove __strchr_sse42 ifunc selection.
30113         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30114         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30116 2013-09-11  Will Newton  <will.newton@linaro.org>
30118         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30119         parameter to RES. Remove hardcoded 1000 value.
30120         * benchtests/bench-skeleton.c (main): Pass RES parameter
30121         to TIMING_INIT and multiply result by 1000.
30123 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30127 2013-09-11  Andreas Schwab  <schwab@suse.de>
30129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30130         if not defined.
30131         (O_TMPFILE) [__USE_GNU]: Define.
30132         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30133         Define.
30135 2013-09-11  Will Newton  <will.newton@linaro.org>
30137         [BZ #15857]
30138         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30139         does not overflow.
30141 2013-09-11  Will Newton  <will.newton@linaro.org>
30143         [BZ #15856]
30144         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30145         does not overflow.
30147 2013-09-11  Will Newton  <will.newton@linaro.org>
30149         [BZ #15855]
30150         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30151         does not overflow.
30153 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30155         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30156         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30157         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30158         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30159         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30161 2013-09-10  Allan McRae  <allan@archlinux.org>
30163         [BZ #15748]
30164         * manual/arith.texi (Parsing of Floats): Clarify
30165         cross-reference.
30167         [BZ #15849]
30168         * manual/install.texi (Running make install): Mention
30169         --enable-pt-chown.
30170         * INSTALL: Regenerated.
30172 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30174         * csu/init-first.c (_init): Remove the !SHARED condition around
30175         FPU control word initialization.
30176         * elf/dl-support.c (_dl_fpu_control): New variable.
30177         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30178         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30179         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30180         * math/test-fpucw-static.c: New file.
30181         * math/test-fpucw-ieee.c: New file.
30182         * math/test-fpucw-ieee-static.c: New file.
30183         * math/Makefile (tests): Add `test-fpucw-ieee' and
30184         `$(tests-static)'.
30185         (tests-static): New variable.
30186         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30187         dependency to...
30188         [($(build-shared),yes)]
30189         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30190         ... this.
30191         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30192         New dependency.
30194 2013-09-09  Allan McRae  <allan@archlinux.org>
30196         [BZ #15939]
30197         * manual/string.texi (Collation Functions): Fix typo in
30198         strcoll example.
30199         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30201         [BZ #15893]
30202         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30204         [BZ #15892]
30205         * libio/memstream.c (open_memstream): Fix memory leak.
30206         * libio/wmemstream.c (open_wmemstream): Likewise.
30208         [BZ #15895]
30209         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30211 2013-09-09  Will Newton  <will.newton@linaro.org>
30213         * malloc/Makefile: Add tst-realloc to tests.
30214         * malloc/tst-realloc.c: New file.
30216 2013-09-09  Allan McRae  <allan@archlinux.org>
30218         [BZ #15844]
30219         * COPYING: Update from GNU website to fix FSF address.
30220         * COPYING.LIB: Likewise.
30222 2013-09-06  David S. Miller  <davem@davemloft.net>
30224         * po/zh_TW.po: Update Chinese (traditional) translation from
30225         translation project.
30227 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30228             Joseph Myers  <joseph@codesourcery.com>
30230         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30231         "localeinfo.h".
30232         (obstack_chunk_alloc): New macro.
30233         (obstack_chunk_free): Likewise.
30234         (record_offset): New function.
30235         (init_locale_data): Likewise.
30236         (align_locale_data): Likewise.
30237         (add_locale_empty): Likewise.
30238         (add_locale_raw_data): Likewise.
30239         (add_locale_raw_obstack): Likewise.
30240         (add_locale_string): Likewise.
30241         (add_locale_wstring): Likewise.
30242         (add_locale_uint32): Likewise.
30243         (add_locale_uint32_array): Likewise.
30244         (add_locale_char): Likewise.
30245         (start_locale_structure): Likewise.
30246         (end_locale_structure): Likewise.
30247         (start_locale_prelude): Likewise.
30248         (end_locale_prelude): Likewise.
30249         (write_locale_data): Take locale_file structure rather than an
30250         iovec.
30251         * locale/programs/locfile.h: Include "obstack.h".
30252         (struct locale_file): Change to store locale file contents instead
30253         of header.
30254         (init_locale_data): New prototype.
30255         (align_locale_data): Likewise.
30256         (add_locale_empty): Likewise.
30257         (add_locale_raw_data): Likewise.
30258         (add_locale_raw_obstack): Likewise.
30259         (add_locale_string): Likewise.
30260         (add_locale_wstring): Likewise.
30261         (add_locale_uint32): Likewise.
30262         (add_locale_uint32_array): Likewise.
30263         (add_locale_char): Likewise.
30264         (start_locale_structure): Likewise.
30265         (end_locale_structure): Likewise.
30266         (start_locale_prelude): Likewise.
30267         (end_locale_prelude): Likewise.
30268         (write_locale_data): Update prototype.
30269         * locale/programs/3level.h (struct TABLE): Remove result field.
30270         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30271         Use new locale_file interface.
30272         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30273         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30274         * locale/programs/ld-address.c (address_output): Use new
30275         locale_file interface.
30276         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30277         NO_ADD_LOCALE.
30278         (collate_finish): Don't call collseq_table_finalize.
30279         (collate_output): Use new locale_file interface.
30280         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30281         in file.
30282         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30283         (TABLE): Move defines earlier in file.
30284         (ELEMENT): Likewise.
30285         (DEFAULT): Likewise.
30286         (wctrans_table_add): Move macro and inline function earlier in
30287         file.
30288         (struct wctype_table): Move type earlier in file.
30289         (add_locale_wctype_table): New static prototype.
30290         (struct locale_ctype_t): Use logical types instead of struct iovec
30291         pointers for members.
30292         (ctype_output): Use new locale_file interface.
30293         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30294         new locale_file interface.
30295         (allocate_arrays): Update for use of new locale_file interface.
30296         * locale/programs/ld-identification.c (identification_output): Use
30297         new locale_file interface.
30298         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30299         * locale/programs/ld-messages.c (messages_output): Likewise.
30300         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30301         * locale/programs/ld-name.c (name_output): Likewise.
30302         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30303         * locale/programs/ld-paper.c (paper_output): Likewise.
30304         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30305         * locale/programs/ld-time.c (time_output): Likewise.
30307 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30309         * benchtests/Makefile: Add memrchr benchmark.
30310         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30311         benchmark as memrchr.
30312         * benchtests/bench-memrchr-ifunc.c: New file.
30313         * benchtests/bench-memrchr.c: New file.
30315 2013-09-06   Will Newton  <will.newton@linaro.org>
30317         * benchtests/Makefile (string-bench): Add memcpy.
30319 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30320             Cong Wang  <amwang@redhat.com>
30322         [BZ #15850]
30323         * sysdeps/unix/sysv/linux/bits/in.h
30324         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30325         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30326         before __USE_KERNEL_IPV6_DEFS uses.
30327         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30328         IPPROTO_BEETPH.
30329         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30330         sockaddr_in6, or ipv6_mreq.
30332 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30334         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30335         memory access for final bytes in some large inputs.
30336         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30338 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30340         * string/test-memrchr.c: New file.
30341         * string/test-memrchr-ifunc.c: New file.
30342         * string/Makefile: Add new memrchr testcase.
30344 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30346         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30347         fanotify_init returns EPERM.
30349 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30351         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30352         errors.
30353         (top level): Treat second token from macro or constant entries for
30354         allowed headers as allowed.
30355         * include/complex.h: Condition internal declarations on
30356         [!_ISOMAC].
30357         * include/fenv.h: Condition include of <stdbool.h> and internal
30358         declarations on [!_ISOMAC].
30360 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30362         [BZ #15923]
30363         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30365 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30367         * configure.in (--enable-versioning): Remove configure option.
30368         (libc_cv_asm_symver_directive): Remove configure test.
30369         (libc_cv_ld_version_script_option): Likewise.
30370         (VERSIONING): Remove variable and AC_SUBST.
30371         (DO_VERSIONING): Remove AC_DEFINE.
30372         * configure: Regenerated.
30373         * config.h.in (DO_VERSIONING): Remove macro.
30374         * Makerules [$(versioning) = yes]: Change conditionals to
30375         [$(build-shared) = yes].
30376         * config.make.in (versioning): Remove variable.
30377         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30378         [$(build-shared) = yes].
30379         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30380         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30381         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30382         [$(build-shared) = yes].
30383         * extra-lib.mk [$(versioning) = yes]: Likewise.
30384         * hurd/Makefile [$(versioning) = yes]: Likewise.
30385         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30386         [SHARED].
30387         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30388         [SHARED].
30389         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30390         [SHARED && !NO_HIDDEN].
30391         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30392         [SHARED].
30393         [SHARED && DO_VERSIONING]: Likewise..
30394         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30395         [$(build-shared) = yes].
30396         * manual/install.texi (--disable-versioning): Remove
30397         documentation.
30398         * INSTALL: Regenerated.
30399         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30400         to [SHARED].
30401         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30402         [$(build-shared) = yes].
30403         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30404         * sysdeps/i386/i686/multiarch/strstr-c.c
30405         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30406         [SHARED && !NO_HIDDEN].
30407         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30408         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30409         * sysdeps/powerpc/powerpc32/dl-machine.c
30410         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30411         * sysdeps/powerpc/powerpc32/sysdep.h
30412         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30413         to [SHARED && PIC && !NO_HIDDEN].
30414         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30415         conditional to [SHARED].
30417 2013-09-04   Will Newton  <will.newton@linaro.org>
30419         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30420         * benchtests/bench-string.h: Include bench-timing.h instead
30421         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30422         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30423         call to HP_TIMING_DIFF_INIT.
30424         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30425         instead of hp-timing.h macros.
30426         * benchtests/bench-memchr.c: Likewise.
30427         * benchtests/bench-memcmp.c: Likewise.
30428         * benchtests/bench-memcpy.c: Likewise.
30429         * benchtests/bench-memmem.c: Likewise.
30430         * benchtests/bench-memmove.c: Likewise.
30431         * benchtests/bench-memset.c: Likewise.
30432         * benchtests/bench-rawmemchr.c: Likewise.
30433         * benchtests/bench-strcasecmp.c: Likewise.
30434         * benchtests/bench-strcasestr.c: Likewise.
30435         * benchtests/bench-strcat.c: Likewise.
30436         * benchtests/bench-strchr.c: Likewise.
30437         * benchtests/bench-strcmp.c: Likewise.
30438         * benchtests/bench-strcpy.c: Likewise.
30439         * benchtests/bench-strcpy_chk.c: Likewise.
30440         * benchtests/bench-strlen.c: Likewise.
30441         * benchtests/bench-strncasecmp.c: Likewise.
30442         * benchtests/bench-strncat.c: Likewise.
30443         * benchtests/bench-strncmp.c: Likewise.
30444         * benchtests/bench-strncpy.c: Likewise.
30445         * benchtests/bench-strnlen.c: Likewise.
30446         * benchtests/bench-strpbrk.c: Likewise.
30447         * benchtests/bench-strrchr.c: Likewise.
30448         * benchtests/bench-strspn.c: Likewise.
30449         * benchtests/bench-strstr.c: Likewise.
30451 2013-09-04  Will Newton  <will.newton@linaro.org>
30453         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30455 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30457         [BZ #15427]
30458         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30459         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30460         * math/libm-test.inc (lgamma_test_data): Add more tests.
30461         * sysdeps/i386/fpu/libm-test-ulps: Update.
30462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30464 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30466         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30467         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30468         Add ifunc.
30469         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30470         Add strcmp-sse2-unaligned
30471         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30473 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30475         * Versions.def (libc): Add GLIBC_2.19.
30477 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30479         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30480         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30482 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30484         [BZ #14155]
30485         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30486         intermediate calculations in recurrence.
30487         (__ieee754_ynf): Likewise.
30488         * math/libm-test.inc (jn_test_data): Do not allow spurious
30489         underflow exception.  Add more tests.
30490         (yn_test_data): Add more tests.
30491         * sysdeps/i386/fpu/libm-test-ulps: Update.
30492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30494 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30496         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30498 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30500         * csu/init-first.c: Fix then/than typos.
30501         * locale/programs/ld-collate.c: Likewise.
30502         * locale/programs/linereader.h: Likewise.
30503         * manual/charset.texi: Likewise.
30504         * manual/filesys.texi: Likewise.
30505         * manual/stdio.texi: Likewise.
30506         * manual/string.texi: Likewise.
30507         * stdlib/fmtmsg.c: Likewise.
30508         * sysdeps/i386/stpncpy.S: Likewise.
30509         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30510         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30511         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30512         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30514 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30516         * elf/dl-open.c: Fix typos.
30517         * iconvdata/gbbig5.c: Likewise.
30518         * iconvdata/iso-2022-jp.c: Likewise.
30519         * iconv/gconv_int.h: Likewise.
30520         * iconv/loop.c: Likewise.
30521         * nis/rpcsvc/nis.h: Likewise.
30522         * resolv/ns_name.c: Likewise.
30523         * stdio-common/vfscanf.c: Likewise.
30524         * streams/stropts.h: Likewise.
30525         * sunrpc/rpc_thread.c: Likewise.
30526         * sysdeps/i386/strpbrk.S: Likewise.
30527         * sysdeps/ieee754/k_standard.c: Likewise.
30528         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30529         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30530         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30531         * sysdeps/mach/hurd/profil.c: Likewise.
30532         * sysdeps/s390/dl-procinfo.h: Likewise.
30533         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30534         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30535         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30536         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30537         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30539 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30541         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30544 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30546         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30547         aix specific files.
30548         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30549         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30550         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30551         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30552         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30553         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30554         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30555         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30557 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30558             Roland McGrath  <roland@hack.frob.com>
30560         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30561         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30563 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30565         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30566         __executable_start symbol instead of _start.
30568 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30570         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30571         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30572         Move macros to...
30573         * sysdeps/gnu/ldsodefs.h: ... this new file.
30575         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30576         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30577         instead of ELFOSABI_LINUX.
30579         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30580         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30581         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30582         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30583         Likewise.
30584         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30585         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30586         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30587         Likewise.
30588         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30589         (ibm_extended_long_double): Add ieee_nan member.
30590         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30591         (do_test): New function.
30593         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30594         TEST_TRUNC.
30595         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30596         functions, renamed from truncdfsf_test, trunctfsf_test,
30597         trunctfdf_test.
30598         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30599         functions.
30600         (do_test): Run all these.
30602 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30604         * argp/argp-help.c: Fix typos.
30605         * argp/argp-parse.c: Likewise.
30606         * debug/backtracesyms.c: Likewise.
30607         * elf/elf.h: Likewise.
30608         * malloc/malloc.c: Likewise.
30609         * nis/nis_print.c: Likewise.
30610         * resolv/res_comp.c: Likewise.
30611         * stdlib/stdlib.h: Likewise.
30612         * sunrpc/clnt_tcp.c: Likewise.
30613         * sunrpc/clnt_udp.c: Likewise.
30614         * sunrpc/clnt_unix.c: Likewise.
30615         * sysdeps/unix/bsd/ptsname.c: Likewise.
30616         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30617         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30619         Likewise.
30620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30621         Likewise.
30622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30623         Likewise.
30624         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30626 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30628         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30631 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30633         [BZ #15897]
30634         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30635         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30636         ($(objpfx)bug-dl-leaf): New rule.
30637         ($(objpfx)bug-dl-leaf.so): Likewise.
30638         ($(objpfx)bug-dl-leaf.out): Likewise.
30639         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30640         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30641         * dlfcn/bug-dl-leaf.c: New test.
30642         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30643         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30644         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30645         (dlclose): Likewise.
30646         (dlmopen): Likewise.
30648 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30650         * include/netdb.h [!_ISOMAC]:
30651         Don't include <tls.h>.
30652         (h_errno, __libc_h_errno): Move declaration and macros out of
30653         [_LIBC_REENTRANT].
30655         * include/resolv.h [_RESOLV_H_]:
30656         Don't include <tls.h>.
30657         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30658         * resolv/res_libc.c: Don't include <tls.h>.
30659         (_res): Use __attribute__ ((nocommon)) in place of
30660         __attribute__ ((section (".bss"))).
30662         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30663         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30665         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30667         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30668         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30670         * resolv/res_mkquery.c: Include <sys/time.h>.
30672         * inet/ifreq.c: Moved to ...
30673         * sysdeps/unix/ifreq.c: ... here.
30674         * inet/ifreq.c: New file, true stub version.
30676         * socket/sa_len.c: New file.
30677         * socket/Makefile (aux): Add it.
30678         * sysdeps/unix/sysv/linux/Makefile
30679         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30680         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30681         and #include <socket/sa_len.c>.
30682         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30683         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30685         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30686         * bits/socket.h: ... here.
30688         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30689         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30690         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30692 2013-08-27  Andreas Schwab  <schwab@suse.de>
30694         [BZ #15736]
30695         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30696         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30697         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30698         * string/test-strcasecmp.c (test_main): Run tests in several
30699         locales.
30700         * string/test-strncasecmp.c (test_main): Likewise.
30702         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30703         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30704         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30705         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30706         (__strncasecmp_ssse3) [PIC]: Likewise.
30708 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30710         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30712         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30713         instead of explicitly declaring xdecrypt.
30714         * nis/nss_nis/nis-publickey.c: Likewise.
30716 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30718         [BZ #15890]
30719         * nscd/aicache.c: Include res_hconf.h.
30720         (addhstaiX): Initialize res_hconf.
30722 2013-08-26  Andreas Schwab  <schwab@suse.de>
30724         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30725         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30727 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30729         * nscd/aicache.c (addhstaiX): Fix indentation.
30731 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30733         * configure.ac: Quote $build_pt_chown test.
30734         * configure: Regenerated.
30736 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30738         [BZ #15532]
30739         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30740         * math/s_cexpf.c (__cexpf): Likewise.
30741         * math/s_cexpl.c (__cexpl): Likewise.
30742         * math/libm-test.inc (cexp_test_data): Correct expected return
30743         value for NaN + i0.  Add another test.
30745 2013-08-22  David S. Miller  <davem@davemloft.net>
30747         * po/ca.po: Update Catalan translation from translation project.
30748         * po/uk.po: Add Ukrainian translations from translation project.
30750 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30752         [BZ #15797]
30753         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30754         is infinite, not alongside NaN test.
30755         * math/s_fdimf.c (__fdimf): Likewise.
30756         * math/s_fdiml.c (__fdiml): Likewise.
30757         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30758         errno is unchanged.
30760 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30762         * argp/argp-help.c: Fix typos.
30763         * crypt/speeds.c: Likewise.
30764         * csu/check_fds.c: Likewise.
30765         * elf/dl-load.c: Likewise.
30766         * elf/dl-open.c: Likewise.
30767         * elf/reldep3.c: Likewise.
30768         * elf/reldep.c: Likewise.
30769         * elf/sprof.c: Likewise.
30770         * iconv/iconv_charmap.c: Likewise.
30771         * iconv/skeleton.c: Likewise.
30772         * iconv/strtab.c: Likewise.
30773         * io/lockf64.c: Likewise.
30774         * libio/libioP.h: Likewise.
30775         * resolv/gai_notify.c: Likewise.
30776         * resolv/ns_name.c: Likewise.
30777         * resolv/ns_samedomain.c: Likewise.
30778         * resolv/res_send.c: Likewise.
30779         * stdlib/random.c: Likewise.
30780         * sunrpc/rpc/xdr.h: Likewise.
30781         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30782         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30783         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30784         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30785         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30786         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30787         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30788         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30789         * sysdeps/mach/hurd/check_fds.c: Likewise.
30790         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30791         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30792         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30793         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30794         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30795         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30796         * sysdeps/pthread/aio_notify.c: Likewise.
30797         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30798         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30799         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30800         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30801         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30803 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30805         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30806         version if bit_Slow_SSE4_2 is set.
30807         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30808         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30810 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30812         [BZ #15867]
30813         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30814         trampoline stack frame information.
30815         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30816         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30817         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30818         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30819         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30820         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30821         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30822         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30823         sa_flags value.
30824         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30825         interrupting a syscall and set with option SA_SIGINFO.
30827 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30829         [BZ #15531]
30830         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30831         argument is infinite.
30832         * math/s_cprojf.c (__cprojf): Likewise.
30833         * math/s_cprojl.c (__cprojl): Likewise.
30834         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30835         * math/libm-test.inc (cproj_test_data): Add more tests.
30837         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30839         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30840         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30841         size.  Use __ffs to determine corresponding shift.
30843 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30844             Roland McGrath  <roland@hack.frob.com>
30846         * Makefile (INSTALL): Remove trailing blank lines from output of
30847         makeinfo.
30849 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30851         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30852         Align 32 bit compat elf_greg to 8 bytes.
30854 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30856         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30858 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30860         * string/strcoll_l.c (coll_seq): New structure.
30861         (get_next_seq_cached): New function.
30862         (get_next_seq): New function.
30863         (do_compare): New function.
30864         (STRCOLL): Use GNU style definition.  Simplify implementation
30865         by using get_next_seq, get_next_seq_cached and do_compare.
30867 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30869         [BZ #14699]
30870         CVE-2013-4237
30871         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30872         member.
30873         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30874         member.
30875         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30876         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30877         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30878         conditional.
30879         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30880         GETDENTS_64BIT_ALIGNED.
30881         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30882         * manual/filesys.texi (Reading/Closing Directory): Document
30883         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30884         strongly.
30885         * manual/conf.texi (Limits for Files): Add portability note to
30886         NAME_MAX, PATH_MAX.
30887         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30889 2013-08-13  Andreas Schwab  <schwab@suse.de>
30891         [BZ #15749]
30892         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30893         of fabs.
30894         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30895         LDBL_MAX_EXP >= 16384]: Add tests for it.
30897 2013-08-12  David S. Miller  <davem@davemloft.net>
30899         * version.h (RELEASE): Set to "development".
30900         (VERSION): Set to "2.18.90".
30901         * NEWS: Add 2.19 section.
30903 2013-08-03  David S. Miller  <davem@davemloft.net>
30905         * po/ko.po: Update Korean translation from translation project.
30907 2013-08-01  David S. Miller  <davem@davemloft.net>
30909         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30910         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30911         Bilka.
30913 2013-07-30  David S. Miller  <davem@davemloft.net>
30915         * po/fr.po: Update French translation from translation project.
30917 2013-07-28  David S. Miller  <davem@davemloft.net>
30919         * po/cs.po: Update Czech translation from translation project.
30921         * po/sv.po: Update Swedish translation from translation project.
30923 2013-07-27  David S. Miller  <davem@davemloft.net>
30925         * po/eo.po: Update Esperanto translation from translation project.
30927         * po/vi.po: Update Vietnamese translation from translation project.
30929         * po/de.po: Update German translation from translation project.
30931 2013-07-26  David S. Miller  <davem@davemloft.net>
30933         * po/bg.po: Update Bulgarian translation from translation project.
30935         * po/nl.po: Update Dutch translation from translation project.
30936         * po/pl.po: Update Polish translation from translation project.
30937         * po/ru.po: Update Russian translation from translation project.
30939 2013-07-24  David S. Miller  <davem@davemloft.net>
30941         * po/libc.pot: Update.
30943 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30945         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30946         variable page size.
30947         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30948         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30949         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30951 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30953         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30955 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30956             Andreas Schwab  <schwab@suse.de>
30957             Roland McGrath  <roland@hack.frob.com>
30958             Joseph Myers  <joseph@codesourcery.com>
30959             Carlos O'Donell  <carlos@redhat.com>
30961         [BZ #15755]
30962         * config.h.in: Define HAVE_PT_CHOWN.
30963         * config.make.in (build-pt-chown): New variable.
30964         * configure.in (--enable-pt_chown): New configure option.
30965         * configure: Regenerate.
30966         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30967         build-pt-chown is enabled.
30968         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30969         pt_chown to fix pty ownership.
30970         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30971         CLOSE_ALL_FDS.
30972         * manual/install.texi (Configuring and compiling): Mention
30973         --enable-pt_chown. Add @findex for grantpt.
30974         * INSTALL: Regenerate.
30976 2013-07-20  David S. Miller  <davem@davemloft.net>
30978         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30979         difference between 32-bit and 64-bit.
30981 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30983         [BZ #15711]
30984         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30985         Avoid system header dependency with -ffreestanding.
30986         ($(objpfx)bits/syscall%d): Likewise.
30988 2013-07-13  David S. Miller  <davem@davemloft.net>
30990         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30991         underflows from atanl/atan2l due to bug 15319.
30992         (casinh_test_data): Likewise.
30994 2013-07-07  David S. Miller  <davem@davemloft.net>
30996         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30998 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31000         * sysdeps/i386/fpu/libm-test-ulps: Update.
31001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31003 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31005         * configure.in (--enable-lock-elision): Fix message text.
31006         * INSTALL: Regenerate.
31007         * configure: Regenerate.
31009 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31013 2013-07-03  Andreas Jaeger  <aj@suse.de>
31015         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31016         define.
31017         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31018         (ptrace_peeksiginfo_args): Add.
31019         (__ptrace_peeksiginfo_flags): Add.
31020         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31021         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31022         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31024 2013-07-03  Allan McRae  <allan@archlinux.org>
31026         * sysdeps/i386/fpu/libm-test-ulps: Update.
31028 2013-07-02  David S. Miller  <davem@davemloft.net>
31030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31032 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31036 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31038         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31041 2013-07-02  Andi Kleen <ak@linux.intel.com>
31043         * config.h.in (ENABLE_LOCK_ELISION): Add.
31044         * configure.in (--enable-lock-elision): Add option.
31045         * manual/install.texi: Document --enable lock elision.
31046         * configure: Regenerate
31047         * INSTALL: Regenerate.
31049 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31051         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31052         SSE4.2 strcasecmp for libc.a.
31053         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31055 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31057         [BZ #13304]
31058         * soft-fp/op-common.h (_FP_FMA): New macro.
31059         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31060         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31061         (_FP_MUL_MEAT_1_imm): ... here.
31062         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31063         (_FP_MUL_MEAT_1_wide): ... here.
31064         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31065         (_FP_MUL_MEAT_1_hard): ... here.
31066         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31067         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31068         (_FP_MUL_MEAT_2_wide): ... here.
31069         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31070         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31071         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31072         (_FP_MUL_MEAT_2_gmp): ... here.
31073         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31074         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31075         (_FP_MUL_MEAT_4_wide): ... here.
31076         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31077         (_FP_MUL_MEAT_4_gmp): ... here.
31078         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31079         (_FP_WFRACBITS_DW_S): Likewise.
31080         (_FP_WFRACXBITS_DW_S): Likewise.
31081         (_FP_HIGHBIT_DW_S): Likewise.
31082         (FP_FMA_S): Likewise.
31083         (_FP_FRAC_HIGH_DW_S): Likewise.
31084         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31085         (_FP_WFRACBITS_DW_D): Likewise.
31086         (_FP_WFRACXBITS_DW_D): Likewise.
31087         (_FP_HIGHBIT_DW_D): Likewise.
31088         (FP_FMA_D): Likewise.
31089         (_FP_FRAC_HIGH_DW_D): Likewise.
31090         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31091         (_FP_WFRACBITS_DW_E): Likewise.
31092         (_FP_WFRACXBITS_DW_E): Likewise.
31093         (_FP_HIGHBIT_DW_E): Likewise.
31094         (FP_FMA_E): Likewise.
31095         (_FP_FRAC_HIGH_DW_E): Likewise.
31096         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31097         (_FP_WFRACBITS_DW_Q): Likewise.
31098         (_FP_WFRACXBITS_DW_Q): Likewise.
31099         (_FP_HIGHBIT_DW_Q): Likewise.
31100         (FP_FMA_Q): Likewise.
31101         (_FP_FRAC_HIGH_DW_Q): Likewise.
31102         * soft-fp/fmasf4.c: New file.
31103         * soft-fp/fmadf4.c: Likewise.
31104         * soft-fp/fmatf4.c: Likewise.
31106 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31109         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31110         Silvermont.
31111         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31112         macro.
31113         (index_Slow_SSE4_2): Likewise.
31114         (index_Prefer_PMINUB_for_stringop): Likewise.
31115         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31116         bit_Slow_SSE4_2 is set.
31117         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31118         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31120 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31122         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31123         rtld_global._dl_hwcap2.
31124         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31125         POWER8.
31126         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31127         POWER8 feature descriptions defined in _dl_hwcap2.
31128         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31129         string handling for POWER8 feature bits.
31130         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31131         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31132         _dl_powerpc_cap_flags.
31133         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31134         * sysdeps/powerpc/rtld-global-offsets.sym
31135         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31136         _dl_hwcap2 in the rtld_global_ro structure.
31138 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31140         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31141         hardware capabilities in support of AT_HWCAP2.
31142         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31143         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31144         GLRO(dl_hwcap2).
31145         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31146         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31147         explicitly the unknown a_type display mechanism is used.
31148         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31149         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31150         struct member.
31151         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31152         to macro prototype for AT_HWCAP2 support.
31153         * sysdeps/i386/dl-procinfo.h: Likewise.
31154         * sysdeps/s390/dl-procinfo.h: Likewise.
31155         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31156         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31157         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31158         return -1 for unknown a_type display fallback.
31159         * sysdeps/sparc/dl-procinfo.h: Likewise.
31160         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31161         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31163 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31165         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31166         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31168 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31170         [BZ #12492]
31171         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31172         mprotect making __stack_prot writable.
31174 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31175             Joseph Myers  <joseph@codesourcery.com>
31177         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31178         as being properly aligned.
31180 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31182         * dlfcn/modstatic5.c: New file.
31183         * dlfcn/tststatic5.c: New file.
31184         * dlfcn/Makefile (tests): Add tststatic5.
31185         (tests-static): Likewise.
31186         (modules-names): Add modstatic5.
31187         (tststatic5-ENV): New variable.
31188         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31190         [BZ #15022]
31191         * elf/dl-support.c (_dl_main_map): New variable.
31192         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31193         (_dl_nns, _dl_load_adds): Set to 1.
31194         (_dl_initial_searchlist): Refer to _dl_main_map.
31195         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31196         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31197         call to _dl_get_origin.
31198         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31199         around call_map.
31200         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31201         * dlfcn/modstatic3.c: New file.
31202         * dlfcn/tststatic3.c: New file.
31203         * dlfcn/tststatic4.c: New file.
31204         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31205         (tests-static): Likewise.
31206         (modules-names): Add modstatic3.
31207         (tststatic3-ENV, tststatic4-ENV): New variables.
31208         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31209         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31211 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31213         * configure.in (CC): Require GCC version 4.4 or later.
31214         * configure: Regenerated.
31215         * manual/install.texi (Tools for Compilation): Update GCC version
31216         requirement.
31217         * INSTALL: Regenerated.
31219 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31221         [BZ #15674]
31222         * string/test-memcmp.c (check2): New.
31223         (main): Call check2.
31225         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31227 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31229         [BZ #15022]
31230         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31231         over to...
31232         (dl_open_worker) [!SHARED]: ... here.
31234 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31236         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31238 2013-06-25  Richard Henderson  <rth@redhat.com>
31240         * locale/programs/locarchive.c: Include <libc-internal.h>
31242 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31244         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31245         trailing whitespace removed.
31247 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31249         [BZ #10283]
31250         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31251         * locale/programs/locarchive.c: Include libc-mmap.h.
31252         (prepare_address_space): Take two new outputs (the mmap base and len).
31253         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31254         values.
31255         (create_archive): Declare new mmap base and len values for
31256         prepare_address_space, and store the result in ah.
31257         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31258         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31259         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31260         Declare new mmap base and len values for
31261         prepare_address_space, and store the result in new_ah.
31262         (open_archive): Declare new mmap base and len values for
31263         prepare_address_space, and store the result in ah.
31264         (close_archive): If ah->mmap_base is not NULL, use that and
31265         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31266         * sysdeps/generic/libc-mmap.h: New file.
31268 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31270         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31271         (ALIGN_UP): Likewise.
31272         (PTR_ALIGN_DOWN): Likewise.
31273         (PTR_ALIGN_UP): Likewise.
31275 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31277         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31278         entry mapped to PPC_PLATFORM_POWER8.
31279         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31280         POWER8.
31281         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31282         (_dl_string_platform): Add case for exporting platform position for
31283         POWER8.
31284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31285         search path to sysdeps/powerpc/powerpc32/power8 directory.
31286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31287         search path to sysdeps/powerpc/powerpc64/power8 directory.
31288         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31289         power7 directories.
31290         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31291         power7 directories.
31293 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31295         * INSTALL: Regenerate.
31297         * nscd/connections.c (nscd_init): Fix comment.
31299 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31301         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31303         [BZ #15667]
31304         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31305         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31307 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31309         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31310         DL_DST_REQ_STATIC.
31311         (DL_DST_REQ_STATIC): Remove macro.
31313 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31315         [BZ #7006]
31316         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31317         with a shift of 0 bits.
31319 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31321         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31322         $(tststatic-ENV).
31324 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31326         [BZ #15655]
31327         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31329 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31331         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31332         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31333         accepts -fno-tree-loop-distribute-patterns.
31334         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31335         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31336         recursive call.
31337         * string/memset.c (memset): Likewise.
31338         * string/test-memmove.c (simple_memmove): Disable loop transformation
31339         to library calls.
31340         * string/test-memset.c (simple_memset): Likewise.
31341         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31342         * benchtests/bench-memset.c (simple_memset): Likewise.
31343         * configure: Regenerated.
31345 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31347         * math/test-misc.c (main): Ignore fesetround failure when failures
31348         of subsequent rounding tests would be ignored.
31350         [BZ #15654]
31351         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31352         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31353         * math/fegetenv.c (__fegetenv): Return 0.
31354         * math/fegetexcept.c (fegetexcept): Return 0.
31355         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31356         FE_TONEAREST.
31357         * math/feholdexcpt.c (feholdexcept): Return 0.
31358         * math/fesetenv.c (__fesetenv): Return 0.
31359         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31360         argument FE_TONEAREST.
31361         * math/feupdateenv.c (__feupdateenv): Return 0.
31362         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31364 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31366         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31367         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31368         ($(objpfx)rtld-%.os rules): Use them.
31370 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31372         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31373         fields.
31375 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31377         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31378         length of target pattern, then descending length of dependency pattern.
31379         * configure.in (AWK): Require gawk 3.1.2 or newer.
31380         * manual/install.texi (Tools for Compilation): Say that we do.
31381         * configure: Regenerated.
31383         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31384         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31385         * scripts/sysd-rules.awk: ... this new script.
31386         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31387         than a glob-style pattern.
31389 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31391         * math/test-misc.c (main): Do not treat incorrectly rounded
31392         conversions as failure unless ROUNDING_TESTS passes.
31394 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31396         [BZ #15631]
31397         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31398         restore exception state around main square root computation, then
31399         check for inexactness explicitly.
31401         * math/libm-test.inc (fma_test_data): Add another test.
31403 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31405         * manual/threads.texi (Non-POSIX Extensions): New document
31406         node.  Document pthread_getattr_default_np and
31407         pthread_setattr_default_np.
31409         * Versions.def (libpthread): Add GLIBC_2.18.
31410         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31412         Likewise.
31413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31414         Likewise.
31415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31416         Likewise.
31417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31418         Likewise.
31419         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31420         Likewise.
31421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31422         Likewise.
31423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31424         Likewise.
31425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31426         Likewise.
31427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31428         Likewise.
31430 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31433         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31435 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31436             H.J. Lu  <hjl.tools@gmail.com>
31438         [BZ #15627]
31439         * sysdeps/x86_64/rtld-memset.c: Remove file.
31440         * sysdeps/x86_64/rtld-memset.S: New file.
31442 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31444         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31445         (test_in_one_mode): Take arguments for whether the rounding mode
31446         is supported for each floating-point type.
31447         (do_test): Pass new arguments to test_in_one_mode using
31448         ROUNDING_TESTS.
31450 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31452         * posix/tst-waitid.c (do_test): Distinguish different instances of
31453         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31454         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31455         before entering the kernel for waitpid.
31457 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31459         * NEWS: Fix note on clock function precision.  Text by Roland
31460         McGrath.
31462 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31464         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31465         it into place only when and if the sanity check passes.
31467 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31469         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31470         output for whether conversion result is exact.  Take argument
31471         indicating whether type is IBM long double.
31472         (round_for_all): Change need_exact field to ibm_ld.
31473         * stdlib/tst-strtod-round.c (struct exactness): New type.
31474         (struct test): Change bool ld_ok field to struct exactness exact.
31475         (TEST): Update all definitions for change to field.
31476         (tests): Regenerate array contents.
31477         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31478         field value.  Check for IBM long double here.
31479         (do_test): Update calls to test_in_one_mode.
31481 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31483         [BZ #12515]
31484         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31485         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31487 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31489         [BZ #15605]
31490         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31491         generated by the compiler on loop optimizations.
31492         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31493         general definitions.
31495 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31497         * math/bug-nextafter.c: Include <math-tests.h>.
31498         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31499         the relevant type.
31500         * math/bug-nexttoward.c: Include <math-tests.h>.
31501         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31502         the relevant type.
31503         * math/test-misc.c: Include <math-tests.h>.
31504         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31505         the relevant type.
31507 2013-06-12  Andreas Jaeger  <aj@suse.de>
31509         * po/ia.po: Update Interlingua translation from translation
31510         project.
31512 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31514         * include/fenv.h: Include stdbool.h.
31515         (struct rm_ctx): New structure.
31516         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31517         Define macro.
31518         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31519         (SET_RESTORE_ROUNDF): Likewise.
31520         (SET_RESTORE_ROUNDL): Likewise.
31521         (SET_RESTORE_ROUND_NOEX): Likewise.
31522         (SET_RESTORE_ROUND_NOEXF): Likewise.
31523         (SET_RESTORE_ROUND_NOEXL): Likewise.
31524         (SET_RESTORE_ROUND_53BIT): Likewise.
31525         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31526         (libc_feresetround_noexf_ctx): Likewise.
31527         (libc_feresetround_noexl_ctx): Likewise.
31528         (libc_feholdsetround_53bit_ctx): Likewise.
31529         (libc_feresetround_53bit_ctx): Likewise.
31530         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31531         (libc_feholdexcept_setround_sse_ctx): New function.
31532         (libc_fesetenv_sse_ctx): Likewise.
31533         (libc_feupdateenv_sse_ctx): Likewise.
31534         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31535         (libc_feholdexcept_setround_387_ctx): Likewise.
31536         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31537         (libc_feholdsetround_387_prec_ctx): Likewise.
31538         (libc_feholdsetround_387_ctx): Likewise.
31539         (libc_feholdsetround_387_53bit_ctx): Likewise.
31540         (libc_feholdsetround_sse_ctx): Likewise.
31541         (libc_feresetround_sse_ctx): Likewise.
31542         (libc_feresetround_387_ctx): Likewise.
31543         (libc_feupdateenv_387_ctx): Likewise.
31544         (libc_feholdexcept_setroundf_ctx): Define macro.
31545         (libc_fesetenvf_ctx): Likewise.
31546         (libc_feupdateenvf_ctx): Likewise.
31547         (libc_feholdsetroundf_ctx): Likewise.
31548         (libc_feresetroundf_ctx): Likewise.
31549         (libc_feholdexcept_setround_ctx): Likewise.
31550         (libc_fesetenv_ctx): Likewise.
31551         (libc_feupdateenv_ctx): Likewise.
31552         (libc_feholdsetround_ctx): Likewise.
31553         (libc_feresetround_ctx): Likewise.
31554         (libc_feholdexcept_setroundl_ctx): Likewise.
31555         (libc_feupdateenvl_ctx): Likewise.
31556         (libc_feholdsetroundl_ctx): Likewise.
31557         (libc_feresetroundl_ctx): Likewise.
31558         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31559         (libc_feresetround_53bit_ctx): Likewise.
31561 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31563         * locale/iso-639.def: Convert to UTF-8.
31565 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31567         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31568         (EXCEPTION_TESTS_double): Likewise.
31569         (EXCEPTION_TESTS_long_double): Likewise.
31570         (EXCEPTION_TESTS): Likewise.
31571         * math/libm-test.inc (test_exceptions): Only test exceptions if
31572         EXCEPTION_TESTS (FLOAT).
31574 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31576         * benchtests/Makefile (string-bench): Add strcpy_chk and
31577         stpcpy_chk.
31578         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31579         * benchtests/bench-stpcpy_chk.c: New file.
31580         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31581         * benchtests/bench-strcpy_chk.c: New file.
31582         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31583         code.
31584         (do_test): Likewise.
31586 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31588         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31589         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31590         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31591         with tabs where appropriate.
31592         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31593         dl-procinfo.h.
31594         [PPC_PLATFORM_PPC440]: Likewise.
31595         [PPC_PLATFORM_PPC464]: Likewise.
31596         [PPC_PLATFORM_PPC476]: Likewise.
31597         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31598         ppc464, and ppc476 platform strings merging from ports/
31599         dl-procinfo.h.
31601 2013-06-11  Andreas Schwab  <schwab@suse.de>
31603         [BZ #14991]
31604         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31605         (from_ucs4_idx): Regenerate.
31606         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31607         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31608         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31609         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31610         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31611         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31612         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31613         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31614         from FROM_LOOP and TO_LOOP specific macros.
31615         (BODY): Handle combining characters.
31616         * iconvdata/BIG5HKSCS.irreversible: Update.
31617         * iconvdata/BIG5HKSCS.precomposed: New file.
31618         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31619         characters.
31620         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31622 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31624         * include/sys/time.h: Fix indentation and add copyright header.
31626         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31627         (do_test): Likewise.
31628         * string/test-memchr.c (do_one_test): Likewise.
31629         (do_test): Likewise.
31630         * string/test-memcmp.c (do_one_test): Likewise.
31631         (do_test): Likewise.
31632         * string/test-memcpy.c (do_one_test): Likewise.
31633         (do_test): Likewise.
31634         * string/test-memmem.c (do_one_test): Likewise.
31635         (do_test): Likewise.
31636         (do_random_tests): Likewise.
31637         * string/test-memmove.c (do_one_test): Likewise.
31638         (do_test): Likewise.
31639         * string/test-memset.c (do_one_test): Likewise.
31640         (do_test): Likewise.
31641         * string/test-rawmemchr.c (do_one_test): Likewise.
31642         (do_test): Likewise.
31643         * string/test-strcasecmp.c (do_one_test): Likewise.
31644         (do_test): Likewise.
31645         * string/test-strcasestr.c (do_one_test): Likewise.
31646         (do_test): Likewise.
31647         * string/test-strcat.c (do_one_test): Likewise.
31648         (do_test): Likewise.
31649         * string/test-strchr.c (do_one_test): Likewise.
31650         (do_test): Likewise.
31651         * string/test-strcmp.c (do_one_test): Likewise.
31652         (do_test): Likewise.
31653         * string/test-strcpy.c (do_one_test): Likewise.
31654         (do_test): Likewise.
31655         * string/test-string.h: Likewise.
31656         (test_init): Likewise.
31657         * string/test-strlen.c (do_one_test): Likewise.
31658         (do_test): Likewise.
31659         * string/test-strncasecmp.c (do_one_test): Likewise.
31660         (do_test): Likewise.
31661         * string/test-strncat.c (do_one_test): Likewise.
31662         (do_test): Likewise.
31663         * string/test-strncmp.c (do_one_test): Likewise.
31664         (do_test_limit): Likewise.
31665         (do_test): Likewise.
31666         * string/test-strncpy.c (do_one_test): Likewise.
31667         (do_test): Likewise.
31668         * string/test-strnlen.c (do_one_test): Likewise.
31669         (do_test): Likewise.
31670         * string/test-strpbrk.c (do_one_test): Likewise.
31671         (do_test): Likewise.
31672         * string/test-strrchr.c (do_one_test): Likewise.
31673         (do_test): Likewise.
31674         * string/test-strspn.c (do_one_test): Likewise.
31675         (do_test): Likewise.
31676         * string/test-strstr.c (do_one_test): Likewise.
31677         (do_test): Likewise.
31679         * benchtests/Makefile (string-bench): Add string benchmarks.
31680         * benchtests/bench-bcopy-ifunc.c: New file.
31681         * benchtests/bench-bcopy.c: New file.
31682         * benchtests/bench-bzero-ifunc.c: New file.
31683         * benchtests/bench-bzero.c: New file.
31684         * benchtests/bench-memccpy-ifunc.c: New file.
31685         * benchtests/bench-memccpy.c: New file.
31686         * benchtests/bench-memchr-ifunc.c: New file.
31687         * benchtests/bench-memchr.c: New file.
31688         * benchtests/bench-memcmp-ifunc.c: New file.
31689         * benchtests/bench-memcmp.c: New file.
31690         * benchtests/bench-memmem-ifunc.c: New file.
31691         * benchtests/bench-memmem.c: New file.
31692         * benchtests/bench-memmove-ifunc.c: New file.
31693         * benchtests/bench-memmove.c: New file.
31694         * benchtests/bench-mempcpy-ifunc.c: New file.
31695         * benchtests/bench-mempcpy.c: New file.
31696         * benchtests/bench-memset-ifunc.c: New file.
31697         * benchtests/bench-memset.c: New file.
31698         * benchtests/bench-rawmemchr-ifunc.c: New file.
31699         * benchtests/bench-rawmemchr.c: New file.
31700         * benchtests/bench-stpcpy-ifunc.c: New file.
31701         * benchtests/bench-stpcpy.c: New file.
31702         * benchtests/bench-stpncpy-ifunc.c: New file.
31703         * benchtests/bench-stpncpy.c: New file.
31704         * benchtests/bench-strcasecmp-ifunc.c: New file.
31705         * benchtests/bench-strcasecmp.c: New file.
31706         * benchtests/bench-strcasestr-ifunc.c: New file.
31707         * benchtests/bench-strcasestr.c: New file.
31708         * benchtests/bench-strcat-ifunc.c: New file.
31709         * benchtests/bench-strcat.c: New file.
31710         * benchtests/bench-strchr-ifunc.c: New file.
31711         * benchtests/bench-strchr.c: New file.
31712         * benchtests/bench-strchrnul-ifunc.c: New file.
31713         * benchtests/bench-strchrnul.c: New file.
31714         * benchtests/bench-strcmp-ifunc.c: New file.
31715         * benchtests/bench-strcmp.c: New file.
31716         * benchtests/bench-strcpy-ifunc.c: New file.
31717         * benchtests/bench-strcpy.c: New file.
31718         * benchtests/bench-strcspn-ifunc.c: New file.
31719         * benchtests/bench-strcspn.c: New file.
31720         * benchtests/bench-strlen-ifunc.c: New file.
31721         * benchtests/bench-strlen.c: New file.
31722         * benchtests/bench-strncasecmp-ifunc.c: New file.
31723         * benchtests/bench-strncasecmp.c: New file.
31724         * benchtests/bench-strncat-ifunc.c: New file.
31725         * benchtests/bench-strncat.c: New file.
31726         * benchtests/bench-strncmp-ifunc.c: New file.
31727         * benchtests/bench-strncmp.c: New file.
31728         * benchtests/bench-strncpy-ifunc.c: New file.
31729         * benchtests/bench-strncpy.c: New file.
31730         * benchtests/bench-strnlen-ifunc.c: New file.
31731         * benchtests/bench-strnlen.c: New file.
31732         * benchtests/bench-strpbrk-ifunc.c: New file.
31733         * benchtests/bench-strpbrk.c: New file.
31734         * benchtests/bench-strrchr-ifunc.c: New file.
31735         * benchtests/bench-strrchr.c: New file.
31736         * benchtests/bench-strspn-ifunc.c: New file.
31737         * benchtests/bench-strspn.c: New file.
31738         * benchtests/bench-strstr-ifunc.c: New file.
31739         * benchtests/bench-strstr.c: New file.
31741         * benchtests/Makefile: Disable parallel execution of targets.
31742         (string-bench): Add memcpy.
31743         (benchset): New variable to store a list of benchmark sets.
31744         (bench-func): Renamed from bench.
31745         (bench-set): New target.
31746         (bench): Depend on bench-func and bench-set.
31747         * benchtests/README: Add section on benchmark sets.
31748         * benchtests/bench-memcpy-ifunc.c: New file.
31749         * benchtests/bench-memcpy.c: New file.
31750         * benchtests/bench-string.h: New file.
31752 2013-06-11  Andreas Schwab  <schwab@suse.de>
31754         [BZ #15577]
31755         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31756         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31757         values in the triple.
31758         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31759         terminator in the group key.
31761 2013-06-11  Andreas Jaeger  <aj@suse.de>
31763         * po/zh_TW.po: Update Chinese (traditional) translation from
31764         translation project.
31766 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31768         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31769         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31770         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31771         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31772         (clock_getcpuclockid): Likewise.
31773         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31774         Add weak_alias and libc_hidden_def.
31775         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31776         * rt/clock_gettime.c (clock_gettime): Rename to
31777         __clock_gettime.  Add weak_alias and libc_hidden_def.
31778         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31779         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31780         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31781         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31782         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31783         Likewise.
31784         * rt/clock_settime.c (clock_settime): Rename to
31785         __clock_settime.  Add weak_alias and libc_hidden_def.
31786         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31788 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31790         * mach/err_boot.sub: Remove trailing whitespace.
31791         * mach/err_ipc.sub: Likewise.
31792         * mach/err_mach.sub: Likewise.
31794         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31795         (ROUNDING_TESTS_double): Likewise.
31796         (ROUNDING_TESTS_long_double): Likewise.
31797         (ROUNDING_TESTS): Likewise.
31798         * math/libm-test.inc: Include <math-tests.h>.
31799         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31800         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31801         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31802         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31804 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31806         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31807         of assigning.
31809 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31811         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31812         otherwise empty TRANS lines.
31813         * sysdeps/gnu/errlist.c: Regenerated.
31815         * catgets/gencat.c (error_print): Use (void) in function
31816         definition.
31817         * crypt/crypt_util.c (__init_des): Likewise.
31818         * crypt/speeds.c (Stop): Likewise.
31819         (main): Likewise.
31820         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31821         * inet/ruserpass.c (token): Likewise.
31822         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31823         * intl/localealias.c (extend_alias_table): Likewise.
31824         * intl/plural-exp.c (init_germanic_plural): Likewise.
31825         * libio/fcloseall.c (__fcloseall): Likewise.
31826         * libio/genops.c (_IO_flush_all): Likewise.
31827         (_IO_flush_all_linebuffered): Likewise.
31828         (_IO_cleanup): Likewise.
31829         (_IO_iter_begin): Likewise.
31830         (_IO_iter_end): Likewise.
31831         (_IO_list_lock): Likewise.
31832         (_IO_list_unlock): Likewise.
31833         (_IO_list_resetlock): Likewise.
31834         * libio/getchar.c (getchar): Likewise.
31835         * libio/getchar_u.c (getchar_unlocked): Likewise.
31836         * libio/getwchar.c (getwchar): Likewise.
31837         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31838         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31839         * login/getpt.c (__getpt): Likewise.
31840         * login/tst-utmp.c (main): Likewise.
31841         * malloc/hooks.c (__malloc_check_init): Likewise.
31842         * malloc/malloc.c (__malloc_stats): Likewise.
31843         * malloc/mtrace.c (tr_break): Likewise.
31844         (mtrace): Likewise.
31845         (muntrace): Likewise.
31846         * misc/fstab.c (endfsent): Likewise.
31847         * misc/getclktck.c (__getclktck): Likewise.
31848         * misc/getdtsz.c (__getdtablesize): Likewise.
31849         * misc/gethostid.c (gethostid): Likewise.
31850         * misc/getpagesize.c (__getpagesize): Likewise.
31851         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31852         (__get_nprocs): Likewise.
31853         (__get_phys_pages): Likewise.
31854         (__get_avphys_pages): Likewise.
31855         * misc/getttyent.c (getttyent): Likewise.
31856         (setttyent): Likewise.
31857         (endttyent): Likewise.
31858         * misc/getusershell.c (getusershell): Likewise.
31859         (endusershell): Likewise.
31860         (setusershell): Likewise.
31861         (initshells): Likewise.
31862         * misc/hsearch.c (__hdestroy): Likewise.
31863         * misc/sync.c (sync): Likewise.
31864         * misc/syslog.c (closelog_internal): Likewise.
31865         (closelog): Likewise.
31866         * misc/ttyslot.c (ttyslot): Likewise.
31867         * misc/vhangup.c (vhangup): Likewise.
31868         * posix/fork.c (__fork): Likewise.
31869         * posix/getegid.c (__getegid): Likewise.
31870         * posix/geteuid.c (__geteuid): Likewise.
31871         * posix/getgid.c (__getgid): Likewise.
31872         * posix/getpid.c (__getpid): Likewise.
31873         * posix/getppid.c (__getppid): Likewise.
31874         * posix/getuid.c (__getuid): Likewise.
31875         * posix/pause.c (pause): Likewise.
31876         * posix/setpgrp.c (setpgrp): Likewise.
31877         * posix/setsid.c (__setsid): Likewise.
31878         * posix/test-vfork.c (noop): Likewise.
31879         * resolv/gethnamaddr.c (_endhtent): Likewise.
31880         (_gethtent): Likewise.
31881         (ht_endhostent): Likewise.
31882         (gethostent): Likewise.
31883         (dns_service): Likewise.
31884         * stdlib/drand48.c (drand48): Likewise.
31885         * stdlib/lrand48.c (lrand48): Likewise.
31886         * stdlib/mrand48.c (mrand48): Likewise.
31887         * stdlib/rand.c (rand): Likewise.
31888         * stdlib/random.c (__random): Likewise.
31889         * stdlib/setenv.c (clearenv): Likewise.
31890         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31891         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31892         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31893         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31894         (__get_nprocs): Likewise.
31895         (__get_phys_pages): Likewise.
31896         (__get_avphys_pages): Likewise.
31897         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31898         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31899         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31900         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31901         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31902         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31903         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31904         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31905         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31906         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31907         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31908         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31909         * sysdeps/posix/clock.c (clock): Likewise.
31910         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31911         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31912         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31913         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31914         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31915         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31916         (__get_nprocs_conf): Likewise.
31917         (__get_phys_pages): Likewise.
31918         (__get_avphys_pages): Likewise.
31919         * time/clock.c (clock): Likewise.
31920         * time/tzset.c (__tzname_max): Likewise.
31922 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31924         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31925         (__bswap_32): Do not use "register".
31926         * crypt/crypt.c (_ufc_doit_r): Likewise.
31927         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31928         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31929         * gmon/gmon.c (__monstartup): Likewise.
31930         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31931         * hurd/hurdmalloc.c (more_memory): Likewise.
31932         (malloc): Likewise.
31933         (free): Likewise.
31934         (realloc): Likewise.
31935         (malloc_fork_prepare): Likewise.
31936         (malloc_fork_parent): Likewise.
31937         (malloc_fork_child): Likewise.
31938         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31939         (_svcauth_des): Likewise.
31940         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31941         * inet/inet_net.c (inet_network): Likewise.
31942         * inet/inet_netof.c (inet_netof): Likewise.
31943         * inet/rcmd.c (__validuser2_sa): Likewise.
31944         * io/fts.c (fts_open): Likewise.
31945         (fts_load): Likewise.
31946         (fts_close): Likewise.
31947         (fts_read): Likewise.
31948         (fts_children): Likewise.
31949         (fts_build): Likewise.
31950         (fts_stat): Likewise.
31951         (fts_sort): Likewise.
31952         (fts_alloc): Likewise.
31953         (fts_lfree): Likewise.
31954         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31955         (_IO_file_xsgetn): Likewise.
31956         (_IO_file_xsgetn_mmap): Likewise.
31957         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31958         (_IO_cookie_write): Likewise.
31959         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31960         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31961         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31962         * malloc/obstack.c (_obstack_begin): Likewise.
31963         (_obstack_begin_1): Likewise.
31964         (_obstack_newchunk): Likewise.
31965         (_obstack_allocated_p): Likewise.
31966         (obstack_free): Likewise.
31967         (_obstack_memory_used): Likewise.
31968         * misc/getttyent.c (getttynam): Likewise.
31969         (getttyent): Likewise.
31970         (skip): Likewise.
31971         (value): Likewise.
31972         * misc/getusershell.c (initshells): Likewise.
31973         * misc/syslog.c (__vsyslog_chk): Likewise.
31974         * misc/ttyslot.c (ttyslot): Likewise.
31975         * nis/nis_hash.c (__nis_hash): Likewise.
31976         * posix/fnmatch_loop.c (FCT): Likewise.
31977         * posix/getconf.c (print_all): Likewise.
31978         (main): Likewise.
31979         * posix/getopt.c (exchange): Likewise.
31980         * posix/glob.c (globfree): Likewise.
31981         (prefix_array): Likewise.
31982         (__glob_pattern_type): Likewise.
31983         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31984         (NS_GET32): Likewise.
31985         (NS_PUT16): Likewise.
31986         (NS_PUT32): Likewise.
31987         * resolv/gethnamaddr.c (getanswer): Likewise.
31988         (gethostbyname2): Likewise.
31989         (gethostbyaddr): Likewise.
31990         (_gethtent): Likewise.
31991         (_gethtbyname2): Likewise.
31992         (_gethtbyaddr): Likewise.
31993         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31994         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31995         * resolv/res_init.c (__res_vinit): Likewise.
31996         (net_mask): Likewise.
31997         * resolv/res_mkquery.c (outchar): Likewise.
31998         (PRINT): Likewise.
31999         * stdio-common/printf_fp.c (outchar): Likewise.
32000         (PRINT): Likewise.
32001         * stdio-common/printf_fphex.c (outchar): Likewise.
32002         (PRINT): Likewise.
32003         * stdio-common/printf_size.c (outchar): Likewise.
32004         (PRINT): Likewise.
32005         * stdio-common/test_rdwr.c (main): Likewise.
32006         * stdio-common/tfformat.c (matches): Likewise.
32007         * stdio-common/vfprintf.c (outchar): Likewise.
32008         (printf_unknown): Likewise.
32009         (buffered_vfprintf): Likewise.
32010         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32011         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32012         (ReadFile): Likewise.
32013         * stdlib/qsort.c (SWAP): Likewise.
32014         (_quicksort): Likewise.
32015         * stdlib/setenv.c (__add_to_environ): Likewise.
32016         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32017         * stdlib/strtol_l.c (__strtol_l): Likewise.
32018         * stdlib/tst-strtod.c (main): Likewise.
32019         * stdlib/tst-strtol.c (main): Likewise.
32020         * stdlib/tst-strtoll.c (main): Likewise.
32021         * string/bits/string2.h (__strcmp_cc): Likewise.
32022         (__strcmp_cg): Likewise.
32023         (__strcspn_c1): Likewise.
32024         (__strcspn_c2): Likewise.
32025         (__strcspn_c3): Likewise.
32026         (__strspn_c1): Likewise.
32027         (__strspn_c2): Likewise.
32028         (__strspn_c3): Likewise.
32029         (__strsep_1c): Likewise.
32030         (__strsep_2c): Likewise.
32031         (__strsep_3c): Likewise.
32032         * string/memccpy.c (__memccpy): Likewise.
32033         * string/stpcpy.c (__stpcpy): Likewise.
32034         * string/strcmp.c (strcmp): Likewise.
32035         * string/strrchr.c (strrchr): Likewise.
32036         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32037         Likewise.
32038         * sysdeps/mach/hurd/getcwd.c
32039         (_hurd_canonicalize_directory_name_internal): Likewise.
32040         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32041         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32042         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32043         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32044         Likewise, in both definitions.
32045         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32046         definitions.
32047         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32048         64] (__bswap_64): Likewise.
32049         * time/test_time.c (main): Likewise.
32050         * time/tzfile.c (__tzfile_read): Likewise.
32051         (__tzfile_compute): Likewise.
32052         * time/tzset.c (__tzset_parse_tz): Likewise.
32053         (tzset_internal): Likewise.
32054         (compute_change): Likewise.
32055         * wcsmbs/wcscat.c (__wcscat): Likewise.
32056         * wcsmbs/wcschr.c (wcschr): Likewise.
32057         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32058         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32059         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32060         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32061         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32062         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32063         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32064         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32065         * wcsmbs/wmemset.c (wmemset): Likewise.
32067 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32069         * scripts/config.guess: Update to version 2013-05-16.
32070         * scripts/config.sub: Update to version 2013-04-24.
32071         * scripts/install-sh: Update to version 2011-11-20.07.
32072         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32073         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32075 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32077         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32078         * elf/sln.c: Likewise.
32079         * hurd/hurd/ioctl.h: Likewise.
32080         * hurd/hurdmalloc.c: Likewise.
32081         * hurd/xattr.c: Likewise.
32082         * include/shlib-compat.h: Likewise.
32083         * inet/ruserpass.c: Likewise.
32084         * libio/iofgets_u.c: Likewise.
32085         * libio/iofgetws_u.c: Likewise.
32086         * locale/programs/ld-identification.c: Likewise.
32087         * locale/programs/ld-time.c: Likewise.
32088         * mach/msg-destroy.c: Likewise.
32089         * nss/nss_files/files-netgrp.c: Likewise.
32090         * resolv/res_data.c: Likewise.
32091         * soft-fp/op-1.h: Likewise.
32092         * soft-fp/op-2.h: Likewise.
32093         * soft-fp/op-4.h: Likewise.
32094         * soft-fp/op-common.h: Likewise.
32095         * stdio-common/printf_fphex.c: Likewise.
32096         * stdlib/strtod_l.c: Likewise.
32097         * sunrpc/rpc/clnt.h: Likewise.
32098         * sysdeps/generic/framestate.c: Likewise.
32099         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32100         * sysdeps/i386/bsd-setjmp.S: Likewise.
32101         * sysdeps/i386/__longjmp.S: Likewise.
32102         * sysdeps/i386/setjmp.S: Likewise.
32103         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32104         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32105         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32106         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32107         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32108         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32109         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32110         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32111         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32112         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32113         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32114         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32115         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32116         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32117         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32118         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32119         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32120         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32121         * sysdeps/ieee754/support.c: Likewise.
32122         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32123         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32124         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32125         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32126         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32127         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32128         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32129         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32130         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32131         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32132         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32133         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32134         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32135         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32136         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32137         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32138         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32141 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32143         * posix/transbug.c: Remove executable mode.
32145 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32147         * crypt/speeds.c: Remove trailing whitespace.
32148         * dlfcn/default.c: Likewise.
32149         * elf/ifuncdep2.c: Likewise.
32150         * elf/ifuncmain1.c: Likewise.
32151         * elf/ifuncmain1vis.c: Likewise.
32152         * elf/testobj.h: Likewise.
32153         * elf/tst-stackguard1.c: Likewise.
32154         * gmon/sys/gmon.h: Likewise.
32155         * hurd/hurdmsg.c: Likewise.
32156         * hurd/new-fd.c: Likewise.
32157         * hurd/ports-get.c: Likewise.
32158         * iconvdata/ibm1008_420.c: Likewise.
32159         * inet/tst-getni1.c: Likewise.
32160         * inet/tst-getni2.c: Likewise.
32161         * libio/ioungetc.c: Likewise.
32162         * libio/wfiledoalloc.c: Likewise.
32163         * manual/libm-err-tab.pl: Likewise.
32164         * math/w_dremf.c: Likewise.
32165         * misc/ftruncate.c: Likewise.
32166         * posix/bug-glob2.c: Likewise.
32167         * posix/tst-pcre.c: Likewise.
32168         * posix/wait4.c: Likewise.
32169         * resolv/README: Likewise.
32170         * resolv/res_debug.h: Likewise.
32171         * resolv/tst-inet_ntop.c: Likewise.
32172         * setjmp/bug269-setjmp.c: Likewise.
32173         * soft-fp/extended.h: Likewise.
32174         * soft-fp/op-1.h: Likewise.
32175         * soft-fp/op-2.h: Likewise.
32176         * soft-fp/op-4.h: Likewise.
32177         * soft-fp/op-8.h: Likewise.
32178         * soft-fp/testit.c: Likewise.
32179         * stdio-common/bug16.c: Likewise.
32180         * stdlib/random.c: Likewise.
32181         * sunrpc/rpcsvc/rquota.x: Likewise.
32182         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32183         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32184         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32185         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32186         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32187         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32188         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32189         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32190         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32191         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32192         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32193         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32194         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32195         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32196         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32197         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32198         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32199         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32200         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32201         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32202         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32203         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32204         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32205         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32206         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32207         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32208         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32209         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32210         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32211         * sysdeps/ieee754/s_lib_version.c: Likewise.
32212         * sysdeps/mach/hurd/check_fds.c: Likewise.
32213         * sysdeps/mach/hurd/getsockname.c: Likewise.
32214         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32215         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32216         * sysdeps/powerpc/bits/link.h: Likewise.
32217         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32218         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32219         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32220         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32221         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32222         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32223         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32224         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32225         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32226         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32227         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32228         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32229         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32230         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32231         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32232         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32233         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32234         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32235         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32236         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32237         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32238         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32239         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32240         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32241         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32242         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32243         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32244         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32245         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32246         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32247         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32248         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32249         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32250         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32251         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32252         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32253         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32254         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32255         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32256         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32257         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32258         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32259         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32260         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32261         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32262         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32263         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32264         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32265         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32266         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32267         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32268         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32269         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32270         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32271         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32272         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32273         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32274         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32275         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32276         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32277         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32278         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32279         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32280         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32281         * sysdeps/powerpc/sysdep.h: Likewise.
32282         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32283         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32284         * sysdeps/sh/dl-trampoline.S: Likewise.
32285         * sysdeps/sh/memset.S: Likewise.
32286         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32287         * sysdeps/sh/strlen.S: Likewise.
32288         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32289         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32290         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32291         * sysdeps/sparc/sparc32/rem.S: Likewise.
32292         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32293         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32294         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32295         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32296         * sysdeps/sparc/sparc32/urem.S: Likewise.
32297         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32298         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32299         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32300         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32301         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32302         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32303         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32304         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32305         * sysdeps/unix/bsd/times.c: Likewise.
32306         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32307         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32311         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32312         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32313         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32314         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32315         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32316         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32317         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32318         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32319         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32320         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32321         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32322         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32323         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32324         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32325         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32326         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32327         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32328         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32329         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32330         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32331         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32332         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32333         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32334         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32335         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32336         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32337         * sysdeps/x86_64/strcspn.S: Likewise.
32339 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32341         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32342         generated file.  Regenerate properly from gen-translit.pl.
32343         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32344         locale/C-translit.h.
32346 2013-06-05  Andreas Schwab  <schwab@suse.de>
32348         [BZ #15100]
32349         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32350         week as 6 instead of -1.
32351         * time/tst-strptime.c (day_tests): Add test case.
32353 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32355         * sysdeps/generic/math_private.h
32356         (libc_feholdexcept_setround_53bit): Replace with
32357         libc_feholdsetround_53bit.
32358         (libc_feupdateenv_53bit): Replace with
32359         libc_feresetround_53bit.
32360         (SET_RESTORE_ROUND_53BIT): Adjust.
32362 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32364         * string/test-strchrnul.c: Add copyright header.
32366         * posix/tst-getaddrinfo4.c: Increase test timeout.
32368 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32370         [BZ #15536]
32371         * math/libm-test.inc (MAX_EXP): Remove
32372         (MIN_EXP): Define.
32373         (ulp): Use MIN_EXP - MANT_DIG.
32374         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32376 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32378         * po/be.po: Revert last change.
32379         * po/zh_CN.po: Likewise.
32380         * po/header.pot: Likewise.
32382 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32384         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32385         link-libc-deps to empty as target-specific variable.
32386         * Makerules (link-libc-args): New variable.
32387         (libc-for-link): Likewise.
32388         (link-libc-deps): Likewise.
32389         (lib%.so): Depend on $(link-libc-deps).  Link with
32390         $(link-libc-args).
32391         (build-module): Link with $(link-libc-args).
32392         (build-module-asneeded): Likewise.
32393         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32394         list of objects.
32395         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32396         target-specific variable.
32397         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32398         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32399         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32400         libc.
32401         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32402         libc and ld.so.
32403         ($(objpfx)libpcprofile.so): Likewise.
32404         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32405         libc_nonshared.a.
32406         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32407         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32408         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32409         $(link-libc-deps).
32410         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32411         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32412         * login/Makefile ($(objpfx)libutil.so): Likewise.
32413         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32414         * math/Makefile ($(objpfx)libm.so): Likewise.
32415         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32416         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32417         variable instead of depending directly on libc.
32418         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32419         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32420         $(link-libc-deps).
32421         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32422         libc.
32423         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32424         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32425         ($(objpfx)libanl.so): Likewise.
32426         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32427         ld.so.
32428         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32429         $(link-libc-deps).
32430         * sysdeps/i386/fpu/Makefile: Remove file.
32431         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32432         ($(objpfx)libm.so): Remove dependency on ld.so.
32434 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32436         [BZ # 15553]
32437         * nis/yp_xdr.c (XDRMAXNAME): Define.
32438         (XDRMAXRECORD): Define.
32439         (xdr_domainname): Use XDRMAXNAME.
32440         (xdr_mapname): Likewise.
32441         (xdr_peername): Likewise.
32442         (xdr_keydat): Use XDRMAXRECORD.
32443         (xdr_valdat): Likewise.
32445 2013-05-30  Jeff Law  <law@redhat.com>
32447         [BZ #14256]
32448         * manual/errno.texi (ESTALE): Update to account for more than
32449         just NFS file systems.
32450         * sysdeps/gnu/errlist.c: Regenerated.
32452 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32454         [BZ #15465]
32455         * elf/Makefile (tests): Add tst-null-argv.
32456         (modules-names):  Add tst-null-argv-lib.
32457         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32458         (tst-null-argv-ENV): Set environment for tst-null-argv.
32459         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32460         (RTLD_PROGNAME): New macro.
32461         * elf/tst-null-argv.c: New test case.
32462         * elf/tst-null-argv-lib.c: Library for test case.
32463         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32464         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32465         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32466         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32467         * elf/dl-init.c (call_init): Likewise.
32468         (_dl_init): Likewise.
32469         * elf/dl-load.c (print_search_path): Likewise.
32470         (_dl_map_object): Likewise.
32471         * elf/dl-lookup.c (do_lookup_x): Likewise.
32472         (add_dependency): Likewise.
32473         (_dl_lookup_symbol_x): Likewise.
32474         (_dl_debug_bindings): Likewise.
32475         * elf/dl-open.c (_dl_show_scope): Likewise.
32476         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32477         * elf/dl-version.c (match_symbol): Likewise.
32478         (_dl_check_map_versions): Likewise.
32479         * elf/rtld.c (dl_main): Likewise.
32480         (print_unresolved): Use RTLD_PROGNAME.
32481         (print_missing_version): Likewise.
32482         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32483         (elf_machine_rela): Likewise.
32484         * sysdeps/powerpc/powerpc32/dl-machine.c
32485         (__process_machine_rela): Likewise.
32486         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32487         Likewise.
32488         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32489         Likewise.
32490         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32491         Likewise.
32492         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32493         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32494         Likewise.
32495         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32496         Likewise.
32497         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32499 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32501         * po/be.po: Add descriptive title.
32502         * po/zh_CN.po: Likewise.
32503         * po/header.pot: Likewise.
32505 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32507         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32508         error message.
32509         (enlarge_archive): Likewise.
32511 2013-05-28  Ben North  <ben@redfrontdoor.org>
32513         * manual/arith.texi (frexp): It is the magnitude of the return
32514         value which lies in [0.5, 1), not the return value itself.
32516 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32520 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32522         * stdio-common/bug26.c (main): Correct fscanf template.
32524         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32525         declare _dl_skip_args.
32527         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32528         Don't declare.
32530         * manual/platform.texi: Add missing @end deftypefun.
32532 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32534         [BZ #15529]
32535         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32536         bit of mantissa of 2^16382.
32537         * math/libm-test.inc (hypot_test_data): Add more tests.
32539         * math/libm-test.inc: Add drem and pow10 to list of tested
32540         functions.
32541         (pow10_test): New function.
32542         (drem_test): Likewise.
32543         (drem_test_tonearest): Likewise.
32544         (drem_test_towardzero): Likewise.
32545         (drem_test_downward): Likewise.
32546         (drem_test_upward): Likewise.
32547         (main): Call the new functions.
32549         * math/libm-test.inc (finite_test_data): Remove.
32550         (finite_test): Run tests from isfinite_test_data.
32551         (gamma_test_data): Remove.
32552         (gamma_test): Run tests from lgamma_test_data.
32553         * sysdeps/i386/fpu/libm-test-ulps: Update.
32554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32556 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32558         * manual/platform.texi: Add PowerPC PPR function set documentation.
32559         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32560         implementation.
32562 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32564         * math/libm-test.inc (MAX_EXP): Define.
32565         (ULPDIFF): Define.
32566         (ulp): New function.
32567         (check_float_internal): Use ULPDIFF.
32568         (cpow_test): Disable failing test.
32569         (check_ulp): Test ulp() implemetnation.
32570         (main): Call check_ulp before starting tests.
32572 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32574         * math/gen-libm-test.pl (generate_testfile): Do not handle
32575         START_DATA and END_DATA.
32576         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32577         END_DATA.
32578         (acos_tonearest_test_data): Likewise.
32579         (acos_towardzero_test_data): Likewise.
32580         (acos_downward_test_data): Likewise.
32581         (acos_upward_test_data): Likewise.
32582         (acosh_test_data): Likewise.
32583         (asin_test_data): Likewise.
32584         (asin_tonearest_test_data): Likewise.
32585         (asin_towardzero_test_data): Likewise.
32586         (asin_downward_test_data): Likewise.
32587         (asin_upward_test_data): Likewise.
32588         (asinh_test_data): Likewise.
32589         (atan_test_data): Likewise.
32590         (atanh_test_data): Likewise.
32591         (atan2_test_data): Likewise.
32592         (cabs_test_data): Likewise.
32593         (cacos_test_data): Likewise.
32594         (cacosh_test_data): Likewise.
32595         (carg_test_data): Likewise.
32596         (casin_test_data): Likewise.
32597         (casinh_test_data): Likewise.
32598         (catan_test_data): Likewise.
32599         (catanh_test_data): Likewise.
32600         (cbrt_test_data): Likewise.
32601         (ccos_test_data): Likewise.
32602         (ccosh_test_data): Likewise.
32603         (ceil_test_data): Likewise.
32604         (cexp_test_data): Likewise.
32605         (cimag_test_data): Likewise.
32606         (clog_test_data): Likewise.
32607         (clog10_test_data): Likewise.
32608         (conj_test_data): Likewise.
32609         (copysign_test_data): Likewise.
32610         (cos_test_data): Likewise.
32611         (cos_tonearest_test_data): Likewise.
32612         (cos_towardzero_test_data): Likewise.
32613         (cos_downward_test_data): Likewise.
32614         (cos_upward_test_data): Likewise.
32615         (cosh_test_data): Likewise.
32616         (cosh_tonearest_test_data): Likewise.
32617         (cosh_towardzero_test_data): Likewise.
32618         (cosh_downward_test_data): Likewise.
32619         (cosh_upward_test_data): Likewise.
32620         (cpow_test_data): Likewise.
32621         (cproj_test_data): Likewise.
32622         (creal_test_data): Likewise.
32623         (csin_test_data): Likewise.
32624         (csinh_test_data): Likewise.
32625         (csqrt_test_data): Likewise.
32626         (ctan_test_data): Likewise.
32627         (ctan_tonearest_test_data): Likewise.
32628         (ctan_towardzero_test_data): Likewise.
32629         (ctan_downward_test_data): Likewise.
32630         (ctan_upward_test_data): Likewise.
32631         (ctanh_test_data): Likewise.
32632         (ctanh_tonearest_test_data): Likewise.
32633         (ctanh_towardzero_test_data): Likewise.
32634         (ctanh_downward_test_data): Likewise.
32635         (ctanh_upward_test_data): Likewise.
32636         (erf_test_data): Likewise.
32637         (erfc_test_data): Likewise.
32638         (exp_test_data): Likewise.
32639         (exp_tonearest_test_data): Likewise.
32640         (exp_towardzero_test_data): Likewise.
32641         (exp_downward_test_data): Likewise.
32642         (exp_upward_test_data): Likewise.
32643         (exp10_test_data): Likewise.
32644         (exp2_test_data): Likewise.
32645         (expm1_test_data): Likewise.
32646         (fabs_test_data): Likewise.
32647         (fdim_test_data): Likewise.
32648         (finite_test_data): Likewise.
32649         (floor_test_data): Likewise.
32650         (fma_test_data): Likewise.
32651         (fma_towardzero_test_data): Likewise.
32652         (fma_downward_test_data): Likewise.
32653         (fma_upward_test_data): Likewise.
32654         (fmax_test_data): Likewise.
32655         (fmin_test_data): Likewise.
32656         (fmod_test_data): Likewise.
32657         (fpclassify_test_data): Likewise.
32658         (frexp_test_data): Likewise.
32659         (gamma_test_data): Likewise.
32660         (hypot_test_data): Likewise.
32661         (ilogb_test_data): Likewise.
32662         (isfinite_test_data): Likewise.
32663         (isgreater_test_data): Likewise.
32664         (isgreaterequal_test_data): Likewise.
32665         (isinf_test_data): Likewise.
32666         (isless_test_data): Likewise.
32667         (islessequal_test_data): Likewise.
32668         (islessgreater_test_data): Likewise.
32669         (isnan_test_data): Likewise.
32670         (isnormal_test_data): Likewise.
32671         (issignaling_test_data): Likewise.
32672         (isunordered_test_data): Likewise.
32673         (j0_test_data): Likewise.
32674         (j1_test_data): Likewise.
32675         (jn_test_data): Likewise.
32676         (ldexp_test_data): Likewise.
32677         (lgamma_test_data): Likewise.
32678         (lrint_test_data): Likewise.
32679         (lrint_tonearest_test_data): Likewise.
32680         (lrint_towardzero_test_data): Likewise.
32681         (lrint_downward_test_data): Likewise.
32682         (lrint_upward_test_data): Likewise.
32683         (llrint_test_data): Likewise.
32684         (llrint_tonearest_test_data): Likewise.
32685         (llrint_towardzero_test_data): Likewise.
32686         (llrint_downward_test_data): Likewise.
32687         (llrint_upward_test_data): Likewise.
32688         (log_test_data): Likewise.
32689         (log10_test_data): Likewise.
32690         (log1p_test_data): Likewise.
32691         (log2_test_data): Likewise.
32692         (logb_test_data): Likewise.
32693         (logb_downward_test_data): Likewise.
32694         (lround_test_data): Likewise.
32695         (llround_test_data): Likewise.
32696         (modf_test_data): Likewise.
32697         (nearbyint_test_data): Likewise.
32698         (nextafter_test_data): Likewise.
32699         (nexttoward_test_data): Likewise.
32700         (pow_test_data): Likewise.
32701         (pow_tonearest_test_data): Likewise.
32702         (pow_towardzero_test_data): Likewise.
32703         (pow_downward_test_data): Likewise.
32704         (pow_upward_test_data): Likewise.
32705         (remainder_test_data): Likewise.
32706         (remainder_tonearest_test_data): Likewise.
32707         (remainder_towardzero_test_data): Likewise.
32708         (remainder_downward_test_data): Likewise.
32709         (remainder_upward_test_data): Likewise.
32710         (remquo_test_data): Likewise.
32711         (rint_test_data): Likewise.
32712         (rint_tonearest_test_data): Likewise.
32713         (rint_towardzero_test_data): Likewise.
32714         (rint_downward_test_data): Likewise.
32715         (rint_upward_test_data): Likewise.
32716         (round_test_data): Likewise.
32717         (scalb_test_data): Likewise.
32718         (scalbn_test_data): Likewise.
32719         (scalbln_test_data): Likewise.
32720         (signbit_test_data): Likewise.
32721         (sin_test_data): Likewise.
32722         (sin_tonearest_test_data): Likewise.
32723         (sin_towardzero_test_data): Likewise.
32724         (sin_downward_test_data): Likewise.
32725         (sin_upward_test_data): Likewise.
32726         (sincos_test_data): Likewise.
32727         (sinh_test_data): Likewise.
32728         (sinh_tonearest_test_data): Likewise.
32729         (sinh_towardzero_test_data): Likewise.
32730         (sinh_downward_test_data): Likewise.
32731         (sinh_upward_test_data): Likewise.
32732         (sqrt_test_data): Likewise.
32733         (tan_test_data): Likewise.
32734         (tan_tonearest_test_data): Likewise.
32735         (tan_towardzero_test_data): Likewise.
32736         (tan_downward_test_data): Likewise.
32737         (tan_upward_test_data): Likewise.
32738         (tanh_test_data): Likewise.
32739         (tgamma_test_data): Likewise.
32740         (trunc_test_data): Likewise.
32741         (y0_test_data): Likewise.
32742         (y1_test_data): Likewise.
32743         (yn_test_data): Likewise.
32744         (significand_test_data): Likewise.
32746         * math/gen-libm-test.pl (@functions): Remove variable.
32747         (generate_testfile): Don't handle START and END lines.
32748         * math/libm-test.inc (START): New macro.
32749         (END): Likewise.
32750         (END_COMPLEX): Likewise.
32751         (acos_test): Use END macro without arguments.
32752         (acos_test_tonearest): Likewise.
32753         (acos_test_towardzero): Likewise.
32754         (acos_test_downward): Likewise.
32755         (acos_test_upward): Likewise.
32756         (acosh_test): Likewise.
32757         (asin_test): Likewise.
32758         (asin_test_tonearest): Likewise.
32759         (asin_test_towardzero): Likewise.
32760         (asin_test_downward): Likewise.
32761         (asin_test_upward): Likewise.
32762         (asinh_test): Likewise.
32763         (atan_test): Likewise.
32764         (atanh_test): Likewise.
32765         (atan2_test): Likewise.
32766         (cabs_test): Likewise.
32767         (cacos_test): Use END_COMPLEX macro without arguments.
32768         (cacosh_test): Likewise.
32769         (carg_test): Use END macro without arguments.
32770         (casin_test): Use END_COMPLEX macro without arguments.
32771         (casinh_test): Likewise.
32772         (catan_test): Likewise.
32773         (catanh_test): Likewise.
32774         (cbrt_test): Use END macro without arguments.
32775         (ccos_test): Use END_COMPLEX macro without arguments.
32776         (ccosh_test): Likewise.
32777         (ceil_test): Use END macro without arguments.
32778         (cexp_test): Use END_COMPLEX macro without arguments.
32779         (cimag_test): Use END macro without arguments.
32780         (clog_test): Use END_COMPLEX macro without arguments.
32781         (clog10_test): Likewise.
32782         (conj_test): Likewise.
32783         (copysign_test): Use END macro without arguments.
32784         (cos_test): Likewise.
32785         (cos_test_tonearest): Likewise.
32786         (cos_test_towardzero): Likewise.
32787         (cos_test_downward): Likewise.
32788         (cos_test_upward): Likewise.
32789         (cosh_test): Likewise.
32790         (cosh_test_tonearest): Likewise.
32791         (cosh_test_towardzero): Likewise.
32792         (cosh_test_downward): Likewise.
32793         (cosh_test_upward): Likewise.
32794         (cpow_test): Use END_COMPLEX macro without arguments.
32795         (cproj_test): Likewise.
32796         (creal_test): Use END macro without arguments.
32797         (csin_test): Use END_COMPLEX macro without arguments.
32798         (csinh_test): Likewise.
32799         (csqrt_test): Likewise.
32800         (ctan_test): Likewise.
32801         (ctan_test_tonearest): Likewise.
32802         (ctan_test_towardzero): Likewise.
32803         (ctan_test_downward): Likewise.
32804         (ctan_test_upward): Likewise.
32805         (ctanh_test): Likewise.
32806         (ctanh_test_tonearest): Likewise.
32807         (ctanh_test_towardzero): Likewise.
32808         (ctanh_test_downward): Likewise.
32809         (ctanh_test_upward): Likewise.
32810         (erf_test): Use END macro without arguments.
32811         (erfc_test): Likewise.
32812         (exp_test): Likewise.
32813         (exp_test_tonearest): Likewise.
32814         (exp_test_towardzero): Likewise.
32815         (exp_test_downward): Likewise.
32816         (exp_test_upward): Likewise.
32817         (exp10_test): Likewise.
32818         (exp2_test): Likewise.
32819         (expm1_test): Likewise.
32820         (fabs_test): Likewise.
32821         (fdim_test): Likewise.
32822         (finite_test): Likewise.
32823         (floor_test): Likewise.
32824         (fma_test): Likewise.
32825         (fma_test_towardzero): Likewise.
32826         (fma_test_downward): Likewise.
32827         (fma_test_upward): Likewise.
32828         (fmax_test): Likewise.
32829         (fmin_test): Likewise.
32830         (fmod_test): Likewise.
32831         (fpclassify_test): Likewise.
32832         (frexp_test): Likewise.
32833         (gamma_test): Likewise.
32834         (hypot_test): Likewise.
32835         (ilogb_test): Likewise.
32836         (isfinite_test): Likewise.
32837         (isgreater_test): Likewise.
32838         (isgreaterequal_test): Likewise.
32839         (isinf_test): Likewise.
32840         (isless_test): Likewise.
32841         (islessequal_test): Likewise.
32842         (islessgreater_test): Likewise.
32843         (isnan_test): Likewise.
32844         (isnormal_test): Likewise.
32845         (issignaling_test): Likewise.
32846         (isunordered_test): Likewise.
32847         (j0_test): Likewise.
32848         (j1_test): Likewise.
32849         (jn_test): Likewise.
32850         (ldexp_test): Likewise.
32851         (lgamma_test): Likewise.
32852         (lrint_test): Likewise.
32853         (lrint_test_tonearest): Likewise.
32854         (lrint_test_towardzero): Likewise.
32855         (lrint_test_downward): Likewise.
32856         (lrint_test_upward): Likewise.
32857         (llrint_test): Likewise.
32858         (llrint_test_tonearest): Likewise.
32859         (llrint_test_towardzero): Likewise.
32860         (llrint_test_downward): Likewise.
32861         (llrint_test_upward): Likewise.
32862         (log_test): Likewise.
32863         (log10_test): Likewise.
32864         (log1p_test): Likewise.
32865         (log2_test): Likewise.
32866         (logb_test): Likewise.
32867         (logb_test_downward): Likewise.
32868         (lround_test): Likewise.
32869         (llround_test): Likewise.
32870         (modf_test): Likewise.
32871         (nearbyint_test): Likewise.
32872         (nextafter_test): Likewise.
32873         (nexttoward_test): Likewise.
32874         (pow_test): Likewise.
32875         (pow_test_tonearest): Likewise.
32876         (pow_test_towardzero): Likewise.
32877         (pow_test_downward): Likewise.
32878         (pow_test_upward): Likewise.
32879         (remainder_test): Likewise.
32880         (remainder_test_tonearest): Likewise.
32881         (remainder_test_towardzero): Likewise.
32882         (remainder_test_downward): Likewise.
32883         (remainder_test_upward): Likewise.
32884         (remquo_test): Likewise.
32885         (rint_test): Likewise.
32886         (rint_test_tonearest): Likewise.
32887         (rint_test_towardzero): Likewise.
32888         (rint_test_downward): Likewise.
32889         (rint_test_upward): Likewise.
32890         (round_test): Likewise.
32891         (scalb_test): Likewise.
32892         (scalbn_test): Likewise.
32893         (scalbln_test): Likewise.
32894         (signbit_test): Likewise.
32895         (sin_test): Likewise.
32896         (sin_test_tonearest): Likewise.
32897         (sin_test_towardzero): Likewise.
32898         (sin_test_downward): Likewise.
32899         (sin_test_upward): Likewise.
32900         (sincos_test): Likewise.
32901         (sinh_test): Likewise.
32902         (sinh_test_tonearest): Likewise.
32903         (sinh_test_towardzero): Likewise.
32904         (sinh_test_downward): Likewise.
32905         (sinh_test_upward): Likewise.
32906         (sqrt_test): Likewise.
32907         (tan_test): Likewise.
32908         (tan_test_tonearest): Likewise.
32909         (tan_test_towardzero): Likewise.
32910         (tan_test_downward): Likewise.
32911         (tan_test_upward): Likewise.
32912         (tanh_test): Likewise.
32913         (tgamma_test): Likewise.
32914         (trunc_test): Likewise.
32915         (y0_test): Likewise.
32916         (y1_test): Likewise.
32917         (yn_test): Likewise.
32918         (significand_test): Likewise.
32920 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32922         [BZ #15381]
32923         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32925 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32927         [BZ #14894]
32928         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32929         __ppc_mdoio and __ppc_mdoom.
32930         * manual/platform.texi: Document new functions __ppc_yield,
32931         __ppc_mdoio and __ppc_mdoom.
32933 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32935         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32936         (main): Mention "tls" pseudo-hwcap is legacy.
32937         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32939 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32941         * math/gen-libm-test.pl (parse_args): Output only string of
32942         arguments as text for test name, not full call or descriptions of
32943         tests for extra outputs.
32944         (generate_testfile): Do not pass function name to parse_args.
32945         Generate this_func variable from START.
32946         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32947         field to arg_str.
32948         (struct test_ff_f_data): Likewise.
32949         (test_ff_f_data_nexttoward): Likewise.
32950         (struct test_fi_f_data): Likewise.
32951         (struct test_fl_f_data): Likewise.
32952         (struct test_if_f_data): Likewise.
32953         (struct test_fff_f_data): Likewise.
32954         (struct test_c_f_data): Likewise.
32955         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32956         (struct test_fF_f1_data): Likewise.
32957         (struct test_ffI_f1_data): Likewise.
32958         (struct test_c_c_data): Rename test_name field to arg_str.
32959         (struct test_cc_c_data): Likewise.
32960         (struct test_f_i_data): Likewise.
32961         (struct test_ff_i_data): Likewise.
32962         (struct test_f_l_data): Likewise.
32963         (struct test_f_L_data): Likewise.
32964         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32965         and extra2_name.
32966         (COMMON_TEST_SETUP): New macro.
32967         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32968         (COMMON_TEST_CLEANUP): Likewise.
32969         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32970         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32971         macros.
32972         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32973         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32974         macros.
32975         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32976         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32977         cleanup macros.
32978         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32979         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32980         macros.
32981         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32982         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32983         macros.
32984         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32985         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32986         cleanup macros.
32987         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32988         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32989         cleanup macros.
32990         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32991         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32992         cleanup macros.
32993         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32994         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32995         macros.
32996         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32997         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32998         macros.
32999         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33000         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33001         macros.
33002         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33003         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33004         cleanup macros.
33005         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33006         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33007         cleanup macros.
33008         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33009         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33010         macros.
33011         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33012         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33013         cleanup macros.
33014         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33015         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33016         macros.
33017         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33018         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33019         macros.
33020         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33021         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33022         cleanup macros.
33023         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33025 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33027         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33028         to _sifields.sigfault.
33029         (si_addr_lsb): Define new macro.
33030         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33031         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33032         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33034 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33036         [BZ #15441]
33037         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33038         returns -1.
33039         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33040         null return -1.
33041         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33042         loading the domain.
33044 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33046         * math/gen-libm-test.pl (parse_args): Do not include expected
33047         result in test name.
33048         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33049         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33050         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33051         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33052         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33055 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33057         * benchtests/Makefile: Sort function entries.
33059         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33060         tanh, asinh, acosh, atanh.
33061         * benchtests/acos-inputs: New file.
33062         * benchtests/acosh-inputs: New file.
33063         * benchtests/asin-inputs: New file.
33064         * benchtests/asinh-inputs: New file.
33065         * benchtests/atanh-inputs: New file.
33066         * benchtests/cosh-inputs: New file.
33067         * benchtests/log-inputs: New file.
33068         * benchtests/sinh-inputs: New file.
33069         * benchtests/tanh-inputs: New file.
33071 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33073         [BZ #15339]
33074         * posix/tst-getaddrinfo4.c: New test.
33075         * posix/Makefile (tests): Add it.
33077 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33079         [BZ #15339]
33080         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33081         when no services were used.
33082         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33083         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33085 2013-05-21  Andreas Schwab  <schwab@suse.de>
33087         [BZ #15014]
33088         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33089         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33090         successful.
33091         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33092         redundant variable declarations and reallocation of buffer when
33093         parsing as IPv6 address.  Always set NSS status when called from
33094         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33095         buffer too small.  Correct computation of needed size.
33096         * nss/Makefile (tests): Add test-digits-dots.
33097         * nss/test-digits-dots.c: New test.
33099 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33101         * benchtests/Makefile: Remove instructions for adding
33102         benchmark tests.
33103         * benchtests/README: New file to explain how to execute and
33104         enhance the benchmark tests.
33106 2013-05-21  Andreas Schwab  <schwab@suse.de>
33108         [BZ #15493]
33109         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33110         * setjmp/tst-sigsetjmp.c: New test.
33112 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33114         * sysdeps/x86_64/memset.S (memset): New implementation.
33115         (__bzero): Likewise.
33116         (__memset_tail): New function.
33118 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33120         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33121         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33122         __memcpy_sse2_unaligned ifunc selection.
33123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33124         Add memcpy-sse2-unaligned.S.
33125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33126         Add: __memcpy_sse2_unaligned.
33128 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33130         [BZ #15490]
33131         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33132         math_force_eval before restoring floating-point envrionment.
33133         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33134         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33135         Likewise.
33136         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33137         <math_private.h>.
33138         (__nearbyintl): Use math_force_eval before restoring
33139         floating-point environment.
33140         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33142         * math/gen-libm-test.pl (special_functions): Remove.
33143         (parse_args): Don't handle TEST_extra.  Handle functions with no
33144         return value.
33145         * math/libm-test.inc (struct test_sincos_data): Replace with
33146         struct test_fFF_11_data.
33147         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33148         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33149         (sincos_test_data): Change element type to struct
33150         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33151         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33152         RUN_TEST_LOOP_sincos.
33153         * math/README.libm-test: Don't mention special handling of
33154         individual functions.
33155         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33156         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33157         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33158         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33159         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33162         * math/gen-libm-test.pl (get_variable): Remove function.
33163         (parse_args): Don't show pointer parameters to call in test
33164         names.  Use "extra output N" in test names for extra outputs
33165         rather than naming variables.
33167 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33169         [BZ #15488]
33170         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33171         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33172         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33173         double tests.
33174         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33175         disable.
33176         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33177         check_long_double.
33179         * math/gen-libm-test.pl (@tests): Remove variable.
33180         ($count): Likewise.
33181         (new_test): Remove function.
33182         (show_exceptions): New function.
33183         (special_functions): Use show_exceptions instead of new_test.
33184         (parse_args): Likewise.
33185         (generate_testfile): Pass only function name in generated call to
33186         print_max_error or print_complex_max_error.
33187         (get_ulps): Do not handle complex tests specially.
33188         (output_test): Rename to ...
33189         (get_all_ulps_for_test): ... this.  Return a string rather than
33190         printing to a file.  Require ulps to be present.
33191         (output_ulps): Generate arrays rather than #defines.
33192         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33193         (struct ulp_data): New type.
33194         (BUILD_COMPLEX_ULP): Remove macro.
33195         (compare_ulp_data): New function.
33196         (find_ulps): Likewise.
33197         (find_test_ulps): Likewise.
33198         (find_function_ulps): Likewise.
33199         (find_complex_function_ulps): Likewise.
33200         (print_max_error): Determine allowed ulps using
33201         find_function_ulps.
33202         (print_complex_max_error): Determine allowed ulps using
33203         find_complex_function_ulps.
33204         (check_float_internal): Determine max ulps using find_test_ulps.
33205         (check_float): Do not take max_ulp parameter.  Update call to
33206         check_float_internal.
33207         (check_complex): Likewise.
33208         (check_int): Do not take max_ulp parameter.
33209         (check_long): Likewise.
33210         (check_bool): Likewise.
33211         (check_longlong): Likewise.
33212         (struct test_f_f_data): Remove max_ulp field.
33213         (struct test_ff_f_data): Likewise.
33214         (struct test_ff_f_data_nexttoward): Likewise.
33215         (struct test_fi_f_data): Likewise.
33216         (struct test_fl_f_data): Likewise.
33217         (struct test_if_f_data): Likewise.
33218         (struct test_fff_f_data): Likewise.
33219         (struct test_c_f_data): Likewise.
33220         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33221         (struct test_fF_f1_data): Likewise.
33222         (struct test_ffI_f1_data): Likewise.
33223         (struct test_c_c_data): Remove max_ulp field.
33224         (struct test_cc_c_data): Likewise.
33225         (struct test_f_i_data): Likewise.
33226         (struct test_ff_i_data): Likewise.
33227         (struct test_f_l_data): Likewise.
33228         (struct test_f_L_data): Likewise.
33229         (struct test_sincos_data): Likewise.
33230         (RUN_TEST_f_f): Do not handle ulps.
33231         (RUN_TEST_LOOP_f_f): Likewise.
33232         (RUN_TEST_2_f): Likewise.
33233         (RUN_TEST_LOOP_2_f): Likewise.
33234         (RUN_TEST_fff_f): Likewise.
33235         (RUN_TEST_LOOP_fff_f): Likewise.
33236         (RUN_TEST_c_f): Likewise.
33237         (RUN_TEST_LOOP_c_f): Likewise.
33238         (RUN_TEST_f_f1): Likewise.
33239         (RUN_TEST_LOOP_f_f1): Likewise.
33240         (RUN_TEST_fF_f1): Likewise.
33241         (RUN_TEST_LOOP_fF_f1): Likewise.
33242         (RUN_TEST_fI_f1): Likewise.
33243         (RUN_TEST_LOOP_fI_f1): Likewise.
33244         (RUN_TEST_ffI_f1): Likewise.
33245         (RUN_TEST_LOOP_ffI_f1): Likewise.
33246         (RUN_TEST_c_c): Likewise.
33247         (RUN_TEST_LOOP_c_c): Likewise.
33248         (RUN_TEST_cc_c): Likewise.
33249         (RUN_TEST_LOOP_cc_c): Likewise.
33250         (RUN_TEST_f_i): Likewise.
33251         (RUN_TEST_LOOP_f_i): Likewise.
33252         (RUN_TEST_f_i_tg): Likewise.
33253         (RUN_TEST_LOOP_f_i_tg): Likewise.
33254         (RUN_TEST_ff_i_tg): Likewise.
33255         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33256         (RUN_TEST_f_b): Likewise.
33257         (RUN_TEST_LOOP_f_b): Likewise.
33258         (RUN_TEST_f_b_tg): Likewise.
33259         (RUN_TEST_LOOP_f_b_tg): Likewise.
33260         (RUN_TEST_f_l): Likewise.
33261         (RUN_TEST_LOOP_f_l): Likewise.
33262         (RUN_TEST_f_L): Likewise.
33263         (RUN_TEST_LOOP_f_L): Likewise.
33264         (RUN_TEST_sincos): Likewise.
33265         (RUN_TEST_LOOP_sincos): Likewise.
33267 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33269         [BZ #15480]
33270         [BZ #15485]
33271         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33272         main case of finite arguments, set rounding mode to FE_TONEAREST
33273         and discard exceptions.
33274         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33275         exceptions.
33276         (remainder_tonearest_test_data): New variable.
33277         (remainder_test_tonearest): New function.
33278         (remainder_towardzero_test_data): New variable.
33279         (remainder_test_towardzero): New function.
33280         (remainder_downward_test_data): New variable.
33281         (remainder_test_downward): New function.
33282         (remainder_upward_test_data): New variable.
33283         (remainder_test_upward): New function.
33284         (main): Call the new test functions.
33286         * math/libm-test.inc (struct test_f_f1_data): Remove field
33287         extra_init.
33288         (struct test_fF_f1_data): Likewise.
33289         (struct test_ffI_f1_data): Likewise.
33290         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33291         based on value of EXTRA_EXPECTED.
33292         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33293         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33294         EXTRA_VAR based on value of EXTRA_EXPECTED.
33295         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33296         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33297         EXTRA_VAR based on value of EXTRA_EXPECTED.
33298         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33299         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33300         EXTRA_VAR based on value of EXTRA_EXPECTED.
33301         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33302         * math/gen-libm-test.pl (parse_args): Don't output initializers
33303         for extra output values.
33305         * math/libm-test.inc (check_int): Expect result to be exactly
33306         equal to expected value and do not handle ulps.
33307         (check_long): Likewise.
33308         (check_longlong): Likewise.
33310         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33311         exceptions.
33312         (cimag_test_data): Likewise.
33313         (conj_test_data): Likewise.
33314         (copysign_test_data): Likewise.
33315         (cproj_test_data): Likewise.
33316         (creal_test_data): Likewise.
33317         (fabs_test_data): Likewise.
33318         (fdim_test_data): Likewise.
33319         (finite_test_data): Likewise.
33320         (floor_test_data): Likewise.
33321         (fmax_test_data): Likewise.
33322         (fmin_test_data): Likewise.
33323         (fmod_test_data): Likewise.
33324         (fpclassify_test_data): Likewise.
33325         (frexp_test_data): Likewise.
33326         (ilogb_test_data): Likewise.
33327         (isfinite_test_data): Likewise.
33328         (isgreater_test_data): Likewise.
33329         (isgreaterequal_test_data): Likewise.
33330         (isinf_test_data): Likewise.
33331         (isless_test_data): Likewise.
33332         (islessequal_test_data): Likewise.
33333         (islessgreater_test_data): Likewise.
33334         (isnan_test_data): Likewise.
33335         (isnormal_test_data): Likewise.
33336         (issignaling_test_data): Likewise.
33337         (isunordered_test_data): Likewise.
33338         (ldexp_test_data): Likewise.
33339         (lrint_test_data): Likewise.
33340         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33341         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33342         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33343         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33344         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33345         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33346         test input.
33347         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33348         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33349         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33350         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33351         that test input.
33352         (lrint_downward_test_data): Test for "inexact" exceptions.
33353         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33354         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33355         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33356         test input.
33357         (lrint_upward_test_data): Test for "inexact" exceptions.
33358         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33359         test input.
33360         (llrint_test_data): Test for "inexact" exceptions.
33361         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33362         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33363         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33364         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33365         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33366         (llrint_downward_test_data): Test for "inexact" exceptions.
33367         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33368         (llrint_upward_test_data): Test for "inexact" exceptions.
33369         (logb_test_data): Likewise.
33370         (logb_downward_test_data): Likewise.
33371         (nextafter_test_data): Likewise.
33372         (nexttoward_test_data): Likewise.
33373         (remainder_test_data): Likewise.
33374         (remquo_test_data): Likewise.
33375         (scalbn_test_data): Likewise.
33376         (scalbln_test_data): Likewise.
33377         (signbit_test_data): Likewise.
33378         (sqrt_test_data): Likewise.
33379         (significand_test_data): Likewise.
33381 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33383         [BZ #15424]
33384         * benchtests/bench-modf.c (struct args): Mark arg0 as
33385         volatile.
33386         * scripts/bench.pl: Mark members of struct args as volatile.
33388 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33390         [BZ # 15497]
33391         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33392         negative infinity on POWER6 or lower.
33393         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33395 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33397         [BZ #15442]
33398         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33399         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33400         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33401         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33402         (_FP_SETQNAN): New macro.
33403         (_FP_SETQNAN_SEMIRAW): Likewise.
33404         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33405         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33406         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33407         (FP_EXTEND): Use _FP_FRAC_SNANP.
33408         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33409         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33410         into account.
33411         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33412         New macro.
33413         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33414         Likewise.
33416 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33418         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33419         with DIVIDE_BY_ZERO_EXCEPTION.
33420         (gamma_test_data): Likewise.
33421         (lgamma_test_data): Likewise.
33422         (log_test_data): Likewise.
33423         (log10_test_data): Likewise.
33424         (log2_test_data): Likewise.
33425         (tgamma_test_data): Likewise.
33427         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33428         (acos_test_tonearest): Likewise.
33429         (acos_test_towardzero): Likewise.
33430         (acos_test_downward): Likewise.
33431         (acos_test_upward): Likewise.
33432         (acosh_test): Likewise.
33433         (asin_test): Likewise.
33434         (asin_test_tonearest): Likewise.
33435         (asin_test_towardzero): Likewise.
33436         (asin_test_downward): Likewise.
33437         (asin_test_upward): Likewise.
33438         (asinh_test): Likewise.
33439         (atan_test): Likewise.
33440         (atanh_test): Likewise.
33441         (atan2_test): Likewise.
33442         (cabs_test): Likewise.
33443         (cacos_test): Likewise.
33444         (cacosh_test): Likewise.
33445         (casin_test): Likewise.
33446         (casinh_test): Likewise.
33447         (catan_test): Likewise.
33448         (catanh_test): Likewise.
33449         (cbrt_test): Likewise.
33450         (ccos_test): Likewise.
33451         (ccosh_test): Likewise.
33452         (cexp_test): Likewise.
33453         (clog_test): Likewise.
33454         (clog10_test): Likewise.
33455         (cos_test): Likewise.
33456         (cos_test_tonearest): Likewise.
33457         (cos_test_towardzero): Likewise.
33458         (cos_test_downward): Likewise.
33459         (cos_test_upward): Likewise.
33460         (cosh_test): Likewise.
33461         (cosh_test_tonearest): Likewise.
33462         (cosh_test_towardzero): Likewise.
33463         (cosh_test_downward): Likewise.
33464         (cosh_test_upward): Likewise.
33465         (cpow_test): Likewise.
33466         (csin_test): Likewise.
33467         (csinh_test): Likewise.
33468         (csqrt_test): Likewise.
33469         (ctan_test): Likewise.
33470         (ctan_test_tonearest): Likewise.
33471         (ctan_test_towardzero): Likewise.
33472         (ctan_test_downward): Likewise.
33473         (ctan_test_upward): Likewise.
33474         (ctanh_test): Likewise.
33475         (ctanh_test_tonearest): Likewise.
33476         (ctanh_test_towardzero): Likewise.
33477         (ctanh_test_downward): Likewise.
33478         (ctanh_test_upward): Likewise.
33479         (erf_test): Likewise.
33480         (erfc_test): Likewise.
33481         (exp_test): Likewise.
33482         (exp_test_tonearest): Likewise.
33483         (exp_test_towardzero): Likewise.
33484         (exp_test_downward): Likewise.
33485         (exp_test_upward): Likewise.
33486         (exp10_test): Likewise.
33487         (exp2_test): Likewise.
33488         (expm1_test): Likewise.
33489         (fmod_test): Likewise.
33490         (gamma_test): Likewise.
33491         (hypot_test): Likewise.
33492         (j0_test): Likewise.
33493         (j1_test): Likewise.
33494         (jn_test): Likewise.
33495         (lgamma_test): Likewise.
33496         (log_test): Likewise.
33497         (log10_test): Likewise.
33498         (log1p_test): Likewise.
33499         (log2_test): Likewise.
33500         (logb_test_downward): Likewise.
33501         (pow_test): Likewise.
33502         (pow_test_tonearest): Likewise.
33503         (pow_test_towardzero): Likewise.
33504         (pow_test_downward): Likewise.
33505         (pow_test_upward): Likewise.
33506         (remainder_test): Likewise.
33507         (remquo_test): Likewise.
33508         (sin_test): Likewise.
33509         (sin_test_tonearest): Likewise.
33510         (sin_test_towardzero): Likewise.
33511         (sin_test_downward): Likewise.
33512         (sin_test_upward): Likewise.
33513         (sincos_test): Likewise.
33514         (sinh_test): Likewise.
33515         (sinh_test_tonearest): Likewise.
33516         (sinh_test_towardzero): Likewise.
33517         (sinh_test_downward): Likewise.
33518         (sinh_test_upward): Likewise.
33519         (sqrt_test): Likewise.
33520         (tan_test): Likewise.
33521         (tan_test_tonearest): Likewise.
33522         (tan_test_towardzero): Likewise.
33523         (tan_test_downward): Likewise.
33524         (tan_test_upward): Likewise.
33525         (tanh_test): Likewise.
33526         (tgamma_test): Likewise.
33527         (y0_test): Likewise.
33528         (y1_test): Likewise.
33529         (yn_test): Likewise.
33531         * math/gen-libm-test.pl (adjust_arg): Remove function.
33532         (special_function): Remove argument $in_func.  Only handle
33533         generating output for tables of tests, not inside functions.
33534         (parse_args): Likewise.
33535         (generate_testfile): Remove variable $in_func.  Update call to
33536         parse_args.
33537         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33538         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33539         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33540         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33541         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33542         (MAX_VALUE_INIT): Rename macro to max_value.
33543         (MIN_VALUE_INIT): Rename macro to min_value.
33544         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33545         (plus_zero): Remove variable.
33546         (minus_zero): Likewise.
33547         (plus_infty): Likewise.
33548         (minus_infty): Likewise.
33549         (qnan_value): Likewise.
33550         (max_value): Likewise.
33551         (min_value): Likewise.
33552         (min_subnorm_value): Likewise.
33554 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33556         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33557         uint64_t or uint32_t usage.
33558         * crypt/sha256-block.c: Likewise.
33559         * crypt/sha256-crypt.c: Likewise.
33560         * crypt/sha256.c: Likewise.
33561         * crypt/sha512-block.c: Likewise.
33562         * crypt/sha512-crypt.c: Likewise.
33563         * crypt/sha512.c: Likewise.
33564         * debug/backtrace-tst.c: Likewise.
33565         * debug/pcprofiledump.c: Likewise.
33566         * elf/cache.c: Likewise.
33567         * elf/dl-cache.c: Likewise.
33568         * elf/dl-misc.c: Likewise.
33569         * elf/dl-profile.c: Likewise.
33570         * elf/dl-support.c: Likewise.
33571         * elf/ldconfig.c: Likewise.
33572         * elf/sprof.c: Likewise.
33573         * iconv/dummy-repertoire.c: Likewise.
33574         * iconv/iconv_charmap.c: Likewise.
33575         * iconv/skeleton.c: Likewise.
33576         * iconvdata/8bit-generic.c: Likewise.
33577         * iconvdata/cp737.h: Likewise.
33578         * iconvdata/cp775.h: Likewise.
33579         * iconvdata/ibm1008.h: Likewise.
33580         * iconvdata/ibm1025.h: Likewise.
33581         * iconvdata/ibm1046.h: Likewise.
33582         * iconvdata/ibm1097.h: Likewise.
33583         * iconvdata/ibm1112.h: Likewise.
33584         * iconvdata/ibm1122.h: Likewise.
33585         * iconvdata/ibm1123.h: Likewise.
33586         * iconvdata/ibm1124.h: Likewise.
33587         * iconvdata/ibm1129.h: Likewise.
33588         * iconvdata/ibm1130.h: Likewise.
33589         * iconvdata/ibm1132.h: Likewise.
33590         * iconvdata/ibm1133.h: Likewise.
33591         * iconvdata/ibm1137.h: Likewise.
33592         * iconvdata/ibm1140.h: Likewise.
33593         * iconvdata/ibm1141.h: Likewise.
33594         * iconvdata/ibm1142.h: Likewise.
33595         * iconvdata/ibm1143.h: Likewise.
33596         * iconvdata/ibm1144.h: Likewise.
33597         * iconvdata/ibm1145.h: Likewise.
33598         * iconvdata/ibm1146.h: Likewise.
33599         * iconvdata/ibm1147.h: Likewise.
33600         * iconvdata/ibm1148.h: Likewise.
33601         * iconvdata/ibm1149.h: Likewise.
33602         * iconvdata/ibm1153.h: Likewise.
33603         * iconvdata/ibm1154.h: Likewise.
33604         * iconvdata/ibm1155.h: Likewise.
33605         * iconvdata/ibm1156.h: Likewise.
33606         * iconvdata/ibm1157.h: Likewise.
33607         * iconvdata/ibm1158.h: Likewise.
33608         * iconvdata/ibm1160.h: Likewise.
33609         * iconvdata/ibm1161.h: Likewise.
33610         * iconvdata/ibm1162.h: Likewise.
33611         * iconvdata/ibm1163.h: Likewise.
33612         * iconvdata/ibm1164.h: Likewise.
33613         * iconvdata/ibm1166.h: Likewise.
33614         * iconvdata/ibm1167.h: Likewise.
33615         * iconvdata/ibm12712.h: Likewise.
33616         * iconvdata/ibm1390.h: Likewise.
33617         * iconvdata/ibm1399.h: Likewise.
33618         * iconvdata/ibm16804.h: Likewise.
33619         * iconvdata/ibm4517.h: Likewise.
33620         * iconvdata/ibm4899.h: Likewise.
33621         * iconvdata/ibm4909.h: Likewise.
33622         * iconvdata/ibm4971.h: Likewise.
33623         * iconvdata/ibm5347.h: Likewise.
33624         * iconvdata/ibm803.h: Likewise.
33625         * iconvdata/ibm856.h: Likewise.
33626         * iconvdata/ibm901.h: Likewise.
33627         * iconvdata/ibm902.h: Likewise.
33628         * iconvdata/ibm9030.h: Likewise.
33629         * iconvdata/ibm9066.h: Likewise.
33630         * iconvdata/ibm921.h: Likewise.
33631         * iconvdata/ibm922.h: Likewise.
33632         * iconvdata/ibm9448.h: Likewise.
33633         * iconvdata/isiri-3342.h: Likewise.
33634         * iconvdata/jis0201.h: Likewise.
33635         * include/link.h: Likewise.
33636         * include/netdb.h: Likewise.
33637         * inet/check_native.c: Likewise.
33638         * inet/check_pf.c: Likewise.
33639         * inet/getipv4sourcefilter.c: Likewise.
33640         * inet/getnameinfo.c: Likewise.
33641         * inet/getsourcefilter.c: Likewise.
33642         * inet/htonl.c: Likewise.
33643         * inet/setipv4sourcefilter.c: Likewise.
33644         * inet/setsourcefilter.c: Likewise.
33645         * inet/test-inet6_opt.c: Likewise.
33646         * inet/tst-network.c: Likewise.
33647         * locale/C-collate.c: Likewise.
33648         * locale/C-ctype.c: Likewise.
33649         * locale/C-time.c: Likewise.
33650         * locale/C-translit.h: Likewise.
33651         * locale/loadarchive.c: Likewise.
33652         * locale/programs/3level.h: Likewise.
33653         * locale/programs/charmap.c: Likewise.
33654         * locale/programs/charmap.h: Likewise.
33655         * locale/programs/ld-address.c: Likewise.
33656         * locale/programs/ld-collate.c: Likewise.
33657         * locale/programs/ld-ctype.c: Likewise.
33658         * locale/programs/ld-identification.c: Likewise.
33659         * locale/programs/ld-measurement.c: Likewise.
33660         * locale/programs/ld-messages.c: Likewise.
33661         * locale/programs/ld-monetary.c: Likewise.
33662         * locale/programs/ld-name.c: Likewise.
33663         * locale/programs/ld-numeric.c: Likewise.
33664         * locale/programs/ld-paper.c: Likewise.
33665         * locale/programs/ld-telephone.c: Likewise.
33666         * locale/programs/ld-time.c: Likewise.
33667         * locale/programs/linereader.c: Likewise.
33668         * locale/programs/locale.c: Likewise.
33669         * locale/programs/locarchive.c: Likewise.
33670         * locale/programs/locfile.h: Likewise.
33671         * locale/programs/repertoire.c: Likewise.
33672         * locale/programs/simple-hash.c: Likewise.
33673         * locale/programs/simple-hash.h: Likewise.
33674         * malloc/memusage.c: Likewise.
33675         * malloc/memusagestat.c: Likewise.
33676         * nis/nis_defaults.c: Likewise.
33677         * nis/nis_hash.c: Likewise.
33678         * nis/nis_print.c: Likewise.
33679         * nis/nis_xdr.c: Likewise.
33680         * nscd/connections.c: Likewise.
33681         * nscd/hstcache.c: Likewise.
33682         * nscd/nscd_gethst_r.c: Likewise.
33683         * nscd/nscd_getserv_r.c: Likewise.
33684         * nscd/nscd_helper.c: Likewise.
33685         * nscd/servicescache.c: Likewise.
33686         * nss/makedb.c: Likewise.
33687         * nss/nss_db/db-XXX.c: Likewise.
33688         * nss/nss_db/db-initgroups.c: Likewise.
33689         * nss/nss_db/db-netgrp.c: Likewise.
33690         * nss/nss_files/files-network.c: Likewise.
33691         * nss/nss_files/files-parse.c: Likewise.
33692         * posix/bug-regex5.c: Likewise.
33693         * posix/fnmatch_loop.c: Likewise.
33694         * posix/regcomp.c: Likewise.
33695         * posix/regexec.c: Likewise.
33696         * posix/tst-rfc3484-2.c: Likewise.
33697         * posix/tst-rfc3484-3.c: Likewise.
33698         * posix/tst-rfc3484.c: Likewise.
33699         * resolv/nss_dns/dns-canon.c: Likewise.
33700         * resolv/nss_dns/dns-network.c: Likewise.
33701         * resolv/res_init.c: Likewise.
33702         * resolv/res_mkquery.c: Likewise.
33703         * resolv/tst-aton.c: Likewise.
33704         * stdlib/cxa_atexit.c: Likewise.
33705         * stdlib/cxa_finalize.c: Likewise.
33706         * stdlib/gen-fpioconst.c: Likewise.
33707         * stdlib/strtol_l.c: Likewise.
33708         * string/tst-endian.c: Likewise.
33709         * sunrpc/auth_des.c: Likewise.
33710         * sunrpc/clnt_udp.c: Likewise.
33711         * sunrpc/rtime.c: Likewise.
33712         * sunrpc/svcauth_des.c: Likewise.
33713         * sunrpc/xdr.c: Likewise.
33714         * sunrpc/xdr_intXX_t.c: Likewise.
33715         * sunrpc/xdr_rec.c: Likewise.
33716         * sysdeps/generic/ldconfig.h: Likewise.
33717         * sysdeps/generic/ldsodefs.h: Likewise.
33718         * sysdeps/generic/memusage.h: Likewise.
33719         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33720         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33721         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33722         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33723         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33724         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33725         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33726         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33727         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33728         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33729         * sysdeps/posix/getaddrinfo.c: Likewise.
33730         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33731         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33732         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33733         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33734         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33735         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33736         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33737         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33738         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33739         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33740         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33741         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33742         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33743         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33744         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33745         * sysdeps/x86_64/dl-tls.h: Likewise.
33746         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33747         * time/alt_digit.c: Likewise.
33748         * time/era.c: Likewise.
33749         * wcsmbs/tst-c16c32-1.c: Likewise.
33751 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33753         * math/libm-test.inc (struct test_sincos_data): New type.
33754         (RUN_TEST_LOOP_sincos): New macro.
33755         (sincos_test_data): New variable.
33756         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33758 2013-05-16  Richard Henderson  <rth@redhat.com>
33760         * math/atest-exp2.c (LIMB64): New macro.
33761         (CONSTSZ): New macro.
33762         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33763         (hexdig): Move ...
33764         (print_mpn_fp): ... to function scope.
33765         (read_mpn_hex): Remove.
33766         (get_log2): Remove.
33767         (exp2_mpn): Use mp_log2.
33768         (main): Use mp_exp1.
33770 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33772         * math/libm-test.inc: Remove comment about not testing "inexact"
33773         exceptions.
33774         (INEXACT_EXCEPTION): New macro.
33775         (NO_INEXACT_EXCEPTION): Likewise.
33776         (INVALID_EXCEPTION_OK): Update value.
33777         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33778         (OVERFLOW_EXCEPTION_OK): Likewise.
33779         (UNDERFLOW_EXCEPTION_OK): Likewise.
33780         (IGNORE_ZERO_INF_SIGN): Likewise.
33781         (ERRNO_UNCHANGED): Likewise.
33782         (ERRNO_EDOM): Likewise.
33783         (ERRNO_ERANGE): Likewise.
33784         (test_exceptions): Handle testing "inexact" exceptions.
33785         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33786         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33787         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33788         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33789         INEXACT_EXCEPTION.
33790         (rint_towardzero_test_data): Likewise.
33791         (rint_downward_test_data): Likewise.
33792         (rint_upward_test_data): Likewise.
33794         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33795         with OVERFLOW_EXCEPTION.
33796         (exp10_test_data): Likewise.
33797         (exp2_test_data): Likewise.
33798         (expm1_test_data): Likewise.
33799         (lgamma_test_data): Likewise.
33800         (pow_test_data): Likewise.
33801         (tgamma_test_data): Likewise.
33802         (yn_test_data): Remove duplicate test of overflow.
33804         * math/libm-test.inc (struct test_cc_c_data): New type.
33805         (RUN_TEST_LOOP_cc_c): New macro.
33806         (cpow_test_data): New variable.
33807         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33809         * math/libm-test.inc (struct test_f_L_data): New type.
33810         (RUN_TEST_LOOP_f_L): New macro.
33811         (llrint_test_data): New variable.
33812         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33813         (llrint_tonearest_test_data): New variable.
33814         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33815         (llrint_towardzero_test_data): New variable.
33816         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33817         (llrint_downward_test_data): New variable.
33818         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33819         (llrint_upward_test_data): New variable.
33820         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33821         (llround_test_data): New variable.
33822         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33824 2013-05-13  Peter Collingbourne  <pcc@google.com>
33826         * math/atest-exp2.c (get_log2): Remove const attribute.
33828 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33830         * math/libm-test.inc (struct test_f_l_data): New type.
33831         (RUN_TEST_LOOP_f_l): New macro.
33832         (lrint_test_data): New variable.
33833         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33834         (lrint_tonearest_test_data): New variable.
33835         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33836         (lrint_towardzero_test_data): New variable.
33837         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33838         (lrint_downward_test_data): New variable.
33839         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33840         (lrint_upward_test_data): New variable.
33841         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33842         (lround_test_data): New variable.
33843         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33845 2013-05-15  Peter Collingbourne  <pcc@google.com>
33847         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33848         (EXTRACT_WORDS64) Use where appropriate.
33849         (INSERT_WORDS64) Likewise.
33851         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33852         constraints with x constraints.
33853         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33855         * malloc/obstack.c (_obstack_compat): Add initializer.
33857 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33859         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33860         si_trapno and add si_addr_lsb to _sifields.sigfault.
33861         (si_trapno): Remove macro.
33862         (si_addr_lsb): Define new macro.
33863         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33865 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33867         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33868         instead of TEST_f_l.
33869         (llrint_test_tonearest): Likewise.
33870         (llrint_test_towardzero): Likewise.
33871         (llrint_test_downward): Likewise.
33872         (llrint_test_upward): Likewise.
33873         (llround_test): Likewise.
33875         * math/libm-test.inc (struct test_f_i_data): Add comment.
33876         (RUN_TEST_LOOP_f_b): New macro.
33877         (RUN_TEST_LOOP_f_b_tg): Likewise.
33878         (finite_test_data): New variable.
33879         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33880         (isfinite_test_data): New variable.
33881         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33882         (isinf_test_data): New variable.
33883         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33884         (isnan_test_data): New variable.
33885         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33886         (isnormal_test_data): New variable.
33887         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33888         (issignaling_test_data): New variable.
33889         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33890         (signbit_test_data): New variable.
33891         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33893         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33894         with INVALID_EXCEPTION.
33895         (acosh_test_data): Likewise.
33896         (asin_test_data): Likewise.
33897         (atanh_test_data): Likewise.
33898         (fmod_test_data): Likewise.
33899         (log_test_data): Likewise.
33900         (log10_test_data): Likewise.
33901         (log2_test_data): Likewise.
33902         (pow_test_data): Likewise.
33903         (sqrt_test_data): Likewise.
33904         (y0_test_data): Likewise.
33905         (y1_test_data): Likewise.
33906         (yn_test_data): Likewise.
33908         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33909         function contents.
33911         * math/libm-test.inc (struct test_ff_i_data): New type.
33912         (RUN_TEST_LOOP_ff_i_tg): New macro.
33913         (isgreater_test_data): New variable.
33914         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33915         (isgreaterequal_test_data): New variable.
33916         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33917         (isless_test_data): New variable.
33918         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33919         (islessequal_test_data): New variable.
33920         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33921         (islessgreater_test_data): New variable.
33922         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33923         (isunordered_test_data): New variable.
33924         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33926 2013-05-14  David S. Miller  <davem@davemloft.net>
33928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33930 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33932         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33934         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33935         extra_test to int.
33936         (struct test_f_i_data): Change type of max_ulp to int.
33938         * math/libm-test.inc (test_ffI_f1_data): New type.
33939         (RUN_TEST_LOOP_ffI_f1): New macro.
33940         (remquo_test_data): New variable.
33941         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33943         * setjmp/tst-setjmp-fp.c: New file.
33944         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33945         (link-libm): New variable.
33946         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33948         * math/libm-test.inc (struct test_f_i_data): New type.
33949         (RUN_TEST_LOOP_f_i): New macro.
33950         (RUN_TEST_LOOP_f_i_tg): Likewise.
33951         (fpclassify_test_data): New variable.
33952         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33953         (ilogb_test_data): New variable.
33954         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33956         * math/libm-test.inc (scalbln_test): Correct function name in END
33957         call.
33959         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33960         (RUN_TEST_LOOP_fI_f1): New macro.
33961         (frexp_test_data): New variable.
33962         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33964         * math/libm-test.inc (struct test_fF_f1_data): New type.
33965         (RUN_TEST_LOOP_fF_f1): New macro.
33966         (modf_test_data): New variable.
33967         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33969         * math/libm-test.inc (struct test_f_f1_data): New type.
33970         (RUN_TEST_LOOP_f_f1): New macro.
33971         (gamma_test_data): New variable.
33972         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33973         (lgamma_test_data): New variable.
33974         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33976 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33978         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33979         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33980         (main): Comment "tls" pseudo-hwcap.
33982 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33984         * math/libm-test.inc (struct test_fl_f_data): New type.
33985         (RUN_TEST_LOOP_fl_f): New variable.
33986         (scalbln_test_data): New variable.
33987         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33989         * math/libm-test.inc (struct test_fi_f_data): New type.
33990         (RUN_TEST_LOOP_fi_f): New macro.
33991         (ldexp_test_data): New variable.
33992         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33993         (scalbn_test_data): New variable.
33994         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33996         * math/libm-test.inc (struct test_c_f_data): New type.
33997         (RUN_TEST_LOOP_c_f): New macro.
33998         (cabs_test_data): New variable.
33999         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34000         (carg_test_data): New variable.
34001         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34002         (cimag_test_data): New variable.
34003         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34004         (creal_test_data): New variable.
34005         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34007         * math/libm-test.inc (struct test_if_f_data): New type.
34008         (RUN_TEST_LOOP_if_f): New macro.
34009         (jn_test_data): New variable.
34010         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34011         (yn_test_data): New variable.
34012         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34014         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34016 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34018         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34019         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34021 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34023         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34024         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34025         (bench-deps): Add bench-timing.h.
34026         * benchtests-bench-skeleton.c: Include bench-timing.h.
34027         (main): Use TIMING_* macros instead of clock_gettime.
34028         * benchtests/bench-timing.h: New file.
34030         [BZ #14582]
34031         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34032         Renamed from _LIB_VERSION.
34033         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34035 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34037         * math/libm-test.inc (struct test_fff_f_data): New type.
34038         (RUN_TEST_LOOP_fff_f): New macro.
34039         (fma_test_data): New variable.
34040         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34041         (fma_towardzero_test_data): New variable.
34042         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34043         (fma_downward_test_data): New variable.
34044         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34045         (fma_upward_test_data): New variable.
34046         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34048         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34049         (struct test_c_c_data): New type.
34050         (RUN_TEST_LOOP_c_c): New macro.
34051         (cacos_test_data): New variable.
34052         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34053         (cacosh_test_data): New variable.
34054         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34055         (casin_test_data): New variable.
34056         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34057         (casinh_test_data): New variable.
34058         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34059         (catan_test_data): New variable.
34060         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34061         (catanh_test_data): New variable.
34062         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34063         (ccos_test_data): New variable.
34064         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34065         (ccosh_test_data): New variable.
34066         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34067         (cexp_test_data): New variable.
34068         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34069         (clog_test_data): New variable.
34070         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34071         (clog10_test_data): New variable.
34072         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34073         (conj_test_data): New variable.
34074         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34075         (cproj_test_data): New variable.
34076         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34077         (csin_test_data): New variable.
34078         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34079         (csinh_test_data): New variable.
34080         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34081         (csqrt_test_data): New variable.
34082         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34083         (ctan_test_data): New variable.
34084         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34085         (ctan_tonearest_test_data): New variable.
34086         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34087         (ctan_towardzero_test_data): New variable.
34088         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34089         (ctan_downward_test_data): New variable.
34090         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34091         (ctan_upward_test_data): New variable.
34092         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34093         (ctanh_test_data): New variable.
34094         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34095         (ctanh_tonearest_test_data): New variable.
34096         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34097         (ctanh_towardzero_test_data): New variable.
34098         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34099         (ctanh_downward_test_data): New variable.
34100         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34101         (ctanh_upward_test_data): New variable.
34102         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34103         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34104         of BUILD_COMPLEX.
34106         * math/libm-test.inc (struct test_ff_f_data): New type.
34107         (struct test_ff_f_data_nexttoward): Likewise.
34108         (RUN_TEST_LOOP_2_f): New macro.
34109         (RUN_TEST_LOOP_ff_f): Likewise.
34110         (atan2_test_data): New variable.
34111         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34112         (copysign_test_data): New variable.
34113         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34114         (fdim_test_data): New variable.
34115         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34116         (fmax_test_data): New variable.
34117         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34118         (fmin_test_data): New variable.
34119         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34120         (fmod_test_data): New variable.
34121         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34122         (hypot_test_data): New variable.
34123         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34124         (nextafter_test_data): New variable.
34125         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34126         (nexttoward_test_data): New variable.
34127         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34128         (pow_test_data): New variable.
34129         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34130         (pow_tonearest_test_data): New variable.
34131         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34132         (pow_towardzero_test_data): New variable.
34133         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34134         (pow_downward_test_data): New variable.
34135         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34136         (pow_upward_test_data): New variable.
34137         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34138         (remainder_test_data): New variable.
34139         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34140         (scalb_test_data): New variable.
34141         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34142         * sysdeps/i386/fpu/libm-test-ulps: Update.
34144 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34146         * math/libm-test.inc (fma_test): Use max_value instead of local
34147         variable fltmax.
34148         (nextafter_test): Likewise.
34150         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34151         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34152         (acos_downward_test_data): New variable.
34153         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34154         (acos_upward_test_data): New variable.
34155         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34156         (acosh_test_data): New variable.
34157         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34158         (asin_test_data): New variable.
34159         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34160         (asin_tonearest_test_data): New variable.
34161         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34162         (asin_towardzero_test_data): New variable.
34163         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34164         (asin_downward_test_data): New variable.
34165         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34166         (asin_upward_test_data): New variable.
34167         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34168         (asinh_test_data): New variable.
34169         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34170         (atan_test_data): New variable.
34171         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34172         (atanh_test_data): New variable.
34173         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34174         (cbrt_test_data): New variable.
34175         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34176         (ceil_test_data): New variable.
34177         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34178         (cos_test_data): New variable.
34179         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34180         (cos_tonearest_test_data): New variable.
34181         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34182         (cos_towardzero_test_data): New variable.
34183         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34184         (cos_downward_test_data): New variable.
34185         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34186         (cos_upward_test_data): New variable.
34187         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34188         (cosh_test_data): New variable.
34189         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34190         (cosh_tonearest_test_data): New variable.
34191         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34192         (cosh_towardzero_test_data): New variable.
34193         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34194         (cosh_downward_test_data): New variable.
34195         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34196         (cosh_upward_test_data): New variable.
34197         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34198         (erf_test_data): New variable.
34199         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34200         (erfc_test_data): New variable.
34201         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34202         (exp_test_data): New variable.
34203         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34204         (exp_tonearest_test_data): New variable.
34205         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34206         (exp_towardzero_test_data): New variable.
34207         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34208         (exp_downward_test_data): New variable.
34209         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34210         (exp_upward_test_data): New variable.
34211         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34212         (exp10_test_data): New variable.
34213         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34214         (exp2_test_data): New variable.
34215         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34216         (expm1_test_data): New variable.
34217         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34218         (fabs_test_data): New variable.
34219         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34220         (floor_test_data): New variable.
34221         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34222         (j0_test_data): New variable.
34223         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34224         (j1_test_data): New variable.
34225         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34226         (log_test_data): New variable.
34227         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34228         (log10_test_data): New variable.
34229         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34230         (log1p_test_data): New variable.
34231         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34232         (log2_test_data): New variable.
34233         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34234         (logb_test_data): New variable.
34235         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34236         (logb_downward_test_data): New variable.
34237         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34238         (nearbyint_test_data): New variable.
34239         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34240         (rint_test_data): New variable.
34241         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34242         (rint_tonearest_test_data): New variable.
34243         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34244         (rint_towardzero_test_data): New variable.
34245         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34246         (rint_downward_test_data): New variable.
34247         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34248         (rint_upward_test_data): New variable.
34249         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34250         (round_test_data): New variable.
34251         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34252         (sin_test_data): New variable.
34253         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34254         (sin_tonearest_test_data): New variable.
34255         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34256         (sin_towardzero_test_data): New variable.
34257         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34258         (sin_downward_test_data): New variable.
34259         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34260         (sin_upward_test_data): New variable.
34261         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34262         (sinh_test_data): New variable.
34263         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34264         (sinh_tonearest_test_data): New variable.
34265         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34266         (sinh_towardzero_test_data): New variable.
34267         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34268         (sinh_downward_test_data): New variable.
34269         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34270         (sinh_upward_test_data): New variable.
34271         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34272         (sqrt_test_data): New variable.
34273         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34274         (tan_test_data): New variable.
34275         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34276         (tan_tonearest_test_data): New variable.
34277         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34278         (tan_towardzero_test_data): New variable.
34279         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34280         (tan_downward_test_data): New variable.
34281         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34282         (tan_upward_test_data): New variable.
34283         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34284         (tanh_test_data): New variable.
34285         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34286         (tgamma_test_data): New variable.
34287         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34288         (trunc_test_data): New variable.
34289         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34290         (y0_test_data): New variable.
34291         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34292         (y1_test_data): New variable.
34293         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34294         (significand_test_data): New variable.
34295         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34297 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34299         [BZ #12387]
34300         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34302 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34304         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34306 2013-05-10  Andreas Jaeger  <aj@suse.de>
34308         [BZ #15448]
34309         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34310         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34312 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34314         * math/gen-libm-test.pl (adjust_arg): New function.
34315         (special_functions): Handle generating output in both functions
34316         and arrays.
34317         (parse_args): Likewise.
34318         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34319         $in_func argument to parse_args.
34320         * math/libm-test.inc (struct test_f_f_data): New type.
34321         (IF_ROUND_INIT_): New macro.
34322         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34323         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34324         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34325         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34326         (ROUND_RESTORE_): Likewise.
34327         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34328         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34329         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34330         (ROUND_RESTORE_FE_UPWARD): Likewise.
34331         (RUN_TEST_LOOP_f_f): New macro.
34332         (acos_test_data): New variable.
34333         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34334         (acos_tonearest_test_data): New variable.
34335         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34337 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34339         * benchtests/bench-skeleton.c (startup): Fix coding style.
34341 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34343         [BZ #6809]
34344         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34345         negative infinity argument.
34346         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34347         negative infinity argument.
34348         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34349         negative infinity argument.
34350         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34351         domain errors.
34353 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34355         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34356         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34357         * iconv/iconv_prog.c (main): Likewise.
34358         * locale/programs/charmap-dir.c (charmap_readdir)
34359         (fopen_uncompressed): Likewise.
34360         * locale/programs/locfile.c (siblings_uncached)
34361         (write_locale_data): Use lstat64 instead of lstat.
34362         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34363         stat.
34365 2013-05-10  Andreas Jaeger  <aj@suse.de>
34367         [BZ #15395]
34368         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34369         localization.
34370         Include <locale.h>.
34372 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34374         * elf/dl-close.c (_dl_close_worker): Add comments.
34376 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34378         [BZ #15359]
34379         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34380         high part of pi/2.
34381         (__ieee754_rem_pio2l): Update comments.
34383         [BZ #15429]
34384         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34385         high part of pi/2.
34386         (__ieee754_rem_pio2l): Update comments.
34388         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34389         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34391         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34392         M_PI_4l.
34394         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34395         (M_PI_34_LOG10El): Likewise.
34396         (M_PI2_LOG10El): Likewise.
34397         (M_PI4_LOG10El): Likewise.
34398         (M_PI_LOG10El): Likewise.
34400 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34404 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34406         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34407         (MINUS_ZERO_INIT): Likewise.
34408         (PLUS_INFTY_INIT): Likewise.
34409         (MINUS_INFTY_INIT): Likewise.
34410         (QNAN_VALUE_INIT): Likewise.
34411         (MAX_VALUE_INIT): Likewise.
34412         (MIN_VALUE_INIT): Likewise.
34413         (MIN_SUBNORM_VALUE_INIT): Likewise.
34414         (plus_zero): Initialize with PLUS_ZERO_INIT.
34415         (minus_zero): Initialize with MINUS_ZERO_INIT.
34416         (plus_infty): Initialize with PLUS_INFTY_INIT.
34417         (minus_infty): Initialize with MINUS_INFTY_INIT.
34418         (qnan_value): Initialize with QNAN_VALUE_INIT.
34419         (max_value): Initialize with MAX_VALUE_INIT.
34420         (min_value): Initialize with MIN_VALUE_INIT.
34421         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34423         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34424         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34425         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34426         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34428         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34429         (RUN_TEST_2_f): Likewise.
34430         (RUN_TEST_ff_f): Likewise.
34431         (RUN_TEST_fi_f): Likewise.
34432         (RUN_TEST_fl_f): Likewise.
34433         (RUN_TEST_fff_f): Likewise.
34434         (RUN_TEST_c_f): Likewise.
34435         (RUN_TEST_f_f1): Likewise.
34436         (RUN_TEST_fF_f1): Likewise.
34437         (RUN_TEST_fI_f1): Likewise.
34438         (RUN_TEST_ffI_f1): Likewise.
34439         (RUN_TEST_c_c): Likewise.
34440         (RUN_TEST_cc_c): Likewise.
34441         (RUN_TEST_f_i): Likewise.
34442         (RUN_TEST_f_i_tg): Likewise.
34443         (RUN_TEST_ff_i_tg): Likewise.
34444         (RUN_TEST_f_b): Likewise.
34445         (RUN_TEST_f_b_tg): Likewise.
34446         (RUN_TEST_f_l): Likewise.
34447         (RUN_TEST_f_L): Likewise.
34448         (RUN_TEST_sincos): Likewise.
34449         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34450         whether to show exceptions.  Do not include ");\n" in return
34451         value.
34452         (special_functions): Output call to RUN_TEST_sincos instead of
34453         check_float calls.  Update calls to new_test.
34454         (parse_args): Output call to single RUN_TEST_* macro instead of
34455         check_* calls and other assignments.  Update calls to new_test.
34457         [BZ #2546]
34458         [BZ #2560]
34459         [BZ #5159]
34460         [BZ #15426]
34461         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34462         input to result for tgamma overflow.
34463         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34464         (gamma_coeff): New variable.
34465         (NCOEFF): New macro.
34466         (gamma_positive): New function.
34467         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34468         underflow here.  Use gamma_positive instead of exp (lgamma) for
34469         other arguments.
34470         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34471         (gamma_coeff): New variable.
34472         (NCOEFF): New macro.
34473         (gammaf_positive): New function.
34474         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34475         underflow here.  Use gamma_positive instead of exp (lgamma) for
34476         other arguments.
34477         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34478         (gamma_coeff): New variable.
34479         (NCOEFF): New macro.
34480         (gammal_positive): New function.
34481         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34482         underflow here.  Use gamma_positive instead of exp (lgamma) for
34483         other arguments.
34484         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34485         (gamma_coeff): New variable.
34486         (NCOEFF): New macro.
34487         (gammal_positive): New function.
34488         (__ieee754_gammal_r): Handle positive infinity, overflow and
34489         underflow here.  Handle NaN the same as positive infinity.  Remove
34490         check x < 0xffffffff for negative integers.  Use gamma_positive
34491         instead of exp (lgamma) for other arguments.
34492         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34493         (gamma_coeff): New variable.
34494         (NCOEFF): New macro.
34495         (gammal_positive): New function.
34496         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34497         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34498         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34499         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34500         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34501         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34502         * sysdeps/generic/math_private.h (__gamma_productf): New
34503         prototype.
34504         (__gamma_product): Likewise.
34505         (__gamma_productl): Likewise.
34506         * math/Makefile (libm-calls): Add gamma_product.
34507         * math/libm-test.inc (tgamma_test): Add more tests.
34508         * sysdeps/i386/fpu/libm-test-ulps: Update.
34509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34511 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34513         * benchtests/bench-skeleton.c (main): Preheat CPU.
34515 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34517         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34519 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34521         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34522         and _dl_skip_args_internal.
34524 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34526         * manual/message.texi (Message Translation): Talk about users.
34527         Message to key mapping impacts design.
34529 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34531         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34533         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34535         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34536         * sysdeps/wordsize-64/glob64.c: ... here.
34538         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34539         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34540         New macros.
34542         * debug/getlogin_r_chk.c: Moved to ...
34543         * login/getlogin_r_chk.c: ... here.
34544         * debug/Makefile (routines): Move getlogin_r_chk to ...
34545         * login/Makefile (routines): ... here.
34546         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34547         * login/Versions (libc: GLIBC_2.4): ... here.
34549         * io/poll.c (__poll): Renamed from poll.
34550         Add libc_hidden_def.
34551         (poll): Define as weak alias.
34553         * debug/ptsname_r_chk.c: Moved to ...
34554         * login/ptsname_r_chk.c: ... here.
34555         * debug/Makefile (routines): Move ptsname_r_chk to ...
34556         * login/Makefile (routines): ... here.
34557         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34558         * login/Versions (libc: GLIBC_2.4): ... here.
34560         * posix/getlogin.c: Moved to ...
34561         * login/getlogin.c: ... here.
34562         * posix/getlogin_r.c: Moved to ...
34563         * login/getlogin_r.c: ... here.
34564         * posix/getlogin_r.c: Moved to ...
34565         * login/getlogin_r.c: ... here.
34566         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34567         * login/Makefile (routines): ... here.
34568         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34569         * login/Versions (libc: GLIBC_2.0): ... here.
34571         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34572         (setrlimit): Define as weak alias.
34574         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34575         Call __ names for open, ftruncate, and close.
34576         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34577         (truncate): Define as weak alias.
34579 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34581         * math/gen-libm-test.pl (parse_args): Initialize x before each
34582         test of frexp, modf and remquo.
34584         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34585         test signgam value.
34587 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34589         [BZ #15418]
34590         [BZ #15419]
34591         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34592         internal tests.
34593         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34595 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34597         * elf/dl-writev.h: New file.
34598         * elf/dl-misc.c: Include it.
34599         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34600         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34602 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34604         * math/libm-test.inc (noXFails): Remove variable.
34605         (noXPasses): Likewise.
34606         (BUILD_COMPLEX_INT): Remove macro.
34607         (print_screen): Remove xfail argument.
34608         (print_screen_max_error): Likewise.
34609         (update_stats): Likewise.
34610         (print_max_error): Likewise.  Update calls to other affected
34611         functions.
34612         (print_complex_max_error): Likewise.
34613         (test_single_exception): Update calls to print_screen.
34614         (test_single_errno): Likewise.
34615         (check_float_internal): Remove xfail argument.  Update calls to
34616         other affected functions.
34617         (check_float): Likewise.
34618         (check_complex): Likewise.
34619         (check_int): Likewise.
34620         (check_long): Likewise.
34621         (check_bool): Likewise.
34622         (check_longlong): Likewise.
34623         (main): Don't print noXFails and noXPasses.
34624         * math/gen-libm-test.pl (top level): Don't mention expected
34625         failure handling in comment.
34626         (new_test): Don't handle expected failures.
34627         (parse_args): Don't mention expected failure handling in comment.
34628         (generate_testfile): Don't handle expected failures.
34629         (parse_ulps): Likewise.
34630         (print_ulps_file): Likewise.
34631         (get_failure): Remove function.
34632         (output_test): Don't handle expected failures.
34633         * make/README.libm-test: Don't mention expected failure handling.
34635         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34636         (minus_zero): Likewise.
34637         (plus_infty): Likewise.
34638         (minus_infty): Likewise.
34639         (qnan_value): Likewise.
34640         (max_value): Likewise.
34641         (min_value): Likewise.
34642         (min_subnorm_value): Likewise.
34643         (initialize): Do not initialize those variables dynamically.
34645 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34647         * io/open.c (__open_2): Moved to ...
34648         * io/open_2.c: ... this new file.
34649         * io/open64.c (__open64_2): Moved to ...
34650         * io/open64_2.c: ... this new file.
34651         * io/openat.c (__openat_2): Moved to ...
34652         * io/openat_2.c: ... this new file.
34653         * io/openat64.c (__openat64_2): Moved to ...
34654         * io/openat64_2.c: ... this new file.
34655         * io/Makefile (routines): Add them.
34656         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34657         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34658         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34659         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34660         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34661         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34662         (__openat64): Add hidden_ver.
34663         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34664         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34666         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34667         Separately conditionalize setting of GLRO(dl_sysinfo) so
34668         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34669         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34671 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34673         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34674         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34675         definition.
34676         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34677         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34678         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34679         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34680         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34682 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34684         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34685         test signgam value.
34687         * math/libm-test.inc (hypot_test): Do not use
34688         IGNORE_ZERO_INF_SIGN.
34690 2013-05-03  Andreas Jaeger  <aj@suse.de>
34692         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34693         Linux 3.9.
34694         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34695         (PF_MAX): Adjust for VSOCK change.
34697 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34701 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34703         [BZ #15264]
34704         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34705         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34706         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34708 2013-05-02  David S. Miller  <davem@davemloft.net>
34710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34712 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34714         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34716 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34718         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34720 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34722         [BZ #14952]
34723         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34724         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34725         Use __attribute__ ((__gnu_inline__)).
34726         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34727         Don't use __attribute__ ((__gnu_inline__)).
34729 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34731         [BZ #15423]
34732         * math/s_catan.c (__catan): Handle small real or imaginary part of
34733         input specially to avoid spurious underflow.
34734         * math/s_catanf.c (__catanf): Likewise.
34735         * math/s_catanh.c (__catanh): Likewise.
34736         * math/s_catanhf.c (__catanhf): Likewise.
34737         * math/s_catanhl.c (__catanhl): Likewise.
34738         * math/s_catanl.c (__catanl): Likewise.
34739         * math/libm-test.inc (catan_test): Add more tests.
34740         (catanh_test): Likewise.
34741         * sysdeps/i386/fpu/libm-test-ulps: Update.
34742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34744 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34748 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34750         [BZ #15416]
34751         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34752         accurately for denominator in atan2.
34753         * math/s_catanf.c (__catanf): Likewise.
34754         * math/s_catanh.c (__catanh): Likewise.
34755         * math/s_catanhf.c (__catanhf): Likewise.
34756         * math/s_catanhl.c (__catanhl): Likewise.
34757         * math/s_catanl.c (__catanl): Likewise.
34758         * math/libm-test.inc (catan_test): Add more tests.
34759         (catanh_test): Likewise.
34760         * sysdeps/i386/fpu/libm-test-ulps: Update.
34761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34763 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34765         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34767         * benchtests/Makefile (bench): Remove slow benchmarks.
34768         * benchtests/atan-inputs: Add slow benchmark inputs.
34769         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34770         (BENCH_FUNC): Accept variant offset.
34771         (VARIANT): Define.
34772         * benchtests/bench-skeleton.c (main): Run benchmark for each
34773         variant.
34774         * benchtests/cos-inputs: Add slow benchmark inputs.
34775         * benchtests/exp-inputs: Likewise.
34776         * benchtests/pow-inputs: Likewise.
34777         * benchtests/sin-inputs: Likewise.
34778         * benchtests/slowatan-inputs: Remove.
34779         * benchtests/slowatan.c: Remove.
34780         * benchtests/slowcos-inputs: Remove.
34781         * benchtests/slowcos.c: Remove.
34782         * benchtests/slowexp-inputs: Remove.
34783         * benchtests/slowexp.c: Remove.
34784         * benchtests/slowpow-inputs: Remove.
34785         * benchtests/slowpow.c: Remove.
34786         * benchtests/slowsin-inputs: Remove.
34787         * benchtests/slowsin.c: Remove.
34788         * benchtests/slowtan-inputs: Remove.
34789         * benchtests/slowtan.c: Remove.
34790         * benchtests/tan-inputs: Add slow benchmark inputs.
34791         * scripts/bench.pl: Parse comments and directives.
34793         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34794         in CPPFLAGS.
34795         ($(objpfx)bench-%.c): Remove *-ITER.
34796         * benchtests/bench-modf.c: Remove definition of ITER.
34797         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34798         (main): Loop for DURATION seconds instead of fixed number of
34799         iterations.
34800         * scripts/bench.pl: Don't expect iterations in parameters.
34802 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34804         * io/fchdir.c (__fchdir): Renamed from fchdir.
34805         (fchdir): Define as weak alias.
34807 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34809         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34810         (ERRNO_EDOM): Likewise.
34811         (ERRNO_ERANGE): Likewise.
34812         (noErrnoTests): New variable.
34813         (init_max_error): Set errno to 0.
34814         (test_single_errno): New function.
34815         (test_errno): Likewise.
34816         (check_float_internal): Call test_errno.  Set errno to 0.
34817         (check_complex): Refer to errno tests in comment.
34818         (check_int): Call test_errno.  Set errno to 0.
34819         (check_long): Likewise.
34820         (check_bool): Likewise.
34821         (check_longlong): Likewise.
34822         (cos_test): Use ERRNO_* flags for errno tests instead of
34823         check_int.
34824         (expm1_test): Likewise.
34825         (fmod_test): Likewise.
34826         (ilogb_test): Likewise.
34827         (lgamma_test): Likewise.
34828         (pow_test): Likewise.
34829         (remainder_test): Likewise.
34830         (sin_test): Likewise.
34831         (tan_test): Likewise.
34832         (yn_test): Likewise.
34833         (initialize): Set errno to 0.
34834         (main): Print number of errno tests.
34835         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34837 2013-04-29  Andreas Jaeger  <aj@suse.de>
34839         [BZ #15084]
34840         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34841         and RES_USEVC.
34843         [BZ #15085]
34844         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34845         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34846         unimplemented.
34848         [BZ #15380]
34849         * stdlib/random.c (__initstate): Return NULL if
34850         __initstate fails.
34852         [BZ #15086]
34853         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34854         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34855         RES_SNGLKUPREOP.
34857 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34861 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34863         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34864         of individual tests.
34865         (casin_test): Likewise.
34866         (casinh_test): Likewise.
34868 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34870         [BZ #15409]
34871         * math/s_catan.c (__catan): Handle arguments with large real or
34872         imaginary part separately without squaring.
34873         * math/s_catanf.c (__catanf): Likewise.
34874         * math/s_catanh.c (__catanh): Likewise.
34875         * math/s_catanhf.c (__catanhf): Likewise.
34876         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34877         and redefine.
34878         (__catanhl): Handle arguments with large real or imaginary part
34879         separately without squaring.
34880         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34881         and redefine.
34882         (__catanl): Handle arguments with large real or imaginary part
34883         separately without squaring.
34884         * math/libm-test.inc (catan_test): Add more tests.
34885         (catanh_test): Likewise.
34886         * sysdeps/i386/fpu/libm-test-ulps: Update.
34887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34889 2013-04-27  Andreas Jaeger  <aj@suse.de>
34891         [BZ #15007]
34892         * stdlib/stdlib.h: Update guards for qecvt.
34893         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34894         <stdlib.h>.
34896 2013-04-27  Allan McRae  <allan@archlinux.org>
34898         * sysdeps/i386/fpu/libm-test-ulps: Update.
34900 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34902         [BZ #15406]
34903         * math/s_catan.c: Include <float.h>.
34904         (__catan): Ensure underflow exception occurs for underflowed
34905         result.
34906         * math/s_catanf.c: Include <float.h>.
34907         (__catanf): Ensure underflow exception occurs for underflowed
34908         result.
34909         * math/s_catanh.c: Include <float.h>.
34910         (__catanh): Ensure underflow exception occurs for underflowed
34911         result.
34912         * math/s_catanhf.c: Include <float.h>.
34913         (__catanhf): Ensure underflow exception occurs for underflowed
34914         result.
34915         * math/s_catanhl.c: Include <float.h>.
34916         (__catanhl): Ensure underflow exception occurs for underflowed
34917         result.
34918         * math/s_catanl.c: Include <float.h>.
34919         (__catanl): Ensure underflow exception occurs for underflowed
34920         result.
34921         * math/libm-test.inc (catan_test): Add more tests.
34922         (catanh_test): Likewise.
34924         [BZ #15405]
34925         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34926         underflowed result.
34927         * math/s_ccoshf.c (__ccoshf): Likewise.
34928         * math/s_ccoshl.c (__ccoshl): Likewise.
34929         * math/s_csin.c (__csin): Likewise.
34930         * math/s_csinf.c (__csinf): Likewise.
34931         * math/s_csinh.c (__csinh): Likewise.
34932         * math/s_csinhf.c (__csinhf): Likewise.
34933         * math/s_csinhl.c (__csinhl): Likewise.
34934         * math/s_csinl.c (__csinl): Likewise.
34935         * math/libm-test.inc (ccos_test): Add more tests.
34936         (ccosh_test): Likewise.
34937         (csin_test): Likewise.
34938         (csinh_test): Likewise.
34940 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34942         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34943         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34944         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34945         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34946         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34947         powerpc/power5+/fpu folders.
34948         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34951 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34955 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34957         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34958         additions to variable.
34959         [$(config-machine) = x86_64] (modules-names): Likewise.
34960         ($(objpfx)tst-audit3): Remove dependency.
34961         ($(objpfx)tst-audit3.out): Likewise.
34962         ($(objpfx)tst-audit4): Likewise.
34963         ($(objpfx)tst-audit4.out): Likewise.
34964         ($(objpfx)tst-audit5): Likewise.
34965         ($(objpfx)tst-audit5.out): Likewise.
34966         ($(objpfx)tst-audit6): Likewise.
34967         ($(objpfx)tst-audit6.out): Likewise.
34968         ($(objpfx)tst-audit7): Likewise.
34969         ($(objpfx)tst-audit7.out): Likewise.
34970         (tst-audit3-ENV): Remove variable.
34971         (tst-audit4-ENV): Likewise.
34972         (tst-audit5-ENV): Likewise.
34973         (tst-audit6-ENV): Likewise.
34974         (tst-audit7-ENV): Likewise.
34975         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34976         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34977         addition to variable.
34978         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34979         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34980         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34981         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34982         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34983         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34984         tst-audit3, tst-audit4 and tst-audit5.
34985         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34986         tst-audit6 and tst-audit7.
34987         [$(subdir) = elf] (modules-names): Add audit modules for those
34988         tests.
34989         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34990         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34991         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34992         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34993         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34994         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34995         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34996         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34997         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34998         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34999         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35000         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35001         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35002         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35003         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35004         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35005         Likewise.
35006         [$(subdir) = elf && $(config-cflags-avx) = yes]
35007         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35008         [$(subdir) = elf && $(config-cflags-avx) = yes]
35009         (CFLAGS-tst-auditmod4a.c): Likewise.
35010         [$(subdir) = elf && $(config-cflags-avx) = yes]
35011         (CFLAGS-tst-auditmod4b.c): Likewise.
35012         [$(subdir) = elf && $(config-cflags-avx) = yes]
35013         (CFLAGS-tst-auditmod6b.c): Likewise.
35014         [$(subdir) = elf && $(config-cflags-avx) = yes]
35015         (CFLAGS-tst-auditmod6c.c): Likewise.
35016         [$(subdir) = elf && $(config-cflags-avx) = yes]
35017         (CFLAGS-tst-auditmod7b.c): Likewise.
35018         * elf/tst-audit3.c: Move to ...
35019         * sysdeps/x86_64/tst-audit3.c: ... here.
35020         * elf/tst-audit4.c: Move to ...
35021         * sysdeps/x86_64/tst-audit4.c: ... here.
35022         * elf/tst-audit5.c: Move to ...
35023         * sysdeps/x86_64/tst-audit5.c: ... here.
35024         * elf/tst-audit6.c: Move to ...
35025         * sysdeps/x86_64/tst-audit6.c: ... here.
35026         * elf/tst-audit7.c: Move to ...
35027         * sysdeps/x86_64/tst-audit7.c: ... here.
35028         * elf/tst-auditmod3a.c: Move to ...
35029         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35030         * elf/tst-auditmod3b.c: Move to ...
35031         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35032         * elf/tst-auditmod4a.c: Move to ...
35033         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35034         * elf/tst-auditmod4b.c: Move to ...
35035         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35036         * elf/tst-auditmod5a.c: Move to ...
35037         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35038         * elf/tst-auditmod5b.c: Move to ...
35039         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35040         * elf/tst-auditmod6a.c: Move to ...
35041         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35042         * elf/tst-auditmod6b.c: Move to ...
35043         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35044         * elf/tst-auditmod6c.c: Move to ...
35045         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35046         * elf/tst-auditmod7a.c: Move to ...
35047         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35048         * elf/tst-auditmod7b.c: Move to ...
35049         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35051 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35053         [BZ #15366]
35054         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35055         define unconditionally.
35056         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35057         define unconditionally.
35058         (INT8_C, INT16_C, etc.): Likewise.
35060 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35062         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35063         __ehdr_start with hidden visibility.
35065         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35067 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35069         * math/libm-test.inc (cos_test): Use accurate hex constants.
35070         (sincost_test): Likewise.
35072 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35074         * math/libm-test.inc (catan_test): Add more tests.
35075         (catanh_test): Likewise.
35077         * math/s_catanf.c (__catanf): Use suffixed floating-point
35078         constants.
35079         * math/s_catanhf.c (__catanhf): Likewise.
35080         * math/s_catanhl.c (__catanhl): Likewise.
35081         * math/s_catanl.c (__catanl): Likewise.
35083         [BZ #15394]
35084         * math/s_catan.c (__catan): Calculate imaginary part of result
35085         with log1p not log unless computing log of number close to 0.
35086         * math/s_catanf.c (__catanf): Likewise.
35087         * math/s_catanl.c (__catanl): Likewise.
35088         * math/s_catanh.c (__catanh): Calculate real part of result with
35089         log1p not log unless computing log of number close to 0.
35090         * math/s_catanhf.c (__catanhf): Likewise.
35091         * math/s_catanhl.c (__catanhl): Likewise.
35092         * math/libm-test.inc (catan_test): Add more tests.
35093         (catanh_test): Likewise.
35094         * sysdeps/i386/fpu/libm-test-ulps: Update.
35095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35097 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35099         * benchtests/Makefile: Mention files in which fast and slow
35100         paths of math functions are implemented.
35102 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35104         * sysdeps/posix/timespec_get.c: New file.
35106 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35108         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35109         POWER.
35110         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35111         for POWER.
35112         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35113         powerpc/power5/fpu folders.
35114         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35115         * benchtests/Makefile: Add modf testcase.
35116         * benchtests/bench-modf.c: New file: Benchmark test for mo
35118 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35120         [BZ #14888]
35121         * time/Makefile (tests): Add tst-strptime-whitespace.
35122         * time/strptime_l.c (get_number): Use ISSPACE.
35123         (__strptime_internal): Likewise.
35124         * time/tst-strptime-whitespace.c: New test case.
35126 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35128         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35129         member.
35130         (_nss_files_init): Set it here.
35132 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35134         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35135         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35136         unsigned.
35138 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35140         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35142 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35144         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35145         size just once.
35147 2013-04-21  David S. Miller  <davem@davemloft.net>
35149         * po/ru.po: Update Russion translation from translation project.
35151 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35153         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35154         and setfsgid.
35156 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35158         * configure.in: Remove i386 configure warning. Remove i386 case.
35159         * configure: Regenerate.
35160         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35161         Add example to error message.
35162         * sysdeps/i386/configure: Regenerate.
35164 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35166         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35167         slowtan.
35168         * benchtests/cos-inputs: New file.
35169         * benchtests/slowcos-inputs: New file.
35170         * benchtests/slowcos.c: New file.
35171         * benchtests/slowtan-inputs: New file.
35172         * benchtests/slowtan.c: New file.
35173         * benchtests/tan-inputs: New file.
35175 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35177         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35178         considered kosher.
35180 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35182         * benchtests/Makefile: Include cppflags-iterator.mk to add
35183         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35185         * Makefile.in (bench-clean): New target.
35186         * benchtests/Makefile (bench-clean): Likewise.
35188 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35190         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35192 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35194         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35196 2013-04-15  Andreas Schwab  <schwab@suse.de>
35198         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35199         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35200         * nscd/pwdcache.c (cache_addpw): Likewise.
35201         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35202         more than recsize.
35204 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35206         * benchtests/Makefile (bench): Write all output to
35207         bench-out.tmp together.
35209 2013-04-15  Andreas Schwab  <schwab@suse.de>
35211         * nscd/nscd.c (main): Don't fork again after closing files.
35213 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35215         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35217         * benchtests/Rules (bench-deps): Collect dependencies into a
35218         single variable.  Add Makefile to dependencies.
35219         ($(objpfx)bench-%.c): Depend on bench-deps.
35221 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35222             Xavier Roche  <roche+kml2@exalead.com>
35224         [BZ #15361]
35225         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35226         just that it's a file descriptor.
35227         * manual/llio.texi (Synchronizing AIO Operations): Update description
35228         for EBADF error from aio_fsync.
35230 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35232         * Rules (bench): Move target definition...
35233         * benchtests/Makefile: ... here.
35235 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35237         * math/libm-test.inc (cos_test): Fix PI/2 test.
35238         (sincos_test): Likewise.
35239         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35240         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35242 2013-04-11  Andreas Schwab  <schwab@suse.de>
35244         [BZ #13988]
35245         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35246         accept exponent character only when digits were seen.
35247         * stdio-common/Makefile (tests): Add bug26.
35248         * stdio-common/bug26.c: New file.
35250         [BZ #14293]
35251         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35252         non-freeable.
35254 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35256         * Makeconfig (rtld-prefix): Define built linker prefix.
35257         * Rules (run-bench): Use it.
35258         * math/Makefile (run-regen-ulps): Likewise.
35260         * Rules (bench): Remove eval.
35262 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35263             Roland McGrath  <roland@hack.frob.com>
35264             Ondrej Bilka  <neleai@seznam.cz>
35266         [BZ #15346]
35267         * time/getdate.c: Include ctype.h and alloca.h.
35268         (__getdate_r): Trim leading and trailing spaces of input.
35269         * time/tst-getdate.c (tests): Add tests with leading and
35270         trailing spaces.
35272 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35274         [BZ #14280]
35275         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35276         when computing value.
35278 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35280         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35281         Use testrun.sh to run libm tests.
35283         [BZ #15309]
35284         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35286 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35288         [BZ #15264]
35289         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35291 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35293         * Makefile.in (regen-ulps): New target.
35294         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35295         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35296         [ifneq (no,$(PERL)] (regen-ulps): New target.
35297         [ifeq (no,$(PERL)] (regen-ulps): New target.
35298         * math/libm-test.inc (ulps_file_name): Define.
35299         (output_dir): New variable.
35300         (options): Add "output-dir" option.
35301         (parse_opt): Handle 'o' case.
35302         (main): If output_dir is non-NULL use it as a prefix
35303         otherwise use "".
35304         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35306 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35308         [BZ #10060, #10062]
35309         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35310         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35311         fail configure if __sync_val_compare_and_swap is not inlined.
35312         * sysdeps/i386/configure: Regenerate.
35313         * configure.in: Build for i686 when configured for i386.
35314         * configure: Regenerate.
35315         * README: Remove i386 reference.
35317 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35319         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35320         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35322 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35324         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35325         (lmsnanval): New variables.
35326         (F): Add conversion tests.
35327         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35328         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35330         * stdio-common/tstdiomisc.c (F): Properly collect individual
35331         tests' results.
35333         [BZ #14686, #15336]
35334         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35335         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35336         Instead, use input NaN values or generate a qNaN by arithmetic
35337         operation.  Also fix bugs to comply with the standard.
35338         * math/libm-test.inc (remainder_test): Add more tests.
35340         [BZ #15335, #15342]
35341         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35342         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35343         input NaN values or generate a qNaN by arithmetic operation.
35345         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35346         unreachable code.
35348         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35349         definitions.
35351 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35353         [BZ #14478]
35354         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35355         underflowed result.
35356         * math/s_cexpf.c (__cexpf): Likewise.
35357         * math/s_cexpl.c (__cexpl): Likewise.
35358         * math/libm-test.inc (cexp_test): Add more tests.
35360 2013-04-03  Andreas Schwab  <schwab@suse.de>
35362         [BZ #15330]
35363         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35364         order arrays from heap if bigger than alloca cutoff.
35366 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35368         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35369         (SNAN_TESTS_double): Refer to GCC PR56831.
35370         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35371         GCC PR56828.
35373 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35375         * Rules (bench): Move bench.out after the run is complete.
35377         * Rules (bench): Echo currently running benchmark.
35379         * benchtests/Makefile (bench): Add atan and slowatan.
35380         * benchtests/atan-inputs: New file.
35381         * benchtests/slowatan-inputs: New file.
35382         * benchtests/slowatan.c: New file.
35384         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35385         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35386         its value.
35388         [BZ #15305]
35389         * sysdeps/unix/sysv/linux/kernel-features.h
35390         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35391         __ASSUME_XFS_RESTRICTED_CHOWN.
35392         * sysdeps/unix/sysv/linux/pathconf.c
35393         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35394         Save and restore errno.
35396 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35398         [BZ #15327]
35399         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35400         arguments using __kernel_casinh.
35401         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35402         arguments using __kernel_casinhf.
35403         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35404         arguments using __kernel_casinhl.
35405         * math/libm-test.inc (cacosh_test): Add more tests.
35406         * sysdeps/i386/fpu/libm-test-ulps: Update.
35407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35409 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35411         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35412         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35414         * bench/Makefile (bench): Add sin and slowsin.
35415         * benchtests/sin-inputs: New file.
35416         * benchtests/slowsin-inputs: New file.
35417         * benchtests/slowsin.c: New file.
35419         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35420         (bench): Add slowexp and slowpow.
35421         (exp-ITER): Increase iterations.
35422         (pow-ITER): Likewise.
35423         * benchtests/exp-inputs: Change input.
35424         * benchtests/pow-inputs: Likewise.
35425         * benchtests/slowexp-inputs: New file.
35426         * benchtests/slowexp.c: New file.
35427         * benchtests/slowpow-inputs: New file.
35428         * benchtests/slowpow.c: New file.
35430 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35432         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35433         instructions.
35434         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35435         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35436         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35437         * benchtests/Makefile: Add rint benchtest.
35438         * benchtests/rint-inputs: Input for rint benchtest.
35440 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35442         * Versions.def (libm): Add GLIBC_2.18.
35443         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35444         hidden libm prototypes.
35445         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35446         * math/Makefile (libm-calls): Add s_issignaling.
35447         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35448         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35449         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35450         declaration.
35451         * math/math.h [__USE_GNU] (issignaling): New macro.
35452         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35453         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35454         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35455         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35456         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35457         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35458         * manual/arith.texi (issignaling): New section.
35459         * manual/libm-err-tab.pl (@all_functions): Update comment.
35460         * math/gen-libm-test.pl (parse_args): Apply special handling for
35461         issignaling.
35462         * math/libm-test.inc (print_float, issignaling_test): New
35463         functions.
35464         (check_float_internal): Add issignaling checks.
35465         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35466         default definition.
35467         * sysdeps/powerpc/math-tests.h: New file.
35468         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35469         tests.
35470         * math/test-snan.c (TEST_FUNC): Likewise.
35472 2013-03-30  David S. Miller  <davem@davemloft.net>
35474         * po/de.po: Update from translation team.
35476 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35478         [BZ #10357]
35479         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35480         imaginary part less than 1.0 and real part less than 0.5
35481         specially.
35482         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35483         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35484         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35485         (cacos_test): Add more tests.
35486         (casin_test): Likewise.
35487         (casinh_test): Likewise.
35488         * sysdeps/i386/fpu/libm-test-ulps: Update.
35489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35491 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35493         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35494         ONE with its value.
35496         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35497         (__pow_mp): Replace ONE and MONE with their values.
35498         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35499         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35500         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35501         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35502         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35503         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35505         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35507         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35508         (__pow_mp): Replace ZERO and MZERO with their values.
35509         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35510         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35511         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35512         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35513         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35514         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35515         (__sqr): Likewise.
35517         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35519         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35521 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35523         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35524         Declare with __attribute__ ((weak)).
35525         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35526         Call __call_tls_dtors only if it's not NULL.
35528 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35530         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35531         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35532         magic __ehdr_start linker symbol if it's defined.
35533         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35534         them up here if it was already done.
35536         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35537         (_dl_aux_init): Use const in cast when setting it.
35538         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35539         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35540         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35542         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35543         Declare them here.
35544         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35545         * csu/libc-tls.c: Nor here.
35546         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35548         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35549         (__libc_message): Never call vsyslog.
35551 2013-03-28  Alan Modra  <amodra@gmail.com>
35553         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35554         Define as empty.
35555         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35556         Likewise.
35558 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35560         [BZ #15214]
35561         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35562         underflow.
35563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35565 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35567         [BZ #15304]
35568         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35569         Don't add gid passed as argument.
35571         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35573 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35575         [BZ #15307]
35576         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35577         imaginary part between 1.0 and 1.5 and real part less than 0.5
35578         specially.
35579         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35580         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35581         * math/libm-test.inc (cacos_test): Add more tests.
35582         (casin_test): Likewise.
35583         (casinh_test): Likewise.
35584         * sysdeps/i386/fpu/libm-test-ulps: Update.
35585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35587 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35589         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35590         constants.
35591         (norm): Likewise.
35592         (denorm): Likewise.
35593         (__dbl_mp): Likewise.
35594         (add_magnitudes): Likewise.
35595         (sub_magnitudes): Likewise.
35596         (__add): Likewise.
35597         (__sub): Likewise.
35598         (__mul): Likewise.
35599         (__sqr): Likewise.
35600         (__inv): Likewise.
35601         (__dvd): Likewise.
35603         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35604         commented code.
35605         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35606         (__dubcos): Likewise.
35607         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35608         (__ieee754_acos): Likewise.
35609         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35610         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35611         (__exp1): Likewise.
35612         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35613         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35614         (log1): Likewise.
35615         (my_log2): Likewise.
35616         (checkint): Likewise.
35617         * sysdeps/ieee754/dbl-64/e_remainder.c
35618         (__ieee754_remainder): Likewise.
35619         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35620         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35621         (bsloww): Likewise.
35622         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35624         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35625         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35626         MANTISSA_STORE_T to store computations on mantissa.  Use
35627         macros for rounding and division.
35628         (denorm): Likewise.
35629         (__dbl_mp): Likewise.
35630         (add_magnitudes): Likewise.
35631         (sub_magnitudes): Likewise.
35632         (__mul): Likewise.
35633         (__sqr): Likewise.
35634         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35635         powers of two in terms of TWOPOW macro.
35636         (mp_no): Make type of mantissa as MANTISSA_T.
35637         [!RADIXI]: Define RADIXI.
35638         [!TWO52]: Define TWO52.
35639         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35641 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35643         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35644         llroundl symbol when building for PPC32.
35646 2013-03-24  Mark H Weaver  <mhw@netris.org>
35648         * manual/arith.texi (Normalization Functions): Fix prototypes for
35649         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35651 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35653         [BZ #13889]
35654         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35655         high value to check if expl overflow.
35656         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35657         to check for underflow and overflow.
35658         * math/libm-test.inc: Add exp test.
35660 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35662         [BZ #11120]
35663         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35664         with NOT_IN_libc.
35666 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35668         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35669         symbol.
35671 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35673         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35674         wrap blocks consisting of several statements.
35676         * sysdeps/generic/math-tests.h: New file.
35677         * sysdeps/i386/fpu/math-tests.h: Likewise.
35678         * math/test-snan.c: Include it.
35679         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35681 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35683         [BZ #15285]
35684         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35685         (__ieee754_j0l): Do not improve calculations using cos of twice
35686         input for inputs above LDBL_MAX / 2.0L.
35687         (__ieee754_y0l): Likewise.
35688         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35689         (__ieee754_j1l): Do not improve calculations using cos of twice
35690         input for inputs above LDBL_MAX / 2.0L.
35691         (__ieee754_y1l): Likewise.
35692         * math/libm-test.inc (j0_test): Add another test.
35693         (j1_test): Likewise.
35694         (y0_test): Likewise.
35695         (y1_test): Likewise.
35696         * sysdeps/i386/fpu/libm-test-ulps: Update.
35698 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35700         * Rules ($(objpfx)bench-%.c): Include code from a C source
35701         file.
35703 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35705         [BZ #15287]
35706         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35707         imaginary part 1.0 and real part less than 0.5 specially.
35708         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35709         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35710         * math/libm-test.inc (cacos_test): Add more tests.
35711         (casin_test): Likewise.
35712         (casinh_test): Likewise.
35713         * sysdeps/i386/fpu/libm-test-ulps: Update.
35714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35716 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35718         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35719         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35721 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35723         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35724         * config.make.in (config-cflags-sse4): Remove variable.
35725         (config-cflags-avx): Likewise.
35726         (config-cflags-sse2avx): Likewise.
35727         (config-cflags-novzeroupper): Likewise.
35728         (config-asflags-i686): Likewise.
35729         (have-mfma4): Likewise.
35730         (have-as-vis3): Likewise.
35731         (MIG): Likewise.
35732         * configure.in (MIG): Do not AC_SUBST.
35733         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35734         (libc_cv_cc_sse4): Do not AC_SUBST.
35735         (libc_cv_cc_avx): Likewise.
35736         (libc_cv_cc_sse2avx): Likewise.
35737         (libc_cv_cc_novzeroupper): Likewise.
35738         (libc_cv_cc_fma4): Likewise.
35739         (libc_cv_as_i686): Likewise.
35740         (libc_cv_sparc_as_vis3): Likewise.
35741         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35742         LIBC_CONFIG_VAR.
35743         (config-asflags-i686): Likewise.
35744         (config-cflags-avx): Likewise.
35745         (config-cflags-sse2avx): Likewise.
35746         (have-mfma4): Likewise.
35747         (config-cflags-novzeroupper): Likewise.
35748         * sysdeps/mach/configure.in (MIG): Likewise.
35749         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35750         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35751         LIBC_CONFIG_VAR.
35752         (config-cflags-avx): Likewise.
35753         (config-cflags-sse2avx): Likewise.
35754         (have-mfma4): Likewise.
35755         (config-cflags-novzeroupper): Likewise.
35756         * configure: Regenerated.
35757         * sysdeps/i386/configure: Likewise.
35758         * sysdeps/mach/configure: Likewise.
35759         * sysdeps/sparc/configure: Likewise.
35760         * sysdeps/x86_64/configure: Likewise.
35762 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35764         [BZ #14812]
35765         * locale/programs/localedef.c (options): Put N_ translation marker
35766         on argument names, not just descriptions.
35768 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35770         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35772 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35774         [BZ #14176]
35775         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35777 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35779         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35780         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35781         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35782         [!BEFORE_ABORT] (before_abort): New function.
35783         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35784         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35785         (writev_for_fatal): New function.
35786         (WRITEV_FOR_FATAL): New macro; call that.
35787         (backtrace_and_maps): New function.
35788         (BEFORE_ABORT): New macro; call that.
35789         (struct str_list): Type removed.
35790         (__libc_message, __libc_fatal): Functions removed.
35791         Include <sysdeps/posix/libc_fatal.c> instead.
35793 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35795         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35796         constants.
35797         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35798         double constants.
35800 2013-03-19  Andreas Schwab  <schwab@suse.de>
35802         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35803         * sysdeps/gnu/configure: Regenerate.
35805         * configure.in: Substitute libc_cv_rtlddir.
35806         * configure: Regenerate.
35807         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35808         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35809         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35810         * elf/Makefile (install-others, CFLAGS-interp.c)
35811         (ldso_install, common-ldd-rewrite): Likewise.
35812         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35813         $(inst_slibdir)/$(rtld-installed-name).
35814         * scripts/rellns-sh: Add -p option.
35815         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35816         for source.
35818 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35820         * manual/nptl.texi: Renamed to ...
35821         * manual/threads.texi: ... this.
35822         * manual/Makefile (chapters): Update.
35824 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35826         [BZ #14812]
35827         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35828         on argument names, not just descriptions.
35829         * malloc/memusagestat.c (options): Likewise.
35830         * nss/getent.c (options): Likewise.
35832 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35834         [BZ #14812]
35835         * iconv/iconv_prog.c (options): Put N_ translation marker
35836         on argument names, not just descriptions.
35837         * iconv/iconvconfig.c (options): Likewise.
35839 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35841         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35842         implementation which is faster on all x86_64 architectures.
35843         Tested on AMD, Intel Nehalem, SNB, IVB.
35844         * sysdeps/x86_64/strnlen.S: Likewise.
35846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35847         Remove all multiarch strlen and strnlen versions.
35848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35849         Remove strlen and strnlen related parts.
35851         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35852         Inline strlen part.
35853         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35855         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35856         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35857         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35858         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35859         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35860         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35862 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35864         * manual/memory.texi (Malloc Tunable Parameters):
35865         Sort parameters alphabetically. Add comments for missing entries.
35867 2013-03-17  David S. Miller  <davem@davemloft.net>
35869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35871 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35873         [BZ #15283]
35874         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35875         for arguments at most half maximum finite value.
35876         * math/libm-test.inc (j0_test): Add more tests.
35877         (j1_test): Likewise.
35878         (y0_test): Likewise.
35879         (y1_test): Likewise.
35880         * sysdeps/i386/fpu/libm-test-ulps: Update.
35881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35883         [BZ #14155]
35884         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35885         1 / x and functions P and Q for arguments above 0x1p256L.
35886         (__ieee754_y0l): Likewise.
35887         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35888         (__ieee754_y1l): Likewise.
35889         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35890         (j1_test): Likewise.
35891         (y0_test): Likewise.
35892         (y1_test): Likewise.
35894 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35896         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35897         variable.
35899 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35901         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35902         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35903         zero since it's initialized to EXEC_PAGESIZE.
35905         * sysdeps/unix/sysv/linux/ldsodefs.h
35906         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35907         * sysdeps/generic/ldsodefs.h: ... here.
35909 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35911         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35913         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35914         math/test-snan.c.
35915         * math/test-snan.c: Renamed from
35916         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35917         * math/Makefile (tests): Add test-snan.
35918         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35919         test-powerpc-snan.
35921         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35922         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35923         functions.
35924         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35925         __builtin_nan family of functions.
35926         * math/libm-test.inc (initialize): Initialize qnan_value with
35927         __builtin_nan family of functions.
35928         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35929         Remove variables.
35930         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35931         Remove functions.
35932         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35933         storage class.  Initialize qNaN_var and sNaN_var with
35934         __builtin_nan and __builtin_nans families of functions,
35935         respectively.
35937         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35938         (sqrt_test): Remove duplicate test with qNaN input.
35939         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35940         (round_test, signbit_test, significand_test): Note missing +/-Inf
35941         as well as qNaN tests.
35943         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35944         qNaN_var.  Fix a few strings, too.
35945         * math/libm-test.inc (nan_value): Rename to qnan_value.
35946         * math/gen-libm-test.pl (%beautify): Adjust to that.
35947         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35948         * math/test-misc.c (main): Likewise.
35949         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35950         to __qnan_bytes, and __qnan_union, respectively.
35951         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35952         Likewise.
35953         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35954         and lqnanval, respectively.
35955         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35956         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35957         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35958         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35960         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35961         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35962         doubles.
35964         * math/test-misc.c (main): Fix copy'n'pastos.
35965         * misc/tst-efgcvt.c (special): Likewise.
35967         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35968         Remove declarations.
35970 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35972         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35973         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35974         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35975         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35977 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35979         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35980         macro to return vdso values correctly in IFUNC implementations.
35981         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35982         Optimization by using IFUNC.
35984 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35985             Richard Henderson  <rth@redhat.com>
35986             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35988         * Makefile.in (bench): New target.
35989         * NEWS: Mention the benchmark framework.
35990         * Rules (bench): Likewise.
35991         (binaries-bench): Generate binaries for functions to
35992         benchmark.
35993         * benchtests/Makefile: New makefile for benchmark tests.
35994         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35995         programs.
35996         * benchtests/exp-inputs: New input file for EXP function.
35997         * benchtests/pow-inputs: New input file for POW function.
35998         * scripts/bench.pl: New script to generate source files for
35999         benchmark programs.
36001 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36003         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36004         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36005         computations on mantissa.  Use macros for rounding and
36006         division.
36007         (denorm): Likewise.
36008         (__dbl_mp): Likewise.
36009         (add_magnitudes): Likewise.
36010         (sub_magnitudes): Likewise.
36011         (__mul): Likewise.
36012         (__sqr): Likewise.
36013         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36014         powers of two in terms of TWOPOW macro.
36015         (mp_no): Make type of mantissa as MANTISSA_T.
36016         [!RADIXI]: Define RADIXI.
36017         [!TWO52]: Define TWO52.
36018         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36020         * manual/nptl.texi (cindex): Modify threads to pthreads.
36022 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36024         * sysdeps/x86_64/preconfigure: Regenerated.
36026 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36028         [BZ #14155]
36029         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36030         0x1p28 and above.
36031         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36032         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36033         0x1p28 and above.
36034         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36035         * math/libm-test.inc (j0_test): Do not allow one spurious
36036         underflow exception.
36037         (y1_test): Likewise.
36039 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36041         * manual/Makefile (chapters): Add nptl.
36042         * manual/debug.texi (Debugging Support): Add link to Threads
36043         chapter.
36044         * manual/nptl.texi: New file.
36046         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36048 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36050         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36051         for non-NULL pointer before the memory validity test. Pointed
36052         out by Holger Brunck <holger.brunck@keymile.com>.
36054 2013-03-13  Andreas Schwab  <schwab@suse.de>
36056         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36057         instead of .os.
36059 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36061         * timezone/zic.c: Update from tzcode 2013b.
36063 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36065         * manual/install.texi (Configuring and compiling):
36066         Mention i686 and i586.
36067         * INSTALL: Regenerate.
36069 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36071         * sysdeps/init_array/elf-init.c: New file.
36072         * csu/elf-init.c
36073         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36074         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36076         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36077         __gmon_start__ as global, but as static with a .preinit_array pointer.
36078         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36079         * sysdeps/init_array/crti.S: New file, empty except for comments.
36080         * sysdeps/init_array/crtn.S: Likewise.
36082 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36084         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36085         definining bcopy.
36086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36087         Remove Prefer_SSE_for_memop.
36088         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36089         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36090         HAS_PREFER_SSE_FOR_MEMOP.
36091         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36092         memset-x86-64.
36093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36094         Remove bzero, memset ifunc support.
36095         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36096         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36097         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36098         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36100 2013-03-11  Andreas Schwab  <schwab@suse.de>
36102         [BZ #15234]
36103         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36104         by SHLIB_COMPAT.
36105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36106         (GLIBC_2.16): Remove pthread_atfork.
36108 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36110         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36111         (ptestcases.h): Likewise.
36113 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36115         * Makeconfig ($(common-objpfx)config.status): Depend on
36116         sysdeps/*/preconfigure{,.in} too.
36118 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36120         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36121         (__free_hook): Use void * instead of __malloc_ptr_t.
36122         (__malloc_hook): Likewise.
36123         (__realloc_hook): Likewise.
36124         (__memalign_hook): Likewise.
36125         (__after_morecore_hook): Likewise.
36126         * malloc/arena.c (save_malloc_hook): Likewise.
36127         (save_free_hook): Likewise.
36128         * malloc/hooks.c (malloc_hook_ini): Likewise.
36129         (realloc_hook_ini): Likewise.
36130         (memalign_hook_ini): Likewise.
36131         * malloc/malloc.c (malloc_hook_ini): Likewise.
36132         (realloc_hook_ini): Likewise.
36133         (memalign_hook_ini): Likewise.
36134         (__free_hook): Likewise.
36135         (__malloc_hook): Likewise.
36136         (__realloc_hook): Likewise.
36137         (__memalign_hook): Likewise.
36138         (__libc_malloc): Likewise.
36139         (__libc_free): Likewise.
36140         (__libc_realloc): Likewise.
36141         (__libc_memalign): Likewise.
36142         (__libc_valloc): Likewise.
36143         (__libc_pvalloc): Likewise.
36144         (__libc_calloc): Likewise.
36145         (__posix_memalign): Likewise.
36146         * malloc/morecore.c (__sbrk): Likewise.
36147         (__default_morecore): Likewise.
36149         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36151         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36152         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36153         __malloc_ptrdiff_t.
36155         * malloc/malloc.h (__malloc_size_t): Remove macro.
36156         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36157         __malloc_size_t.
36158         (old_memalign_hook): Likewise.
36159         (old_realloc_hook): Likewise.
36160         (struct hdr): Likewise.
36161         (flood): Likewise.
36162         (mallochook): Likewise.
36163         (memalignhook): Likewise.
36164         (reallochook): Likewise.
36165         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36166         (tr_old_realloc_hook): Likewise.
36167         (tr_old_memalign_hook): Likewise.
36168         (tr_mallochook): Likewise.
36169         (tr_reallochook): Likewise.
36170         (tr_memalignhook): Likewise.
36172 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36174         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36175         default_ldbl_pack and using as default implementation.
36176         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36177         implementation.
36178         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36179         redundant definition.
36180         (ldbl_insert_mantissa): Likewise.
36181         (ldbl_canonicalize): Likewise.
36182         (ldbl_nearbyint): Likewise.
36183         (ldbl_pack): Rename to ldbl_pack_ppc.
36184         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36185         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36186         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36188 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36190         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36191         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36192         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36193         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36195         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36196         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36197         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36199 2013-03-07  Andreas Jaeger  <aj@suse.de>
36201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36202         bits/mman-linux.h.
36204 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36206         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36207         Include mpa.h and declare __MPEXP.
36208         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36209         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36210         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36211         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36212         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36213         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36214         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36216         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36217         (__slowpow): Use long double EXPL and LOGL functions to
36218         compute POW.
36219         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36220         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36221         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36222         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36223         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36224         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36227         intermediate variable to calculate exponent.
36228         (__sqr): Likewise.
36229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36230         Likewise.
36231         (__sqr): Likewise.
36233         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36234         [!NO__SQR]: Define __sqr.
36235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36236         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36237         sysdeps/ieee754/dbl-64/mpa.c.
36238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36240         [BZ #12723]
36241         * posix/Makefile (tests): Add tst-pathconf.
36242         * posix/tst-pathconf.c: New test case.
36243         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36244         _PC_PIPE_BUF.
36245         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36247 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36249         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36251 2013-03-06  Andreas Jaeger  <aj@suse.de>
36253         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36254         definition via __MAP_ANONYMOUS.
36256         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36257         it's not part of Linux headers.
36259         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36260         (MAP_HUGE_MASK): Define.
36262         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36263         Define.
36264         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36265         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36266         Define.
36267         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36268         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36269         Define.
36270         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36271         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36272         Define.
36273         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36275         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36276         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36277         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36278         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36279         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36280         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36282         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36283         Handle f2fs.
36285         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36286         Handle f2fs and efivarfs.
36288         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36289         f2fs.
36291         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36292         (EFIVARFS_MAGIC): Add.
36293         (F2FS_LINK_MAX): Add.
36295 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36297         * stdio-common/vfprintf.c: Replace __builtin_expect with
36298         __glibc_unlikely.
36300 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36302         [BZ #13550]
36303         * sysdeps/generic/bp-sym.h: Remove file.
36304         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36305         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36306         <bp-sym.h> and <bp-asm.h>.
36307         (__longjmp): Don't use BP_SYM.
36308         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36309         and <bp-asm.h>.
36310         (memcpy): Don't use BP_SYM.
36311         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36312         <bp-sym.h> and <bp-asm.h>.
36313         (memcpy): Don't use BP_SYM.
36314         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36315         <bp-asm.h>.
36316         (memcpy): Don't use BP_SYM.
36317         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36318         <bp-asm.h>.
36319         (memset): Don't use BP_SYM.
36320         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36321         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36322         (__bzero): Don't use BP_SYM.
36323         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36324         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36325         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36326         <bp-sym.h> and <bp-asm.h>.
36327         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36328         pointers.
36329         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36330         <bp-sym.h> and <bp-asm.h>.
36331         (memcpy): Don't use BP_SYM.
36332         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36333         <bp-sym.h> and <bp-asm.h>.
36334         (memset): Don't use BP_SYM.
36335         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36336         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36337         (__bzero): Don't use BP_SYM.
36338         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36339         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36340         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36341         <bp-sym.h> and <bp-asm.h>.
36342         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36343         pointers.
36344         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36345         <bp-sym.h> and <bp-asm.h>.
36346         (memcpy): Don't use BP_SYM.
36347         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36348         <bp-sym.h> and <bp-asm.h>.
36349         (memset): Don't use BP_SYM.
36350         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36351         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36352         (__bzero): Don't use BP_SYM.
36353         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36354         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36355         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36356         <bp-sym.h> and <bp-asm.h>.
36357         (__memchr): Don't use BP_SYM.
36358         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36359         <bp-sym.h> and <bp-asm.h>.
36360         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36361         pointers.
36362         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36363         <bp-sym.h> and <bp-asm.h>.
36364         (memcpy): Don't use BP_SYM.
36365         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36366         <bp-sym.h> and <bp-asm.h>.
36367         (__mempcpy): Don't use BP_SYM.
36368         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36369         <bp-sym.h> and <bp-asm.h>.
36370         (__memrchr): Don't use BP_SYM.
36371         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36372         <bp-sym.h> and <bp-asm.h>.
36373         (memset): Don't use BP_SYM.
36374         (__bzero): Likewise.
36375         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36376         <bp-sym.h> and <bp-asm.h>.
36377         (__rawmemchr): Don't use BP_SYM.
36378         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36379         <bp-sym.h> and <bp-asm.h>.
36380         (__STRCMP): Don't use BP_SYM.
36381         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36382         <bp-sym.h> and <bp-asm.h>.
36383         (strchr): Don't use BP_SYM.
36384         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36385         <bp-sym.h> and <bp-asm.h>.
36386         (__strchrnul): Don't use BP_SYM.
36387         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36388         <bp-sym.h> and <bp-asm.h>.
36389         (strlen): Don't use BP_SYM.
36390         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36391         <bp-sym.h> and <bp-asm.h>.
36392         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36393         pointers.
36394         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36395         <bp-sym.h> and <bp-asm.h>.
36396         (__strnlen): Don't use BP_SYM.
36397         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36398         <bp-sym.h> and <bp-asm.h>.
36399         (__GI__setjmp): Don't use BP_SYM.
36400         (_setjmp): Likewise.
36401         (__sigsetjmp): Likewise.
36402         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36403         (L(start_addresses)): Don't use BP_SYM.
36404         (_start): Likewise.
36405         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36406         <bp-asm.h>.
36407         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36408         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36409         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36410         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36411         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36412         <bp-asm.h>.
36413         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36414         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36415         about bounded pointers.
36416         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36417         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36418         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36419         <bp-asm.h>.
36420         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36421         about bounded pointers.  Remove GKM FIXME comments.
36422         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36423         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36424         <bp-asm.h>.
36425         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36426         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36427         Remove GKM FIXME comments.
36428         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36429         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36430         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36431         <bp-asm.h>.
36432         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36433         about bounded pointers.  Remove GKM FIXME comment.
36434         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36435         and <bp-asm.h>.
36436         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36437         pointers.
36438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36439         <bp-sym.h> and <bp-asm.h>.
36440         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36442         <bp-sym.h> and <bp-asm.h>.
36443         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36444         comment.
36446 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36448         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36449         call free(NULL).
36451 2013-03-05  David S. Miller  <davem@davemloft.net>
36453         * po/es.po: Update from translation team.
36455 2013-03-05  Andreas Jaeger  <aj@suse.de>
36457         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36458         <bits/mman-linux.h>.
36459         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36460         is fine.
36461         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36462         <bits/mman-linux.h> to end of file.
36463         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36464         is fine.
36465         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36466         <bits/mman-linux.h> to end of file.
36467         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36468         is fine.
36469         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36470         <bits/mman-linux.h> to end of file.
36472         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36473         (MCL_CURRENT, MCL_FUTURE): Define here.
36475 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36477         [BZ #15232]
36478         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36479         attribute_hidden.
36480         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36482 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36484         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36485         fourth parameter needed for rt_sigprocmask syscall.
36486         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36487         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36488         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36489         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36490         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36491         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36493 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36495         [BZ #13550]
36496         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36497         comment about bounded pointers.
36498         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36499         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36501 2013-03-04  Andreas Jaeger  <aj@suse.de>
36503         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36504         common definitions.
36506         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36507         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36508         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36509         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36510         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36511         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36513 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36515         [BZ #15055]
36516         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36517         __ieee754_sqrl instead of __sqrl.
36519 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36521         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36522         * sysdeps/powerpc/fpu_control.h: ... here.
36523         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36524         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36525         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36526         * sysdeps/powerpc/bits/mathinline.h: ... here.
36528 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36530         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36531         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36532         to just [NEED_DL_SYSINFO_DSO].
36533         * elf/dl-support.c: Likewise.
36534         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36535         * elf/rtld.c (dl_main): Likewise.
36536         * elf/setup-vdso.h (setup_vdso): Likewise.
36537         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36538         * sysdeps/unix/sysv/linux/dl-sysdep.c
36539         (_dl_discover_osversion): Likewise.
36541 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36543         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36544         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36546 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36548         * NEWS: Mention libm performance improvements and non-x86 PI
36549         futex support.
36551         * csu/libc-start.c (__pthread_initialize_minimal): Change
36552         function arguments.
36553         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36555 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36557         [BZ #13550]
36558         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36559         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36560         <bp-sym.h> and <bp-asm.h>.
36561         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36562         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36563         and <bp-asm.h>.
36564         (memcpy): Don't use BP_SYM.
36565         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36566         <bp-asm.h>.
36567         (__mpn_add_n): Don't use BP_SYM.
36568         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36569         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36570         and <bp-asm.h>.
36571         (__mpn_addmul_1): Don't use BP_SYM.
36572         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36573         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36574         <bp-sym.h>.
36575         (_setjmp): Don't use BP_SYM.
36576         (__novmx_setjmp): Likewise.
36577         (__GI__setjmp): Likewise.
36578         (__vmx_setjmp): Likewise.
36579         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36580         <bp-sym.h>.
36581         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36582         (__bzero): Don't use BP_SYM.
36583         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36584         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36585         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36586         <bp-sym.h> and <bp-asm.h>.
36587         (memcpy): Don't use BP_SYM.
36588         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36589         <bp-sym.h> and <bp-asm.h>.
36590         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36591         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36592         <bp-sym.h> and <bp-asm.h>.
36593         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36594         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36595         <bp-asm.h>.
36596         (__mpn_lshift): Don't use BP_SYM.
36597         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36598         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36599         <bp-asm.h>.
36600         (memset): Don't use BP_SYM.
36601         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36602         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36603         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36604         <bp-asm.h>.
36605         (__mpn_mul_1): Don't use BP_SYM.
36606         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36607         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36608         <bp-sym.h> and <bp-asm.h>.
36609         (memcmp): Don't use BP_SYM.
36610         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36611         <bp-sym.h> and <bp-asm.h>.
36612         (memcpy): Don't use BP_SYM.
36613         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36614         <bp-sym.h> and <bp-asm.h>.
36615         (memset): Don't use BP_SYM.
36616         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36617         <bp-sym.h> and <bp-asm.h>.
36618         (strncmp): Don't use BP_SYM.
36619         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36620         <bp-sym.h> and <bp-asm.h>.
36621         (memcpy): Don't use BP_SYM.
36622         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36623         <bp-sym.h> and <bp-asm.h>.
36624         (memset): Don't use BP_SYM.
36625         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36626         <bp-sym.h> and <bp-asm.h>.
36627         (__memchr): Don't use BP_SYM.
36628         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36629         <bp-sym.h> and <bp-asm.h>.
36630         (memcmp): Don't use BP_SYM.
36631         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36632         <bp-sym.h> and <bp-asm.h>.
36633         (memcpy): Don't use BP_SYM.
36634         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36635         <bp-sym.h> and <bp-asm.h>.
36636         (__mempcpy): Don't use BP_SYM.
36637         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36638         <bp-sym.h> and <bp-asm.h>.
36639         (__memrchr): Don't use BP_SYM.
36640         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36641         <bp-sym.h> and <bp-asm.h>.
36642         (memset): Don't use BP_SYM.
36643         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36644         <bp-sym.h> and <bp-asm.h>.
36645         (__rawmemchr): Don't use BP_SYM.
36646         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36647         <bp-sym.h> and <bp-asm.h>.
36648         (__STRCMP): Don't use BP_SYM.
36649         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36650         <bp-sym.h> and <bp-asm.h>.
36651         (strchr): Don't use BP_SYM.
36652         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36653         <bp-sym.h> and <bp-asm.h>.
36654         (__strchrnul): Don't use BP_SYM.
36655         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36656         <bp-sym.h> and <bp-asm.h>.
36657         (strlen): Don't use BP_SYM.
36658         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36659         <bp-sym.h> and <bp-asm.h>.
36660         (strncmp): Don't use BP_SYM.
36661         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36662         <bp-sym.h> and <bp-asm.h>.
36663         (__strnlen): Don't use BP_SYM.
36664         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36665         <bp-asm.h>.
36666         (__mpn_rshift): Don't use BP_SYM.
36667         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36668         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36669         <bp-sym.h> and <bp-asm.h>.
36670         (__sigsetjmp): Don't use BP_SYM.
36671         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36672         (L(start_addresses)): Don't use BP_SYM.
36673         (_start): Likewise.
36674         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36675         <bp-asm.h>.
36676         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36677         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36678         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36679         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36680         <bp-asm.h>.
36681         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36682         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36683         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36684         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36685         <bp-asm.h>.
36686         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36687         comments.
36688         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36689         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36690         <bp-asm.h>.
36691         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36692         FIXME comments.
36693         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36694         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36695         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36696         <bp-asm.h>.
36697         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36698         comment.
36699         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36700         and <bp-asm.h>.
36701         (strncmp): Don't use BP_SYM,
36702         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36703         <bp-asm.h>.
36704         (__mpn_sub_n): Don't use BP_SYM.
36705         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36706         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36707         and <bp-asm.h>.
36708         (__mpn_submul_1): Don't use BP_SYM.
36709         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36711         <bp-sym.h> and <bp-asm.h>.
36712         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36714         <bp-sym.h> and <bp-asm.h>.
36715         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36716         comment.
36718 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36721         Use ZK to minimize writes to Z.
36722         (sub_magnitudes): Simplify code a bit.
36723         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36724         Use ZK to minimize writes to Z.
36725         (sub_magnitudes): Simplify code a bit.
36727 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36729         * csu/gmon-start.c: Add special exception to license text.
36731 2013-02-27  Richard Henderson  <rth@redhat.com>
36733         * scripts/config.guess: Update from config.git.
36734         * scripts/config.sub: Likewise.
36736 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36738         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36740         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36742         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36744         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36746         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36748 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36750         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36751         [$(build-shared = yes].
36753 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36755         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36756         (__mul): Reduce iterations for calculating mantissa.
36758         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36759         MPTWO.
36760         (__mpranred): Likewise.
36762         [BZ #15160]
36763         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36764         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36766 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36768         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36769         Define __attribute__.
36771 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36773         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36774         unused.
36775         * posix/regex_internal.h (__attribute): Remove.
36776         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36777         (re_string_context_at): Likewise.
36778         (bitset_not): Use __attribute__ and mark function as possibly
36779         unused.
36780         (bitset_merge): Likewise.
36781         (bitset_mask): Likewise.
36782         (re_string_char_size_at): Likewise.
36783         (re_string_wchar_at): Likewise.
36784         (re_string_elem_size_at): Likewise.
36786 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36788         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36789         code.
36790         (cc32): Likewise.
36792         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36793         (__acr): Likewise.
36794         (__cpy): Likewise.
36795         (norm): Likewise.
36796         (denorm): Likewise.
36797         (__dbl_mp): Likewise.
36798         (add_magnitudes): Likewise.
36799         (sub_magnitudes): Likewise.
36800         (__mul): Likewise.
36801         (__inv): Likewise.
36803         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36804         style.
36806         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36807         style.
36809         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36810         code.
36812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36813         up changes with default code.
36814         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36815         Likewise.
36817 2013-02-24  Allan McRae  <allan@archlinux.org>
36819         * manual/socket.texi (The Internet Namespace): Order menu items
36820         to match that in the file.
36822         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36823         node listing of the info page menu.
36825 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36827         [BZ #13550]
36828         * sysdeps/i386/bp-asm.h: Remove file.
36829         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36830         (PARMS): Do not use macros from bp-asm.h.
36831         (S1): Likewise.
36832         (S2): Likewise.
36833         (SIZE): Likewise.
36834         (__mpn_add_n): Do not use BP_SYM
36835         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36836         "bp-asm.h".
36837         (PARMS): Do not use macros from bp-asm.h.
36838         (S1): Likewise.
36839         (SIZE): Likewise.
36840         (__mpn_addmul_1): Do not use BP_SYM
36841         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36842         "bp-asm.h".
36843         (PARMS): Do not use macros from bp-asm.h.
36844         (SIGMSK): Likewise.
36845         (_setjmp): Likewise.  Do not use BP_SYM.
36846         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36847         "bp-asm.h".
36848         (PARMS): Do not use macros from bp-asm.h.
36849         (SIGMSK): Likewise.
36850         (setjmp): Likewise.  Do not use BP_SYM.
36851         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36852         "bp-asm.h".
36853         (PARMS): Do not use macros from bp-asm.h.
36854         (__frexp): Do not use BP_SYM.
36855         (frexp): Likewise.
36856         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36857         "bp-asm.h".
36858         (PARMS): Do not use macros from bp-asm.h.
36859         (__frexpf): Do not use BP_SYM.
36860         (frexpf): Likewise.
36861         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36862         "bp-asm.h".
36863         (PARMS): Do not use macros from bp-asm.h.
36864         (__frexpl): Do not use BP_SYM.
36865         (frexpl): Likewise.
36866         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36867         "bp-asm.h".
36868         (PARMS): Do not use macros from bp-asm.h.
36869         (__remquo): Do not use BP_SYM.
36870         (remquo): Likewise.
36871         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36872         "bp-asm.h".
36873         (PARMS): Do not use macros from bp-asm.h.
36874         (__remquof): Do not use BP_SYM.
36875         (remquof): Likewise.
36876         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36877         "bp-asm.h".
36878         (PARMS): Do not use macros from bp-asm.h.
36879         (__remquol): Do not use BP_SYM.
36880         (remquol): Likewise.
36881         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36882         "bp-asm.h".
36883         (PARMS): Do not use macros from bp-asm.h.
36884         (DEST): Likewise.
36885         (SRC): Likewise.
36886         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36887         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36888         "bp-asm.h".
36889         (PARMS): Do not use macros from bp-asm.h.
36890         (strlen): Do not use BP_SYM.
36891         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36892         "bp-asm.h".
36893         (PARMS): Do not use macros from bp-asm.h.
36894         (S1): Likewise.
36895         (S2): Likewise.
36896         (SIZE): Likewise.
36897         (__mpn_add_n): Do not use BP_SYM.
36898         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36899         "bp-asm.h".
36900         (PARMS): Do not use macros from bp-asm.h.
36901         (S1): Likewise.
36902         (SIZE): Likewise.
36903         (__mpn_addmul_1): Do not use BP_SYM.
36904         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36905         weak_alias.
36906         (bzero): Likewise.
36907         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36908         "bp-asm.h".
36909         (PARMS): Do not use macros from bp-asm.h.
36910         (S): Likewise.
36911         (SIZE): Likewise.
36912         (__mpn_lshift): Do not use BP_SYM.
36913         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36914         "bp-asm.h".
36915         (PARMS): Do not use macros from bp-asm.h.
36916         (DEST): Likewise.
36917         (SRC): Likewise.
36918         (LEN): Likewise.
36919         (memcpy): Likewise.  Do not use BP_SYM.
36920         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36921         libc_hidden_def and weak_alias.
36922         (mempcpy): Do not use BP_SYM in weak_alias.
36923         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36924         "bp-asm.h".
36925         (PARMS): Do not use macros from bp-asm.h.
36926         (DEST): Likewise.
36927         (LEN): Likewise.
36928         [!BZERO_P] (CHR): Likewise.
36929         (memset): Likewise.  Do not use BP_SYM.
36930         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36931         "bp-asm.h".
36932         (PARMS): Do not use macros from bp-asm.h.
36933         (S1): Likewise.
36934         (SIZE): Likewise.
36935         (__mpn_mul_1): Do not use BP_SYM.
36936         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36937         "bp-asm.h".
36938         (PARMS): Do not use macros from bp-asm.h.
36939         (S): Likewise.
36940         (SIZE): Likewise.
36941         (__mpn_rshift): Do not use BP_SYM.
36942         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36943         "bp-asm.h".
36944         (PARMS): Do not use macros from bp-asm.h.
36945         (STR): Likewise.
36946         (CHR): Likewise.
36947         (strchr): Likewise.  Do not use BP_SYM.
36948         (index): Do not use BP_SYM in weak_alias.
36949         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36950         "bp-asm.h".
36951         (PARMS): Do not use macros from bp-asm.h.
36952         (DEST): Likewise.
36953         (SRC): Likewise.
36954         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36955         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36956         "bp-asm.h".
36957         (PARMS): Do not use macros from bp-asm.h.
36958         (strlen): Do not use BP_SYM.
36959         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36960         "bp-asm.h".
36961         (PARMS): Do not use macros from bp-asm.h.
36962         (S1): Likewise.
36963         (S2): Likewise.
36964         (SIZE): Likewise.
36965         (__mpn_sub_n): Do not use BP_SYM.
36966         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36967         "bp-asm.h".
36968         (PARMS): Do not use macros from bp-asm.h.
36969         (S1): Likewise.
36970         (SIZE): Likewise.
36971         (__mpn_submul_1): Do not use BP_SYM.
36972         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36973         "bp-asm.h".
36974         (PARMS): Do not use macros from bp-asm.h.
36975         (S1): Likewise.
36976         (S2): Likewise.
36977         (SIZE): Likewise.
36978         (__mpn_add_n): Do not use BP_SYM.
36979         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36980         weak_alias.
36981         (bzero): Likewise.
36982         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36983         "bp-asm.h".
36984         (PARMS): Do not use macros from bp-asm.h.
36985         (BLK2): Likewise.
36986         (LEN): Likewise.
36987         (memcmp): Do not use BP_SYM.
36988         (bcmp): Do not use BP_SYM in weak_alias.
36989         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36990         "bp-asm.h".
36991         (PARMS): Do not use macros from bp-asm.h.
36992         (DEST): Likewise.
36993         (SRC): Likewise.
36994         (LEN): Likewise.
36995         (memcpy): Likewise.  Do not use BP_SYM.
36996         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36997         "bp-asm.h".
36998         (PARMS): Do not use macros from bp-asm.h.
36999         (DEST): Likewise.
37000         (SRC): Likewise.
37001         (LEN): Likewise.
37002         (memmove): Likewise.  Do not use BP_SYM.
37003         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37004         "bp-asm.h".
37005         (PARMS): Do not use macros from bp-asm.h.
37006         (DEST): Likewise.
37007         (SRC): Likewise.
37008         (LEN): Likewise.
37009         (__mempcpy): Likewise.  Do not use BP_SYM.
37010         (mempcpy): Do not use BP_SYM in weak_alias.
37011         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37012         "bp-asm.h".
37013         (PARMS): Do not use macros from bp-asm.h.
37014         (DEST): Likewise.
37015         (LEN): Likewise.
37016         [!BZERO_P] (CHR): Likewise.
37017         (memset): Likewise.  Do not use BP_SYM.
37018         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37019         "bp-asm.h".
37020         (PARMS): Do not use macros from bp-asm.h.
37021         (STR2): Likewise.
37022         (strcmp): Do not use BP_SYM.
37023         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37024         "bp-asm.h".
37025         (PARMS): Do not use macros from bp-asm.h.
37026         (STR): Likewise.
37027         (DELIM): Likewise.
37028         [USE_AS_STRTOK_R] (SAVE): Likewise.
37029         (FUNCTION): Likewise.  Do not use BP_SYM.
37030         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37031         aliases.
37032         (strtok_r): Likewise.
37033         (__GI___strtok_r): Likewise.
37034         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37035         (PARMS): Do not use macros from bp-asm.h.
37036         (S): Likewise.
37037         (SIZE): Likewise.
37038         (__mpn_lshift): Do not use BP_SYM.
37039         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37040         (PARMS): Do not use macros from bp-asm.h.
37041         (STR): Likewise.
37042         (CHR): Likewise.
37043         (__memchr): Do not use BP_SYM.
37044         (memchr): Do not use BP_SYM in weak_alias.
37045         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37046         (PARMS): Do not use macros from bp-asm.h.
37047         (BLK2): Likewise.
37048         (LEN): Likewise.
37049         (memcmp): Do not use BP_SYM.
37050         (bcmp): Do not use BP_SYM in weak_alias.
37051         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37052         (PARMS): Do not use macros from bp-asm.h.
37053         (S1): Likewise.
37054         (SIZE): Likewise.
37055         (__mpn_mul_1): Do not use BP_SYM.
37056         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37057         "bp-asm.h".
37058         (PARMS): Do not use macros from bp-asm.h.
37059         (STR): Likewise.
37060         (CHR): Likewise.
37061         (__rawmemchr): Do not use BP_SYM.
37062         (rawmemchr): Do not use BP_SYM in weak_alias.
37063         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37064         (PARMS): Do not use macros from bp-asm.h.
37065         (S): Likewise.
37066         (SIZE): Likewise.
37067         (__mpn_rshift): Do not use BP_SYM.
37068         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37069         (PARMS): Do not use macros from bp-asm.h.
37070         (SIGMSK): Likewise.
37071         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37072         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37073         (_start): Do not use BP_SYM.
37074         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37075         (PARMS): Do not use macros from bp-asm.h.
37076         (DEST): Likewise.
37077         (SRC): Likewise.
37078         (__stpcpy): Likewise.  Do not use BP_SYM.
37079         (stpcpy): Do not use BP_SYM in weak_alias.
37080         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37081         "bp-asm.h".
37082         (PARMS): Do not use macros from bp-asm.h.
37083         (DEST): Likewise.
37084         (SRC): Likewise.
37085         (LEN): Likewise.
37086         (__stpncpy): Likewise.  Do not use BP_SYM.
37087         (stpncpy): Do not use BP_SYM in weak_alias.
37088         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37089         (PARMS): Do not use macros from bp-asm.h.
37090         (STR): Likewise.
37091         (CHR): Likewise.
37092         (strchr): Likewise.  Do not use BP_SYM.
37093         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37094         "bp-asm.h".
37095         (PARMS): Do not use macros from bp-asm.h.
37096         (STR): Likewise.
37097         (CHR): Likewise.
37098         (__strchrnul): Likewise.  Do not use BP_SYM.
37099         (strchrnul): Do not use BP_SYM in weak_alias.
37100         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37101         "bp-asm.h".
37102         (PARMS): Do not use macros from bp-asm.h.
37103         (STOP): Likewise.
37104         (strcspn): Do not use BP_SYM.
37105         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37106         "bp-asm.h".
37107         (PARMS): Do not use macros from bp-asm.h.
37108         (STR): Likewise.
37109         (STOP): Likewise.
37110         (strpbrk): Likewise.  Do not use BP_SYM.
37111         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37112         "bp-asm.h".
37113         (PARMS): Do not use macros from bp-asm.h.
37114         (STR): Likewise.
37115         (CHR): Likewise.
37116         (strrchr): Likewise.  Do not use BP_SYM.
37117         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37118         (PARMS): Do not use macros from bp-asm.h.
37119         (SKIP): Likewise.
37120         (strspn): Do not use BP_SYM.
37121         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37122         (PARMS): Do not use macros from bp-asm.h.
37123         (STR): Likewise.
37124         (DELIM): Likewise.
37125         (SAVE): Likewise.
37126         (FUNCTION): Likewise.  Do not use BP_SYM.
37127         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37128         aliases.
37129         (strtok_r): Likewise.
37130         (__GI___strtok_r): Likewise.
37131         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37132         (PARMS): Do not use macros from bp-asm.h.
37133         (S1): Likewise.
37134         (S2): Likewise.
37135         (SIZE): Likewise.
37136         (__mpn_sub_n): Do not use BP_SYM.
37137         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37138         "bp-asm.h".
37139         (PARMS): Do not use macros from bp-asm.h.
37140         (S1): Likewise.
37141         (SIZE): Likewise.
37142         (__mpn_submul_1): Do not use BP_SYM.
37143         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37144         <bp-sym.h>.
37145         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37146         and <bp-asm.h>.
37147         (PARMS): Do not use macros from bp-asm.h.
37148         (FLAGS): Likewise.
37149         (PTID): Likewise.
37150         (TLS): Likewise.
37151         (CTID): Likewise.
37152         (__clone): Do not use BP_SYM.
37153         (clone): Do not use BP_SYM in weak_alias.
37154         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37155         and <bp-asm.h>.
37156         (PARMS): Do not use macros from bp-asm.h.
37157         (LEN): Likewise.
37158         (__mmap64): Do not use BP_SYM.
37159         (mmap64): Do not use BP_SYM in weak_alias.
37160         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37161         <bp-sym.h> and <bp-asm.h>.
37162         (PARMS): Do not use macros from bp-asm.h.
37163         (__posix_fadvise64_l64): Do not use BP_SYM.
37164         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37165         (PARMS): Do not use macros from bp-asm.h.
37166         (NSOPS): Likewise.
37167         (semtimedop): Do not use BP_SYM.
37168         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37169         and <bp-asm.h>.
37171 2013-02-21  Allan McRae  <allan@archlinux.org>
37173         * manual/message.texi (Charset conversion in gettext):
37174         Move @end statement to beginning of line.
37176 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37179         static.
37180         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37181         Likewise.
37183         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37184         (denorm): Likewise.
37185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37186         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37188 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37190         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37191         tail-call to the resolved function if pltexit isn't needed.
37193 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37195         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37196         or Y being zero as being unlikely.
37197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37198         Likewise.
37200 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37202         * manual/nss.texi (System Databases and Name Service Switch):
37203         Remove frobnicate @pxref.
37205 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37207         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37208         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37210 2013-02-20  Petr Machata  <pmachata@redhat.com>
37212         * elf/elf.h (R_ARM_TARGET1): New macro.
37213         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37214         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37215         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37216         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37217         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37218         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37219         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37220         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37221         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37222         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37223         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37224         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37225         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37226         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37227         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37228         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37229         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37230         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37231         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37232         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37233         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37234         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37235         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37236         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37237         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37238         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37239         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37240         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37241         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37242         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37243         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37244         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37245         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37246         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37247         (R_ARM_THM_GOT_BREL12): Likewise.
37248         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37249         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37250         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37251         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37252         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37253         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37254         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37255         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37256         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37258 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37260         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37261         __attribute_used__ to __attribute__ ((unused)).
37263 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37265         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37266         powerpc mpa.c.
37267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37268         comment formatting.
37269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37271 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37273         [BZ #13550]
37274         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37275         Remove macro.
37276         (ENTER): Remove both macro definitions.
37277         (LEAVE): Likewise.
37278         (CHECK_BOUNDS_LOW): Likewise.
37279         (CHECK_BOUNDS_HIGH): Likewise.
37280         (CHECK_BOUNDS_BOTH): Likewise.
37281         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37282         (RETURN_BOUNDED_POINTER): Likewise.
37283         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37284         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37285         (POP_ERRNO_LOCATION_RETURN): Likewise.
37286         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37287         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37288         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37289         macros.
37290         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37291         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37292         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37293         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37294         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37295         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37296         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37297         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37298         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37299         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37300         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37301         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37302         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37303         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37304         removed macros.
37305         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37306         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37307         macros.
37308         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37309         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37310         * sysdeps/i386/i586/memset.S (memset): Likewise.
37311         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37312         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37313         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37314         macros.
37315         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37316         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37317         Change uses of L(2) to L(out).
37318         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37319         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37320         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37321         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37322         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37323         removed macros.
37324         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37325         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37326         macros.
37327         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37328         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37329         (RETURN): Do not use macro LEAVE.
37330         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37331         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37332         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37333         * sysdeps/i386/i686/memset.S (memset): Likewise.
37334         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37335         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37336         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37337         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37338         Likewise.
37339         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37340         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37341         L(1_2) and L(1_3) into L(1).
37342         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37343         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37344         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37345         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37346         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37347         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37348         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37349         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37350         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37351         macros.
37352         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37353         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37354         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37355         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37356         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37357         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37358         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37359         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37360         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37361         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37362         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37363         * sysdeps/i386/strspn.S (strspn): Likewise.
37364         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37365         conditional code.
37366         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37367         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37368         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37369         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37370         L(1_3) into L(1_1).
37371         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37372         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37373         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37374         macros.
37375         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37377 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37379         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37380         macro.
37382 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37384         * math/atest-exp.c (exp_mpn): Remove ROUND.
37385         * math/atest-exp2.c (exp_mpn): Likewise.
37386         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37388         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37389         * stdlib/tst-tls-atexit-lib.c: Likewise.
37390         * stdlib/tst-tls-atexit.c: Likewise.
37392 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37394         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37395         and __attribute_alloc_size__.
37397 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37399         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37400         __attribute_alloc_size__.
37401         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37402         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37404 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37406         * include/programs/xmalloc.h: New file.
37407         * catgets/gencat.c: Include it.
37408         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37409         * elf/pldd.c: Likewise.
37410         * iconv/iconv_charmap.c: Likewise.
37411         * iconv/iconvconfig.c: Likewise.
37412         * iconv/strtab.c: Likewise.
37413         * locale/programs/locale.c: Likewise.
37414         * locale/programs/localedef.h: Likewise.
37415         * locale/programs/simple-hash.c: Likewise.
37416         * nscd/nscd.h: Likewise.
37417         * nss/makedb.c: Likewise.
37418         * sysdeps/generic/ldconfig.h: Likewise.
37420 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37422         * Versions.def: Add GLIBC_2.18.
37423         * include/link.h (struct link_map): New member l_tls_dtor_count.
37424         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37425         (__call_tls_dtors): Likewise.
37426         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37427         __cxa_thread_atexit_impl.
37428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37429         Likewise.
37430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37431         Likewise.
37432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37433         Likewise.
37434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37435         Likewise.
37436         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37438         Likewise.
37439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37440         Likewise.
37441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37443         Likewise.
37444         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37445         (tests): Add test case tst-tls-atexit.
37446         (modules-names): Add shared library for tst-tls-atexit.
37447         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37448         (GLIBC_PRIVATE): Add __call_tls_dtors.
37449         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37450         for libstdc++.
37451         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37452         * stdlib/tst-tls-atexit.c: New test case.
37453         * stdlib/tst-tls-atexit-lib.c: New test case.
37455         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37457         * elf/Versions (ld): Add _dl_find_dso_for_object.
37458         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37459         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37460         (dl_open_worker): Use _dl_find_dso_for_object.
37461         * elf/dl-sym.c (do_sym): Likewise.
37462         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37464 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37466         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37467         Syntactic changes only.
37468         (_dl_runtime_profile): Do a tail-call to the resolved function.
37470 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37472         [BZ #13550]
37473         * sysdeps/x86_64/bp-asm.h: Remove file.
37474         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37475         <bp-sym.h> and <bp-asm.h>.
37476         (__clone): Do not use BP_SYM.
37477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37478         <bp-sym.h> and <bp-asm.h>.
37479         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37480         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37481         "bp-asm.h".
37482         (_setjmp): Do not use BP_SYM.
37483         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37484         "bp-asm.h".
37485         (setjmp): Do not use BP_SYM.
37486         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37487         libc_hidden_def.
37488         (mempcpy): Do not use BP_SYM in weak_alias.
37489         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37490         "bp-asm.h".
37491         (strchr): Do not use BP_SYM.
37492         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37493         "bp-asm.h".
37494         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37495         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37496         (_start): Do not use BP_SYM.
37497         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37498         "bp-asm.h".
37499         (strcat): Do not use BP_SYM.
37500         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37501         "bp-asm.h".
37502         (STRCMP): Do not use BP_SYM.
37503         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37504         "bp-asm.h".
37505         (STRCPY): Do not use BP_SYM.
37506         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37507         "bp-asm.h".
37508         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37509         "bp-asm.h".
37510         (FUNCTION): Do not use BP_SYM.
37511         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37512         weak_alias.
37513         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37515 2013-02-17  Andreas Jaeger  <aj@suse.de>
37517         * time/Versions: Sort entries.
37518         * string/Versions: Likewise.
37519         * resolv/Versions: Likewise.
37520         * posix/Versions: Likewise.
37521         * iconv/Versions: Likewise.
37522         * elf/Versions: Likewise.
37523         * wcsmbs/Versions: Likewise.
37525 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37527         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37528         loop termination condition.
37530         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37531         variable to calculate EZ.
37532         (__sqr): Likewise.
37534         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37535         the lower precision input.
37537 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37539         [BZ #13550]
37540         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37541         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37542         (run-via-rtld-prefix): Do not handle %-bp tests.
37543         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37544         (all-object-suffixes): Remove .ob.
37545         (bppfx): Remove variable.
37546         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37547         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37548         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37549         [$(build-bounded) = yes] (libtype.ob): Likewise.
37550         * Makerules (elide-routines.ob): Remove variable.
37551         (do-tests-clean): Do not handle *-bp.out.
37552         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37553         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37554         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37555         (tests): Do not include $(tests-bp.out).
37556         (xtests): Do not include $(xtests-bp.out).
37557         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37558         [$(build-bounded) = yes] ($(addprefix
37559         $(objpfx),$(binaries-bounded))): Remove rule.
37560         ($(objpfx)%-bp.out): Remove rule.
37561         * config.make.in (build-bounded): Remove variable.
37562         * crypt/Makefile [$(build-bounded) = yes]
37563         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37564         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37565         append to variable.
37566         [$(build-bounded) = yes] (install-lib): Likewise.
37567         [$(build-bounded) = yes] (generated): Likewise.
37568         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37569         Remove rule.
37570         * intl/Makefile [$(build-bounded) = yes]
37571         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37572         * math/Makefile [$(build-bounded) = yes]
37573         ($(tests:%=$(objpfx)%-bp): Likewise.
37574         * misc/Makefile [$(build-bounded) = yes]
37575         ($(objpfx)tst-tsearch-bp): Likewise.
37576         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37577         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37578         Remove dependency.
37579         * string/Makefile (o-objects.ob): Remove variable.
37580         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37581         (CFLAGS-.ob): Remove variable.
37582         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37583         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37584         both definitions of variable.
37585         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37586         (ASFLAGS-.ob): Remove variable.
37588 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37590         [BZ #13550]
37591         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37592         Remove __BOUNDED_POINTERS__ from condition.
37593         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37594         * string/bits/string2.h [!__NO_STRING_INLINES &&
37595         !__BOUNDED_POINTERS__]: Likewise.
37596         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37597         Likewise.
37598         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37599         Remove conditional code.
37600         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37601         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37602         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37603         condition.
37605         [BZ #13550]
37606         * csu/libc-start.c: Do not include <bp-sym.h>.
37607         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37608         * elf/dl-open.c: Do not include <bp-sym.h>.
37609         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37610         * math/fegetenv.c: Do not include <bp-sym.h>.
37611         (fegetenv): Do not use BP_SYM in versioned symbols.
37612         * nptl/sysdeps/pthread/bits/libc-lockP.h
37613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37614         <bp-sym.h>.
37615         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37616         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37618         (__pthread_mutex_destroy): Likewise.
37619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37620         (__pthread_mutex_lock): Likewise.
37621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37622         (__pthread_mutex_trylock): Likewise.
37623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37624         (__pthread_mutex_unlock): Likewise.
37625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37626         (__pthread_mutexattr_init): Likewise.
37627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37628         (__pthread_mutexattr_destroy): Likewise.
37629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37630         (__pthread_mutexattr_settype): Likewise.
37631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37632         (__pthread_rwlock_init): Likewise.
37633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37634         (__pthread_rwlock_destroy): Likewise.
37635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37636         (__pthread_rwlock_rdlock): Likewise.
37637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37638         (__pthread_rwlock_tryrdlock): Likewise.
37639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37640         (__pthread_rwlock_wrlock): Likewise.
37641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37642         (__pthread_rwlock_trywrlock): Likewise.
37643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37644         (__pthread_rwlock_unlock): Likewise.
37645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37646         (__pthread_key_create): Likewise.
37647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37648         (__pthread_setspecific): Likewise.
37649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37650         (__pthread_getspecific): Likewise.
37651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37652         Likewise.
37653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37654         (_pthread_cleanup_push_defer): Likewise.
37655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37656         (_pthread_cleanup_pop_restore): Likewise.
37657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37658         (pthread_setcancelstate): Likewise.
37659         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37660         <bp-sym.h>.
37661         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37662         (memchr): Do not use BP_SYM in weak_alias.
37663         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37664         (fegetenv): Do not use BP_SYM in versioned symbols.
37665         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37666         (fesetenv): Do not use BP_SYM in versioned symbols.
37667         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37668         (feupdateenv): Do not use BP_SYM in versioned symbols.
37669         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37670         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37671         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37672         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37673         (open64): Do not use BP_SYM in weak_alias.
37674         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37675         (fegetenv): Do not use BP_SYM in versioned symbols.
37676         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37677         (fesetenv): Do not use BP_SYM in versioned symbols.
37678         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37679         (feupdateenv): Do not use BP_SYM in versioned symbols.
37680         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37681         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37682         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37683         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37684         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37685         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37686         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37687         <bp-sym.h>.
37688         (__libc_start_main): Do not use BP_SYM.
37690 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37693         redundant return line.
37694         (norm): Likewise.
37695         (denorm): Likewise.
37696         (dbl_mp): Likewise.
37697         (sub_magnitudes): Likewise.
37698         (__add): Likewise.
37699         (__sub): Likewise.
37700         (__mul): Likewise.
37701         (__inv): Likewise.
37702         (__dvd): Likewise.
37703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37704         (norm): Likewise.
37705         (denorm): Likewise.
37706         (dbl_mp): Likewise.
37707         (sub_magnitudes): Likewise.
37708         (__add): Likewise.
37709         (__sub): Likewise.
37710         (__mul): Likewise.
37711         (__inv): Likewise.
37712         (__dvd): Likewise.
37714         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37715         instead of __mul.
37716         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37717         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37718         (cc32): Likewise.
37720         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37721         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37723         of __mul for squares.
37724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37725         function
37726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37727         Likewise.
37728         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37729         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37731 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37733         [BZ #13550]
37734         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37735         code.
37736         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37737         prototype or function definition.  Rename ubp_* variables and
37738         parameters.  Remove argv definitions conditional on
37739         [__BOUNDED_POINTERS__].
37740         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37741         * elf/dl-runtime.c (_dl_fixup): Likewise.
37742         * include/set-hooks.h (RUN_HOOK): Likewise.
37743         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37744         definition.
37745         * string/strcpy.c (strcpy): Do not use __unbounded.
37746         * sysdeps/generic/frame.h (struct layout): Likewise.
37747         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37748         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37749         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37750         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37751         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37752         (__backtrace): Likewise.
37753         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37754         use __ptrvalue.
37755         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37756         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37757         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37758         Likewise.
37759         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37760         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37761         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37762         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37763         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37764         Do not use __unbounded.
37765         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37766         Rename __unboundedrlimits parameter to rlimits in prototype.
37767         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37768         Do not use __unbounded.
37769         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37770         not use __ptrvalue.
37771         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37772         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37773         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37774         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37775         __ptrvalue or __unbounded.
37776         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37777         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37778         use __unbounded.
37779         (__new_msgctl): Do not use __ptrvalue.
37780         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37781         __unbounded.
37782         (__libc_msgrcv): Do not use __ptrvalue.
37783         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37784         startup_info): Do not use __unbounded.
37785         (__libc_start_main): Likewise.  Rename ubp_* variables and
37786         parameters.  Remove argv definitions conditional on
37787         [__BOUNDED_POINTERS__].
37788         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37789         __ptrvalue.
37790         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37791         use __unbounded.
37792         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37793         or __ptrvalue.
37794         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37795         use __unbounded.
37796         (__new_shmctl): Do not use __ptrvalue.
37797         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37798         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37799         Likewise.
37800         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37801         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37802         (__libc_sigaction): Likewise.
37803         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37804         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37805         Likewise.
37806         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37808 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37810         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37812         * string/mempcpy.c: Implement by calling memcpy.
37814 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37816         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37819         evaluation.
37821         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37822         values in the mantissa.
37824         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37825         minimize writes to Z.
37826         (sub_magnitudes): Simplify code a bit.
37828 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37830         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37831         from the message.  The linker prefixes all warnings with that already.
37833 2013-02-12  Andreas Schwab  <schwab@suse.de>
37835         [BZ #15078]
37836         * posix/regexec.c (extend_buffers): Add parameter min_len.
37837         (check_matching): Pass minimum needed length.
37838         (clean_state_log_if_needed): Likewise.
37839         (get_subexp): Likewise.
37840         * posix/Makefile (tests): Add bug-regex34.
37841         (bug-regex34-ENV): Define.
37842         * posix/bug-regex34.c: New file.
37844         [BZ #11561]
37845         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37846         elements compare against the byte sequence of it, not its name.
37847         * posix/Makefile (tests): Add bug-regex35.
37848         (bug-regex35-ENV): Define.
37849         * posix/bug-regex35.c: New file.
37851 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37853         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37854         comment.
37855         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37856         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37857         (CHECK_EOL): Add undef.
37859 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37861         * bits/stdlib-bsearch.h: New file.
37862         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37863         * stdlib/stdlib.h: Likewise.
37865 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37867         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37868         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37869         declaration.
37870         * manual/search.texi (Array Search Function): Add missing const in
37871         lfind prototype.
37872         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37873         declaration to use rlim_t.
37874         (Basic Scheduling Functions): Remove erroneous const from
37875         sched_getparam prototype.  Remove erroneous * from
37876         sched_get_priority_max and sched_get_priority_min prototypes.
37877         (Resource Usage): Fix summary @comment on vtimes to refer to
37878         sys/vtimes.h rather than vtimes.h.
37879         Add missing *s in vtimes prototype.
37880         (Limits on Resources): Fix ulimit prototype to return long int.
37881         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37882         prototypes to use long int rather than double.
37883         (BSD Random): Fix initstate and setstate to use char *, not void *.
37884         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37885         prototype to make second argument 'struct aiocb64 *const[]'.
37886         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37887         (Status of AIO Operations): Remove erroneous const in aio_return and
37888         aio_return64 prototypes.
37889         (Synchronizing I/O): Fix sync prototype to return void.
37890         * manual/startup.texi (Suboptions): Remove an erroneous const in
37891         getsubopt prototype.
37892         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37893         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37894         use size_t rather than int.
37895         (Scanning All Users): Likewise for getpwent_r.
37896         (Setting Groups): Add missing const to setgroups prototype.
37897         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37898         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37899         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37900         'const void *' rather than 'const char *'.
37901         (Host Address Functions): Likewise for inet_ntop.
37902         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37903         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37904         ssize_t for return value.
37905         (Sending Data): Likewise for send, sendto, sendmsg.
37906         (Socket Option Functions): Add a missing const in setsockopt prototype.
37907         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37908         use wchar_t for the argument.
37909         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37910         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37911         take no arguments.
37912         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37913         double/float/long double for second argument.
37914         Fix return types of significand, significandf, significandl.
37915         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37916         argument in fchmod prototype.
37917         (File Owner): Use uid_t and gid_t in fchown prototype.
37918         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37919         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37920         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37921         use 'const struct dirent **' as argument types to CMP function pointer
37922         argument.
37923         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37924         (File Times): Fix summary magic @comment for struct utimbuf and utime
37925         to refer to utime.h, not time.h.
37926         * manual/string.texi (Argz Functions): Add missing const in
37927         argz_extract and argz_next prototypes.
37928         (Finding Tokens in a String): Likewise for basename.
37929         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37930         (Copying and Concatenation): Fix typo in wmemmove prototype.
37931         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37932         (Signal Stack): Remove erroneous const in sigstack prototype.
37933         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37934         prototype.
37935         (Simple Calendar Time): Likewise for stime.
37936         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37937         prototype.
37938         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37939         say sys/sysctl.h instead.
37940         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37941         and vsyslog prototypes.
37943 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37945         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37946         Remove.
37948 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37950         * misc/sys/mman.h: Fix typo in mremap comment.
37952 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37954         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37955         the '\0' terminator.
37957 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37959         [BZ #13550]
37960         * debug/segfault.c: Don't include <bp-checks.h>.
37961         * sysdeps/generic/bp-checks.h: Remove file.
37962         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37963         (__GETDENTS): Don't use CHECK_N.
37964         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37965         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37966         (__getgroups): Don't use CHECK_N.
37967         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37968         (setgroups): Don't use CHECK_N.
37969         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37970         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37971         (__libc_msgrcv): Don't use CHECK_N.
37972         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37973         (__libc_msgsnd): Don't use CHECK_N.
37974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37975         <bp-checks.h>.
37976         (__libc_pread): Don't use CHECK_N.
37977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37978         include <bp-checks.h>.
37979         (__libc_pread64): Don't use CHECK_N.
37980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37981         include <bp-checks.h>.
37982         (__libc_pwrite): Don't use CHECK_N.
37983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37984         include <bp-checks.h>.
37985         (__libc_pwrite64): Don't use CHECK_N.
37986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37987         <bp-checks.h>.
37988         (__libc_pread): Don't use CHECK_N.
37989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37990         include <bp-checks.h>.
37991         (__libc_pread64): Don't use CHECK_N.
37992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37993         include <bp-checks.h>.
37994         (__libc_pwrite): Don't use CHECK_N.
37995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37996         include <bp-checks.h>.
37997         (__libc_pwrite64): Don't use CHECK_N.
37998         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37999         (do_pread): Don't use CHECK_N.
38000         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38001         (do_pread64): Don't use CHECK_N.
38002         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38003         (do_pwrite): Don't use CHECK_N.
38004         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38005         (do_pwrite64): Don't use CHECK_N.
38006         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38007         (__libc_readv): Don't use CHECK_N.
38008         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38009         (semop): Don't use CHECK_N.
38010         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38011         <bp-checks.h>.
38012         (semtimedop): Don't use CHECK_N.
38013         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38014         (__libc_pread): Don't use CHECK_N.
38015         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38016         <bp-checks.h>.
38017         (__libc_pread64): Don't use CHECK_N.
38018         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38019         <bp-checks.h>.
38020         (__libc_pwrite): Don't use CHECK_N.
38021         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38022         <bp-checks.h>.
38023         (__libc_pwrite64): Don't use CHECK_N.
38024         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38025         <bp-checks.h>.
38026         (__libc_msgrcv): Don't use CHECK_N.
38027         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38028         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38029         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38030         (__libc_writev): Don't use CHECK_N.
38032 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38034         * string/strcpy.c: Removed unused variable.
38036         * Makeconfig (+sysdep-includes): Define with := rather than =.
38037         Use an existing include/ subdir of each sysdeps dir before it.
38039 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38041         * nscd/connection.c (register_traced_file): Comment function.
38042         [HAVE_INOTIFY] (union __inev): Define.
38043         [HAVE_INOTIFY] (inotify_check_files): New function.
38044         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38045         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38046         clear_db_cache.
38047         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38049 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38051         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38052         loaded if not already and that a failure is permanent.
38054 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38056         [BZ #15006]
38057         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38058         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38060 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38062         [BZ #13550]
38063         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38064         (CHECK_1_NULL_OK): Likewise.
38065         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38066         (__fxstat): Do not use CHECK_1.
38067         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38068         <bp-checks.h>.
38069         (___fxstat64): Do not use CHECK_1.
38070         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38071         <bp-checks.h>.
38072         (__fxstatat): Do not use CHECK_1.
38073         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38074         <bp-checks.h>.
38075         (__fxstatat64): Do not use CHECK_1.
38076         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38077         <bp-checks.h>.
38078         (__fxstat): Do not use CHECK_1.
38079         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38080         <bp-checks.h>.
38081         (__fxstatat): Do not use CHECK_1.
38082         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38083         <bp-checks.h>.
38084         (__getresgid): Do not use CHECK_1.
38085         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38086         <bp-checks.h>.
38087         (__getresuid): Do not use CHECK_1.
38088         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38089         <bp-checks.h>.
38090         (__lxstat): Do not use CHECK_1.
38091         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38092         <bp-checks.h>.
38093         (__old_msgctl): Do not use CHECK_1.
38094         (__new_msgctl): Likewise.
38095         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38096         <bp-checks.h>.
38097         (__new_setrlimit): Do not use CHECK_1.
38098         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38099         <bp-checks.h>.
38100         (__old_shmctl): Do not use CHECK_1.
38101         (__new_shmctl): Likewise.
38102         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38103         <bp-checks.h>.
38104         (__xstat): Do not use CHECK_1.
38105         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38106         (__lxstat): Do not use CHECK_1.
38107         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38108         <bp-checks.h>.
38109         (___lxstat64): Do not use CHECK_1.
38110         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38111         (__old_msgctl): Do not use CHECK_1.
38112         (__new_msgctl): Likewise.
38113         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38114         <bp-checks.h>.
38115         (__gettimeofday): Do not use CHECK_1.
38116         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38117         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38118         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38119         <bp-checks.h>.
38120         (__gettimeofday): Do not use CHECK_1.
38121         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38122         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38123         (__new_shmctl): Do not use CHECK_1.
38124         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38125         <bp-checks.h>.
38126         (do_sigtimedwait): Do not use CHECK_1.
38127         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38128         <bp-checks.h>.
38129         (do_sigwaitinfo): Do not use CHECK_1.
38130         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38131         <bp-checks.h>.
38132         (msgctl): Do not use CHECK_1.
38133         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38134         <bp-checks.h>.
38135         (shmctl): Do not use CHECK_1.
38136         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38137         (ustat): Do not use CHECK_1.
38138         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38139         <bp-checks.h>.
38140         (__fxstat): Do not use CHECK_1.
38141         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38142         <bp-checks.h>.
38143         (__fxstatat): Do not use CHECK_1.
38144         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38145         <bp-checks.h>.
38146         (__lxstat): Do not use CHECK_1.
38147         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38148         <bp-checks.h>.
38149         (__xstat): Do not use CHECK_1.
38150         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38151         (__xstat): Do not use CHECK_1.
38152         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38153         (___xstat64): Do not use CHECK_1.
38155         [BZ #13550]
38156         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38157         definitions.
38158         (CHECK_BOUNDS_HIGH): Likewise.
38159         * string/strcpy.c: Do not include <bp-checks.h>.
38160         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38162 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38164         * nscd/nscd-client.h (__nscd_drop_map_ref):
38165         Add __attribute__ ((unused)).
38166         * nis/nss-nisplus.h (niserr2nss): Likewise.
38168         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38169         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38171         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38172         Remove inline keyword.
38173         * include/rounding-mode.h (round_away): Likewise.
38174         * libio/wfileops.c (adjust_wide_data): Likewise.
38175         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38176         (__m128i_strloadu_tolower): Likewise.
38177         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38178         (__m128i_strloadu_tolower): Likewise.
38179         * time/mktime.c (ydhms_diff): Likewise.
38180         * locale/elem-hash.h (elem_hash): Likewise.
38181         * locale/setlocale.c (setdata): Likewise.
38182         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38183         (re_string_wchar_at): Likewise.
38184         (bitset_not, bitset_merge, bitset_mask): Likewise.
38185         [!(__GNUC__ > 3)] (inline): Remove macro.
38186         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38187         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38188         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38189         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38190         * string/memcmp.c (memcmp_bytes): Likewise.
38191         * locale/programs/locarchive.c (compute_hashval): Likewise.
38192         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38193         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38194         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38195         * nss/getent.c (print_rpc, print_protocols): Likewise.
38196         (print_passwd, print_group, print_aliases): Likewise.
38197         * nis/nss-nisplus.h (niserr2nss): Likewise.
38198         * nscd/connections.c (restart_p): Likewise.
38199         Change return type to bool.
38201 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38203         * Makeconfig (all-Depend-files): Add existing
38204         $(sorted-subdirs:=/Depend) files.
38205         (all-subdirs): Remove nss.
38206         * sysdeps/unix/inet/Subdirs: Add it here instead.
38207         * hesiod/Depend: New file.
38209         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38210         instead of calling alloca.
38212         * io/lseek.c (__lseek): Rename to __libc_lseek.
38213         Define __lseek as an alias.
38215         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38217 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38219         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38220         else clause and remove check for non-standard endianness.
38222 2013-02-04  David S. Miller  <davem@davemloft.net>
38224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38226 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38228         [BZ #13550]
38229         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38230         (__ubp_memchr): Remove prototype.
38231         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38232         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38233         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38234         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38235         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38236         Remove alias.
38237         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38238         (__ubp_memchr): Likewise.
38239         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38240         (__ubp_memchr): Likewise.
38241         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38242         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38243         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38244         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38245         CHECK_STRING.
38246         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38247         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38248         (__getcwd): Do not use CHECK_STRING.
38249         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38250         <bp-checks.h>.
38251         (__real_chown): Do not use CHECK_STRING.
38252         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38253         <bp-checks.h>.
38254         (fchownat): Do not use CHECK_STRING.
38255         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38256         CHECK_STRING.
38257         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38258         <bp-checks.h>.
38259         (__lchown): Do not use CHECK_STRING.
38260         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38261         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38262         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38263         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38265         include <bp-checks.h>.
38266         (truncate64): Do not use CHECK_STRING.
38267         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38268         <bp-checks.h>.
38269         (__real_chown): Do not use CHECK_STRING.
38270         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38271         <bp-checks.h>.
38272         (__lchown): Do not use CHECK_STRING.
38273         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38274         <bp-checks.h>.
38275         (__chown): Do not use CHECK_STRING.
38276         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38277         <bp-checks.h>.
38278         (truncate64): Do not use CHECK_STRING.
38279         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38280         Likewise.
38281         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38282         (__xmknod): Do not use CHECK_STRING.
38283         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38284         <bp-checks.h>.
38285         (__xmknodat): Do not use CHECK_STRING.
38286         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38287         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38289 2013-02-04  Andreas Schwab  <schwab@suse.de>
38291         [BZ #14142]
38292         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38293         * include/netdb.h: Likewise for h_errno.
38294         * elf/tst-stackguard1.c: Include <tls.h>.
38296 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38298         * elf/link.h (struct link_map): Extend the l_addr comment.
38299         * include/link.h (struct link_map): Likewise.
38301 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38303         [BZ #13550]
38304         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38305         (BOUNDED_1): Remove macro.
38306         * debug/backtrace.c: Don't include <bp-checks.h>.
38307         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38308         (__backtrace): Likewise.
38309         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38310         <bp-checks.h>.
38311         (__backtrace): Don't use BOUNDED_1.
38312         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38313         <bp-checks.h>.
38314         (__backtrace): Don't use BOUNDED_1.
38315         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38316         (__backtrace): Don't use BOUNDED_1.
38317         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38318         (shmat): Don't use BOUNDED_N.
38320 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38322         [BZ #13550]
38323         * sysdeps/generic/bp-start.h: Remove file.
38324         * csu/libc-start.c: Don't include <bp-start.h>.
38325         (LIBC_START_MAIN): Set up __environ directly instead of using
38326         INIT_ARGV_and_ENVIRON.
38327         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38328         <bp-start.h>.
38330         [BZ #13550]
38331         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38332         definitions.
38333         (CHECK_FCNTL): Likewise.
38334         (CHECK_N_PAGES): Likewise.
38336         [BZ #13550]
38337         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38338         definitions.
38339         (CHECK_SIGSET_NULL_OK): Likewise.
38340         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38341         <bp-checks.h>.
38342         (sigpending): Don't use CHECK_SIGSET.
38343         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38344         <bp-checks.h>.
38345         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38346         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38347         <bp-checks.h>.
38348         (do_sigsuspend): Don't use CHECK_SIGSET.
38349         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38350         use CHECK_SIGSET.
38351         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38352         (do_sigwait): Don't use CHECK_SIGSET.
38353         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38354         use CHECK_SIGSET.
38355         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38356         include <bp-checks.h>.
38357         (sigpending): Don't use CHECK_SIGSET.
38358         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38359         include <bp-checks.h>.
38360         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38361         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38362         <bp-checks.h>.
38363         (sigpending): Don't use CHECK_SIGSET.
38364         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38365         <bp-checks.h>.
38366         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38368         [BZ #13550]
38369         * sysdeps/generic/bp-semctl.h: Remove file.
38370         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38371         <bp-checks.h> and <bp-semctl.h>.
38372         (__old_semctl): Don't use CHECK_SEMCTL.
38373         (__new_semctl): Likewise.
38374         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38375         and <bp-semctl.h>.
38376         (__old_semctl): Don't use CHECK_SEMCTL.
38377         (__new_semctl): Likewise.
38378         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38379         <bp-checks.h> and <bp-semctl.h>.
38380         (__old_semctl): Don't use CHECK_SEMCTL.
38381         (__new_semctl): Likewise.
38382         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38383         <bp-checks.h> and <bp-semctl.h>.
38384         (semctl): Don't use CHECK_SEMCTL.
38386         [BZ #13550]
38387         * Makerules (elide-bp-thunks): Remove variable.
38388         (elide-routines.oS): Don't use $(elide-bp-thunks).
38389         (elide-routines.os): Likewise.
38390         (elide-routines.o): Likewise.
38391         (elide-routines.op): Likewise.
38392         (elide-routines.og): Likewise.
38393         (objects): Don't use $(bp-thunks).
38394         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38395         include.
38396         (common-generated): Do not add s-proto-bp.d.
38397         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38398         (int): Likewise.
38399         (typ): Likewise.
38400         Do not generate makefile rules for bounded-pointer thunks.
38401         * sysdeps/generic/bp-thunks.h: Remove file.
38402         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38403         * sysdeps/unix/s-proto-bp.S: Likewise.
38405         [BZ #15062]
38406         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38407         parts of result separately when argument is not close to line from
38408         -i to i and one part of argument is small.
38409         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38410         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38411         * math/libm-test.inc (cacos_test): Add more tests.
38412         (casin_test): Likewise.
38413         (casinh_test): Likewise.
38414         * sysdeps/i386/fpu/libm-test-ulps: Update.
38415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38417 2013-01-31  David S. Miller  <davem@davemloft.net>
38419         * po/de.po: Update from translation team.
38421 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38423         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38425 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38427         * configure.in (_AC_PROG_CC_C89): New definition.
38428         * configure: Regenerate.
38430         * configure.in (AC_PROG_CPP): New definition.
38431         * configure: Regenerate.
38433 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38435         * debug/tst-backtrace.h: New file.
38436         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38437         (ret): Remove variable.
38438         (x): Likewise.
38439         (FAIL): Remove macro.
38440         (NO_INLINE): Likewise.
38441         (fn1): Use match function instead of strstr.
38442         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38443         (ret): Remove variable.
38444         (x): Likewise.
38445         (FAIL): Remove macro.
38446         (NO_INLINE): Likewise.
38447         (fn): Use match function instead of strstr.
38448         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38449         (ret): Remove variable.
38450         (x): Likewise.
38451         (FAIL): Remove macro.
38452         (NO_INLINE): Likewise.
38453         (handle_signal): Use match function instead of strstr.
38454         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38455         (ret): Remove variable.
38456         (x): Likewise.
38457         (FAIL): Remove macro.
38458         (NO_INLINE): Likewise.
38459         (handle_signal): Use match function instead of strstr.
38461 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38463         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38465 2013-01-23  David S. Miller  <davem@davemloft.net>
38467         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38468         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38469         argument of CAS if possible.
38470         * sysdeps/sparc/sparc64/bits/atomic.h
38471         (__arch_compare_and_exchange_val_32_acq): Likewise.
38472         (__arch_compare_and_exchange_val_64_acq): Likewise.
38474 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38476         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38477         * sysdeps/posix/ulimit.c: ... this.
38478         Include <limits.h>.
38479         * sysdeps/unix/bsd/ulimit.c: Remove file.
38481 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38483         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38484         (LDFLAGS-tst-array5): Likewise.
38486 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38488         [BZ #15036]
38489         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38490         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38491         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38492         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38494 2013-01-21  David S. Miller  <davem@davemloft.net>
38496         * sysdeps/sparc/backtrace.c: New file.
38497         * sysdeps/sparc/sparc32/backtrace.h: New file.
38498         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38499         * sysdeps/sparc/sparc64/backtrace.h: New file.
38500         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38501         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38502         -funwind-tables.
38504 2013-01-21  Andreas Schwab  <schwab@suse.de>
38506         [BZ #15020]
38507         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38508         closed its stdout.
38510 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38513         "mpa2.h".
38514         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38516 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38517             Mark Mitchell  <mark@codesourcery.com>
38518             Tom de Vries  <tom@codesourcery.com>
38519             Paul Pluzhnikov  <ppluzhnikov@google.com>
38521         * debug/tst-backtrace2.c: New file.
38522         * debug/tst-backtrace3.c: Likewise.
38523         * debug/tst-backtrace4.c: Likewise.
38524         * debug/tst-backtrace5.c: Likewise.
38525         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38526         (CFLAGS-tst-backtrace3.c): Likewise.
38527         (CFLAGS-tst-backtrace4.c): Likewise.
38528         (CFLAGS-tst-backtrace5.c): Likewise.
38529         (LDFLAGS-tst-backtrace2): Likewise.
38530         (LDFLAGS-tst-backtrace3): Likewise.
38531         (LDFLAGS-tst-backtrace4): Likewise.
38532         (LDFLAGS-tst-backtrace5): Likewise.
38533         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38534         tst-backtrace4 and tst-backtrace5.
38536 2013-01-18  Anton Blanchard  <anton@samba.org>
38537             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38539         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38540         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38541         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38542         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38544         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38545         "+r" and remove output regs list as redundant.  Add explicit inline
38546         asm to specify register of return val to work around compiler codegen
38547         bug.  Remove (int) cast on return value.  Add return type parameter to
38548         use in macro so that this macro does not truncate return value for
38549         64-bit values.
38550         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38551         pass to INTERNAL_VSYSCALL_NCS.
38552         (INLINE_VSYSCALL): Add 'long int' as return type to
38553         INTERNAL_VSYSCALL_NCS macro invocation.
38554         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38555         INTERNAL_VSYSCALL_NCS macro invocation.
38556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38558 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38560         [BZ #14496]
38561         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38562         Fix application of SIMD FP exception mask.
38564         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38565         mp_no from a power of two.
38566         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38567         __mpexp_twomm1.  Use __pow_mp.
38569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38570         multiplication.
38572 2013-01-17  David S. Miller  <davem@davemloft.net>
38574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38576 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38578         [BZ #15023]
38579         * include/complex.h: Condition contents on [!_COMPLEX_H].
38580         (__kernel_casinhf): New prototype.
38581         (__kernel_casinh): Likewise.
38582         (__kernel_casinhl): Likewise.
38583         * math/Makefile (libm_calls): Add k_casinh.
38584         * math/k_casinh.c: New file.
38585         * math/k_casinhf.c: Likewise.
38586         * math/k_casinhl.c: Likewise.
38587         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38588         finite nonzero arguments.
38589         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38590         finite nonzero arguments.
38591         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38592         finite nonzero arguments.
38593         * math/s_casinh.c: Do not include <float.h>.
38594         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38595         * math/s_casinhf.c: Do not include <float.h>.
38596         (__casinhf): Move code for finite nonzero arguments to
38597         k_casinhf.c.
38598         * math/s_casinhl.c: Do not include <float.h>.
38599         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38600         redefine.
38601         (__casinhl): Move code for finite nonzero arguments to
38602         k_casinhl.c.
38603         * math/libm-test.inc (cacos_test): Add more tests.
38604         * sysdeps/i386/fpu/libm-test-ulps: Update.
38605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38607 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38609         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38610         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38611         [!HAVE_MREMAP]: Remove [defined linux] case.
38612         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38614 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38616         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38618 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38620         * elf/elf.h (R_386_SIZE32): New relocation.
38621         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38622         R_386_SIZE32.
38623         (elf_machine_rela): Likewise.
38624         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38625         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38627 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38629         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38630         (FP_FAST_FMA): Do not define.
38631         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38632         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38633         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38634         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38635         !_SOFT_FLOAT]: Likewise.
38636         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38637         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38638         value.
38639         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38640         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38641         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38642         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38643         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38644         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38645         file.
38647 2013-01-16  Andreas Schwab  <schwab@suse.de>
38649         [BZ #14327]
38650         * include/stdlib.h (__mktemp): Add declaration.
38651         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38652         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38654 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38656         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38657         definitions.
38658         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38659         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38660         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38661         definitions here.
38662         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38663         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38664         definitions.
38665         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38666         and ONE.
38667         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38668         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38669         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38670         definitions.
38671         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38672         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38673         definitions.
38674         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38676         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38678 2013-01-15  David S. Miller  <davem@davemloft.net>
38680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38681         trunc{,f} to libm-sysdep_routes.
38682         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38684         file.
38685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38687         file.
38688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38689         file.
38690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38692         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38693         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38694         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38695         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38696         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38697         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38700         nearbyint{,f} to libm-sysdep_routes.
38701         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38703         New file.
38704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38705         file.
38706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38707         New file.
38708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38709         file.
38710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38712         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38713         file.
38714         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38715         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38716         file.
38717         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38718         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38719         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38721         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38722         libc_feholdexcept and libc_fesetenv.
38724 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38726         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38728 2013-01-14  David S. Miller  <davem@davemloft.net>
38730         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38731         (SPARC_ASM_VIS2_IFUNC): Likewise.
38732         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38734         use of 'siam' instruction.
38735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38736         Likewise.
38737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38738         Likewise.
38739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38740         Likewise.
38741         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38746         file.
38747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38748         file.
38749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38750         file.
38751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38752         file.
38753         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38755         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38758         new VIS2 routines.
38759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38762         Likewise.
38763         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38765         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38766         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38768         routines to libm-sysdep_routines.
38769         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38772         fdim/fdimf to libm-sysdep_routines.
38773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38774         file.
38775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38777         file.
38778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38781         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38782         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38783         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38784         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38786 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38788         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38789         to optimize copies.
38791         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38796         local variable MPTWO.
38797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38798         Likewise.
38800 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38802         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38803         GLOB_NOESCAPE.
38805 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38807         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38809 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38811         * manual/pattern.texi (glob_t): Document gl_flags.
38812         (glob64_t): Likewise.
38814 2013-01-11  David S. Miller  <davem@davemloft.net>
38816         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38817         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38818         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38819         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38820         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38821         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38822         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38823         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38824         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38825         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38826         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38827         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38828         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38830         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38831         sparc V9 rather than using V8 code.
38832         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38833         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38835         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38836         Move to...
38837         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38838         Here.
38840 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38842         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38843         not in the main loop.
38844         * configure: Regenerated.
38846 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38848         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38849         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38850         to just #else.
38851         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38852         [!__GLIBC_HAVE_LONG_LONG] case.
38853         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38854         condition to just #else.
38855         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38856         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38857         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38858         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38859         unconditional.
38860         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38861         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38862         #elif condition to just #else.
38863         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38864         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38865         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38866         #elif condition to just #else.
38868 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38870         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38871         (EF_MIPS_ARCH_64): Fix value.
38872         (EF_MIPS_ARCH_32R2): New.
38873         (EF_MIPS_ARCH_64R2): New.
38875 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38877         * Makeconfig (+link-pie-before-libc): New.
38878         (+link-pie-after-libc): Likewise.
38879         (+link-pie-tests): Likewise.
38880         (+link-pie): Rewritten.
38881         (link-before-libc): Remove $(config-LDFLAGS).
38882         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38883         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38884         (config-LDFLAGS): Renamed to ...
38885         (rtld-LDFLAGS): This.
38886         (rtld-tests-LDFLAGS): New macro.
38887         (link-libc-rpath-link): Likewise.
38888         (link-libc-tests-rpath-link): Likewise.
38889         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38890         (link-libc): Prepand $(link-libc-rpath-link).
38891         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38892         (test-program-prefix): New macro.
38893         (test-via-rtld-prefix): Likewise.
38894         (test-program-cmd): Likewise.
38895         (host-test-program-cmd): Likewise.
38896         * Makefile ($(common-objpfx)testrun.sh): Replace
38897         $(run-program-prefix) with $(test-program-prefix).
38898         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38899         $(rtld-LDFLAGS).
38900         ($(common-objpfx)shlib.lds): Likewise.
38901         (build-module-helper): Likewise.
38902         ($(common-objpfx)format.lds): Likewise.
38903         * Rules (binaries-pie-tests): New.
38904         (binaries-pie-notests): Likewise.
38905         (binaries-pie): Rewritten.
38906         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38907         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38908         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38909         (make-test-out): Replace $(host-built-program-cmd) with
38910         $(host-test-program-cmd).
38911         * config.make.in (build-hardcoded-path-in-tests): New variable.
38912         * configure.in (--enable-hardcoded-path-in-tests): New configure
38913         option.
38914         (hardcoded_path_in_tests): New AC_SUBST.
38915         * configure: Regenerated.
38916         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38917         $(built-program-cmd) with $(test-program-cmd).
38918         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38919         (test_program_cmd): This.
38920         * elf/Makefile ($(objpfx)order.out): Run test with
38921         $(test-program-prefix).
38922         ($(objpfx)order2.out): Likewise.
38923         ($(objpfx)tst-initorder.out): Likewise.
38924         ($(objpfx)tst-initorder2.out): Likewise.
38925         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38926         $(test-program-cmd).
38927         ($(objpfx)tst-array1-static.out): Likewise.
38928         ($(objpfx)tst-array2.out): Likewise.
38929         ($(objpfx)tst-array3.out): Likewise.
38930         ($(objpfx)tst-array4.out): Likewise.
38931         ($(objpfx)tst-array5.out): Likewise.
38932         ($(objpfx)tst-array5-static.out): Likewise.
38933         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38934         $(test-program-cmd).
38935         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38936         $(run-program-prefix) with $(test-program-prefix).
38937         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38938         (test_program_prefix): This.
38939         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38940         $(run-program-prefix) with $(test-program-prefix).
38941         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38942         (test_program_prefix): This.
38943         * iconvdata/tst-tables.sh: Likewise.
38944         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38945         $(run-program-prefix) with $(test-program-prefix).
38946         ($(objpfx)tst-translit.out): Likewise.
38947         ($(objpfx)tst-gettext2.out): Likewise.
38948         ($(objpfx)tst-gettext4.out): Likewise.
38949         ($(objpfx)tst-gettext6.out): Likewise.
38950         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38951         (test_program_prefix): This.
38952         * intl/tst-gettext2.sh: Likewise.
38953         * intl/tst-gettext4.sh  Likewise.
38954         * intl/tst-gettext6.sh: Likewise.
38955         * intl/tst-translit.sh: Likewise.
38956         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38957         with $(test-program-cmd).
38958         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38959         $(run-program-prefix) with $(test-program-prefix).
38960         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38961         (test_program_prefix): This.
38962         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38963         $(run-program-prefix) with $(test-program-prefix).
38964         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38965         (test_program_prefix): This.
38966         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38967         * posix/Makefile ($(objpfx)globtest.out): Replace
38968         $(run-via-rtld-prefix) and $(test-wrapper) with
38969         $(test-program-prefix) and $(test-via-rtld-prefix).
38970         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38971         $(test-program-prefix).
38972         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38973         $(host-test-program-cmd).
38974         (tst-spawn-ARGS): Likewise.
38975         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38976         $(test-program-prefix).
38977         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38978         (test_via_rtld_prefix): This.
38979         (test_wrapper): Renamed to ...
38980         (test_program_prefix): This.
38981         (run_program_prefix): Replaced by test_program_prefix.
38982         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38983         (test_program_prefix): This.
38984         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38985         with $(host-test-program-cmd).
38986         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38987         $(run-program-prefix) with $(test-program-prefix).
38988         ($(objpfx)tst-printf.out): Likewise.
38989         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38990         $(test-program-cmd).
38991         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38992         (test_program_prefix): This.
38993         * stdio-common/tst-unbputc.sh: Likewise.
38994         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38995         $(run-program-prefix) with $(test-program-prefix).
38996         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38997         (test_program_prefix): This.
38998         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38999         $(built-program-cmd) with $(test-program-cmd).
39001 2013-01-11  Andreas Jaeger  <aj@suse.de>
39003         [BZ #15003]
39004         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39005         value. Sync with Linux 3.7.
39007 2013-01-10  David S. Miller  <davem@davemloft.net>
39009         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39010         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39011         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39013 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39015         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39016         never set.
39017         * configure: Regenerated.
39019 2013-01-10  David S. Miller  <davem@davemloft.net>
39021         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39022         sparc V9 rather than using V8 code.
39023         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39024         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39026 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39028         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39029         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39030         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39031         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39032         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39033         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39034         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39035         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39036         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39037         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39038         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39039         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39040         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39041         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39042         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39043         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39044         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39045         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39046         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39047         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39048         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39049         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39050         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39051         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39052         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39053         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39054         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39056 2013-01-10  David S. Miller  <davem@davemloft.net>
39058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39060 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39062         * posix/Makefile (tests-static): New variable.
39063         (tests): Add $(tests-static).
39064         (tst-exec-static-ARGS): New variable.
39065         (tst-spawn-static-ARGS): Likewise.
39066         * posix/tst-exec-static.c: New file.
39067         * posix/tst-spawn-static.c: Likewise.
39068         * posix/tst-exec.c: Support run directly.
39069         * posix/tst-spawn.c: Likewise.
39071 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39073         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39074         long.
39075         * math/bits/mathcalls.h (llrint): Likewise.
39076         (llround): Likewise.
39077         * stdlib/stdlib.h (struct drand48_data): Likewise.
39078         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39079         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39080         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39081         Likewise.
39082         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39083         Likewise.
39084         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39085         (elf_greg_t): Likewise.
39086         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39087         (__jmp_buf): Likewise.
39088         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39089         definitions.
39090         (llrint): Likewise, for all definitions.
39091         (llrintl): Likewise.
39093         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39094         Remove [__GNUC__] condition.
39095         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39096         condition to just [__USE_ISOC99].
39097         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39099 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39101         [BZ #14200]
39102         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39103         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39104         defined.
39105         (_POSIX_V6_ILP32_OFF32): Likewise.
39106         (_XBS5_ILP32_OFF32): Likewise.
39107         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39108         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39110 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39112         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39114         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39115         doubles __mpexp_twomm1.  Adjust usage.
39116         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39117         Remove.
39119 2013-01-10  Andreas Schwab  <schwab@suse.de>
39121         [BZ #14964]
39122         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39123         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39125 2013-01-09  David S. Miller  <davem@davemloft.net>
39127         [BZ #15003]
39128         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39129         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39130         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39131         (TCP_FASTOPEN): Define.
39132         (tcp_repair_opt): New structure.
39133         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39134         enum values.
39135         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39136         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39137         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39138         (tcp_cookie_transactions): New structure.
39140 2013-01-09  Anton Blanchard  <anton@samba.org>
39142         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39143         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39144         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39145         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39147 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39149         * include/features.h (__USE_ANSI): Remove.
39151 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39153         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39155         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39157 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39159         * sysdeps/s390/fpu/libm-test-ulps: Update.
39161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39163         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39164         (__acr): Likewise.
39165         (__cpy): Likewise.
39166         (norm): Likewise.
39167         (denorm): Likewise.
39168         (__mp_dbl): Likewise.
39169         (__dbl_mp): Likewise.
39170         (add_magnitudes): Likewise.
39171         (sub_magnitudes): Likewise.
39172         (__add): Likewise.
39173         (__sub): Likewise.
39174         (__mul): Likewise.
39175         (__inv): Likewise.
39176         (__dvd): Likewise.
39177         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39178         (__acr): Likewise.
39179         (__cpy): Likewise.
39180         (norm): Likewise.
39181         (denorm): Likewise.
39182         (__mp_dbl): Likewise.
39183         (__dbl_mp): Likewise.
39184         (add_magnitudes): Likewise.
39185         (sub_magnitudes): Likewise.
39186         (__add): Likewise.
39187         (__sub): Likewise.
39188         (__mul): Likewise.
39189         (__inv): Likewise.
39190         (__dvd): Likewise.
39191         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39192         (__acr): Likewise.
39193         (__cpy): Likewise.
39194         (norm): Likewise.
39195         (denorm): Likewise.
39196         (__mp_dbl): Likewise.
39197         (__dbl_mp): Likewise.
39198         (add_magnitudes): Likewise.
39199         (sub_magnitudes): Likewise.
39200         (__add): Likewise.
39201         (__sub): Likewise.
39202         (__mul): Likewise.
39203         (__inv): Likewise.
39204         (__dvd): Likewise.
39206 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39208         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39209         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39210         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39211         2 && __USE_EXTERN_INLINES]: Likewise.
39213 2013-01-08  Andreas Jaeger  <aj@suse.de>
39215         [BZ# 14985]
39216         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39217         Remove.
39218         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39219         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39221 2013-01-07  Anton Blanchard  <anton@samba.org>
39223         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39224         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39225         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39226         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39227         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39228         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39229         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39230         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39232         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39233         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39234         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39235         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39236         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39237         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39238         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39239         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39240         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39241         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39242         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39243         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39244         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39245         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39246         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39247         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39248         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39249         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39250         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39251         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39252         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39253         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39255         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39256         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39257         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39258         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39259         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39260         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39261         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39262         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39263         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39264         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39265         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39267 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39269         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39270         (__MALLOC_PMT): Likewise.
39271         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39272         [__GNUC__], only on [_LIBC].
39273         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39274         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39275         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39276         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39277         forward declaration.
39278         (realloc_hook_ini): Likewise.
39279         (memalign_hook_ini): Likewise.
39280         (__libc_memalign): Do not use __MALLOC_PMT in variable
39281         declaration.
39282         (__libc_valloc): Likewise.
39283         (__libc_pvalloc): Likewise.
39284         (__libc_calloc): Likewise.
39285         (__posix_memalign): Likewise.
39287         [BZ #14996]
39288         * math/s_casinh.c: Include <float.h>.
39289         (__casinh): Do not do computation with squaring and square root
39290         for large arguments.
39291         * math/s_casinhf.c: Include <float.h>.
39292         (__casinhf): Do not do computation with squaring and square root
39293         for large arguments.
39294         * math/s_casinhl.c: Include <float.h>.
39295         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39296         (__casinhl): Do not do computation with squaring and square root
39297         for large arguments.
39298         * math/libm-test.inc (casin_test): Add more tests.
39299         (casinh_test): Likewise.
39300         * sysdeps/i386/fpu/libm-test-ulps: Update.
39301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39303 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39305         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39306         (__x86_64_raw_data_cache_size): Likewise.
39307         (__x86_64_data_cache_size_half): Likewise.
39308         (__x86_64_raw_data_cache_size_half): Likewise.
39309         (__x86_64_shared_cache_size): Likewise.
39310         (__x86_64_raw_shared_cache_size): Likewise.
39311         (__x86_64_shared_cache_size_half): Likewise.
39312         (__x86_64_raw_shared_cache_size_half): Likewise.
39313         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39314         to ...
39315         (__x86_data_cache_size): This.
39316         (__x86_64_raw_data_cache_size): Renamed to ...
39317         (__x86_raw_data_cache_size): This.
39318         (__x86_64_data_cache_size_half): Renamed to ...
39319         (__x86_data_cache_size_half): This.
39320         (__x86_64_raw_data_cache_size_half): Renamed to ...
39321         (__x86_raw_data_cache_size_half): This.
39322         (__x86_64_shared_cache_size): Renamed to ...
39323         (__x86_shared_cache_size): This.
39324         (__x86_64_raw_shared_cache_size): Renamed to ...
39325         (__x86_raw_shared_cache_size): This.
39326         (__x86_64_shared_cache_size_half): Renamed to ...
39327         (__x86_shared_cache_size_half): This.
39328         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39329         (__x86_raw_shared_cache_size_half): This.
39330         * sysdeps/x86_64/memcpy.S: Updated.
39331         * sysdeps/x86_64/memset.S: Likewise.
39332         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39333         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39334         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39336 2013-01-04  David S. Miller  <davem@davemloft.net>
39338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39340 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39342         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39343         1 to avoid redefinition warning.
39344         (__USE_GNU): Don't define.
39345         (init_signaling_nan): Protoize.
39347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39349 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39351         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39352         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39353         (__cpymn): Likewise.
39354         (norm): Remove commented code.
39355         (denorm): Likewise.
39356         (__mp_dbl): Likewise.
39357         (__inv): Likewise.
39358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39359         (__cpymn): Likewise.
39360         (norm): Remove commented code.
39361         (denorm): Likewise.
39362         (__mp_dbl): Likewise.
39363         (__inv): Likewise.
39365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39366         mp_no value for 1.0 and 2.0.
39367         (norm): Use RADIXI instead of radixi.d.
39368         (denorm): Likewise.
39369         (__mul): Use 0.0 instead of zero.d.
39370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39371         mp_no value for 1.0 and 2.0.
39372         (norm): Use RADIXI instead of radixi.d.
39373         (denorm): Likewise.
39374         (__mul): Use 0.0 instead of zero.d.
39376 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39378         [BZ #14994]
39379         * math/s_casinh.c (__casinh): Reduce finite argument to first
39380         quadrant then set signs of results at the end.
39381         * math/s_casinhf.c (__casinhf): Likewise.
39382         * math/s_casinhl.c (__casinhl): Likewise.
39383         * math/libm-test.inc (casin_test): Add more tests.
39384         (casinh_test): Likewise.
39385         * sysdeps/i386/fpu/libm-test-ulps: Update.
39386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39388 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39390         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39392         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39394         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39395         declarations.
39396         (denorm): Likewise.
39397         (__mp_dbl): Likewise.
39398         (__inv): Likewise.
39400         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39401         and adjust the header comment.
39403         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39404         variable name from declaration.
39406 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39409         Initialize COMMON_CPUID_INDEX_7 element.
39410         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39411         (CPUID_RTM): Likewise.
39412         (HAS_RTM): Likewise.
39413         (COMMON_CPUID_INDEX_7): New enum.
39415 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39417         [BZ #14981]
39418         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39419         size is zero, record memory as freed.
39421 2013-01-03  Andreas Jaeger  <aj@suse.de>
39423         * po/ia.po: Add new Interlingua translation.
39425 2012-01-03  Allan McRae  <allan@archlinux.org>
39427         * locale/programs/localedef.c: Fix description of '--posix' flag.
39429 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39431         * NEWS: Update dates in second copyright notice.
39432         * README: Update copyright dates in example.
39433         * manual/libc.texinfo: Update copyright dates.
39434         * scripts/test-installation.pl: Update copyright date in --version
39435         output.
39437         * hurd/ctty-input.c: Fix copyright notice formatting.
39438         * hurd/ctty-output.c: Likewise.
39439         * hurd/dtable.c: Likewise.
39440         * hurd/hurd-raise.c: Likewise.
39441         * hurd/hurdprio.c: Likewise.
39442         * hurd/msgportdemux.c: Likewise.
39443         * misc/sys/file.h: Likewise.
39444         * misc/sys/ioctl.h: Likewise.
39445         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39446         * sysdeps/mach/hurd/chdir.c: Likewise.
39447         * sysdeps/mach/hurd/fchdir.c: Likewise.
39448         * sysdeps/mach/hurd/rename.c: Likewise.
39449         * sysdeps/mach/hurd/rmdir.c: Likewise.
39450         * sysdeps/mach/hurd/seekdir.c: Likewise.
39451         * sysdeps/mach/hurd/setsid.c: Likewise.
39452         * sysdeps/posix/wait3.c: Likewise.
39454         * All files with FSF copyright notices: Update copyright dates
39455         using scripts/update-copyrights.
39456         * intl/plural.c: Regenerated.
39457         * locale/programs/charmap-kw.h: Likewise.
39458         * locale/programs/locfile-kw.h: Likewise.
39460 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39462         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39463         four values.
39465         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39466         calculation loop and add branch prediction.
39468         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39469         check access beyond bounds of m1np.
39471         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39472         MPTWO.
39473         (__inv): Remove local variable MPTWO to use the global
39474         constant.
39475         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39476         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39477         variable MPTWO.
39478         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39479         MP3HALFS static const.
39481 2013-01-01  David S. Miller  <davem@davemloft.net>
39483         * po/ca.po: Update from translation team.
39485 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39487         * scripts/update-copyrights: New file.
39488         * Makeconfig: Reformat copyright notice.
39489         * ctype/ctype.h: Likewise.
39490         * debug/swprintf_chk.c: Likewise.
39491         * elf/dl-cache.c: Likewise.
39492         * elf/dl-debug.c: Likewise.
39493         * elf/dl-object.c: Likewise.
39494         * grp/initgroups.c: Likewise.
39495         * hurd/Makefile: Likewise.
39496         * hurd/hurd/signal.h: Likewise.
39497         * hurd/hurdfault.c: Likewise.
39498         * hurd/hurdioctl.c: Likewise.
39499         * hurd/hurdlookup.c: Likewise.
39500         * hurd/intr-msg.c: Likewise.
39501         * iconv/gconv_open.c: Likewise.
39502         * libio/swprintf.c: Likewise.
39503         * locale/lc-ctype.c: Likewise.
39504         * locale/nl_langinfo.c: Likewise.
39505         * mach/Machrules: Likewise.
39506         * mach/Makefile: Likewise.
39507         * malloc/obstack.h: Likewise.
39508         * manual/Makefile: Likewise.
39509         * manual/tsort.awk: Likewise.
39510         * misc/bits/stab.def: Likewise.
39511         * nis/nis_print_group_entry.c: Likewise.
39512         * nis/nis_table.c: Likewise.
39513         * nis/nss_compat/compat-pwd.c: Likewise.
39514         * nis/nss_compat/compat-spwd.c: Likewise.
39515         * po/Makefile: Likewise.
39516         * posix/fnmatch.c: Likewise.
39517         * posix/regex.h: Likewise.
39518         * resolv/Makefile: Likewise.
39519         * resolv/nss_dns/dns-network.c: Likewise.
39520         * resolv/res_hconf.c: Likewise.
39521         * scripts/gen-sorted.awk: Likewise.
39522         * soft-fp/soft-fp.h: Likewise.
39523         * stdio-common/printf.h: Likewise.
39524         * stdlib/monetary.h: Likewise.
39525         * stdlib/random.c: Likewise.
39526         * stdlib/random_r.c: Likewise.
39527         * sysdeps/generic/Makefile: Likewise.
39528         * sysdeps/gnu/Makefile: Likewise.
39529         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39530         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39531         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39532         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39533         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39534         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39535         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39536         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39537         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39538         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39539         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39540         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39541         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39542         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39543         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39544         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39545         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39546         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39547         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39548         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39549         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39550         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39551         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39552         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39553         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39554         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39555         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39556         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39557         * sysdeps/mach/hurd/errnos.awk: Likewise.
39558         * sysdeps/mach/hurd/fork.c: Likewise.
39559         * sysdeps/mach/hurd/getcwd.c: Likewise.
39560         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39561         * sysdeps/mach/hurd/mmap.c: Likewise.
39562         * sysdeps/mach/hurd/utimes.c: Likewise.
39563         * sysdeps/mach/hurd/xmknod.c: Likewise.
39564         * sysdeps/posix/profil.c: Likewise.
39565         * sysdeps/posix/readdir_r.c: Likewise.
39566         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39567         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39568         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39569         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39571         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39572         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39573         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39575         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39576         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39577         * sysdeps/pthread/lio_listio.c: Likewise.
39578         * sysdeps/sparc/dl-procinfo.h: Likewise.
39579         * sysdeps/unix/i386/sysdep.S: Likewise.
39580         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39581         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39582         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39583         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39585         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39586         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39587         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39588         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39589         * sysdeps/wordsize-32/divdi3.c: Likewise.
39590         * time/sys/time.h: Likewise.
39591         * wcsmbs/Makefile: Likewise.
39593 2013-01-01  David S. Miller  <davem@davemloft.net>
39595         * po/fr.po: Update from translation team.
39597         * catgets/gencat.c: Update copyright year.
39598         * csu/version.c: Likewise.
39599         * debug/catchsegv.sh: Likewise.
39600         * debug/pcprofiledump.c: Likewise.
39601         * debug/xtrace.sh: Likewise.
39602         * elf/ldconfig.c: Likewise.
39603         * elf/ldd.bash.in: Likewise.
39604         * elf/pldd.c: Likewise.
39605         * elf/sotruss.ksh: Likewise.
39606         * elf/sprof.c: Likewise.
39607         * iconv/iconv_prog.c: Likewise.
39608         * iconv/iconvconfig.c: Likewise.
39609         * locale/programs/locale.c: Likewise.
39610         * locale/programs/localedef.c: Likewise.
39611         * login/programs/pt_chown.c: Likewise.
39612         * malloc/memusage.sh: Likewise.
39613         * malloc/memusagestat.c: Likewise.
39614         * malloc/mtrace.pl: Likewise.
39615         * nscd/nscd.c: Likewise.
39616         * nss/getent.c: Likewise.
39617         * nss/makedb.c: Likewise.
39618         * posix/getconf.c: Likewise.
39620 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39622         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39623         numbers.
39625 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39627         * math/bits/mathcalls.h (modf): Use __nonnull.
39629 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39631         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39632         (split): Use macro CN instead of the bare value.
39633         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39634         could be used.
39635         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39636         instead of the bare value.
39637         (power1): Likewise.
39639 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39641         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39642         __ATAN_TWOM.
39643         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39645         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39646         their values.
39647         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39648         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39649         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39650         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39652 2012-12-28  Andreas Jaeger  <aj@suse.de>
39654         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39655         values are from Linux 3.7.
39657         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39658         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39660 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39662         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39663         TRUE case.
39665         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39666         (norm): Likewise.
39667         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39668         variables with preprocessor constants.
39669         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39670         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39671         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39673 2012-12-27  Bruno Haible  <bruno@clisp.org>
39675         [BZ #14317]
39676         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39677         only if needed.
39679 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39682         and use variable directly.
39683         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39685         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39686         MPONE.
39687         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39688         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39689         variable MPONE.
39690         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39691         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39692         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39693         include directive.  Remove local variable MPONE.
39694         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39695         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39696         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39698 2012-12-25  David S. Miller  <davem@davemloft.net>
39700         * version.h (RELEASE): Set to "development".
39701         (VERSION): Set to "2.17.90".
39702         * NEWS: Add 2.18 section.
39704 2012-12-21  David S. Miller  <davem@davemloft.net>
39706         * po/hr.po: Update from translation team.
39708 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39710         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39712 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39714         * NEWS:  Mention new memcpy for MIPS.
39716 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39718         * manual/contrib.texi (Contributors): Spelling correction.
39720 2012-12-15  David S. Miller  <davem@davemloft.net>
39722         * po/ru.po: Update from translation team.
39724 2012-12-13  David S. Miller  <davem@davemloft.net>
39726         * NEWS: Mention IFUNC testsuite enhancements.
39728         * po/pl.po: Update from translation team.
39729         * po/bg.po: Likewise.
39731         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39732         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39734 2012-12-11  David S. Miller  <davem@davemloft.net>
39736         * po/sv.po: Update from translation team.
39738         * po/vi.po: Update from translation team.
39740         * po/cs.po: Update from translation team.
39742         * po/de.po: Update from translation team.
39743         * po/eo.po: Likewise.
39744         * po/nl.po: Likewise.
39746 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39748         [BZ #14246]
39749         * manual/argp.texi (Argp Helper Functions): Move node to follow
39750         Argp Parsing State.
39752         [BZ #14872]
39753         * manual/conf.texi (Limits on File System Capacity): Mention if
39754         terminating null is included in the max size.
39756 2012-12-10  Andreas Jaeger  <aj@suse.de>
39758         * po/cs.po: Update from translation team.
39760 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39762         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39763         void pointer and cast to uintptr_t.
39764         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39765         path.
39766         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39767         * sysdeps/s390/s390-64/memset.S: Likewise.
39769 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39771         [BZ #14833]
39772         * menual/message.texi (Message Translation): Fix typos.
39773         (Helper programs for gettext): Likewise.
39775 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39777         [BZ #14898]
39778         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39779         Change to -1.
39781 2012-12-07  David S. Miller  <davem@davemloft.net>
39783         * po/libc.pot: Update.
39785 2012-12-07  Richard Henderson  <rth@redhat.com>
39787         [BZ #10114]
39788         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39789         normal/normal case to before the switch.
39790         (_FP_DIV): Likewise.
39792 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39793             Mike Frysinger  <vapier@gentoo.org>
39795         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39796         check for __NR_fadvise64_64.
39798 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39800         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39801         0, not just to plain "0" as a statement.
39802         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39803         with cw.
39805 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39807         * NEWS: Use sourceware.org in Bugzilla URL.
39809 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39812         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39814         * stdio-common/tst-put-error.c (do_test): Add newline to the
39815         padded test to ensure flush.
39817 2012-12-05  Jeff Law  <law@redhat.com>
39819         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39821 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39823         * README: Don't refer to ports add-on as distributed separately.
39824         Mention AArch64 in list of systems supported in the ports add-on.
39826         * LICENSES: Add more non-FSF copyright and license notices.
39828         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39829         ((unused)).
39831         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39833         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39834         10000 as width of padded output.
39836 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39838         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39840         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39841         variable LX with __attribute__ ((unused)).
39842         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39843         Likewise.
39844         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39845         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39846         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39847         with __attribute__ ((unused)).
39849 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39851         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39853 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39855         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39856         (CFLAGS-nldbl-acos.c): New variable.
39857         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39858         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39859         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39860         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39861         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39862         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39863         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39864         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39865         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39866         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39867         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39868         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39869         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39870         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39871         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39872         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39873         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39874         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39875         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39876         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39877         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39878         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39879         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39880         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39881         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39882         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39883         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39884         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39885         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39886         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39887         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39888         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39889         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39890         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39891         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39892         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39893         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39894         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39895         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39896         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39897         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39898         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39899         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39900         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39901         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39902         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39903         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39904         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39905         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39906         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39907         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39908         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39909         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39910         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39911         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39912         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39913         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39914         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39915         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39916         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39917         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39918         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39919         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39920         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39921         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39922         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39923         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39924         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39925         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39926         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39927         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39928         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39929         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39930         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39931         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39932         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39933         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39934         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39935         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39936         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39937         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39938         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39939         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39940         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39941         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39942         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39943         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39944         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39945         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39946         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39947         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39948         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39949         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39950         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39951         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39952         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39953         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39956         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39958         [BZ #14914]
39959         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39960         whole low double instead of just low 47 bits when splitting values
39961         into two parts.
39963 2012-12-03  Allan McRae  <allan@archlinux.org>
39965         * manual/stdio.texi (Predefined Printf Handlers): Remove
39966         @hsep and @vsep usage.
39968 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39970         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39971         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39973 2012-12-03  Jeff Law  <law@redhat.com>
39975         * time/sys/time.h (settimeofday): Do not mark TV argument
39976         as __nonnull.
39978 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39980         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39981         when currently writing and seek to current position when not.
39982         * libio/Makefile (tests): Remove bug-fclose1.
39983         * libio/bug-fclose1.c: Delete.
39985 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39987         * manual/arith.texi (feenableexcept): Fix typo.
39988         (fedisableexcept): Likewise.
39990 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39992         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39993         second, differently-typed declaration, rather than a cast.
39995 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39997         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39998         * include/rpc/svc.h: ... here.
40000 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40002         [BZ #13013]
40003         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40004         depending n and resplen2 to catch cases where answer
40005         equals answerp2.
40007 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40009         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40010         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40012 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40014         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40016 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40018         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40020 2012-11-28  Jeff Law  <law@redhat.com>
40022         [BZ #13761]
40023         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40024         dataset_temporary.  Track alloca usage into alloca_used.
40025         If dataset is large allocate and release it via malloc/free.
40027 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40029         [BZ #14197]
40030         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40032 2012-11-28  David S. Miller  <davem@davemloft.net>
40034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40036 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40038         [BZ #14803]
40039         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40040         of pi/2 rounded to nearest to 64 bits.
40041         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40042         nearest to 64 bits.
40043         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40044         bits.
40046 2012-11-28  Jeff Law <law@redhat.com>
40047             Martin Osvald <mosvald@redhat.com>
40049         [BZ #14889]
40050         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40051         * sunrpc/svc.c: Include time.h.
40052         (__svc_accept_failed): New function.
40053         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40054         any reason other than EINTR, call __svc_accept_failed.
40055         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40056         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40058 2012-11-28  Andreas Schwab  <schwab@suse.de>
40060         * scripts/abilist.awk: Also handle indirect functions in .opd
40061         section.
40063 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40065         [BZ #13881]
40066         * sysdeps/x86/fpu/powl_helper.c: New file.
40067         * sysdeps/x86/fpu/Makefile: Likewise.
40068         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40069         (p3): New object.
40070         (__ieee754_powl): Use __powl_helper for finite arguments except
40071         integer exponents below 8.
40072         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40073         (p3): New object.
40074         (__ieee754_powl): Use __powl_helper for finite arguments except
40075         integer exponents below 8.
40076         * math/libm-test.inc (pow_test): Add more tests and enable some
40077         previously disabled tests.
40078         * sysdeps/i386/fpu/libm-test-ulps: Update.
40079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40081 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40082             Carlos O'Donell  <carlos_odonell@mentor.com>
40084         * nss/makedb.c (is_prime): Assert that input is odd and greater
40085         than 4.  Note that fact in a comment too.
40086         (next_prime): Add 4 to input.
40088 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40090         [BZ #11741]
40091         * libio/Makefile (tests): Add test case tst-fwrite-error.
40092         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40093         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40094         * libio/tst-fwrite-error.c: New test case.
40096 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40098         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40099         before casting to void *.
40100         * include/libc-internal.h (__pointer_type): New macro.
40101         (__integer_if_pointer_type_sub): Likewise.
40102         (__integer_if_pointer_type): Likewise.
40103         (cast_to_integer): Likewise.
40104         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40105         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40106         before casting to atomic64_t.
40107         (atomic_exchange_acq): Likewise.
40108         (__arch_exchange_and_add_body): Likewise.
40109         (__arch_add_body): Likewise.
40110         (atomic_add_negative): Likewise.
40111         (atomic_add_zero): Likewise.
40113 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40115         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40116         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40117         (add_fdes): Likewise.
40118         (linear_search_fdes): Likewise.
40119         (binary_search_unencoded_fdes): Likewise.
40121 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40123         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40125 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40127         * configure.in: Autodetect C++ header directories.
40128         * configure: Regenerated.
40130 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40132         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40134 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40138 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40140         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40141         LDBL_MANT_DIG == 106]: Disable some tests.
40142         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40143         Likewise.
40144         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40145         Likewise.
40147         [BZ #14871]
40148         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40149         input for small inputs.  Return +/- pi/2 for large inputs.
40150         * math/libm-test.inc (atan_test): Add more tests.
40152         * sysdeps/generic/unwind-dw2-fde-glibc.c
40153         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40154         __attribute__ ((unused)).
40156         [BZ #14645]
40157         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40158         x * y if x and y are nonzero and z is zero.
40160         [BZ #14811]
40161         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40162         nonzero exponents with absolute value below 0x1p-117 to +/-
40163         0x1p-117.
40165         [BZ #14869]
40166         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40167         up arguments below 2**-450, not just those below 2**-500.
40168         * math/libm-test.inc (hypot_test): Add another test.
40170         [BZ #14868]
40171         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40172         Return a+b for ratio over 2**120, not 2**60.
40173         * math/libm-test.inc (hypot_test): Add another test.
40175         * math/libm-test.inc (clog_test): Use
40176         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40177         (clog10_test): Likewise.
40179         [BZ #6778]
40180         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40182 2012-11-22  Andreas Schwab  <schwab@suse.de>
40184         * sysdeps/i386/fpu/libm-test-ulps: Update.
40186 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40188         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40189         printf output with newline.
40191 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40193         [BZ #14865]
40194         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40195         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40196         -z nodlopen, -z initfirst and -z execstack support.
40197         * configure: Regenerated.
40199         * elf/elf.h (DF_1_NODIRECT): New macro.
40200         (DF_1_IGNMULDEF): Likewise.
40201         (DF_1_NOKSYMS): Likewise.
40202         (DF_1_NOHDR): Likewise.
40203         (DF_1_EDITED): Likewise.
40204         (DF_1_NORELOC): Likewise.
40205         (DF_1_SYMINTPOSE): Likewise.
40206         (DF_1_GLOBAUDIT): Likewise.
40207         (DF_1_SINGLETON): Likewise.
40208         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40209         DT_1_SUPPORTED_MASK bits.
40210         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40212 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40214         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40216 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40218         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40219         macro.
40221         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40222         (sendmmsg): Move declarations...
40223         * socket/sys/socket.h: ... here.
40224         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40225         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40226         include it from...
40227         * socket/recvmmsg.c: ... this new file.
40228         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40229         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40230         definition of __sendmmsg hidden.
40231         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40232         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40233         Move ENOSYS stub into and include it from...
40234         * socket/sendmmsg.c: ... this new file.
40235         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40236         (sysdep_routines): Move recvmmsg and sendmmsg...
40237         * socket/Makefile (routines): ... here.
40238         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40239         (GLIBC_PRIVATE): Add __sendmmsg.
40240         * include/sys/socket.h (__sendmmsg): Add declarations.
40241         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40242         sendmmsg.
40244 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40246         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40247         variable I1 with __attribute__ ((unused)).
40248         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40250 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40252         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40253         DUMMY variables with __attribute__ ((unused)).
40255         * bits/byteswap.h: Include <bits/types.h>.
40256         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40258 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40260         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40261         string_t.  Do not manually set errno.
40262         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40263         length with __strnlen.  Make sure to both set errno and return it on
40264         failure.
40266 2012-11-19  David S. Miller  <davem@davemloft.net>
40268         With help from Joseph Myers.
40269         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40270         very large arguments properly.
40271         * math/libm-test.inc (atan_test): New tests.
40272         (atan2_test): New tests.
40273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40276 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40278         [BZ #14856]
40279         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40280         Define to 3.
40282         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40283         [POSIX] (EADDRNOTAVAIL): Likewise.
40284         [POSIX] (EAFNOSUPPORT): Likewise.
40285         [POSIX] (EALREADY): Likewise.
40286         [POSIX] (ECONNABORTED): Likewise.
40287         [POSIX] (ECONNREFUSED): Likewise.
40288         [POSIX] (ECONNRESET): Likewise.
40289         [POSIX] (EDESTADDRREQ): Likewise.
40290         [POSIX] (EDQUOT): Likewise.
40291         [POSIX] (EHOSTUNREACH): Likewise.
40292         [POSIX] (EIDRM): Likewise.
40293         [POSIX] (EISCONN): Likewise.
40294         [POSIX] (ELOOP): Likewise.
40295         [POSIX] (EMULTIHOP): Likewise.
40296         [POSIX] (ENETDOWN): Likewise.
40297         [POSIX] (ENETUNREACH): Likewise.
40298         [POSIX] (ENOBUFS): Likewise.
40299         [POSIX] (ENODATA): Likewise.
40300         [POSIX] (ENOLINK): Likewise.
40301         [POSIX] (ENOMSG): Likewise.
40302         [POSIX] (ENOPROTOOPT): Likewise.
40303         [POSIX] (ENOSR): Likewise.
40304         [POSIX] (ENOSTR): Likewise.
40305         [POSIX] (ENOTCONN): Likewise.
40306         [POSIX] (ENOTSOCK): Likewise.
40307         [POSIX] (EOPNOTSUPP): Likewise.
40308         [POSIX] (EOVERFLOW): Likewise.
40309         [POSIX] (EPROTO): Likewise.
40310         [POSIX] (EPROTONOSUPPORT): Likewise.
40311         [POSIX] (EPROTOTYPE): Likewise.
40312         [POSIX] (ESTALE): Likewise.
40313         [POSIX] (ETIME): Likewise.
40314         [POSIX] (ETXTBSY): Likewise.
40315         [POSIX] (EWOULDBLOCK): Likewise.
40316         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40317         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40318         [POSIX] (SEEK_CUR): Likewise.
40319         [POSIX] (SEEK_END): Likewise.
40320         [POSIX || UNIX98] (mode_t): Do not require.
40321         [POSIX] (off_t): Likewise.
40322         [POSIX] (pid_t): Likewise.
40323         [POSIX] (sys/stat.h): Do not allow header.
40324         [POSIX] (unistd.h): Likewise.
40325         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40326         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40327         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40328         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40329         require.
40330         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40331         sigevent): Specify elements.
40332         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40333         entry.
40334         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40335         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40337         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40338         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40339         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40340         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40341         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40342         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40343         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40344         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40345         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40346         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40347         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40348         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40349         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40350         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40351         Likewise.
40352         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40353         Likewise.
40354         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40355         Likewise.
40356         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40357         Likewise.
40358         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40359         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40360         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40361         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40362         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40363         Specify lower bound on value.
40364         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40365         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40366         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40367         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40368         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40369         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40370         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40371         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40372         value.
40373         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40374         as optional.
40375         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40376         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40377         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40378         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40379         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40380         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40381         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40382         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40383         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40384         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40385         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40386         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40387         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40388         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40389         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40390         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40391         entry.
40392         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40393         optional.
40394         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40395         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40396         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40397         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40398         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40399         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40400         Likewise.
40401         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40402         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40403         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40404         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40405         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40406         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40407         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40408         as optional.
40409         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40410         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40411         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40412         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40413         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40414         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40415         specify as optional.
40416         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40417         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40418         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40419         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40420         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40421         [XPG3] (NL_LANGMAX): Likewise.
40422         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40423         [POSIX || XPG3] (NL_NMAX): Likewise.
40424         [POSIX || XPG3] (NL_SETMAX): Likewise.
40425         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40426         [XPG3] (NZERO): Likewise.
40427         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40428         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40429         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40430         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40431         (REG_ERANGE): Expect.
40432         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40433         optional-constant.
40434         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40435         Use (void) in prototype.
40436         [POSIX] (*_t): Allow.
40437         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40438         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40439         (WRDE_BADVAL): Expect.
40441         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40442         expect.
40443         [XPG3 || XPG4] (O_RSYNC): Likewise.
40444         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40445         Likewise.
40446         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40447         [XPG3 || XPG4] (sigqueue): Likewise.
40448         [XPG3 || XPG4] (sigtimedwait): Likewise.
40449         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40450         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40451         [XPG3 || XPG4] (vsnprintf): Likewise.
40452         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40453         Likewise.
40454         [XPG3 || XPG4] (blksize_t): Likewise.
40455         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40456         Likewise.
40457         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40458         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40459         [XPG3 || XPG4] (struct itimerspec): Likewise.
40460         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40461         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40462         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40463         [XPG3 || XPG4] (clockid_t): Likewise.
40464         [XPG3 || XPG4] (timer_t): Likewise.
40465         [XPG3 || XPG4] (clock_getres): Likewise.
40466         [XPG3 || XPG4] (clock_gettime): Likewise.
40467         [XPG3 || XPG4] (clock_settime): Likewise.
40468         [XPG3 || XPG4] (nanosleep): Likewise.
40469         [XPG3 || XPG4] (timer_create): Likewise.
40470         [XPG3 || XPG4] (timer_delete): Likewise.
40471         [XPG3 || XPG4] (timer_gettime): Likewise.
40472         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40473         [XPG3 || XPG4] (timer_settime): Likewise.
40474         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40475         [XPG3 || XPG4] (getlogin_r): Likewise.
40476         [XPG3 || XPG4] (pread): Likewise.
40477         [XPG3 || XPG4] (pthread_atfork): Likewise.
40478         [XPG3 || XPG4] (pwrite): Likewise.
40480         [BZ #14835]
40481         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40482         <bits/siginfo.h>.
40484 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40486         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40487         finalizing MALLSTREAM.
40489         * sysdeps/mach/hurd/syncfs.c: New file.
40491 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40493         [BZ #14719]
40494         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40495         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40496         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40497         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40498         (_nss_dns_gethostbyname4_r): Likewise.
40499         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40500         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40502 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40504         [BZ #13763]
40505         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40507 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40509         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40510         * elf/cache.c (print_entry): Print ",AArch64" for
40511         FLAG_AARCH64_LIB64
40513         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40514         * elf/cache.c (print_entry): Print ",hard-float" for
40515         FLAG_ARM_LIBHF.
40517 2012-11-18  David S. Miller  <davem@davemloft.net>
40519         With help from Joseph Myers.
40520         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40521         cutoff to 2**-13.
40522         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40523         cutoff to 2**-25.
40524         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40525         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40526         small.
40527         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40528         * math/libm-test.inc (y0_test): New tests.
40529         (y1_test): New tests.
40530         * sysdeps/i386/fpu/libm-test-ulps: Update.
40531         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40534 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40536         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40537         64-bit targets.
40538         * configure: Regenerated.
40540 2012-11-17  David S. Miller  <davem@davemloft.net>
40542         [BZ #14811]
40543         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40544         nonzero exponents with absolute value below 0x1p-128 to +/-
40545         0x1p-128.
40547 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40549         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40551         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40553         * posix/getconf-speclist.c: New file.
40554         * posix/posix-envs.def: Likewise.
40555         * posix/confstr.c (START_ENV_GROUP): New macro.
40556         (END_ENV_GROUP): Likewise.
40557         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40558         (KNOWN_PRESENT_ENV_STRING): Likewise.
40559         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40560         (UNKNOWN_ENVIRONMENT): Likewise.
40561         (confstr): Include posix-envs.def instead of handling
40562         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40563         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40564         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40565         (END_ENV_GROUP): Likewise.
40566         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40567         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40568         (UNKNOWN_ENVIRONMENT): Likewise.
40569         (__sysconf): Include posix-envs.def instead of handling associated
40570         cases directly here.
40571         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40572         preprocessing getconf-speclist.c rather than running getconf or
40573         generating empty file.
40575 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40577         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40579 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40581         [BZ #14672]
40582         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40584 2012-11-16  David S. Miller  <davem@davemloft.net>
40586         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40587         smaller than LDBL_EPSILON/2.0L, just return xm1.
40589 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40591         * elf/tst-array1.c (init): Set constructor priority to 1000.
40592         (fini): Set destructor priority to 1000.
40593         * elf/tst-array2dep.c: Likewise.
40595 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40597         [BZ #11741]
40598         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40599         (_IO_new_file_xsputn): Also return EOF if none of the input
40600         data was written when overflow failed.
40601         * libio/iopadn.c (_IO_padn): Likewise.
40602         * libio/iowpadn.c (_IO_wpadn): Likewise.
40603         * stdio-common/tst-put-error.c: Add copyright notice.
40604         (do_test): Add case for printing padded string.
40605         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40606         _IO_padn returned error.
40607         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40608         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40609         return EOF.
40611 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40613         * libio/libioP.h: Add comment note that the references to C++
40614         bits are now obsolete.
40616 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40618         * math/libm-test.inc (check_complex): Use asprintf.
40620 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40622         * debug/pcprofiledump.c (print_version): Update copyright year.
40623         * malloc/memusagestat.c (print_version): Likewise.
40625 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40627         [BZ #14831]
40628         * elf/Makefile (tests): Add tst-audit8.
40629         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40630         ($(objpfx)tst-audit8.out): New target.
40631         (tst-audit8-ENV): New variable.
40632         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40633         audit if l_reloc_result is NULL.
40634         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40635         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40636         * elf/tst-audit8.c: New file.
40638 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40640         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40641         * misc/Makefile (CFLAGS-select.c): Define.
40642         * posix/Makefile (CFLAGS-pause.c): Define.
40644 2012-11-13  David S. Miller  <davem@davemloft.net>
40646         * crypt/Makefile: Move test targets after toplevel Rules
40647         inclusion.  Grab any necessary sysdep routines when linking.
40648         * crypt/md5.c (md5_process_block): Remove define, we will always
40649         name it __md5_process_block.
40650         (md5_finish_ctx): Update md5_process_block call.
40651         (md5_stream): Likewise.
40652         (md5_process_bytes): Likewise.
40653         (md5_process_block): Rename to __md5_process_block and move to ...
40654         * crypt/md5-block.c: ... here.
40655         * crypt/sha256.c (sha256_process_block): Move to ...
40656         * crypt/sha256-block.c: ... here.
40657         * crypt/sha512.c (sha512_process_block): Move to ...
40658         * crypt/sha512-block.c: ... here.
40659         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40660         path.
40661         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40662         * sysdeps/sparc/sparc64/multiarch/Makefile
40663         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40664         crypt subdir.
40665         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40666         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40667         multiarch changes.
40668         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40669         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40670         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40671         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40672         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40673         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40674         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40675         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40676         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40677         file.
40678         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40679         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40680         file.
40681         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40683 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40685         * timezone/tzselect.ksh: Update from tzcode git revision
40686         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40687         * timezone/zdump.c: Likewise.
40688         * timezone/zic.c: Likewise.
40689         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40690         in TZVERSION setting, not $(PKGVERSION).
40691         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40692         REPORT_BUGS_TO settings.
40694         [BZ #14838]
40695         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40696         macro.
40698 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40700         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40701         detection to immediately after _FP_ROUND().
40702         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40703         bits are 0.
40705 2012-11-11  David S. Miller  <davem@davemloft.net>
40707         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40708         inttypes.h
40709         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40710         __close rather than their public counterparts.
40712 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40714         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40715         file.
40716         [UNIX98] (sem_timedwait): Do not expect.
40717         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40718         [XPG4 || UNIX98] (sockatmark): Do not expect.
40719         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40720         (clock_getcpuclockid): Do not expect.
40721         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40722         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40723         Do not expect.
40724         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40725         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40726         [UNIX98] (vwscanf): Likewise.
40727         [UNIX98] (vswscanf): Likewise.
40729 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40731         * timezone/version.h: Remove file.
40732         * timezone/README: Do not refer to version.h.
40733         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40734         $(objpfx)version.h.
40735         ($(objpfx)zdump.o): Likewise.
40736         ($(objpfx)version.h): New target.
40738         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40739         2012i.
40740         * timezone/README: Don't mention modification to tzselect.ksh.
40741         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40742         work on unmodified tzselect.ksh.  Substitute version numbers in
40743         tzselect.ksh.
40745         * Makefile (format-me): Remove.
40746         (INSTALL): Adjust indentation.  Use commands directly instead of
40747         using $(format-me).
40749         * aclocal.m4 (ACX_PKGVERSION): New macro.
40750         (ACX_BUGURL): Likewise.
40751         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40752         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40753         (REPORT_BUGS_TO): Likewise.
40754         * configure: Regenerated.
40755         * config.h.in (PKGVERSION): New macro.
40756         (REPORT_BUGS_TO): Likewise.
40757         * config.make.in (PKGVERSION): New variable.
40758         (PKGVERSION_TEXI): Likewise.
40759         (REPORT_BUGS_TO): Likewise.
40760         (REPORT_BUGS_TEXI): Likewise.
40761         * Makefile (format-me): Use -I$(common-objpfx)manual.
40762         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40763         ($(common-objpfx)manual/%): New target.
40764         (manual/%): Remove target.
40765         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40766         (print_version): Use PKGVERSION.
40767         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40768         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40769         and REPORT_BUGS_TO.
40770         ($(objpfx)xtrace): Likewise.
40771         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40772         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40773         (print_version): Use PKGVERSION.
40774         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40775         (do_version): Use PKGVERSION.
40776         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40777         REPORT_BUGS_TO.
40778         (common-ldd-rewrite): Likewise.
40779         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40780         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40781         (print_version): Use PKGVERSION.
40782         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40783         * elf/pldd.c (argp_program_bug_address): Remove variable.
40784         (more_help): New function.
40785         (argp): Use more_help.
40786         (print_version): Use PKGVERSION.
40787         * elf/sln.c (main): Use PKGVERSION.
40788         (usage): Use REPORT_BUGS_TO.
40789         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40790         (top level): Use PKGVERSION.
40791         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40792         (print_version): Use PKGVERSION.
40793         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40794         (print_version): Use PKGVERSION.
40795         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40796         (print_version): Use PKGVERSION.
40797         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40798         (print_version): Use PKGVERSION.
40799         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40800         (print_version): Use PKGVERSION.
40801         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40802         (print_version): Use PKGVERSION.
40803         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40804         and BUGURL.
40805         ($(objpfx)memusage): Likewise.
40806         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40807         (do_version): Use PKGVERSION.
40808         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40809         (print_version): Use PKGVERSION.
40810         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40811         ($PKGVERSION): New variable.
40812         ($REPORT_BUGS_TO): Likewise.
40813         (usage): Use $REPORT_BUGS_TO.
40814         (top level): Use $PKGVERSION.
40815         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40816         ($(objpfx)pkgvers.texi): New rule.
40817         ($(objpfx)stamp-pkgvers): Likewise.
40818         * manual/install.texi: Include pkgvers.texi.
40819         (--with-pkgversion): Document new configure option.
40820         (--with-bugurl): Likewise.
40821         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40822         than necessarily for this particular distribution.  Use
40823         REPORT_BUGS_TO for where to report bugs.
40824         * INSTALL: Regenerated.
40825         * manual/libc.texinfo: Include pkgvers.texi.
40826         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40827         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40828         (print_version): Use PKGVERSION.
40829         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40830         (print_version): Use PKGVERSION.
40831         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40832         (print_version): Use PKGVERSION.
40833         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40834         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40835         macro.
40836         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40837         (print_version): Use PKGVERSION.
40838         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40839         (print_version): Use PKGVERSION.
40840         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40841         and PKGVERSION.
40843         * timezone/checktab.awk: Update from tzcode 2012i.
40844         * timezone/ialloc.c: Likewise.
40845         * timezone/private.h: Likewise.
40846         * timezone/scheck.c: Likewise.
40847         * timezone/tzfile.h: Likewise.
40848         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40849         (TZVERSION): Hardcode tzcode version number.
40850         * timezone/zdump.c: Update from tzcode 2012i.
40851         * timezone/zic.c: Likewise.
40852         * timezone/version.h: New file.
40853         * timezone/README: Describe version.h.  Update upstream location.
40855         [BZ #14824]
40856         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40857         (mktemp): Enable declaration.
40858         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40859         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40860         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40861         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40862         Likewise.
40863         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40864         Likewise.
40865         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40866         Likewise.
40867         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40868         Likewise.
40869         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40870         Likewise.
40871         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40872         Likewise.
40874         [BZ #14821]
40875         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40876         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40877         for copies of such integer values.
40878         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40879         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40881 2012-11-09  Andreas Jaeger  <aj@suse.de>
40883         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40884         definitions and declarations that are provided by
40885         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40887 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40889         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40890         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40891         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40892         definition.
40894 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40896         * elf/elf.h: Update comment before AArch64 relocations.
40898 2012-11-07  David S. Miller  <davem@davemloft.net>
40900         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40901         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40902         (__start_context): Declare.
40903         (__makecontext_ret): Delete.
40904         (__makecontext): Hook up __start_context instead of
40905         __makecontext_ret.
40906         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40907         (sysdep_routines): Add __start_context when in stdlib.
40909 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40911         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40912         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40913         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40914         hardcoded "nm".
40915         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40916         (READELF): New variable.  Use it instead of hardcoded "readelf".
40918 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40920         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40921         * sysdeps/x86/Makefile: Here.
40922         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40923         * sysdeps/x86/tst-xmmymm.sh: This.
40925 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40927         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40928         expectations.
40929         [UNIX98] (pthread_barrier_t): Do not expect.
40930         [UNIX98] (pthread_barrierattr_t): Likewise.
40931         [UNIX98] (pthread_spinlock_t): Likewise.
40932         [UNIX98] (pthread_barrier_destroy): Likewise.
40933         [UNIX98] (pthread_barrier_init): Likewise.
40934         [UNIX98] (pthread_barrier_wait): Likewise.
40935         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40936         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40937         [UNIX98] (pthread_barrierattr_init): Likewise.
40938         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40939         [UNIX98] (pthread_getcpuclockid): Likewise.
40940         [UNIX98] (pthread_mutex_timedlock): Likewise.
40941         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40942         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40943         [UNIX98] (pthread_sigmask): Likewise.
40944         [UNIX98] (pthread_spin_destroy): Likewise.
40945         [UNIX98] (pthread_spin_init): Likewise.
40946         [UNIX98] (pthread_spin_lock): Likewise.
40947         [UNIX98] (pthread_spin_trylock): Likewise.
40948         [UNIX98] (pthread_spin_unlock): Likewise.
40949         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40950         Do not expect.
40951         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40952         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40953         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40954         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40955         [XPG3 || XPG4] (pthread_key_t): Likewise.
40956         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40957         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40958         [XPG3 || XPG4] (pthread_once_t): Likewise.
40959         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40960         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40961         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40962         [XPG3 || XPG4] (pthread_t): Likewise.
40964         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40965         not expect.
40966         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40968         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40969         Change function return type to int.
40971         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40972         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40973         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40974         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40975         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40976         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40977         [!POSIX] (posix_madvise): Likewise.
40978         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40979         && !UNIX98].
40980         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40981         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40982         (mode_t): Likewise.
40983         (posix_mem_offset): Likewise.
40984         (posix_typed_mem_get_info): Likewise.
40985         (posix_typed_mem_open): Likewise.
40987         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40988         Change condition to [XOPEN2K8].
40990         * conform/conformtest.pl: Preprocess allow-header data with -x c
40991         instead of from stdin.
40992         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40993         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40994         [C99-based standards] (cerfc): Likewise.
40995         [C99-based standards] (cexp2): Likewise.
40996         [C99-based standards] (cexpm1): Likewise.
40997         [C99-based standards] (clog10): Likewise.
40998         [C99-based standards] (clog1p): Likewise.
40999         [C99-based standards] (clog2): Likewise.
41000         [C99-based standards] (clgamma): Likewise.
41001         [C99-based standards] (ctgamma): Likewise.
41002         [C99-based standards] (cerff): Likewise.
41003         [C99-based standards] (cerfcf): Likewise.
41004         [C99-based standards] (cexp2f): Likewise.
41005         [C99-based standards] (cexpm1f): Likewise.
41006         [C99-based standards] (clog10f): Likewise.
41007         [C99-based standards] (clog1pf): Likewise.
41008         [C99-based standards] (clog2f): Likewise.
41009         [C99-based standards] (clgammaf): Likewise.
41010         [C99-based standards] (ctgammaf): Likewise.
41011         [C99-based standards] (cerfl): Likewise.
41012         [C99-based standards] (cerfcl): Likewise.
41013         [C99-based standards] (cexp2l): Likewise.
41014         [C99-based standards] (cexpm1l): Likewise.
41015         [C99-based standards] (clog10l): Likewise.
41016         [C99-based standards] (clog1pl): Likewise.
41017         [C99-based standards] (clog2l): Likewise.
41018         [C99-based standards] (clgammal): Likewise.
41019         [C99-based standards] (ctgammal): Likewise.
41020         * conform/data/inttypes.h-data [C99-based standards]: Include
41021         stdint.h-data.  Remove all expectations for stdint.h contents.
41022         [C99-based standards] (PRI*): Do not allow.
41023         [C99-based standards] (SCN*): Likewise.
41024         [C99-based standards] (*_t): Likewise.
41025         [C99-based-standards] (PRId8): Expect macro.
41026         [C99-based-standards] (PRIi8): Likewise.
41027         [C99-based-standards] (PRIo8): Likewise.
41028         [C99-based-standards] (PRIu8): Likewise.
41029         [C99-based-standards] (PRIx8): Likewise.
41030         [C99-based-standards] (PRIX8): Likewise.
41031         [C99-based-standards] (SCNd8): Likewise.
41032         [C99-based-standards] (SCNi8): Likewise.
41033         [C99-based-standards] (SCNo8): Likewise.
41034         [C99-based-standards] (SCNu8): Likewise.
41035         [C99-based-standards] (SCNx8): Likewise.
41036         [C99-based-standards] (PRIdLEAST8): Likewise.
41037         [C99-based-standards] (PRIiLEAST8): Likewise.
41038         [C99-based-standards] (PRIoLEAST8): Likewise.
41039         [C99-based-standards] (PRIuLEAST8): Likewise.
41040         [C99-based-standards] (PRIxLEAST8): Likewise.
41041         [C99-based-standards] (PRIXLEAST8): Likewise.
41042         [C99-based-standards] (SCNdLEAST8): Likewise.
41043         [C99-based-standards] (SCNiLEAST8): Likewise.
41044         [C99-based-standards] (SCNoLEAST8): Likewise.
41045         [C99-based-standards] (SCNuLEAST8): Likewise.
41046         [C99-based-standards] (SCNxLEAST8): Likewise.
41047         [C99-based-standards] (PRIdFAST8): Likewise.
41048         [C99-based-standards] (PRIiFAST8): Likewise.
41049         [C99-based-standards] (PRIoFAST8): Likewise.
41050         [C99-based-standards] (PRIuFAST8): Likewise.
41051         [C99-based-standards] (PRIxFAST8): Likewise.
41052         [C99-based-standards] (PRIXFAST8): Likewise.
41053         [C99-based-standards] (SCNdFAST8): Likewise.
41054         [C99-based-standards] (SCNiFAST8): Likewise.
41055         [C99-based-standards] (SCNoFAST8): Likewise.
41056         [C99-based-standards] (SCNuFAST8): Likewise.
41057         [C99-based-standards] (SCNxFAST8): Likewise.
41058         [C99-based-standards] (PRId16): Likewise.
41059         [C99-based-standards] (PRIi16): Likewise.
41060         [C99-based-standards] (PRIo16): Likewise.
41061         [C99-based-standards] (PRIu16): Likewise.
41062         [C99-based-standards] (PRIx16): Likewise.
41063         [C99-based-standards] (PRIX16): Likewise.
41064         [C99-based-standards] (SCNd16): Likewise.
41065         [C99-based-standards] (SCNi16): Likewise.
41066         [C99-based-standards] (SCNo16): Likewise.
41067         [C99-based-standards] (SCNu16): Likewise.
41068         [C99-based-standards] (SCNx16): Likewise.
41069         [C99-based-standards] (PRIdLEAST16): Likewise.
41070         [C99-based-standards] (PRIiLEAST16): Likewise.
41071         [C99-based-standards] (PRIoLEAST16): Likewise.
41072         [C99-based-standards] (PRIuLEAST16): Likewise.
41073         [C99-based-standards] (PRIxLEAST16): Likewise.
41074         [C99-based-standards] (PRIXLEAST16): Likewise.
41075         [C99-based-standards] (SCNdLEAST16): Likewise.
41076         [C99-based-standards] (SCNiLEAST16): Likewise.
41077         [C99-based-standards] (SCNoLEAST16): Likewise.
41078         [C99-based-standards] (SCNuLEAST16): Likewise.
41079         [C99-based-standards] (SCNxLEAST16): Likewise.
41080         [C99-based-standards] (PRIdFAST16): Likewise.
41081         [C99-based-standards] (PRIiFAST16): Likewise.
41082         [C99-based-standards] (PRIoFAST16): Likewise.
41083         [C99-based-standards] (PRIuFAST16): Likewise.
41084         [C99-based-standards] (PRIxFAST16): Likewise.
41085         [C99-based-standards] (PRIXFAST16): Likewise.
41086         [C99-based-standards] (SCNdFAST16): Likewise.
41087         [C99-based-standards] (SCNiFAST16): Likewise.
41088         [C99-based-standards] (SCNoFAST16): Likewise.
41089         [C99-based-standards] (SCNuFAST16): Likewise.
41090         [C99-based-standards] (SCNxFAST16): Likewise.
41091         [C99-based-standards] (PRId32): Likewise.
41092         [C99-based-standards] (PRIi32): Likewise.
41093         [C99-based-standards] (PRIo32): Likewise.
41094         [C99-based-standards] (PRIu32): Likewise.
41095         [C99-based-standards] (PRIx32): Likewise.
41096         [C99-based-standards] (PRIX32): Likewise.
41097         [C99-based-standards] (SCNd32): Likewise.
41098         [C99-based-standards] (SCNi32): Likewise.
41099         [C99-based-standards] (SCNo32): Likewise.
41100         [C99-based-standards] (SCNu32): Likewise.
41101         [C99-based-standards] (SCNx32): Likewise.
41102         [C99-based-standards] (PRIdLEAST32): Likewise.
41103         [C99-based-standards] (PRIiLEAST32): Likewise.
41104         [C99-based-standards] (PRIoLEAST32): Likewise.
41105         [C99-based-standards] (PRIuLEAST32): Likewise.
41106         [C99-based-standards] (PRIxLEAST32): Likewise.
41107         [C99-based-standards] (PRIXLEAST32): Likewise.
41108         [C99-based-standards] (SCNdLEAST32): Likewise.
41109         [C99-based-standards] (SCNiLEAST32): Likewise.
41110         [C99-based-standards] (SCNoLEAST32): Likewise.
41111         [C99-based-standards] (SCNuLEAST32): Likewise.
41112         [C99-based-standards] (SCNxLEAST32): Likewise.
41113         [C99-based-standards] (PRIdFAST32): Likewise.
41114         [C99-based-standards] (PRIiFAST32): Likewise.
41115         [C99-based-standards] (PRIoFAST32): Likewise.
41116         [C99-based-standards] (PRIuFAST32): Likewise.
41117         [C99-based-standards] (PRIxFAST32): Likewise.
41118         [C99-based-standards] (PRIXFAST32): Likewise.
41119         [C99-based-standards] (SCNdFAST32): Likewise.
41120         [C99-based-standards] (SCNiFAST32): Likewise.
41121         [C99-based-standards] (SCNoFAST32): Likewise.
41122         [C99-based-standards] (SCNuFAST32): Likewise.
41123         [C99-based-standards] (SCNxFAST32): Likewise.
41124         [C99-based-standards] (PRId64): Likewise.
41125         [C99-based-standards] (PRIi64): Likewise.
41126         [C99-based-standards] (PRIo64): Likewise.
41127         [C99-based-standards] (PRIu64): Likewise.
41128         [C99-based-standards] (PRIx64): Likewise.
41129         [C99-based-standards] (PRIX64): Likewise.
41130         [C99-based-standards] (SCNd64): Likewise.
41131         [C99-based-standards] (SCNi64): Likewise.
41132         [C99-based-standards] (SCNo64): Likewise.
41133         [C99-based-standards] (SCNu64): Likewise.
41134         [C99-based-standards] (SCNx64): Likewise.
41135         [C99-based-standards] (PRIdLEAST64): Likewise.
41136         [C99-based-standards] (PRIiLEAST64): Likewise.
41137         [C99-based-standards] (PRIoLEAST64): Likewise.
41138         [C99-based-standards] (PRIuLEAST64): Likewise.
41139         [C99-based-standards] (PRIxLEAST64): Likewise.
41140         [C99-based-standards] (PRIXLEAST64): Likewise.
41141         [C99-based-standards] (SCNdLEAST64): Likewise.
41142         [C99-based-standards] (SCNiLEAST64): Likewise.
41143         [C99-based-standards] (SCNoLEAST64): Likewise.
41144         [C99-based-standards] (SCNuLEAST64): Likewise.
41145         [C99-based-standards] (SCNxLEAST64): Likewise.
41146         [C99-based-standards] (PRIdFAST64): Likewise.
41147         [C99-based-standards] (PRIiFAST64): Likewise.
41148         [C99-based-standards] (PRIoFAST64): Likewise.
41149         [C99-based-standards] (PRIuFAST64): Likewise.
41150         [C99-based-standards] (PRIxFAST64): Likewise.
41151         [C99-based-standards] (PRIXFAST64): Likewise.
41152         [C99-based-standards] (SCNdFAST64): Likewise.
41153         [C99-based-standards] (SCNiFAST64): Likewise.
41154         [C99-based-standards] (SCNoFAST64): Likewise.
41155         [C99-based-standards] (SCNuFAST64): Likewise.
41156         [C99-based-standards] (SCNxFAST64): Likewise.
41157         [C99-based-standards] (PRIdMAX): Likewise.
41158         [C99-based-standards] (PRIiMAX): Likewise.
41159         [C99-based-standards] (PRIoMAX): Likewise.
41160         [C99-based-standards] (PRIuMAX): Likewise.
41161         [C99-based-standards] (PRIxMAX): Likewise.
41162         [C99-based-standards] (PRIXMAX): Likewise.
41163         [C99-based-standards] (SCNdMAX): Likewise.
41164         [C99-based-standards] (SCNiMAX): Likewise.
41165         [C99-based-standards] (SCNoMAX): Likewise.
41166         [C99-based-standards] (SCNuMAX): Likewise.
41167         [C99-based-standards] (SCNxMAX): Likewise.
41168         [C99-based-standards] (PRIdPTR): Likewise.
41169         [C99-based-standards] (PRIiPTR): Likewise.
41170         [C99-based-standards] (PRIoPTR): Likewise.
41171         [C99-based-standards] (PRIuPTR): Likewise.
41172         [C99-based-standards] (PRIxPTR): Likewise.
41173         [C99-based-standards] (PRIXPTR): Likewise.
41174         [C99-based-standards] (SCNdPTR): Likewise.
41175         [C99-based-standards] (SCNiPTR): Likewise.
41176         [C99-based-standards] (SCNoPTR): Likewise.
41177         [C99-based-standards] (SCNuPTR): Likewise.
41178         [C99-based-standards] (SCNxPTR): Likewise.
41179         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41180         allow.
41181         * conform/data/stdint.h-data: Update comments to clarify
41182         requirements.
41183         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41184         type.
41185         [C99-based standards] (INT8_MAX): Likewise.
41186         [C99-based standards] (INT16_MIN): Likewise.
41187         [C99-based standards] (INT16_MAX): Likewise.
41188         [C99-based standards] (INT32_MIN): Likewise.
41189         [C99-based standards] (INT32_MAX): Likewise.
41190         [C99-based standards] (INT64_MIN): Likewise.
41191         [C99-based standards] (INT64_MAX): Likewise.
41192         [C99-based standards] (UINT8_MAX): Likewise.
41193         [C99-based standards] (UINT16_MAX): Likewise.
41194         [C99-based standards] (UINT32_MAX): Likewise.
41195         [C99-based standards] (UINT64_MAX): Likewise.
41196         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41197         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41198         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41199         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41200         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41201         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41202         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41203         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41204         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41205         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41206         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41207         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41208         [C99-based standards] (INT_FAST8_MIN): Likewise.
41209         [C99-based standards] (INT_FAST8_MAX): Likewise.
41210         [C99-based standards] (INT_FAST16_MIN): Likewise.
41211         [C99-based standards] (INT_FAST16_MAX): Likewise.
41212         [C99-based standards] (INT_FAST32_MIN): Likewise.
41213         [C99-based standards] (INT_FAST32_MAX): Likewise.
41214         [C99-based standards] (INT_FAST64_MIN): Likewise.
41215         [C99-based standards] (INT_FAST64_MAX): Likewise.
41216         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41217         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41218         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41219         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41220         [C99-based standards] (INTPTR_MIN): Likewise.
41221         [C99-based standards] (INTPTR_MAX): Likewise.
41222         [C99-based standards] (UINTPTR_MAX): Likewise.
41223         [C99-based standards] (INTMAX_MIN): Likewise.
41224         [C99-based standards] (INTMAX_MAX): Likewise.
41225         [C99-based standards] (UINTMAX_MAX): Likewise.
41226         [C99-based standards] (PTRDIFF_MIN): Likewise.
41227         [C99-based standards] (PTRDIFF_MAX): Likewise.
41228         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41229         [C99-based standards] (SIZE_MAX): Likewise.
41230         [C99-based standards] (WCHAR_MAX): Likewise.
41231         [C99-based standards] (WINT_MAX): Likewise.
41232         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41233         constraint on value.
41234         [C99-based standards] (WCHAR_MIN): Likewise.
41235         [C99-based standards] (WINT_MIN): Likewise.
41236         [C99-based standards] (*_t): Allow.
41237         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41238         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41239         Include math.h-data and complex.h-data.  Remove all expectations
41240         of math.h and complex.h contents.
41241         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41242         at end of line.
41243         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41244         (struct tm): Expect tag.
41245         [C99-based-standards] (wcstof): Expect function.
41246         [C99-based-standards] (wcstold): Likewise.
41247         [C99-based-standards] (wcstoll): Likewise.
41248         [C99-based-standards] (wcstoull): Likewise.
41249         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41250         macro-int-constant.  Specify type.
41251         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41252         constraint on value.
41253         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41254         Specify type.
41255         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41256         Specify value.
41257         [ISO C standards]: Do not allow headers.
41258         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41259         wcs[abcdefghijklmnopqrstuvwxyz]*.
41260         [ISO C standards] (*_t): Do not allow.
41261         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41262         Expect function.
41263         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41264         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41265         Specify type.
41266         [ISO C standards]: Do not allow headers.
41267         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41268         is[abcdefghijklmnopqrstuvwxyz]*.
41269         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41270         to[abcdefghijklmnopqrstuvwxyz]*.
41271         [ISO C standards] (*_t): Do not allow.
41272         * conform/data/stdalign.h-data: New file.
41273         * conform/data/stdbool.h-data: Likewise.
41274         * conform/data/stdnoreturn.h-data: Likewise.
41276 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41278         [BZ #14815]
41279         * manual/filesys.texi (Directory Entries): Typo fix.
41280         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41282 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41284         * elf/elf.h (EM_AARCH64): New macro.
41285         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41286         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41287         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41288         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41289         (R_AARCH64_TLSDESC): Likewise.
41290         (NT_ARM_TLS): Likewise.
41291         (NT_ARM_HW_BREAK): Likewise.
41292         (NT_ARM_HW_WATCH): Likewise.
41294 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41296         [BZ #14811]
41297         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41298         (__ieee754_powl): Saturate nonzero exponents with absolute value
41299         below 0x1p-79 to +/- 0x1p-79.
41300         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41301         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41302         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41303         nonzero exponents with absolute value below 0x1p-32 to +/-
41304         0x1p-32.
41305         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41306         (__ieee754_powl): Saturate nonzero exponents with absolute value
41307         below 0x1p-79 to +/- 0x1p-79.
41308         * math/libm-test.inc (pow_test): Add more tests.
41310 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41312         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41313         _dl_s390_cap_flags with kernel. Increase string length.
41314         (_dl_s390_platforms): Add z196 and zEC12.
41316 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41318         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41319         Change XOPEN21K to XOPEN2K.
41321 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41323         * string/memmove.c: Use memcpy when possible.
41325 2012-11-06  Andreas Jaeger  <aj@suse.de>
41327         * po/eo.po: Update from translation team.
41329 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41331         [BZ #14793]
41332         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41333         exponent and small x and y exponents, scale x or y up.  Increase
41334         by 2 the exponent used in scaling up.
41335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41336         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41337         * math/libm-test.inc (fma_test): Add more tests.
41338         (fma_test_towardzero): Likewise.
41339         (fma_test_downward): Likewise.
41340         (fma_test_upward): Likewise.
41342 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41344         [BZ #14805]
41345         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41346         fenv_t *.
41348         [BZ #14801]
41349         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41350         namespace for names of struct fields.
41351         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41352         fenv_t fields.
41353         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41354         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41356 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41358         [BZ #3665]
41359         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41361 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41363         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41364         PTR_DEMANGLE.
41366         [BZ #5246]
41367         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41368         PTR_DEMANGLE.
41370 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41372         [BZ #14797]
41373         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41374         definitely overflow as x * y not x * y + z.
41375         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41376         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41377         * math/libm-test.inc (fma_test): Add more tests.
41378         (fma_test_towardzero): Likewise.
41379         (fma_test_downward): Likewise.
41380         (fma_test_upward): Likewise.
41382 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41384         [BZ #157]
41386         * include/stub-tag.h: Remove file.
41387         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41388         '#include' of it.
41389         * manual/maint.texi (Porting): Don't reference it.
41390         * Makerules ($(objpfx)stubs): Likewise.
41391         * dirent/closedir.c: Don't include <stub-tag.h>.
41392         * dirent/dirfd.c: Likewise.
41393         * dirent/fdopendir.c: Likewise.
41394         * dirent/getdents.c: Likewise.
41395         * dirent/getdents64.c: Likewise.
41396         * dirent/opendir.c: Likewise.
41397         * dirent/readdir.c: Likewise.
41398         * dirent/readdir64.c: Likewise.
41399         * dirent/readdir64_r.c: Likewise.
41400         * dirent/readdir_r.c: Likewise.
41401         * dirent/rewinddir.c: Likewise.
41402         * dirent/seekdir.c: Likewise.
41403         * dirent/telldir.c: Likewise.
41404         * gmon/profil.c: Likewise.
41405         * grp/setgroups.c: Likewise.
41406         * inet/if_index.c: Likewise.
41407         * io/access.c: Likewise.
41408         * io/chdir.c: Likewise.
41409         * io/chmod.c: Likewise.
41410         * io/chown.c: Likewise.
41411         * io/close.c: Likewise.
41412         * io/dup.c: Likewise.
41413         * io/dup2.c: Likewise.
41414         * io/dup3.c: Likewise.
41415         * io/euidaccess.c: Likewise.
41416         * io/faccessat.c: Likewise.
41417         * io/fchdir.c: Likewise.
41418         * io/fchmod.c: Likewise.
41419         * io/fchmodat.c: Likewise.
41420         * io/fchown.c: Likewise.
41421         * io/fchownat.c: Likewise.
41422         * io/fcntl.c: Likewise.
41423         * io/flock.c: Likewise.
41424         * io/fstatfs.c: Likewise.
41425         * io/fstatfs64.c: Likewise.
41426         * io/fstatvfs.c: Likewise.
41427         * io/fstatvfs64.c: Likewise.
41428         * io/futimens.c: Likewise.
41429         * io/fxstat.c: Likewise.
41430         * io/fxstat64.c: Likewise.
41431         * io/fxstatat.c: Likewise.
41432         * io/fxstatat64.c: Likewise.
41433         * io/getcwd.c: Likewise.
41434         * io/isatty.c: Likewise.
41435         * io/lchmod.c: Likewise.
41436         * io/lchown.c: Likewise.
41437         * io/link.c: Likewise.
41438         * io/linkat.c: Likewise.
41439         * io/lseek.c: Likewise.
41440         * io/lseek64.c: Likewise.
41441         * io/lxstat64.c: Likewise.
41442         * io/mkdir.c: Likewise.
41443         * io/mkdirat.c: Likewise.
41444         * io/mkfifo.c: Likewise.
41445         * io/mkfifoat.c: Likewise.
41446         * io/open.c: Likewise.
41447         * io/open64.c: Likewise.
41448         * io/openat.c: Likewise.
41449         * io/openat64.c: Likewise.
41450         * io/pipe.c: Likewise.
41451         * io/pipe2.c: Likewise.
41452         * io/poll.c: Likewise.
41453         * io/posix_fadvise.c: Likewise.
41454         * io/posix_fadvise64.c: Likewise.
41455         * io/posix_fallocate.c: Likewise.
41456         * io/posix_fallocate64.c: Likewise.
41457         * io/read.c: Likewise.
41458         * io/readlink.c: Likewise.
41459         * io/readlinkat.c: Likewise.
41460         * io/rmdir.c: Likewise.
41461         * io/sendfile.c: Likewise.
41462         * io/sendfile64.c: Likewise.
41463         * io/statfs.c: Likewise.
41464         * io/statfs64.c: Likewise.
41465         * io/statvfs.c: Likewise.
41466         * io/statvfs64.c: Likewise.
41467         * io/symlink.c: Likewise.
41468         * io/symlinkat.c: Likewise.
41469         * io/ttyname.c: Likewise.
41470         * io/ttyname_r.c: Likewise.
41471         * io/umask.c: Likewise.
41472         * io/unlink.c: Likewise.
41473         * io/unlinkat.c: Likewise.
41474         * io/utime.c: Likewise.
41475         * io/utimensat.c: Likewise.
41476         * io/write.c: Likewise.
41477         * io/xmknod.c: Likewise.
41478         * io/xmknodat.c: Likewise.
41479         * io/xstat.c: Likewise.
41480         * io/xstat64.c: Likewise.
41481         * login/getpt.c: Likewise.
41482         * login/grantpt.c: Likewise.
41483         * login/unlockpt.c: Likewise.
41484         * math/e_acoshl.c: Likewise.
41485         * math/e_acosl.c: Likewise.
41486         * math/e_asinl.c: Likewise.
41487         * math/e_atan2l.c: Likewise.
41488         * math/e_atanhl.c: Likewise.
41489         * math/e_coshl.c: Likewise.
41490         * math/e_expl.c: Likewise.
41491         * math/e_fmodl.c: Likewise.
41492         * math/e_gammal_r.c: Likewise.
41493         * math/e_hypotl.c: Likewise.
41494         * math/e_j0l.c: Likewise.
41495         * math/e_j1l.c: Likewise.
41496         * math/e_jnl.c: Likewise.
41497         * math/e_lgammal_r.c: Likewise.
41498         * math/e_log10l.c: Likewise.
41499         * math/e_log2l.c: Likewise.
41500         * math/e_logl.c: Likewise.
41501         * math/e_powl.c: Likewise.
41502         * math/e_rem_pio2l.c: Likewise.
41503         * math/e_sinhl.c: Likewise.
41504         * math/e_sqrtl.c: Likewise.
41505         * math/fclrexcpt.c: Likewise.
41506         * math/fedisblxcpt.c: Likewise.
41507         * math/feenablxcpt.c: Likewise.
41508         * math/fegetenv.c: Likewise.
41509         * math/fegetexcept.c: Likewise.
41510         * math/fegetround.c: Likewise.
41511         * math/feholdexcpt.c: Likewise.
41512         * math/fesetenv.c: Likewise.
41513         * math/fesetround.c: Likewise.
41514         * math/feupdateenv.c: Likewise.
41515         * math/fgetexcptflg.c: Likewise.
41516         * math/fraiseexcpt.c: Likewise.
41517         * math/fsetexcptflg.c: Likewise.
41518         * math/ftestexcept.c: Likewise.
41519         * math/k_cosl.c: Likewise.
41520         * math/k_rem_pio2l.c: Likewise.
41521         * math/k_sinl.c: Likewise.
41522         * math/k_tanl.c: Likewise.
41523         * math/s_asinhl.c: Likewise.
41524         * math/s_atanl.c: Likewise.
41525         * math/s_cbrtl.c: Likewise.
41526         * math/s_erfl.c: Likewise.
41527         * math/s_expm1l.c: Likewise.
41528         * math/s_log1pl.c: Likewise.
41529         * math/s_tanhl.c: Likewise.
41530         * misc/acct.c: Likewise.
41531         * misc/brk.c: Likewise.
41532         * misc/chflags.c: Likewise.
41533         * misc/chroot.c: Likewise.
41534         * misc/fchflags.c: Likewise.
41535         * misc/fgetxattr.c: Likewise.
41536         * misc/flistxattr.c: Likewise.
41537         * misc/fremovexattr.c: Likewise.
41538         * misc/fsetxattr.c: Likewise.
41539         * misc/fsync.c: Likewise.
41540         * misc/ftruncate.c: Likewise.
41541         * misc/futimes.c: Likewise.
41542         * misc/futimesat.c: Likewise.
41543         * misc/getdomain.c: Likewise.
41544         * misc/getdtsz.c: Likewise.
41545         * misc/gethostid.c: Likewise.
41546         * misc/gethostname.c: Likewise.
41547         * misc/getloadavg.c: Likewise.
41548         * misc/getpagesize.c: Likewise.
41549         * misc/getsysstats.c: Likewise.
41550         * misc/getxattr.c: Likewise.
41551         * misc/gtty.c: Likewise.
41552         * misc/ioctl.c: Likewise.
41553         * misc/lgetxattr.c: Likewise.
41554         * misc/listxattr.c: Likewise.
41555         * misc/llistxattr.c: Likewise.
41556         * misc/lremovexattr.c: Likewise.
41557         * misc/lsetxattr.c: Likewise.
41558         * misc/lutimes.c: Likewise.
41559         * misc/madvise.c: Likewise.
41560         * misc/mincore.c: Likewise.
41561         * misc/mlock.c: Likewise.
41562         * misc/mlockall.c: Likewise.
41563         * misc/mmap.c: Likewise.
41564         * misc/mprotect.c: Likewise.
41565         * misc/msync.c: Likewise.
41566         * misc/munlock.c: Likewise.
41567         * misc/munlockall.c: Likewise.
41568         * misc/munmap.c: Likewise.
41569         * misc/preadv.c: Likewise.
41570         * misc/preadv64.c: Likewise.
41571         * misc/ptrace.c: Likewise.
41572         * misc/pwritev.c: Likewise.
41573         * misc/pwritev64.c: Likewise.
41574         * misc/readv.c: Likewise.
41575         * misc/reboot.c: Likewise.
41576         * misc/remap_file_pages.c: Likewise.
41577         * misc/removexattr.c: Likewise.
41578         * misc/revoke.c: Likewise.
41579         * misc/select.c: Likewise.
41580         * misc/setdomain.c: Likewise.
41581         * misc/setegid.c: Likewise.
41582         * misc/seteuid.c: Likewise.
41583         * misc/sethostid.c: Likewise.
41584         * misc/sethostname.c: Likewise.
41585         * misc/setregid.c: Likewise.
41586         * misc/setreuid.c: Likewise.
41587         * misc/setxattr.c: Likewise.
41588         * misc/sstk.c: Likewise.
41589         * misc/stty.c: Likewise.
41590         * misc/swapoff.c: Likewise.
41591         * misc/swapon.c: Likewise.
41592         * misc/sync.c: Likewise.
41593         * misc/syncfs.c: Likewise.
41594         * misc/syscall.c: Likewise.
41595         * misc/truncate.c: Likewise.
41596         * misc/ualarm.c: Likewise.
41597         * misc/usleep.c: Likewise.
41598         * misc/ustat.c: Likewise.
41599         * misc/utimes.c: Likewise.
41600         * misc/vhangup.c: Likewise.
41601         * misc/writev.c: Likewise.
41602         * posix/_exit.c: Likewise.
41603         * posix/alarm.c: Likewise.
41604         * posix/execve.c: Likewise.
41605         * posix/fexecve.c: Likewise.
41606         * posix/fork.c: Likewise.
41607         * posix/fpathconf.c: Likewise.
41608         * posix/getaddrinfo.c: Likewise.
41609         * posix/getegid.c: Likewise.
41610         * posix/geteuid.c: Likewise.
41611         * posix/getgid.c: Likewise.
41612         * posix/getgroups.c: Likewise.
41613         * posix/getlogin.c: Likewise.
41614         * posix/getlogin_r.c: Likewise.
41615         * posix/getpgid.c: Likewise.
41616         * posix/getpid.c: Likewise.
41617         * posix/getppid.c: Likewise.
41618         * posix/getresgid.c: Likewise.
41619         * posix/getresuid.c: Likewise.
41620         * posix/getsid.c: Likewise.
41621         * posix/getuid.c: Likewise.
41622         * posix/glob64.c: Likewise.
41623         * posix/nanosleep.c: Likewise.
41624         * posix/pathconf.c: Likewise.
41625         * posix/pause.c: Likewise.
41626         * posix/posix_madvise.c: Likewise.
41627         * posix/pread.c: Likewise.
41628         * posix/pread64.c: Likewise.
41629         * posix/pwrite.c: Likewise.
41630         * posix/pwrite64.c: Likewise.
41631         * posix/sched_getaffinity.c: Likewise.
41632         * posix/sched_getp.c: Likewise.
41633         * posix/sched_gets.c: Likewise.
41634         * posix/sched_primax.c: Likewise.
41635         * posix/sched_primin.c: Likewise.
41636         * posix/sched_rr_gi.c: Likewise.
41637         * posix/sched_setaffinity.c: Likewise.
41638         * posix/sched_setp.c: Likewise.
41639         * posix/sched_sets.c: Likewise.
41640         * posix/sched_yield.c: Likewise.
41641         * posix/setgid.c: Likewise.
41642         * posix/setlogin.c: Likewise.
41643         * posix/setpgid.c: Likewise.
41644         * posix/setresgid.c: Likewise.
41645         * posix/setresuid.c: Likewise.
41646         * posix/setsid.c: Likewise.
41647         * posix/setuid.c: Likewise.
41648         * posix/sleep.c: Likewise.
41649         * posix/spawni.c: Likewise.
41650         * posix/sysconf.c: Likewise.
41651         * posix/times.c: Likewise.
41652         * posix/wait.c: Likewise.
41653         * posix/wait3.c: Likewise.
41654         * posix/wait4.c: Likewise.
41655         * posix/waitpid.c: Likewise.
41656         * resolv/gai_sigqueue.c: Likewise.
41657         * resource/getpriority.c: Likewise.
41658         * resource/getrlimit.c: Likewise.
41659         * resource/getrusage.c: Likewise.
41660         * resource/nice.c: Likewise.
41661         * resource/setpriority.c: Likewise.
41662         * resource/setrlimit.c: Likewise.
41663         * resource/ulimit.c: Likewise.
41664         * rt/aio_cancel.c: Likewise.
41665         * rt/aio_fsync.c: Likewise.
41666         * rt/aio_read.c: Likewise.
41667         * rt/aio_sigqueue.c: Likewise.
41668         * rt/aio_suspend.c: Likewise.
41669         * rt/aio_write.c: Likewise.
41670         * rt/clock_getres.c: Likewise.
41671         * rt/clock_gettime.c: Likewise.
41672         * rt/clock_nanosleep.c: Likewise.
41673         * rt/clock_settime.c: Likewise.
41674         * rt/lio_listio.c: Likewise.
41675         * rt/mq_close.c: Likewise.
41676         * rt/mq_getattr.c: Likewise.
41677         * rt/mq_notify.c: Likewise.
41678         * rt/mq_open.c: Likewise.
41679         * rt/mq_receive.c: Likewise.
41680         * rt/mq_send.c: Likewise.
41681         * rt/mq_setattr.c: Likewise.
41682         * rt/mq_timedreceive.c: Likewise.
41683         * rt/mq_timedsend.c: Likewise.
41684         * rt/mq_unlink.c: Likewise.
41685         * rt/shm_open.c: Likewise.
41686         * rt/shm_unlink.c: Likewise.
41687         * rt/timer_create.c: Likewise.
41688         * rt/timer_delete.c: Likewise.
41689         * rt/timer_getoverr.c: Likewise.
41690         * rt/timer_gettime.c: Likewise.
41691         * rt/timer_settime.c: Likewise.
41692         * setjmp/__longjmp.c: Likewise.
41693         * setjmp/setjmp.c: Likewise.
41694         * signal/kill.c: Likewise.
41695         * signal/killpg.c: Likewise.
41696         * signal/raise.c: Likewise.
41697         * signal/sigaction.c: Likewise.
41698         * signal/sigaltstack.c: Likewise.
41699         * signal/sigblock.c: Likewise.
41700         * signal/sigignore.c: Likewise.
41701         * signal/sigintr.c: Likewise.
41702         * signal/signal.c: Likewise.
41703         * signal/sigpause.c: Likewise.
41704         * signal/sigpending.c: Likewise.
41705         * signal/sigqueue.c: Likewise.
41706         * signal/sigreturn.c: Likewise.
41707         * signal/sigset.c: Likewise.
41708         * signal/sigsetmask.c: Likewise.
41709         * signal/sigstack.c: Likewise.
41710         * signal/sigsuspend.c: Likewise.
41711         * signal/sigtimedwait.c: Likewise.
41712         * signal/sigvec.c: Likewise.
41713         * signal/sigwait.c: Likewise.
41714         * signal/sigwaitinfo.c: Likewise.
41715         * signal/sysv_signal.c: Likewise.
41716         * socket/accept.c: Likewise.
41717         * socket/accept4.c: Likewise.
41718         * socket/bind.c: Likewise.
41719         * socket/connect.c: Likewise.
41720         * socket/getpeername.c: Likewise.
41721         * socket/getsockname.c: Likewise.
41722         * socket/getsockopt.c: Likewise.
41723         * socket/isfdtype.c: Likewise.
41724         * socket/listen.c: Likewise.
41725         * socket/recv.c: Likewise.
41726         * socket/recvfrom.c: Likewise.
41727         * socket/recvmsg.c: Likewise.
41728         * socket/send.c: Likewise.
41729         * socket/sendmsg.c: Likewise.
41730         * socket/sendto.c: Likewise.
41731         * socket/setsockopt.c: Likewise.
41732         * socket/shutdown.c: Likewise.
41733         * socket/sockatmark.c: Likewise.
41734         * socket/socket.c: Likewise.
41735         * socket/socketpair.c: Likewise.
41736         * stdio-common/ctermid.c: Likewise.
41737         * stdio-common/cuserid.c: Likewise.
41738         * stdio-common/remove.c: Likewise.
41739         * stdio-common/rename.c: Likewise.
41740         * stdio-common/renameat.c: Likewise.
41741         * stdio-common/tempname.c: Likewise.
41742         * stdlib/getcontext.c: Likewise.
41743         * stdlib/makecontext.c: Likewise.
41744         * stdlib/setcontext.c: Likewise.
41745         * stdlib/swapcontext.c: Likewise.
41746         * stdlib/system.c: Likewise.
41747         * streams/fattach.c: Likewise.
41748         * streams/fdetach.c: Likewise.
41749         * streams/getmsg.c: Likewise.
41750         * streams/getpmsg.c: Likewise.
41751         * streams/putmsg.c: Likewise.
41752         * streams/putpmsg.c: Likewise.
41753         * sysdeps/unix/bsd/getpt.c: Likewise.
41754         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41755         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41756         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41758         Likewise.
41759         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41760         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41761         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41762         * sysvipc/msgctl.c: Likewise.
41763         * sysvipc/msgget.c: Likewise.
41764         * sysvipc/msgrcv.c: Likewise.
41765         * sysvipc/msgsnd.c: Likewise.
41766         * sysvipc/semctl.c: Likewise.
41767         * sysvipc/semget.c: Likewise.
41768         * sysvipc/semop.c: Likewise.
41769         * sysvipc/semtimedop.c: Likewise.
41770         * sysvipc/shmat.c: Likewise.
41771         * sysvipc/shmctl.c: Likewise.
41772         * sysvipc/shmdt.c: Likewise.
41773         * sysvipc/shmget.c: Likewise.
41774         * termios/tcdrain.c: Likewise.
41775         * termios/tcflow.c: Likewise.
41776         * termios/tcflush.c: Likewise.
41777         * termios/tcgetattr.c: Likewise.
41778         * termios/tcgetpgrp.c: Likewise.
41779         * termios/tcsendbrk.c: Likewise.
41780         * termios/tcsetattr.c: Likewise.
41781         * termios/tcsetpgrp.c: Likewise.
41782         * time/adjtime.c: Likewise.
41783         * time/clock.c: Likewise.
41784         * time/getitimer.c: Likewise.
41785         * time/gettimeofday.c: Likewise.
41786         * time/setitimer.c: Likewise.
41787         * time/settimeofday.c: Likewise.
41788         * time/stime.c: Likewise.
41789         * time/time.c: Likewise.
41791 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41793         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41794         /usr/old/bin.
41796         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41797         instead of spaces.
41798         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41800 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41802         [BZ #14796]
41803         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41804         FE_TONEAREST before applying Dekker multiplication and Knuth
41805         addition.  Clear inexact exceptions and check for exact zero
41806         results afterwards.
41807         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41808         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41809         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41810         * math/libm-test.inc (fma_test): Add more tests.
41811         (fma_test_towardzero): Likewise.
41812         (fma_test_downward): Likewise.
41813         (fma_test_upward): Likewise.
41814         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41815         function.
41816         (libc_fesetround): New macro.
41817         (libc_fesetroundf): Likewise.
41818         (libc_fesetroundl): Likewise.
41819         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41820         function.
41821         (libc_fesetround_387): Likewise.
41822         (libc_fesetroundf): New macro.
41823         (libc_fesetround): Likewise.
41824         (libc_fesetroundl): Likewise.
41825         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41826         function.
41827         (libc_fesetroundf): New macro.
41828         (libc_fesetround): Likewise.
41829         (libc_fesetroundl): Likewise.
41830         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41831         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41832         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41833         libm_hidden_ver.
41834         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41835         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41836         libm_hidden_def.
41837         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41838         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41839         libm_hidden_ver.
41840         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41841         libm_hidden_def.
41843         [BZ #3439]
41844         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41845         integer constant usable in #if and use that to give value to enum
41846         constant.
41847         (FE_DIVBYZERO): Likewise.
41848         (FE_UNDERFLOW): Likewise.
41849         (FE_OVERFLOW): Likewise.
41850         (FE_INVALID): Likewise.
41851         (FE_INVALID_SNAN): Likewise.
41852         (FE_INVALID_ISI): Likewise.
41853         (FE_INVALID_IDI): Likewise.
41854         (FE_INVALID_ZDZ): Likewise.
41855         (FE_INVALID_IMZ): Likewise.
41856         (FE_INVALID_COMPARE): Likewise.
41857         (FE_INVALID_SOFTWARE): Likewise.
41858         (FE_INVALID_SQRT): Likewise.
41859         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41860         (FE_TONEAREST): Likewise.
41861         (FE_TOWARDZERO): Likewise.
41862         (FE_UPWARD): Likewise.
41863         (FE_DOWNWARD): Likewise.
41864         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41865         (FE_DIVBYZERO): Likewise.
41866         (FE_OVERFLOW): Likewise.
41867         (FE_UNDERFLOW): Likewise.
41868         (FE_INEXACT): Likewise.
41869         (FE_TONEAREST): Likewise.
41870         (FE_DOWNWARD): Likewise.
41871         (FE_UPWARD): Likewise.
41872         (FE_TOWARDZERO): Likewise.
41873         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41874         (FE_UNDERFLOW): Likewise.
41875         (FE_OVERFLOW): Likewise.
41876         (FE_DIVBYZERO): Likewise.
41877         (FE_INVALID): Likewise.
41878         (FE_TONEAREST): Likewise.
41879         (FE_TOWARDZERO): Likewise.
41880         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41881         (FE_OVERFLOW): Likewise.
41882         (FE_UNDERFLOW): Likewise.
41883         (FE_DIVBYZERO): Likewise.
41884         (FE_INEXACT): Likewise.
41885         (FE_TONEAREST): Likewise.
41886         (FE_TOWARDZERO): Likewise.
41887         (FE_UPWARD): Likewise.
41888         (FE_DOWNWARD): Likewise.
41889         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41890         (FE_DIVBYZERO): Likewise.
41891         (FE_OVERFLOW): Likewise.
41892         (FE_UNDERFLOW): Likewise.
41893         (FE_INEXACT): Likewise.
41894         (FE_TONEAREST): Likewise.
41895         (FE_DOWNWARD): Likewise.
41896         (FE_UPWARD): Likewise.
41897         (FE_TOWARDZERO): Likewise.
41899 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41901         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41903 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41905         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41906         commands.  Quote $PWD.
41907         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41908         -x" by "export".
41909         (remove_newlines): Remove.
41911 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41913         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41914         * stdlib/stdlib.h (atof): Moved to ...
41915         * include/bits/stdlib-float.h: Here.  New file.
41916         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41917         * stdlib/bits/stdlib-float.h: New file.
41918         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41919         -mno-sse -mno-mmx.
41920         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41921         <xmmintrin.h>.
41923 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41925         * conform/conformtest.pl (@headers): Add fenv.h.
41926         * conform/data/fenv.h-data: New file.
41927         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41928         include of <math/fenv.h>.
41930         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41931         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41932         && !UNIX98].  Enables tests for XOPEN2K8.
41933         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41934         POSIX2008]: Likewise.
41936         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41937         (struct rusage): Do not expect type or its members.
41939         [BZ #3439]
41940         * math/math.h (FP_NAN): Define macro to integer constant usable in
41941         #if and use that to give value to enum constant.
41942         (FP_INFINITE): Likewise.
41943         (FP_ZERO): Likewise.
41944         (FP_SUBNORMAL): Likewise.
41945         (FP_NORMAL): Likewise.
41947 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41949         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41950         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41951         arguments.
41953 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41955         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41956         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41957         autoconf-time if not.
41958         * configure.in: Remove AC_PREREQ.
41960 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41962         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41963         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41964         of the internal implementation.
41966 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41968         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41969         except include of <misc/sys/syslog.h>.
41971 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41974         function returns with a NULL context exit with zero.
41976 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41978         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41980 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41982         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41983         (run_program_cmd): This.
41984         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41985         (tst_langinfo): New variable.  Use it.
41987 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41989         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41990         floating point opcodes.
41992 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41994         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41995         variable.
41997         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41999         * sysdeps/mach/hurd/powerpc: Remove directory.
42000         * sysdeps/mach/powerpc: Likewise.
42002 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42004         * scripts/check-local-headers.sh: Ignore c++ headers.
42006 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42008         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42009         __libc_cleanup_region_start argument.
42011 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42013         [BZ #14784]
42014         [BZ #14785]
42015         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42016         x * y using scaling, not as x * y + z.
42017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42018         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42019         * math/libm-test.inc (fma_test): Add more tests.
42020         (fma_test_towardzero): Likewise.
42021         (fma_test_downward): Likewise.
42022         (fma_test_upward): Likewise.
42024 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42026         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42028 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42030         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42031         New variable.
42033 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42035         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42037 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42040         Fix sort order.
42041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42042         Likewise.
42044 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42047         Fix the order of the list for glibc 2.17.
42048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42049         Likewise.
42051 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42055 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42057         [BZ #14610]
42058         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42059         for low part of x being zero before using __atanl (y).
42060         * math/libm-test.inc (atan2_test): Add another test.
42062         * manual/install.texi (Configuring and compiling): Document
42063         general use of test-wrapper and test-wrapper-env.
42064         * INSTALL: Regenerated.
42066         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42067         (__fma): Do not extract and scale down low bits on after-rounding
42068         systems when result rounded to normal precision would have normal
42069         exponent.
42070         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42071         (__fmal): Do not extract and scale down low bits on after-rounding
42072         systems when result rounded to normal precision would have normal
42073         exponent.
42074         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42075         (__fmal): Do not extract and scale down low bits on after-rounding
42076         systems when result rounded to normal precision would have normal
42077         exponent.
42078         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42079         macro.
42080         (fma_test): Add more tests.
42081         (fma_test_towardzero): Likewise.
42082         (fma_test_downward): Likewise.
42083         (fma_test_upward): Likewise.
42085 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42087         * sysdeps/i386/tininess.h: Renamed to ...
42088         * sysdeps/x86/tininess.h: This.
42089         * sysdeps/x86_64/tininess.h: Removed.
42091 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42093         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42094         input.  Use $(build-program-cmd).
42095         ($(objpfx)tst-array1-static.out): Likewise.
42096         ($(objpfx)tst-array2.out): Likewise.
42097         ($(objpfx)tst-array3.out): Likewise.
42098         ($(objpfx)tst-array4.out): Likewise.
42099         ($(objpfx)tst-array5.out): Likewise.
42100         ($(objpfx)tst-array5-static.out): Likewise.
42102 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42104         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42105         if defined.
42107         * nss/nsswitch.h (nss_interface_function): Provide new
42108         macro for use with NSS functions.
42109         * grp/initgroups.c: Use new macro.
42110         * nss/getXXbyYY.c: Likewise.
42111         * nss/getXXbyYY_r.c: Likewise.
42112         * nss/getXXent.c: Likewise.
42113         * nss/getXXent_r.c: Likewise.
42114         * sysdeps/posix/getaddrinfo.c: Likewise.
42116 2012-10-30  Andreas Jaeger  <aj@suse.de>
42118         * po/ru.po: Update Russion translation from translation project.
42120 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42122         [BZ #14152]
42123         [BZ #14783]
42124         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42125         result and shift together with sticky bit instead of replicating
42126         round-to-nearest rounding.
42127         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42128         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42129         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42130         missing underflow exceptions.
42131         (fma_test_towardzero): Add more tests.
42132         (fma_test_downward): Likewise.
42133         (fma_test_upward): Likewise.
42135         [BZ #14047]
42136         * sysdeps/generic/tininess.h: New file.
42137         * sysdeps/i386/tininess.h: Likewise.
42138         * sysdeps/sh/tininess.h: Likewise.
42139         * sysdeps/x86_64/tininess.h: Likewise.
42140         * stdlib/tst-strtod-underflow.c: Likewise.
42141         * stdlib/tst-tininess.c: Likewise.
42142         * stdlib/strtod_l.c: Include <tininess.h>.
42143         (round_and_return): Do not set errno for exact underflow cases.
42144         Force an underflow exception when setting errno for underflow.
42145         Determine underflow based on rounding to normal precision if
42146         TININESS_AFTER_ROUNDING.
42147         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42148         ERANGE for exact underflow cases.
42149         * stdlib/Makefile (tests): Add tst-tininess and
42150         tst-strtod-underflow.
42151         ($(objpfx)tst-tininess): Use $(link-libm).
42152         ($(objpfx)tst-strtod-underflow): Likewise.
42154 2012-10-30  Andreas Jaeger  <aj@suse.de>
42156         [BZ#14767]
42157         * elf/Makefile (tests): Remove conditional for have-initfini-array
42158         since this is now always required and the variable does not exist
42159         anymore.
42160         (tests-static): Likewise.
42161         (modules-names): Likewise.
42163         * po/eo.po: Add Esperanto translation from translation project.
42165         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42166         merged with constructor/destructor.
42167         (init_array): Likewise.
42168         * elf/tst-array2dep.c (fini_array): Likewise.
42169         (init_array): Likewise.
42171 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42173         * manual/message.texi: Delete @cartouche tags.
42175 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42177         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42178         EOPNOTSUPP.
42179         * sysdeps/mach/hurd/fsync.c: Likewise.
42181         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42182         [_POSIX_REALTIME_SIGNALS]: Change condition to
42183         [_POSIX_REALTIME_SIGNALS > 0].
42185 2012-10-27  Andreas Jaeger  <aj@suse.de>
42187         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42188         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42189         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42190         [__WORDSIZE != 64]: Likewise.
42192 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42194         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42195         *  iconvdata/tst-tables.sh: Likewise.
42197 2012-10-25  David S. Miller  <davem@davemloft.net>
42199         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42200         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42201         of strtoull.
42203         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42204         ifunc-impl-list.c
42205         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42206         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42207         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42208         file.
42210 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42212         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42213         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42214         __getdirentries.
42216 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42217             Jim Blandy  <jimb@codesourcery.com>
42219         * scripts/cross-test-ssh.sh: New file.
42220         * manual/install.texi (Configuring and compiling): Document use of
42221         cross-test-ssh.sh.
42222         * INSTALL: Regenerated.
42224 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42226         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42227         EOPNOTSUPP.
42229 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42231         * Makeconfig (run-program-prefix): Fix comment.
42233 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42234             Jim Blandy  <jimb@codesourcery.com>
42236         * Makeconfig (test-wrapper): New variable,
42237         (test-wrapper-env): Likewise.
42238         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42239         (run-built-tests): Define to yes.
42240         (run-program-prefix): Use $(test-wrapper).
42241         (built-program-cmd): Likewise.
42242         * Rules (make-test-out): Use $(test-wrapper-env) and
42243         $(host-built-program-cmd).
42244         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42245         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42246         tst-pathopt.sh.
42247         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42248         $(test-wrapper-env) to tst-rtld-load-self.sh.
42249         ($(objpfx)order2.out): Use $(test-wrapper).
42250         ($(objpfx)tst-initorder.out): Likewise.
42251         ($(objpfx)tst-initorder2.out): Likewise.
42252         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42253         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42254         (test_wrapper_env): New variable.  Use it to run ld.so.
42255         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42256         Use it to run ld.so.
42257         (test_wrapper_env): Likewise.
42258         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42259         $(test-wrapper) to run-iconv-test.sh.
42260         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42261         (ICONV): Use $test_wrapper.
42262         * posix/Makefile ($(objpfx)globtest.out): Pass
42263         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42264         globtest.sh, not $(run-program-prefix).
42265         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42266         (test_wrapper): Likewise.
42267         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42268         set together with run_via_rtld_prefix.
42269         (run_program_prefix): Define in terms of test_wrapper and
42270         run_via_rtld_prefix.
42272 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42274         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42275         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42276         Targets removed.
42278         [BZ #14743]
42279         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42280         Declare __clock_getres, __clock_gettime, __clock_settime,
42281         __clock_nanosleep, and __clock_getcpuclockid.
42282         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42283         Remove librt_hidden_def (clock_gettime).
42284         * sysdeps/unix/clock_gettime.c: Likewise.
42285         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42286         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42287         * rt/clock_getres.c: Define __clock_getres as an alias.
42288         * sysdeps/posix/clock_getres.c: Likewise.
42289         * rt/clock_settime.c: Define __clock_settime as an alias.
42290         * sysdeps/unix/clock_settime.c: Likewise.
42291         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42292         * sysdeps/unix/clock_nanosleep.c: Likewise.
42293         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42294         * rt/clock-compat.c: New file.
42295         * rt/Makefile (librt-routines): Add clock-compat and move
42296         $(clock-routines) to ...
42297         (routines): ... here, new variable.
42298         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42299         Don't add get_clockfreq here.
42300         * rt/Versions (libc: GLIBC_2.17): New version set.
42301         Add clock_* symbols here.
42302         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42303         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42304         (GLIBC_2.17): Add clock_* symbols.
42305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42307         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42309         Likewise.
42310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42311         Likewise.
42312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42316         * NEWS: Mention the move.
42318         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42319         Use __open, __read, __close rather than their public counterparts.
42320         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42321         (__get_clockfreq_via_cpuinfo): Likewise.
42322         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42323         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42325         * config.h.in (HAVE_IFUNC): New #undef.
42326         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42327         was successful.
42328         * configure: Regenerated.
42330 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42332         * configure.in: Move READELF check to start of file.
42333         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42334         libc_cv_asm_gnu_indirect_function in the process.
42335         * configure: Regenerated.
42337 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42339         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42340         send the output to /dev/null.
42341         (libc_cv_cc_with_libunwind): Likewise.
42342         (libc_cv_as_noexecstack): Likewise.
42343         * configure: Regenerate.
42345 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42347         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42349         * posix/globtest.sh (TMPDIR): Do not set.
42350         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42351         (testout): Likewise.
42353 2012-10-24  Andreas Jaeger  <aj@suse.de>
42355         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42356         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42357         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42358         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42359         posix_fadvise64, posix_fallocate64.
42361         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42362         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42363         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42364         Likewise.
42365         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42366         Likewise.
42367         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42369         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42370         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42371         <bits/fcntl-linux.h>.
42372         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42374         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42375         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42376         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42377         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42378         [__WORDSIZE != 64]: Likewise.
42380 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42382         * Makeconfig (run-built-tests): New variable.
42383         * Rules [$(cross-compiling) = yes]: Change condition to
42384         [$(run-built-tests) = no].
42385         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42386         to [$(run-built-tests) = yes].
42387         * elf/Makefile [$(cross-compiling) = no]: Likewise
42388         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42389         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42390         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42391         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42392         * io/Makefile [$(cross-compiling) = no]: Likewise.
42393         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42394         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42395         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42396         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42397         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42398         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42399         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42400         * string/Makefile [$(cross-compiling) = no]: Likewise.
42402         * posix/Makefile ($(objpfx)globtest.out): Pass
42403         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42404         $(rtld-installed-name).
42405         * posix/globtest.sh (elf_objpfx): Remove variable.
42406         (rtld_installed_name): Likewise.
42407         (library_path): Likewise.
42408         (run_program_prefix): New variable.  Use for running globtest
42409         binary.
42411 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42412             Joseph Myers  <joseph@codesourcery.com>
42414         * Makeconfig (host-built-program-cmd): New variable.
42415         * elf/Makefile (tst-stackguard1-ARGS): Use
42416         $(host-built-program-cmd).
42417         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42418         (tst-spawn-ARGS): Likewise.
42419         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42421 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42422             Jim Blandy  <jimb@codesourcery.com>
42424         * Makeconfig (run-via-rtld-prefix): New variable.
42425         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42426         (built-program-cmd): Likewise.
42428 2012-10-22  Andreas Jaeger  <aj@suse.de>
42430         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42431         __O_RSYNC if it exists, otherwise to O_SYNC.
42433 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42434             Joseph Myers  <joseph@codesourcery.com>
42436         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42437         /dev/null.
42438         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42439         from /dev/null
42440         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42441         /dev/null.
42443 2012-10-22  Andreas Jaeger  <aj@suse.de>
42445         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42446         Define always.
42447         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42449         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42450         bits/fcntl-linux.h.
42452         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42453         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42455         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42456         to __O_LARGEFILE.
42457         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42458         to __O_LARGEFILE.
42460 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42461             Joseph Myers  <joseph@codesourcery.com>
42463         * config.make.in (NM): New variable.
42465 2012-10-21  Andreas Jaeger  <aj@suse.de>
42467         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42468         definitions and declarations that are provided by
42469         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42471 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42473         [BZ #14683]
42474         * elf/Makefile (tests-static): Add tst-leaks1-static.
42475         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42476         ($(objpfx)tst-leaks1-static): New rule.
42477         ($(objpfx)tst-leaks1-static-mem): Likewise.
42478         (tst-leaks1-static-ENV): New macro.
42479         * elf/dl-open.c (dl_open_worker): Check the main application
42480         only if SHARED is defined.
42481         * elf/tst-leaks1-static.c: New file.
42483 2012-10-20  Andreas Jaeger  <aj@suse.de>
42485         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42486         generic values for Linux.
42487         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42488         and declarations that are provided by <bits/fcntl-linux.h> and
42489         include <bits/fcntl-linux.h>.
42490         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42491         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42493 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42495         * io/fcntl.h: Move include of <bits/types.h> to the top and
42496         include it unconditionally.
42498 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42500         * wcsmbs/Makefile (tests-ifunc): New variable.
42501         (tests): Add $(tests-ifunc).
42502         * wcsmbs/test-wcschr-ifunc.c: New file.
42503         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42504         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42505         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42506         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42507         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42509         * string/Makefile (tests-ifunc): New variable.
42510         (tests): Add $(tests-ifunc).
42511         * string/test-memccpy.c (TEST_NAME): New macro.
42512         * string/test-memchr.c (TEST_NAME): Likewise.
42513         * string/test-memcmp.c (TEST_NAME): Likewise.
42514         * string/test-memcpy.c (TEST_NAME): Likewise.
42515         * string/test-memmem.c (TEST_NAME): Likewise.
42516         * string/test-memmove.c (TEST_NAME): Likewise.
42517         * string/test-memset.c (TEST_NAME): Likewise.
42518         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42519         * string/test-stpcpy.c (TEST_NAME): Likewise.
42520         * string/test-stpncpy.c (TEST_NAME): Likewise.
42521         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42522         * string/test-strcasestr.c (TEST_NAME): Likewise.
42523         * string/test-strcat.c (TEST_NAME): Likewise.
42524         * string/test-strchr.c (TEST_NAME): Likewise.
42525         * string/test-strcmp.c(TEST_NAME): Likewise.
42526         * string/test-strcpy.c (TEST_NAME): Likewise.
42527         * string/test-strcspn.c (TEST_NAME): Likewise.
42528         * string/test-strlen.c (TEST_NAME): Likewise.
42529         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42530         * string/test-strncmp.c (TEST_NAME): Likewise.
42531         * string/test-strncpy.c (TEST_NAME): Likewise.
42532         * string/test-strnlen.c (TEST_NAME): Likewise.
42533         * string/test-strpbrk.c (TEST_NAME): Likewise.
42534         * string/test-strrchr.c (TEST_NAME): Likewise.
42535         * string/test-strspn.c (TEST_NAME): Likewise.
42536         * string/test-strstr.c (TEST_NAME): Likewise.
42537         * string/test-bcopy-ifunc.c: New file.
42538         * string/test-bzero-ifunc.c: Likewise.
42539         * string/test-memccpy-ifunc.c: Likewise.
42540         * string/test-memchr-ifunc.c: Likewise.
42541         * string/test-memcmp-ifunc.c: Likewise.
42542         * string/test-memcpy-ifunc.c: Likewise.
42543         * string/test-memmem-ifunc.c: Likewise.
42544         * string/test-memmove-ifunc.c: Likewise.
42545         * string/test-mempcpy-ifunc.c: Likewise.
42546         * string/test-memset-ifunc.c: Likewise.
42547         * string/test-rawmemchr-ifunc.c: Likewise.
42548         * string/test-stpcpy-ifunc.c: Likewise.
42549         * string/test-stpncpy-ifunc.c: Likewise.
42550         * string/test-strcasecmp-ifunc.c: Likewise.
42551         * string/test-strcasestr-ifunc.c: Likewise.
42552         * string/test-strcat-ifunc.c: Likewise.
42553         * string/test-strchr-ifunc.c: Likewise.
42554         * string/test-strchrnul-ifunc.c: Likewise.
42555         * string/test-strcmp-ifunc.c: Likewise.
42556         * string/test-strcpy-ifunc.c: Likewise.
42557         * string/test-strcspn-ifunc.c: Likewise.
42558         * string/test-strlen-ifunc.c: Likewise.
42559         * string/test-strncasecmp-ifunc.c: Likewise.
42560         * string/test-strncat-ifunc.c: Likewise.
42561         * string/test-strncmp-ifunc.c: Likewise.
42562         * string/test-strncpy-ifunc.c: Likewise.
42563         * string/test-strnlen-ifunc.c: Likewise.
42564         * string/test-strpbrk-ifunc.c: Likewise.
42565         * string/test-strrchr-ifunc.c: Likewise.
42566         * string/test-strspn-ifunc.c: Likewise.
42567         * string/test-strstr-ifunc.c: Likewise.
42569         * debug/Makefile (tests-ifunc): New variable.
42570         (tests): Add $(tests-ifunc).
42571         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42572         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42573         * debug/test-stpcpy_chk-ifunc.c: New file.
42574         * debug/test-strcpy_chk-ifunc.c: Likewise.
42576 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42578         [BZ #13601]
42579         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42580         header is not read in.
42582 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42584         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42585         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42586         directly.  Pass built executable to script as
42587         $(built-program-cmd).
42588         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42589         $testprogram without using LD_LIBRARY_PATH and $ldso.
42591         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42592         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42593         $(rtld-installed-name).
42594         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42595         (rtld_installed_name): Likewise.
42596         (library_path): Likewise.
42597         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42598         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42599         $(run-program-prefix) to tst-tables.sh.
42600         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42601         it to run tst-table-from and tst-table-to.
42602         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42603         Pass it to tst-table.sh.
42604         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42605         $(run-program-prefix) to tst-gettext.sh.
42606         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42607         tst-translit.sh.
42608         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42609         tst-gettext2.sh.
42610         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42611         to run tst-gettext.
42612         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42613         to run tst-gettext2.
42614         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42615         to run tst-translit.
42616         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42617         $(run-program-prefix) to tst-mtrace.sh.
42618         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42619         to run tst-mtrace.
42620         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42621         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42622         $(rtld-installed-name).
42623         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42624         (rtld_installed_name): Likewise.
42625         (run_program_prefix): New variable.  Use it to run wordexp-test.
42627         * Makeconfig (ARCH): Remove all definitions.
42628         (machine): Likewise.
42629         [ARCH]: Remove conditional code.
42630         [!objdir]: Give error.
42631         [!objdir] (objpfx): Remove.
42632         [!objdir] (common-objpfx): Likewise.
42633         [!objdir] (common-objdir): Likewise.
42634         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42635         AC_CONFIG_FILES call.
42636         * configure: Regenerated.
42638         [BZ #13888]
42639         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42640         or TMPDIR.
42641         (testout): Likewise.
42643         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42644         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42645         $(rtld-installed-name).
42646         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42647         (rtld_installed_name): Likwise.
42648         (runit): Remove function.
42649         (run_getconf): New variable,  Use it for running getconf binary.
42651 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42653         [BZ #14716]
42654         * string/test-memmem.c (check_result): New function.
42655         (do_one_test): Use it.
42656         (check1): New function.
42657         (test_main): Use it.
42659 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42661         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42663 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42665         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42666         (_G_LSEEK64): Likewise.
42667         (_G_MMAP64): Likewise.
42668         (_G_FSTAT64): Likewise.
42669         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42670         (_G_LSEEK64): Likewise.
42671         (_G_MMAP64): Likewise.
42672         (_G_FSTAT64): Likewise.
42673         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42674         unconditional.  Call __mmap64 directly.
42675         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42676         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42677         __lseek64 directly.
42678         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42679         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42680         __mmap64 directly.
42681         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42682         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42683         __lseek64 directly.
42684         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42685         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42686         __lseek64 directly.
42687         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42688         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42689         __lseek64 directly.
42690         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42691         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42692         __fxstat64 directly.
42693         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42694         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42695         unconditional.
42696         (freopen64) [!_G_OPEN64]: Remove conditional code.
42697         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42698         unconditional.
42699         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42700         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42701         unconditional.
42702         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42703         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42704         unconditional.
42705         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42706         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42707         unconditional.
42708         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42709         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42710         unconditional.
42711         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42712         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42713         unconditional.
42714         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42715         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42716         unconditional.
42717         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42719 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42721         [BZ #12140]
42722         * manual/memory.texi (Malloc Tunable Parameters): Add note
42723         about free list pointers overwriting some perturb bytes.
42724         Wording suggested by Roland McGrath.
42726 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42728         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42729         (lgamma_test): Likewise.
42730         (tgamma_test): Likewise.
42732 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42734         [BZ #14700]
42735         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42736         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42738 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42740         * NEWS: Mention BZ #14716.
42741         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42742         when removing AVAILABLE1_USES_J macro.
42744 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42746         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42747         (__bswap_64): __uint64_t for unsigned 64-bit int.
42749 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42751         * include/string.h (memmem): Declare libc hidden alias.
42752         * string/memmem.c (memmem): Define libc hidden alias.
42753         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42754         __read, __close instead of open, read, close.
42756 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42758         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42759         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42760         global and hidden.
42761         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42762         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42763         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42764         Likewise.
42765         (__rawmemchr_sse2): Likewise.
42766         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42767         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42768         (__strchr_sse2): Likewise.
42769         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42770         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42771         (__strcasecmp_sse2): Likewise.
42772         (__strncasecmp_sse2): Likewise.
42773         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42774         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42775         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42776         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42777         (__strrchr_sse2): Likewise.
42778         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42779         ifunc-impl-list.c.
42780         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42781         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42782         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42783         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42784         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42785         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42786         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42787         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42788         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42789         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42790         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42791         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42792         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42793         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42794         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42795         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42796         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42797         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42798         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42799         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42800         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42801         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42802         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42803         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42804         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42805         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42806         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42807         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42808         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42809         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42811         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42812         global and hidden.
42813         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42814         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42815         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42816         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42817         Likewise.
42818         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42819         Likewise.
42820         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42821         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42822         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42823         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42824         ifunc-impl-list.c.
42825         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42826         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42827         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42828         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42829         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42830         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42831         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42832         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42833         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42834         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42835         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42836         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42837         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42838         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42839         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42840         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42841         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42842         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42843         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42844         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42845         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42846         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42847         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42848         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42849         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42850         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42851         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42852         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42853         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42854         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42855         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42856         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42857         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42858         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42859         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42860         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42861         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42862         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42863         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42864         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42865         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42867         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42868         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42869         * include/ifunc-impl-list.h: New file.
42870         * misc/ifunc-impl-list.c: Likewise.
42871         * misc/Makefile (routines): Add ifunc-impl-list.
42872         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42873         * string/test-string.h: Include <ifunc-impl-list.h>.
42874         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42875         TEST_NAME]: New variables.
42876         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42877         are defined.
42878         (test_init): Call __libc_ifunc_impl_list to initialize
42879         func_list if TEST_IFUNC and TEST_NAME are defined.
42881         * string/Makefile (strop-tests): Add bcopy and bzero.
42882         * string/test-bcopy.c: New file.
42883         * string/test-bzero.c: Likewise.
42884         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42885         defined.
42886         * string/test-memset.c: Support bzero test if TEST_BZERO is
42887         defined.
42888         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42889         __libc_memmove.
42890         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42891         __libc_memset.
42892         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42893         of memset.
42895 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42897         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42898         * configure: Regenerated.
42900         * Makeconfig (+link-static-before-libc): Don't include
42901         $(link-static-libc).
42903         * libio/libio.h (_IO_pos_t): Remove.
42905 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42907         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42908         McGrath.
42910 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42912         * crypt/crypt-entry.c: Include fips-private.h.
42913         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42914         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42915         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42916         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42918 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42920         * crypt/crypt-private.h: Include stdbool.h.
42921         (_ufc_setup_salt_r): Return bool.
42922         * crypt/crypt-entry.c: Include errno.h.
42923         (__crypt_r): Return NULL with EINVAL for bad salt.
42924         * crypt/crypt_util.c (bad_for_salt): New.
42925         (_ufc_setup_salt_r): Check that salt is long enough and within
42926         the specified alphabet.
42927         * crypt/badsalttest.c: New file.
42928         * crypt/Makefile (tests): Add it.
42929         ($(objpfx)badsalttest): New.
42931 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42933         * NEWS: Add entry for BZ #14602.
42935 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42937         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42938         type-generic.
42939         * math/libm-test.inc: Update comment listing what functions and
42940         macros are tested.
42941         (isgreater_test): New function.
42942         (isgreaterequal_test): Likewise.
42943         (isless_test): Likewise.
42944         (islessequal_test): Likewise.
42945         (islessgreater_test): Likewise.
42946         (isunordered_test): Likewise.
42947         (main): Call the new functions.
42949 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42951         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42952         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42953         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42954         * sysdeps/i386/configure: Regenerated.
42955         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42956         * sysdeps/mach/configure: Regenerated.
42957         * sysdeps/mach/hurd/configure: Regenerated.
42958         * sysdeps/powerpc/configure: Regenerated.
42959         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42960         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42961         * sysdeps/s390/s390-32/configure: Regenerated.
42962         * sysdeps/s390/s390-64/configure: Regenerated.
42963         * sysdeps/sh/configure: Regenerated.
42964         * sysdeps/sparc/configure: Regenerated.
42965         * sysdeps/unix/sysv/linux/configure: Regenerated.
42966         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42967         * sysdeps/x86_64/configure: Regenerated.
42969         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42970         defined.  Don't check if MAP is NULL.
42972 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42974         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42975         (_G_stat64): Likewise.
42976         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42977         (_G_stat64): Likewise.
42978         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42979         instead of struct _G_stat64.
42980         * libio/fileops.c (mmap_remap_check): Likewise.
42981         (decide_maybe_mmap): Likewise.
42982         (_IO_new_file_seekoff): Likewise.
42983         (_IO_file_stat): Likewise.
42984         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42985         _G_off64_t.
42986         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42987         instead of struct _G_stat64.
42988         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42990 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42992         [BZ #14602]
42993         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42994         Replace with ...
42995         (CHECK_EOL): New macro.
42996         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42997         CHECK_EOL.
42998         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42999         Replace with CHECK_EOL.
43000         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43001         Replace with CHECK_EOL.
43003 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43005         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43006         type-generic.
43007         * math/libm-test.inc: Update comment listing what functions and
43008         macros are tested.
43009         (finite_test): New function.
43010         (isinf_test): Likewise.
43011         (isnan_test): Likewise.
43012         (fpclassify_test): Test subnormal input.
43013         (isfinite_test): Likewise.
43014         (isnormal_test): Likewise.
43015         (main): Call the new functions.
43017 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43019         [BZ #14660]
43020         * Makerules (%.dynsym): Force C locale when running
43021         $(OBJDUMP) --dynamic-syms.
43023 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43025         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43026         <stdint.h>.
43028 2012-10-06  David S. Miller  <davem@davemloft.net>
43030         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43031         upper 32-bits of the length value in %o2 since we use branch-on-register
43032         tests which consider the entire 64-bit register.
43034 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43036         * string/test-strstr.c (check2): Add a test for page boundary.
43038 2012-10-05  David S. Miller  <davem@davemloft.net>
43040         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43041         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43042         file.
43043         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43044         sysdep_routines.
43045         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43046         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43047         and bzero when HWCAP_SPARC_CRYPTO is present.
43049 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43051         [BZ #14602]
43052         * string/test-strstr.c (check2): New function.
43053         (test_main): Call check2.
43055         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43056         and bug-strchr1.
43057         * string/bug-strcasestr1.c (do_test): Moved to ...
43058         * string/test-strcasestr.c (check1): Here.  New function.
43059         (do_one_test): Break out result checking code into ...
43060         (check_result): This.  New function.
43061         (do_one_test): Call check_result.
43062         (test_main): Call check1.
43063         * string/bug-strchr1.c (do_test): Moved to ...
43064         * string/test-strchr.c (check1): Here.  New function.
43065         (do_one_test): Break out result checking code into ...
43066         (check_result): This.  New function.
43067         (do_one_test): Call check_result.
43068         (test_main): Call check1.
43069         * string/bug-strstr1.c (main): Moved to ...
43070         * string/test-strstr.c (check1): Here.  New function.
43071         (do_one_test): Break out result checking code into ...
43072         (check_result): This.  New function.
43073         (do_one_test): Call check_result.
43074         (test_main): Call check1.
43075         * string/bug-strcasestr1.c: Removed.
43076         * string/bug-strchr1.c: Likewise.
43077         * string/bug-strstr1.c: Likewise.
43079         * elf/Makefile (dl-routines): Add hwcaps.
43080         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43081         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43082         (_dl_important_hwcaps): Moved to ...
43083         * elf/dl-hwcaps.c: Here.  New file.
43084         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43086         [BZ #14557]
43087         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43088         if IS_IN_rtld isn't defined.
43090         * elf/dl-support.c (_dl_sysinfo_map): New.
43091         Include "get-dynamic-info.h" and "setup-vdso.h".
43092         (_dl_non_dynamic_init): Call setup_vdso.
43093         * elf/dynamic-link.h: Don't include <assert.h>.
43094         (elf_get_dynamic_info): Moved to ...
43095         * elf/get-dynamic-info.h: Here.  New file.
43096         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43097         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43098         * elf/setup-vdso.h: Here.  New file.
43099         * elf/rtld.c: Include "setup-vdso.h".
43100         (dl_main): Call setup_vdso.
43102 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43104         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43105         creal in comment listing functions tested.  List finite, isinf,
43106         isnan, isless, islessequal, isgreater, isgreaterequal,
43107         islessgreater, isunordered, lgamma_r and pow10 as functions and
43108         macros not tested.  Mention which functions not tested are aliases
43109         for other functions.  Fix typo.  Note that signs of NaNs are not
43110         tested.
43112         * scripts/config.guess: Update from config.git.
43113         * scripts/config.sub: Likewise.
43115 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43117         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43118         * misc/madvise.c (madvise): Renamed to __madvise.
43119         Make madvise a weak alias.
43120         * include/sys/mman.h: Declare __madvise.
43121         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43122         * sysdeps/unix/syscalls.list
43123         (madvise): Make __madvise the strong name, and madvise a weak alias.
43124         * sysdeps/unix/sysv/linux/syscalls.list
43125         (madvise, mmap): Remove redundant entries.
43126         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43127         * malloc/malloc.c (mtrim): Likewise.
43128         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43130 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43132         * sysdeps/mach/hurd/dl-cache.c: File removed.
43133         * config.h.in (USE_LDCONFIG): New #undef.
43134         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43135         * configure: Regenerated.
43136         * elf/Makefile (dl-routines): Add dl-cache only under
43137         [$(use-ldconfig) = yes].
43138         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43139         cache on [USE_LDCONFIG].
43140         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43141         [USE_LDCONFIG].
43142         * elf/rtld.c (dl_main): Likewise.
43144 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43146         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43147         _SC_LEVEL4_CACHE_LINESIZE.
43149 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43151         * sysdeps/unix/bsd/confstr.h: File removed.
43153 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43155         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43156         sys/sdt-config.h.
43158 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43160         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43161         Make 'mapoff' field ElfW(Off) rather than off_t.
43163 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43165         * nscd/Makefile: Remove nscd-cflags and all its users.
43166         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43167         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43169         [BZ #10631]
43170         * malloc.c (malloc_printerr): Clarify error message.
43172 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43174         [BZ #14648]
43175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43176         Set bit_FMA_Usable if FMA is supported.
43177         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43178         macro.
43179         (bit_FMA4_Usable): Updated.
43180         (index_FMA_Usable): New macro.
43181         (CPUID_FMA): Likewise
43182         (HAS_FMA): Defined with bit_FMA_Usable.
43184 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43186         * bits/types.h (__swblk_t): Type removed.
43187         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43188         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43189         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43190         (__SWBLK_T_TYPE): Likewise.
43191         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43192         (__SWBLK_T_TYPE): Likewise.
43193         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43194         (__SWBLK_T_TYPE): Likewise.
43195         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43196         (__SWBLK_T_TYPE): Likewise.
43198 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43199             Honza Horak <hhorak@redhat.com>
43201         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43202         (xdr_mapname): Use YPMAXMAP as maxsize.
43203         (xdr_peername): Use YPMAXPEER as maxsize.
43204         (xdr_keydat): Use YPAXRECORD as maxsize.
43205         (xdr_valdat): Use YPMAXRECORD as maxsize.
43207 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43209         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43211         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43212         * csu/init-first.c: ... here.
43213         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43214         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43215         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43216         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43217         * sysdeps/i386/init-first.c: File removed.
43218         * sysdeps/sh/init-first.c: File removed.
43220 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43222         [BZ #14645]
43223         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43224         if x * y might underflow to zero and z is zero.
43225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43226         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43227         * math/libm-test.inc (min_subnorm_value): New variable.
43228         (fma_test): Add more tests.
43229         (fma_test_towardzero): Likewise.
43230         (fma_test_downward): Likewise
43231         (fma_test_upward): Likewise.
43232         (initialize): Set min_subnorm_value.
43234 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43236         [BZ #14638]
43237         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43238         0 + 0.
43239         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43240         mode for addition resulting in exact zero.
43241         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43242         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43243         exact 0 + 0.
43244         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43245         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43246         * math/libm-test.inc (fma_test): Add more tests.
43247         (fma_test_towardzero): New function.
43248         (fma_test_downward): Likewise.
43249         (fma_test_upward): Likewise.
43250         (main): Call the new functions.
43252 2012-09-28  David S. Miller  <davem@davemloft.net>
43254         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43256 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43258         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43259         instead of SIGALRM.
43261         * sysdeps/gnu/_G_config.h: Moved to ...
43262         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43263         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43264         * sysdeps/generic/_G_config.h: ... here.
43266         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43268         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43270         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43271         Conditionalize target on [libnss_test1.so-version].
43273         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43275         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43276         (elfobjdir): Move out of conditionals.
43278         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43279         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43280         (__nss_lookup_function): Conditionalize label remove_from_tree on
43281         [!DO_STATIC_NSS || SHARED], matching its only use.
43283 2012-09-28  David S. Miller  <davem@davemloft.net>
43285         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43286         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43287         file.
43288         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43289         sysdep_routines.
43290         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43292         when HWCAP_SPARC_CRYPTO is present.
43294 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43296         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43298 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43300         [BZ #6530]
43301         * stdio-common/vfprintf.c (process_string_arg): Revert
43302         2000-07-22 change.
43304 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43306         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43307         for testcase.
43308         * stdio-common/tst-sprintf.c: Include <locale.h>
43309         (main): Test sprintf's handling of incomplete multibyte
43310         characters.
43312 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43314         * elf/dl-runtime.c (VERSYMIDX): Removed.
43315         * elf/dl-version.c (VERSYMIDX): Likewise.
43316         * elf/do-rel.h (VERSYMIDX): Likewise.
43317         (VALIDX): Likewise.
43318         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43319         * elf/rtld.c (VALIDX): Likewise.
43320         (ADDRIDX): Likewise.
43321         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43322         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43323         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43324         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43325         (VALIDX): Likewise.
43326         (ADDRIDX): Likewise.
43328 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43330         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43332 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43334         [BZ #11438]
43335         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43336         to global scope.
43337         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43338         addresses are in the same scope as 192.0.2/24.
43339         * posix/gai.conf: Document new scope table defaults.
43341 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43343         [BZ #5298]
43344         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43345         for ftell.  Compute offsets from write pointers instead.
43346         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43348 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43350         [BZ #14543]
43351         * libio/Makefile (tests): New test case tst-fseek.
43352         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43353         combination works in wide mode.
43354         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43355         state when the external buffer state changes.
43357 2012-09-27  David S. Miller  <davem@davemloft.net>
43359         [BZ #14376]
43360         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43361         pass reloc->r_addend in as the 'high' argument to
43362         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43366 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43368         * rt/tst-aio2.c: Include <pthread.h>.
43369         * rt/tst-aio3.c: Likewise.
43371 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43373         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43375 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43377         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43378         contents on [SHARED].
43380 2012-09-26  Marek Polacek  <polacek@redhat.com>
43382         [BZ #14530]
43383         [BZ #13741]
43384         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43385         for C++ and GCC <4.3 as well as for non GCC compilers.
43387 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43391 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43393         * Makefile.in (all, install): Declare with .PHONY.
43394         Reported by Michael Hope <michael.hope@linaro.org>.
43396 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43398         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43399         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43400         system header.
43401         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43402         Likewise.
43403         (sydep_routines): Add the new and the internal functions.
43404         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43405         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43407         (GLIBC_2.17): Add the new function.
43408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43409         (GLIBC_2.17): Likewise.
43410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43411         (GLIBC_2.17): Likewise.
43412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43413         (GLIBC_2.17): Likewise.
43414         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43416 2012-09-25  Alan Modra  <amodra@gmail.com>
43418         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43419         Add release barrier before setting once_control to say
43420         initialisation is done.  Add hints on lwarx.  Use macro in
43421         place of isync.
43422         (clear_once_control): Add release barrier.
43424 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43426         [BZ #13629]
43427         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43428         specially.
43429         * math/s_clog10.c (__clog10): Likewise.
43430         * math/s_clog10f.c (__clog10f): Likewise.
43431         * math/s_clog10l.c (__clog10l): Likewise.
43432         * math/s_clogf.c (__clogf): Likewise.
43433         * math/s_clogl.c (__clogl): Likewise.
43434         * math/Makefile (libm-calls): Add x2y2m1.
43435         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43436         (__x2y2m1): Likewise.
43437         (__x2y2m1l): Likewise.
43438         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43439         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43440         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43441         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43442         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43443         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43444         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43445         * sysdeps/i386/fpu/libm-test-ulps: Update.
43446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43448         [BZ #14621]
43449         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43450         int as type of variable DEPTH.
43451         (glob): Use size_t instead of int as type of variables NEWCOUNT
43452         and OLD_PATHC.
43454 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43456         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43457         Add s_sincosf-sse2.
43458         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43459         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43460         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43461         macros for using routine as __sincosf_ia32.
43462         Use macro for function declaration and weak_alias.
43463         * sysdeps/i386/fpu/libm-test-ulps: Update.
43465         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43468         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43469         subnormal argument.
43470         * math/s_cexpf.c (__cexpf): Likewise.
43471         * math/s_csinf.c (__csinf): Likewise.
43472         * math/s_csinhf.c (__csinhf): Likewise.
43473         * math/s_ctanf.c (__ctanf): Likewise.
43474         * math/s_ctanhf.c (__ctanhf): Likewise.
43475         * math/s_ccosh.c (__ccoshf): Likewise.
43476         * math/s_cexp.c (__cexpl): Likewise.
43477         * math/s_csin.c (__csin): Likewise.
43478         * math/s_csinh.c (__csinh): Likewise.
43479         * math/s_ctan.c (__ctan): Likewise.
43480         * math/s_ctanh.c (ctanh): Likewise.
43481         * math/s_ccoshl.c (__ccoshl): Likewise.
43482         * math/s_cexpl.c (__cexpl): Likewise.
43483         * math/s_csinl.c (__csinl): Likewise.
43484         * math/s_csinhl.c (__csinhl): Likewise.
43485         * math/s_ctanl.c (__ctanl): Likewise.
43486         * math/s_ctanhl.c (__ctanhl): Likewise.
43488 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43490         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43491         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43492         (_IO_off_t): Define to __off_t, not _G_off_t.
43493         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43494         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43495         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43496         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43497         type of __dummy and __dummy2 fields.
43498         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43499         (_G_ssize_t): Likewise.
43500         (_G_off_t): Likewise.
43501         (_G_pid_t): Likewise.
43502         (_G_uid_t): Likewise.
43503         (_G_wchar_t): Likewise.
43504         (_G_wint_t): Likewise.
43505         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43506         (_G_ssize_t): Likewise.
43507         (_G_off_t): Likewise.
43508         (_G_pid_t): Likewise.
43509         (_G_uid_t): Likewise.
43510         (_G_wchar_t): Likewise.
43511         (_G_wint_t): Likewise.
43512         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43513         (_G_ssize_t): Likewise.
43514         (_G_off_t): Likewise.
43515         (_G_pid_t): Likewise.
43516         (_G_uid_t): Likewise.
43517         (_G_wchar_t): Likewise.
43518         (_G_wint_t): Likewise.
43520 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43522         * malloc/arena.c: Include malloc-sysdep.h.
43523         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43524         is sufficient to shrink the heap or an unmap is needed.
43525         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43526         new function check_may_shrink_heap.
43527         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43528         new function check_may_shrink_heap.
43530 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43532         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43533         comments.
43535 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43537         * catgets/test-gencat.sh: Add "set -e".
43538         * elf/tst-pathopt.sh: Likewise.
43539         * grp/tst_fgetgrent.sh: Likewise.
43540         * iconvdata/run-iconv-test.sh: Likewise.
43541         * intl/tst-gettext.sh: Likewise.
43542         * intl/tst-gettext2.sh: Likewise.
43543         * intl/tst-gettext4.sh: Likewise.
43544         * intl/tst-gettext6.sh: Likewise.
43545         * intl/tst-translit.sh: Likewise.
43546         * io/ftwtest-sh: Likewise.
43547         * libio/test-freopen.sh: Likewise.
43548         * malloc/tst-mtrace.sh: Likewise.
43549         * posix/globtest.sh: Likewise.
43550         * posix/tst-getconf.sh: Likewise.
43551         * posix/wordexp-tst.sh: Likewise.
43552         * stdio-common/tst-printf.sh: Likewise.
43553         * stdio-common/tst-unbputc.sh: Likewise.
43554         * stdlib/tst-fmtmsg.sh: Likewise.
43555         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43556         * catgets/Makefile: Do not specify -e option when running
43557         testsuite shell scripts.
43558         * elf/Makefile: Likewise.
43559         * grp/Makefile: Likewise.
43560         * iconvdata/Makefile: Likewise.
43561         * intl/Makefile: Likewise.
43562         * io/Makefile: Likewise.
43563         * libio/Makefile: Likewise.
43564         * malloc/Makefile: Likewise.
43565         * posix/Makefile: Likewise.
43566         * stdio-common/Makefile: Likewise.
43567         * stdlib/Makefile: Likewise.
43568         * sysdeps/x86_64/Makefile: Likewise.
43570         * io/ftwtest-sh: Add copyright header.
43571         * posix/globtest.sh: Likewise.
43572         * posix/tst-getconf.sh: Likewise.
43573         * posix/wordexp-tst.sh: Likewise.
43574         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43576 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43578         [BZ #13679]
43579         * Makeconfig (+link): Defined as $(+link-static) if
43580         $(build-shared) isn't yes.
43581         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43582         isn't yes.
43583         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43585         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43587         [BZ #14562]
43588         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43589         new chunk size with MALLOC_ALIGN_MASK.
43591 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43593         [BZ #5044]
43594         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43595         <rounding-mode.h>.
43596         (__printf_fphex): Determine rounding using get_rounding_mode and
43597         round_away.
43598         * stdio-common/tst-printf-round.c (struct hex_test): New
43599         structure.
43600         (hex_tests): New variable.
43601         (test_hex_in_one_mode): New function.
43602         (do_test): Also run tests for hex float output.
43604 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43606         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43607         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43608         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43609         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43610         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43611         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43612         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43613         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43615 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43617         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43618         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43619         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43620         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43622 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43624         [BZ #14579]
43625         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43626         mode only.
43627         * elf/tst-rtld-load-self.sh: New test.
43628         * elf/Makefile: Run it.
43630 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43632         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43633         (tst-writev-ENV): Remove.
43634         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43636 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43638         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43640 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43642         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43643         unconditional.
43644         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43645         Likewise.
43646         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43647         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43648         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43649         Likewise.
43651 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43653         [BZ #14587]
43654         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43655         * config.make.in (have-cpp-asm-debuginfo): Removed.
43656         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43657         * configure: Regenerated.
43659 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43661         [BZ #5044]
43662         * stdio-common/printf_fp.c: Include <stdbool.h> and
43663         <rounding-mode.h>.
43664         (___printf_fp): Determine rounding using get_rounding_mode and
43665         round_away.
43666         * stdio-common/tst-printf-round.c: New file.
43667         * stdio-common/Makefile (tests): Add tst-printf-round.
43668         (link-libm): New variable.
43669         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43671 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43673         [BZ #14576]
43674         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43675         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43676         Likewise.
43677         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43678         Likewise.
43680 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43682         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43683         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43684         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43685         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43687 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43689         [BZ #14518]
43690         * include/rounding-mode.h: New file.
43691         * sysdeps/generic/get-rounding-mode.h: Likewise.
43692         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43693         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43694         (MAX_VALUE): New macro.
43695         (MIN_VALUE): Likewise.
43696         (overflow_value): New function.
43697         (underflow_value): Likewise.
43698         (round_and_return): Use overflow_value and underflow_value to
43699         determine return values in overflow and underflow cases.  Use
43700         round_away to determine rounding depending on rounding mode.
43701         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43702         determine return values in overflow and underflow cases.
43703         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43704         (struct test_results): New structure.
43705         (struct test): Use struct test_results to store expected results
43706         for all rounding modes.
43707         (TEST): Include expected results for all rounding modes.
43708         (test_in_one_mode): New function.
43709         (do_test): Use test_in_one_mode to compute and check results.
43710         Check results for all rounding modes.
43711         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43712         $(link-libm).
43714 2012-12-09  Allan McRae  <allan@archlinux.org>
43716         * sysdeps/i386/fpu/libm-test-ulps: Update
43718 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43720         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43721         (_G_int32_t): Likewise.
43722         (_G_uint16_t): Likewise.
43723         (_G_uint32_t): Likewise.
43724         (_G_HAVE_BOOL): Likewise.
43725         (_G_HAVE_ATEXIT): Likewise.
43726         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43727         (_G_HAVE_IO_FILE_OPEN): Likewise.
43728         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43729         (_G_int32_t): Likewise.
43730         (_G_uint16_t): Likewise.
43731         (_G_uint32_t): Likewise.
43732         (_G_HAVE_BOOL): Likewise.
43733         (_G_HAVE_ATEXIT): Likewise.
43734         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43735         (_G_HAVE_IO_FILE_OPEN): Likewise.
43736         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43737         (_G_int32_t): Likewise.
43738         (_G_uint16_t): Likewise.
43739         (_G_uint32_t): Likewise.
43740         (_G_HAVE_BOOL): Likewise.
43741         (_G_HAVE_ATEXIT): Likewise.
43742         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43743         (_G_HAVE_IO_FILE_OPEN): Likewise.
43745 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43747         * csu/libc-tls.c: Update copyright years.
43749 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43751         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43752         [!_G_USING_THUNKS]: Remove conditional code.
43753         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43754         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43756         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43757         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43758         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43759         (_G_VTABLE_LABEL_PREFIX): Likewise.
43760         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43761         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43762         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43763         (_G_VTABLE_LABEL_PREFIX): Likewise.
43764         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43765         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43766         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43767         (_G_VTABLE_LABEL_PREFIX): Likewise.
43768         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43770 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43772         * libio/Makefile: Include ../Makeconfig before tests.
43773         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43774         only if $(build-shared) is yes.
43776         * iconv/gconv_db.c: Update copyright years.
43778 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43780         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43781         unwind info if defined PIC. Fix special cases description.
43782         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43784         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43785         DP_HI_MASK entry.
43786         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43788 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43790         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43792         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43793         is NULL.
43795         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43796         (LDLIBS-tst-chk4): This.
43797         (LDFLAGS-tst-chk5): Renamed to ...
43798         (LDLIBS-tst-chk5): This.
43799         (LDFLAGS-tst-chk6): Renamed to ...
43800         (LDLIBS-tst-chk6): This.
43801         (LDFLAGS-tst-lfschk4): Renamed to ...
43802         (LDLIBS-tst-lfschk4): This.
43803         (LDFLAGS-tst-lfschk5): Renamed to ...
43804         (LDLIBS-tst-lfschk5): This.
43805         (LDFLAGS-tst-lfschk6): Renamed to ...
43806         (LDLIBS-tst-lfschk6): This.
43808         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43809         on $(common-objpfx)soversions.mk.
43811 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43813         [BZ #10014]
43814         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43815         example host name.
43817 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43819         * malloc/arena.c (arena_get_retry): New function that gets
43820         another arena for the caller to try its request on.
43821         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43822         current arena cannot fulfill the request.
43823         (__libc_memalign): Likewise.
43824         (__libc_memalign): Likewise.
43825         (__libc_pvalloc): Likewise.
43826         (__libc_calloc): Likewise.
43828 2012-09-05  John Tobey  <john.tobey@gmail.com>
43830         [BZ #13542]
43831         * manual/arith.texi (Operations on Complex): Fix description
43832         of carg branch cut.
43834 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43836         [BZ #10014]
43837         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43838         host name.
43840         [BZ #10038]
43841         * manual/memory.texi (Memory): Make order of menu items match
43842         order of sections.
43844 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43846         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43847         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43848         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43850 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43852         * csu/libc-tls.c (static_dtv): Renamed to ...
43853         (_dl_static_dtv): This.  Make it global.
43854         (_dl_initial_dtv): Removed.
43855         (__libc_setup_tls): Updated.
43856         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43857         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43858         DL_INITIAL_DTV.
43860 2012-09-06  Petr Machata  <pmachata@redhat.com>
43862         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43863         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43864         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43865         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43867 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43869         [BZ #14545]
43870         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43871         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43872         freeing dtv[-1].
43874 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43876         [BZ #14544]
43877         * Makeconfig (link-static-before-libc): Replace $(+prector)
43878         with $(+prectorT).
43879         (link-static-after-libc): Replace $(+postctor) with
43880         $(+postctorT).
43881         (link-bounded): Replace $(+prector)/$(+postctor) with
43882         $(+prectorT)/$(+postctorT).
43883         (+prectorT): New macro.
43884         (+postctorT): Likewise.
43886 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43888         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43889         (round_str): Handle values above the maximum for IBM long double
43890         as inexact.
43891         * stdlib/tst-strtod-round.c (tests): Regenerated.
43893 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43895         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43896         assembler flag.
43897         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43898         zarch_nohighgprs around the zarch optimized routines.
43899         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43900         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43901         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43902         for zarch.
43904 2012-09-05  David S. Miller  <davem@davemloft.net>
43906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43908         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43909         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43910         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43911         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43912         entries.
43914 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43916         * malloc/arena.c: Fold copyright years.
43917         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43919 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43921         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43923 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43925         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43927 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43929         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43930         change internal state upon failure.
43932 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43934         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43935         * malloc/memusage.c (mmap): Likewise.
43936         (mmap64, mremap): Likewise.  Adjust name in comment.
43938 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43940         * libio/fileops.c: Fix typos in comments.
43941         * libio/oldfileops.c: Likewise.
43942         * libio/wfileops.c: Likewise.
43944 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43946         [BZ #1349]
43947         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43948         (tst-malloc-usable-ENV): Set environment for test case.
43949         * malloc/hooks.c (malloc_check_get_size): New function to get
43950         requested size.
43951         * malloc/malloc.c (musable): Use malloc_check_get_size.
43952         * malloc/tst-malloc-usable.c: New test case.
43954 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43956         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43958 2012-09-05  Allan McRae  <allan@archlinux.org>
43960         [BZ #13966]
43961         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43962         determine header location.
43963         * configure: Regenerated.
43965 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43967         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43968         float format.
43969         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43970         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43971         format.
43972         (test): Regenerate.
43974 2012-09-04  David S. Miller  <davem@davemloft.net>
43976         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43977         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43978         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43980 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43982         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43983         failures.
43985         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43987 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43989         [BZ #9914]
43990         * libio/iogetdelim.c: Include <limits.h>.
43991         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43992         + len + 1 would overflow.
43994 2012-09-03  Andreas Jaeger  <aj@suse.de>
43996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43997         * sysdeps/i386/fpu/libm-test-ulps: Update.
43999 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44001         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44002         Add s_sinf-sse2, s_conf-sse2.
44004         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44005         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44006         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44007         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44009         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44010         for using routine as __sinf_ia32.
44011         Use macro for function declaration and weak_alias.
44012         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44013         for using routine as __cosf_ia32.
44014         Use macro for function declaration and weak_alias.
44016         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44017         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44019         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44020         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44023         * math/libm-test.inc (cos_test): Add more test cases.
44024         (sin_test): Likewise.
44025         (sincos_test): Likewise.
44027 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44029         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44030         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44031         hidden.
44032         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44034 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44036         [BZ #14538]
44037         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44038         first element of the GOT.
44039         (elf_machine_load_address): Return the difference between
44040         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44042 2012-09-01  Allan McRae  <allan@archlinux.org>
44044         [BZ #13412]
44045         * configure.in (AWK): Require gawk version 3.0 or later.
44046         * configure: Regenerated.
44048 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44050         * sysdeps/unix/sysv/linux/kernel-features.h
44051         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44052         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44053         [__NR_clock_getres]: Make code unconditional.
44054         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44055         (clock_getcpuclockid): Remove code left unreachable by removal of
44056         conditionals.
44057         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44058         code unconditional.
44059         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44060         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44061         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44062         Make code unconditional.
44063         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44064         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44065         * sysdeps/unix/sysv/linux/clock_settime.c
44066         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44067         conditional code.
44068         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44069         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44071 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44073         [BZ #14476]
44074         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44075         scripts/test-installation.pl.
44077         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44078         and $ld_so_version if it is set.
44080 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44082         [BZ #14516]
44083         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44084         failure if reading from procfs failed.
44085         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44087 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44089         * sysdeps/unix/sysv/linux/kernel-features.h
44090         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44091         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44092         Remove conditional code.
44093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44094         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44095         Remove conditional code.
44096         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44097         * sysdeps/unix/sysv/linux/i386/fxstat.c
44098         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44099         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44100         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44101         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44102         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44103         * sysdeps/unix/sysv/linux/i386/lxstat.c
44104         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44105         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44106         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44107         Remove conditional code.
44108         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44109         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44110         Remove conditional code.
44111         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44112         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44113         <kernel-features.h>.
44114         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44115         Remove.
44116         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44117         Remove conditional code.
44118         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44119         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44120         Remove conditional.
44122 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44124         [BZ #5400]
44125         * NEWS: Add fixed bug number.
44127 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44129         [BZ #14519]
44130         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44131         underflowing exponent in case of negative sign.
44132         * stdlib/tst-strtod-round-data: Add more tests.
44133         * stdlib/tst-strtod-round.c (tests): Regenerated.
44135         [BZ #3479]
44136         * stdlib/strtod_l.c (NDIG): Remove.
44137         (HEXNDIG): Likewise.
44138         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44139         smallest representable value.
44140         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44141         lie within an exact representation of 1/2 ulp of the result.
44142         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44143         unconditionally.
44144         (TENS_P9_IDX): Define unconditionally.
44145         (TENS_P9_SIZE): Likewise.
44146         (TENS_P10_IDX): Likewise.
44147         (TENS_P10_SIZE): Likewise.
44148         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44149         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44150         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44151         entries for 10^2^13 and 10^2^14.
44152         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44153         (TENS_P13_IDX): Define.
44154         (TENS_P13_SIZE): Likewise.
44155         (TENS_P14_IDX): Likewise.
44156         (TENS_P14_SIZE): Likewise.
44157         (_fpioconst_pow10): Change array size to
44158         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44159         unconditional.
44160         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44161         1024]: Add entries for 10^2^13 and 10^2^14.
44162         [LAST_POW10 > _LAST_POW10]: Remove #error.
44163         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44164         (_fpioconst_pow10): Change array size to
44165         FPIOCONST_POW10_ARRAY_SIZE.
44166         * stdlib/gen-fpioconst.c: New file.
44167         * stdlib/gen-tst-strtod-round.c: Likewise.
44168         * stdlib/tst-strtod-round-data: Likewise.
44169         * stdlib/tst-strtod-round.c: Likewise.
44170         * stdlib/Makefile (tests): Add tst-strtod-round.
44172         [BZ #14459]
44173         * stdlib/strtod_l.c: Include <stdint.h>.
44174         (NDEBUG): Do not define.
44175         (round_and_return): Change EXPONENT parameter to type intmax_t.
44176         Rearrange calculations to avoid internal overflow possibilities.
44177         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44178         Rearrange calculations to avoid internal overflow possibilities.
44179         Assert that number fits inside MPNSIZE limbs.
44180         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44181         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44182         calculations and add assertions to avoid internal overflow
44183         possibilities.  Add casts to avoid signed/unsigned operations.
44184         * stdlib/tst-strtod-overflow.c: New file.
44185         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44187 2012-08-25  Marek Polacek  <polacek@redhat.com>
44189         * time/time.h: Fix some typos in comments.
44191 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44193         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44194         * posix/tst-rfc3484-2.c: Likewise.
44195         * posix/tst-rfc3484-3.c: Likewise.
44197 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44199         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44200         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44202 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44204         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44205         #include of fxstatat64.c.
44207 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44209         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44210         * shadow/getspent_r.c: Likewise.
44211         * shadow/getspnam.c: Likewise.
44212         * shadow/getspnam_r.c: Likewise.
44213         * gshadow/getsgent.c: Likewise.
44214         * gshadow/getsgent_r.c: Likewise.
44215         * gshadow/getsgnam.c: Likewise.
44216         * gshadow/getsgnam_r.c: Likewise.
44217         * inet/getnetbyad.c: Likewise.
44218         * inet/getnetbyad_r.c: Likewise.
44219         * inet/getnetbynm.c: Likewise.
44220         * inet/getnetbynm_r.c: Likewise.
44221         * inet/getnetent.c: Likewise.
44222         * inet/getnetent_r.c: Likewise.
44223         * inet/getproto.c: Likewise.
44224         * inet/getproto_r.c: Likewise.
44225         * inet/getprtent.c: Likewise.
44226         * inet/getprtent_r.c: Likewise.
44227         * inet/getprtname.c: Likewise.
44228         * inet/getprtname_r.c: Likewise.
44229         * inet/getrpcbyname.c: Likewise.
44230         * inet/getrpcbyname_r.c: Likewise.
44231         * inet/getrpcbynumber.c: Likewise.
44232         * inet/getrpcbynumber_r.c: Likewise.
44233         * inet/getrpcent.c: Likewise.
44234         * inet/getrpcent_r.c: Likewise.
44235         * inet/getaliasent.c: Likewise.
44236         * inet/getaliasent_r.c: Likewise.
44237         * inet/getaliasname.c: Likewise.
44238         * inet/getaliasname_r.c: Likewise.
44239         * nscd/getgrgid_r.c: Likewise.
44240         * nscd/getgrnam_r.c: Likewise.
44241         * nscd/gethstbyad_r.c: Likewise.
44242         * nscd/gethstbynm3_r.c: Likewise.
44243         * nscd/getpwnam_r.c: Likewise.
44244         * nscd/getpwuid_r.c: Likewise.
44245         * nscd/getsrvbynm_r.c: Likewise.
44246         * nscd/getsrvbypt_r.c: Likewise.
44247         * nscd/gai.c: Likewise.
44249         * configure.in (build_nscd): New substituted variable, set
44250         by --disable-build-nscd and defaults to $use_nscd.
44251         * configure: Regenerated.
44252         * config.make.in (build-nscd): New substituted variable.
44253         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44254         Change conditional to require [$(build-nscd) = yes] as well.
44255         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44257         [BZ# 13696]
44258         * configure.in (use_nscd): New substituted variable, set by
44259         --disable-nscd.  If enabled, define USE_NSCD.
44260         * configure: Regenerated.
44261         * config.h.in: Add USE_NSCD.
44262         * config.make.in (use-nscd): New substituted variable.
44263         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44264         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44265         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44266         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44267         (CFLAGS-getgrnam_r.c): Likewise.
44268         (CFLAGS-initgroups.c): Likewise.
44269         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44270         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44271         Variables removed.
44272         * inet/getnetgrent_r.c
44273         (nscd_setnetgrent): New function, broken out of ...
44274         (setnetgrent): ... here.  Call it.
44275         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44276         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44277         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44278         * nscd/Makefile (routines, aux): Move definitions after include of
44279         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44280         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44281         Conditionalize on [USE_NSCD].
44282         (is_nscd, nscd_init_cb): Likewise.
44283         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44284         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44285         * nss/nss_db/db-init.c: Likewise.
44286         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44287         [USE_NSCD].
44288         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44289         (make_request): Use it.
44290         (cache_valid_p): New function.
44291         (__check_pf): Use it.
44292         * NEWS: Add item for --disable-nscd.
44294 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44296         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44297         to support sed >= 4.2.1-20-ga9bf076.
44298         * configure: Regenerated.
44300 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44302         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44303         Conditionalize whole body on [IREL].
44305 2012-08-22  Jeff Law <law@redhat.com>
44307         [BZ #14505]
44308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44309         if the family is PF_UNSPEC.
44311 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44313         * Makerules (lib-version): Rename from V.
44314         (install-lib-nosubdir): Change V to lib-version.
44316 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44318         [BZ #14252]
44319         * powerpc32/power6/wcschr.c: New file.
44320         * powerpc32/power6/wcscpy.c: New file.
44321         * powerpc32/power6/wcsrchr.c: New file.
44322         * powerpc64/power6/wcschr.c: New file.
44323         * powerpc64/power6/wcscpy.c: New file.
44324         * powerpc64/power6/wcsrchr.c: New file.
44326 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44328         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44329         (two_way_short_needle): Use it.
44330         * string/strstr.c (AVAILABLE1_USES_J): Define.
44331         * string/strcasestr.c: Likewise.
44333         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44334         array references.
44335         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44337         [BZ #11607]
44338         * NEWS: Add an entry.
44339         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44340         define their defaults.
44341         (two_way_short_needle): Detect end-of-string on-the-fly.
44342         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44343         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44344         * string/bug-strcasestr1.c: New test.
44345         * string/Makefile: Run it.
44347 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44349         [BZ #11607]
44350         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44351         the first character.
44353 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44355         * csu/elf-init.c (__libc_csu_irel): Function removed.
44356         * csu/libc-start.c (apply_irel): New function.
44357         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44359 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44361         * sysdeps/unix/sysv/linux/kernel-features.h
44362         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44363         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44364         <kernel-features.h>.
44365         [__NR_fadvise64_64]: Make code unconditional.
44366         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44367         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44368         !__NR_fadvise64_64)]: Likewise.
44369         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44370         !__NR_fadvise64_64))]: Likewise.
44371         [__NR_fadvise64]: Make code unconditional.
44372         [!__NR_fadvise64]: Remove conditional code.
44373         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44374         <kernel-features.h>.
44375         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44376         unconditional.
44377         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44378         conditional code.
44379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44380         not include <kernel-features.h>.
44381         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44382         unconditional.
44383         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44384         conditional code.
44385         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44386         include <kernel-features.h>.
44387         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44388         unconditional.
44389         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44390         conditional code.
44392 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44394         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44395         slight instruction rearrangements per scrollpipe analysis.
44396         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44398 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44400         * manual/syslog.texi (syslog; vsyslog, closelog):
44401         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44402         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44404         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44405         DSOCAPS to match condition on defining it.
44407 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44409         * sysdeps/unix/sysv/linux/kernel-features.h
44410         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44412         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44413         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44415         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44416         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44418         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44419         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44421         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44422         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44424         * sysdeps/unix/sysv/linux/kernel-features.h
44425         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44426         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44427         unconditional.
44428         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44429         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44430         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44431         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44432         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44433         Make code unconditional.
44434         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44435         (__mmap64) [!__NR_mmap2]: Likewise.
44436         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44437         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44438         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44439         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44440         [__NR_mmap2]: Make code unconditional.
44441         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44442         (__mmap64) [!__NR_mmap2]: Likewise.
44444 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44446         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44448 2012-08-18  Andreas Jaeger  <aj@suse.de>
44450         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44452 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44454         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44455         * include/unistd.h (__have_sock_cloexec): Likewise.
44456         (__have_pipe2): Likewise.
44457         (__have_dup3): Likewise.
44459 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44461         [BZ #9685]
44462         * include/unistd.h (__have_pipe2): Change define into an extern int.
44463         (__have_dup3): Likewise.
44464         * socket/have_sock_cloexec.c: Include fcntl.h.
44465         (__have_pipe2): New variable.
44466         (__have_dup3): Likewise.
44468 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44470         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44472 2012-08-17  Marek Polacek  <polacek@redhat.com>
44474         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44475         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44477 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44479         * configure.in: Add AC_SUBST for sysheaders.
44480         * configure: Regenerated.
44481         * config.make.in (sysheaders): New substituted variable.
44483         * sysdeps/unix/mkfifo.c: Moved ...
44484         * sysdeps/posix/mkfifo.c: ... here.
44485         * sysdeps/unix/mkfifoat.c: Moved ...
44486         * sysdeps/posix/mkfifoat.c: ... here.
44488         * sysdeps/unix/utime.c: Moved ...
44489         * sysdeps/posix/utime.c: ... here.
44491         * sysdeps/unix/time.c: Moved ...
44492         * sysdeps/posix/time.c: ... here.
44493         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44494         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44496         * sysdeps/unix/nice.c: Moved ...
44497         * sysdeps/posix/nice.c: ... here.
44499         * sysdeps/unix/alarm.c: Moved ...
44500         * sysdeps/posix/alarm.c: ... here.
44502         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44504 2012-08-17  Jeff Law <law@redhat.com>
44506         * intl/Makefile (codeset_mo): New variable.
44507         ($(codeset_mo)): New target.
44508         (tst-codeset.out): Depend on that.  Remove explicit rule.
44509         (tst-gettext3.out, tst-gettext5.out): Likewise.
44510         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44511         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44512         * intl/tst-codeset.sh: Remove.
44513         * intl/tst-gettext3.sh: Likewise.
44514         * intl/tst-gettext5.sh: Likewise.
44516 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44518         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44519         * sysdeps/unix/syscalls.list: ... here.
44521         * sysdeps/posix/getaddrinfo.c
44522         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44523         (gaiconf_init, gaiconf_reload): Use them.
44524         [!_STATBUF_ST_NSEC]
44525         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44526         Define using time_t rather than struct timespec.
44528         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44529         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44530         Macros removed.
44531         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44532         [!NO_THREADS].
44533         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44534         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44535         Likewise.
44537         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44538         __libc_cleanup_push argument.
44540         * bits/param.h: New file.
44541         * misc/sys/param.h: New file.
44542         * include/sys/param.h: New file.
44543         * misc/Makefile (headers): Add bits/param.h.
44544         * sysdeps/generic/sys/param.h: File removed.
44545         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44546         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44547         * sysdeps/mach/hurd/bits/param.h: New file.
44548         * sysdeps/mach/hurd/sys/param.h: File removed.
44550         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44551         last change.
44553         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44554         [_IO_MTSAFE_IO].
44555         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44556         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44557         New macros.
44559         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44560         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44561         rather than -D_IO_MTSAFE_IO conditionally.
44562         * stdio-common/Makefile (CPPFLAGS): Likewise.
44563         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44564         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44565         Use $(libio-mtsafe).
44566         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44567         of -D_IO_MTSAFE_IO.
44568         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44569         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44570         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44571         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44572         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44573         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44574         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44575         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44576         (CFLAGS-fread_u_chk.c): Likewise.
44577         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44578         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44579         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44580         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44581         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44582         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44583         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44584         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44585         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44587         * libio/Makefile: Test [$(libc-reentrant) = yes]
44588         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44590         * Makeconfig
44591         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44592         * sysdeps/pthread/configure: File removed.
44593         * sysdeps/pthread/Makeconfig: New file.
44594         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44595         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44597 2012-08-16  Gary Benson  <gbenson@redhat.com>
44599         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44600         unmapping the first object in a namespace.
44602 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44604         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44605         (__internal_setnetgrent): ... this.  Add internal_function to
44606         definition.  Add libc_hidden_def.
44607         (setnetgrent): Update caller.
44608         (internal_endnetgrent): Renamed to ...
44609         (__internal_endnetgrent): ... this.  Add internal_function to
44610         definition.  Add libc_hidden_def.
44611         (endnetgrent): Update caller.
44612         (internal_getnetgrent_r): Renamed to ...
44613         (__internal_getnetgrent_r): ... this.  Add internal_function to
44614         definition.  Add libc_hidden_def.
44615         (__getnetgrent_r): Update caller.
44616         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44618 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44620         * stdlib/longlong.h: Update from GCC.
44622 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44624         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44625         on _QL, which is set by umul_ppmm but never used.
44626         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44627         variables, which are set by GMP macros but never used.
44628         * stdio-common/_itowa.c (_itowa): Likewise.
44629         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44630         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44632 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44634         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44635         struct La_sh_regs is not constant.
44636         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44637         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44638         and struct La_sparc64_regs are not constant.
44640 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44642         * sysdeps/unix/sysv/linux/kernel-features.h
44643         (__ASSUME_POSIX_TIMERS): Remove.
44644         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44645         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44646         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44647         Make code unconditional.
44648         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44649         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44650         Make code unconditional.
44651         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44652         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44653         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44654         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44655         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44656         Make code unconditional.
44657         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44658         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44659         (__libc_missing_posix_timers): Remove.
44661 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44663         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44664         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44666         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44668         * elf/dl-sym.c: Include <stdlib.h>.
44670         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44671         constants, which avoids warnings in 32-bit builds.
44673         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44674         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44676         * misc/lseek.c: File moved to ...
44677         * io/lseek.c: ... here.
44679         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44681         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44682         shifting LEN more than 31 bits at once.
44684 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44686         [BZ #14195]
44687         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44688         segmentation fault for a case of two empty input strings.
44689         * string/test-strncasecmp.c (check1): Renamed to...
44690         (bz12205): ...this.
44691         (bz14195): Add new testcase for two empty input strings and N > 0.
44692         (test_main): Call new testcase, adapt for renamed function.
44694 2012-08-15  Andreas Jaeger  <aj@suse.de>
44696         [BZ #14090]
44697         * crypt/md5test2.c: New test, based on test supplied by Serge
44698         Belyshev <belyshev@depni.sinp.msu.ru>.
44699         * crypt/Makefile (xtests): Add md5test-giant..
44700         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44702 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44704         [BZ #14090]
44705         * crypt/md5.c (md5_process_block): Don't assume the buffer
44706         length is less than 2**32.
44707         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44708         length is less than 2**64.
44710 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44712         * string/str-two-way.h: Include <sys/param.h>.
44713         (MAX): Macro removed.
44715         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44716         Move #define and #undef of memmove to just before and after
44717         including <string.h>.
44719         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44720         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44721         and after including <string.h>.  Move declarations of
44722         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44723         to before #include "string/memmove.c".
44725         * include/dirent.h: Declare __getdirentries.
44727         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44728         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44730 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44732         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44733         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44734         * sysdeps/i386/configure: Regenerated.
44735         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44736         STABS_CURRENT_FILE, and STABS_FUN.
44737         (END): Remove call to STABS_FUN_END.
44738         (STABS_CURRENT_FILE1): Delete.
44739         (STABS_CURRENT_FILE): Likewise.
44740         (STABS_FUN): Likewise.
44741         (STABS_FUN_END): Likewise.
44742         (STABS_FUN2): Likewise.
44743         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44744         * sysdeps/x86_64/configure: Regenerated.
44746 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44748         * elf/dl-open.c: Include <atomic.h>.
44749         * elf/dl-lookup.c: Likewise.
44751 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44753         * sysdeps/unix/sysv/linux/kernel-features.h
44754         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44755         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44756         unconditionally.
44757         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44758         unconditionally.
44759         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44760         condition on __ASSUME_CLONE_THREAD_FLAGS.
44762 2012-08-14  Andreas Jaeger  <aj@suse.de>
44764         * sysdeps/i386/fpu/libm-test-ulps: Update.
44766 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44768         * include/atomic.h (atomic_exchange_and_add): Split into ...
44769         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44770         New atomic macros.
44772 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44776 2012-08-13  Jeff Law <law@redhat.com>
44778         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44779         null byte in the output string.
44781 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44783         * sysdeps/unix/sysv/linux/kernel-features.h
44784         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44785         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44786         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44787         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44788         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44789         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44790         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44792 2012-08-09  Jeff Law <law@redhat.com>
44794         [BZ #13939]
44795         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44796         When avoid_arena is set, don't retry in the that arena.  Pick the
44797         next one, whatever it might be.
44798         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44799         (arena_lock): Pass in new parameter to arena_get2.
44800         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44801         arena_get2.
44802         (__libc_malloc): Unify retrying after main arena failure with
44803         __libc_memalign version.
44804         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44806 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44808         [BZ #14166]
44809         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44810         to __redirect_strstr.
44811         (__strstr_sse42): Use typeof __redirect_strstr.
44812         (__strstr_ia32): Likewise.
44813         (__libc_strstr): New prototype.
44814         (strstr): Renamed to ...
44815         (__libc_strstr): This.
44816         (strstr): New strong alias of __libc_strstr.
44817         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44818         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44819         __redirect_time.
44820         Include <time.h>.
44821         (__libc_time): New prototype.
44822         (time_ifunc): Replace time with __libc_time.
44823         (time): New strong alias and hidden definition of __libc_time.
44824         (__GI_time): Remove strong alias.
44825         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44826         Include <stddef.h>.
44827         (memmove): Redefined to __redirect_memmove.
44828         (__memmove_sse2): Use typeof __redirect_memmove.
44829         (__memmove_ssse3): Likewise.
44830         (__memmove_ssse3_back): Likewise.
44831         (__libc_memmove): New prototype.
44832         (memmove): Renamed to ...
44833         (__libc_memmove): This.
44834         (memmove): New strong alias of __libc_memmove.
44836 2012-08-08  Mark Salter  <msalter@redhat.com>
44838         * elf/elf.h
44839         (R_MN10300_TLS_GD): Define.
44840         (R_MN10300_TLS_LD): Likewise.
44841         (R_MN10300_TLS_LDO): Likewise.
44842         (R_MN10300_TLS_GOTIE): Likewise.
44843         (R_MN10300_TLS_IE): Likewise.
44844         (R_MN10300_TLS_LE): Likewise.
44845         (R_MN10300_TLS_DTPMOD): Likewise.
44846         (R_MN10300_TLS_DTPOFF): Likewise.
44847         (R_MN10300_TLS_TPOFF): Likewise.
44848         (R_MN10300_SYM_DIFF): Likewise.
44849         (R_MN10300_ALIGN): Likewise.
44850         (R_MN10300_NUM): Update.
44852 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44854         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44855         Remove.
44857 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44859         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44861         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44862         sysdeps/unix -> sysdeps/posix move.
44863         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44865 2012-08-07      Allan McRae     <allan@archlinux.org>
44867         [BZ #14303]
44868         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44869         (SUNOS_CPP): Likewise.
44870         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44871         not found.
44872         (open_input): Call CPP using execvp.
44874 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44876         * sysdeps/unix/sysv/linux/kernel-features.h
44877         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44878         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44879         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44880         (__ASSUME_WAITID_SYSCALL): Likewise.
44881         * sysdeps/unix/sysv/linux/dl-execstack.c
44882         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44883         code unconditional.
44884         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44885         conditional code.
44886         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44887         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44888         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44889         code.
44890         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44891         unconditional.
44892         [__ASSUME_WAITID_SYSCALL]: Likewise.
44893         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44895 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44897         * sysdeps/unix/closedir.c: Renamed to ...
44898         * sysdeps/posix/closedir.c: ... here.
44899         * sysdeps/unix/dirfd.c: Renamed to ...
44900         * sysdeps/posix/dirfd.c: ... here.
44901         * sysdeps/unix/dirstream.h: Renamed to ...
44902         * sysdeps/posix/dirstream.h: ... here.
44903         * sysdeps/unix/fdopendir.c: Renamed to ...
44904         * sysdeps/posix/fdopendir.c: ... here.
44905         * sysdeps/unix/opendir.c: Renamed to ...
44906         * sysdeps/posix/opendir.c: ... here.
44907         * sysdeps/unix/readdir.c: Renamed to ...
44908         * sysdeps/posix/readdir.c: ... here.
44909         * sysdeps/unix/readdir_r.c: Renamed to ...
44910         * sysdeps/posix/readdir_r.c: ... here.
44911         * sysdeps/unix/rewinddir.c: Renamed to ...
44912         * sysdeps/posix/rewinddir.c: ... here.
44913         * sysdeps/unix/seekdir.c: Renamed to ...
44914         * sysdeps/posix/seekdir.c: ... here.
44915         * sysdeps/unix/telldir.c: Renamed to ...
44916         * sysdeps/posix/telldir.c: ... here.
44917         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44918         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44919         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44920         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44922         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44923         * bits/fcntl.h: ... here.
44925         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44926         not 0.
44927         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44928         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44929         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44930         (struct flock): Move l_start, l_len to the beginning.
44931         Use __pid_t for l_pid.
44932         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44933         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44934         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44935         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44936         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44937         [__USE_LARGEFILE64] (struct flock64): New type.
44938         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44940         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44941         * bits/dirent.h: ... here.
44943         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44944         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44946 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44948         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44949         Change from 2.6.0 to 2.6.16.
44950         * sysdeps/unix/sysv/linux/configure: Regenerated.
44951         * sysdeps/unix/sysv/linux/kernel-features.h
44952         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44953         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44954         version.
44955         (__ASSUME_UTIMES): Likewise.
44956         (__ASSUME_CLONE_STOPPED): Remove.
44957         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44958         architectures, not kernel version.
44959         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44960         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44961         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44962         (__ASSUME_WAITID_SYSCALL): Likewise.
44963         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44964         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44965         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44966         refer to older versions.
44968 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44970         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44971         Define alphasort64 as an alias.
44972         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44973         Define versionsort64 as an alias.
44974         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44975         Define scandir64 as an alias.
44976         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44977         Define scandirat64 as an alias.
44978         * dirent/alphasort64.c (alphasort64):
44979         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44980         * dirent/versionsort64.c: Likewise.
44981         * dirent/scandir64.c: Likewise.
44982         * dirent/scandirat64.c: Likewise.
44983         * sysdeps/wordsize-64/alphasort.c: File removed.
44984         * sysdeps/wordsize-64/alphasort64.c: File removed.
44985         * sysdeps/wordsize-64/scandir.c: File removed.
44986         * sysdeps/wordsize-64/scandir64.c: File removed.
44987         * sysdeps/wordsize-64/scandirat.c: File removed.
44988         * sysdeps/wordsize-64/scandirat64.c: File removed.
44989         * sysdeps/wordsize-64/versionsort.c: File removed.
44990         * sysdeps/wordsize-64/versionsort64.c: File removed.
44991         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44992         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44993         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44994         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44995         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44996         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44997         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44998         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45000         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45001         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45002         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45003         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45004         [defined __arch64__ || defined __sparcv9]
45005         (__INO_T_MATCHES_INO64_T): New macro.
45006         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45007         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45008         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45009         * sysdeps/unix/sysv/linux/bits/dirent.h
45010         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45011         (_DIRENT_MATCHES_DIRENT64): New macro.
45013         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45014         Define lockf64 as an alias.
45015         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45016         Define fseeko64 as an alias.
45017         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45018         Define ftello64 as an alias.
45019         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45020         Define _IO_fgetpos64 and fgetpos64 as aliases.
45021         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45022         Define _IO_fsetpos64 and fsetpos64 as aliases.
45023         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45024         Conditionalize body on this.
45025         * libio/fseeko64.c: Likewise.
45026         * libio/ftello64.c: Likewise.
45027         * libio/iofgetpos64.c: Likewise.
45028         * libio/iofsetpos64.c: Likewise.
45029         * sysdeps/wordsize-64/lockf.c: File removed.
45030         * sysdeps/wordsize-64/lockf64.c: File removed.
45031         * sysdeps/wordsize-64/fseeko.c: File removed.
45032         * sysdeps/wordsize-64/fseeko64.c: File removed.
45033         * sysdeps/wordsize-64/ftello.c: File removed.
45034         * sysdeps/wordsize-64/ftello64.c: File removed.
45035         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45036         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45037         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45038         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45039         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45040         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45041         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45042         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45043         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45044         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45045         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45046         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45047         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45048         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45050         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45052         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45054         [defined __arch64__ || defined __sparcv9]
45055         (__OFF_T_MATCHES_OFF64_T): New macro.
45056         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45057         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45058         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45059         (__OFF_T_MATCHES_OFF64_T): New macro.
45061 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45063         * stdlib/secure-getenv.c (__secure_getenv): Replace
45064         GLIBC_2_16 with GLIBC_2_17.
45066 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45068         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45069         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45071 2012-08-03  David S. Miller  <davem@davemloft.net>
45073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45075 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45077         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45078         Remove.
45079         (__ASSUME_CORRECT_SI_PID): Likewise.
45080         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45081         (__ASSUME_TMPFS_NAME): Likewise.
45082         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45083         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45084         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45085         (HAVE_AUX_SECURE): Make definition unconditional.
45086         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45087         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45089 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45091         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45092         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45093         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45094         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45095         __eloop_threshold instead of SYMLOOP_MAX.
45097         * sysdeps/generic/eloop-threshold.h: New file.
45098         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45099         of MAXSYMLINKS.
45100         * elf/chroot_canon.c (chroot_canon): Likewise.
45102 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45104         [BZ #13717]
45105         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45106         Change to 2.6.0 everywhere.
45107         * sysdeps/unix/sysv/linux/configure: Regenerated.
45108         * sysdeps/unix/sysv/linux/kernel-features.h
45109         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45110         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45111         kernel versions.
45112         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45113         (__ASSUME_FUTEX_REQUEUE): Remove.
45114         (__ASSUME_STATFS64): Define unconditionally.
45115         (__ASSUME_AT_SECURE): Likewise.
45116         (__ASSUME_CORRECT_SI_PID): Likewise.
45117         (__ASSUME_TGKILL): Define without depending on kernel version for
45118         i386.
45119         (__ASSUME_UTIMES): Likewise.
45120         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45121         kernel version.
45122         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45123         (__ASSUME_TMPFS_NAME): Likewise.
45124         * README: Update reference to Linux kernel versions.
45126 2012-08-02  Marek Polacek  <polacek@redhat.com>
45128         [BZ# 14150]
45129         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45130         libc_cv_asm_type_prefix with %.
45131         * configure: Regenerated.
45132         * include/libc-symbols.h: Remove comment about
45133         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45134         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45135         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45136         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45137         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45138         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45139         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45140         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45141         * elf/tst-unique2mod1.c: Likewise.
45142         * elf/tst-unique1mod2.c: Likewise.
45143         * elf/tst-unique1mod1.c: Likewise.
45144         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45145         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45146         Replace ASM_TYPE_DIRECTIVE with .type.
45147         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45148         * sysdeps/i386/sysdep.h: Likewise.
45149         * sysdeps/x86_64/sysdep.h: Likewise.
45150         * sysdeps/sh/sysdep.h: Likewise.
45151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45152         Do not define ASM_TYPE_DIRECTIVE.
45153         * sysdeps/powerpc/sysdep.h: Likewise.
45154         * sysdeps/powerpc/powerpc32/sysdep.h:
45155         Replace ASM_TYPE_DIRECTIVE with .type.
45156         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45157         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45158         * sysdeps/i386/fpu/e_powf.S: Likewise.
45159         * sysdeps/i386/fpu/e_expl.S: Likewise.
45160         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45161         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45162         * sysdeps/i386/fpu/e_pow.S: Likewise.
45163         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45164         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45165         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45166         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45167         * sysdeps/i386/fpu/e_log2.S: Likewise.
45168         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45169         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45170         * sysdeps/i386/fpu/e_powl.S: Likewise.
45171         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45172         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45173         * sysdeps/i386/fpu/e_logl.S: Likewise.
45174         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45175         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45176         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45177         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45178         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45179         * sysdeps/i386/fpu/e_log.S: Likewise.
45180         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45181         * sysdeps/i386/fpu/e_logf.S: Likewise.
45182         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45183         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45184         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45185         * sysdeps/i386/fpu/e_log10.S: Likewise.
45186         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45187         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45188         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45189         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45190         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45191         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45192         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45193         * sysdeps/i386/i686/strtok.S: Likewise.
45194         * sysdeps/i386/i386-mcount.S: Likewise.
45195         * sysdeps/i386/strtok.S: Likewise.
45196         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45197         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45198         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45199         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45200         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45201         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45202         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45203         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45204         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45205         * sysdeps/x86_64/_mcount.S: Likewise.
45206         * sysdeps/x86_64/strtok.S: Likewise.
45207         * sysdeps/sh/_mcount.S: Likewise.
45209 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45211         * libio/iofopen.c: Include <fcntl.h>.
45212         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45213         (_IO_fopen64, fopen64): Define as aliases.
45214         * libio/iofopen64.c: Include <fcntl.h>.
45215         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45216         Conditionalize body on this.
45217         * sysdeps/wordsize-64/iofopen.c: File removed.
45218         * sysdeps/wordsize-64/iofopen64.c: File removed.
45220 2012-08-01  Marek Polacek  <polacek@redhat.com>
45222         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45223         Use dlfcn directly instead of a variable.
45224         (binfmt-subdir): Do not define.
45225         (dlfcn): Likewise.
45227 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45229         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45230         Remove all definitions.
45231         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45232         <kernel-features.h>.
45233         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45234         (miss_F_GETOWN_EX): Remove all definitions.
45235         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45236         macro definition.
45237         [!__ASSUME_FCNTL64]: Remove conditional code.
45238         [__ASSUME_FCNTL64]: Make code unconditional.
45239         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45240         <kernel-features.h>.
45241         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45242         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45243         (lockf64) [__NR_fcntl64]: Make code unconditional.
45244         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45246         * sysdeps/unix/sysv/linux/kernel-features.h
45247         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45248         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45249         Make code unconditional.
45250         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45251         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45253         [__NR_vfork]: Make code unconditional.
45254         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45255         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45257         [__NR_vfork]: Make code unconditional.
45258         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45259         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45261 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45263         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45264         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45266         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45267         Define mkstemp64 as an alias.
45268         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45269         Define mkstemps64 as an alias.
45270         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45271         Define mkostemp64 as an alias.
45272         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45273         Define mkostemps64 as an alias.
45274         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45275         Conditionalize body on this.
45276         * misc/mkostemp64.c: Likewise.
45277         * misc/mkostemps64.c: Likewise.
45278         * misc/mkstemps64.c: Likewise.
45279         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45280         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45281         * sysdeps/wordsize-64/mkostemp.c: File removed.
45282         * sysdeps/wordsize-64/mkstemp.c: File removed.
45283         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45284         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45285         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45286         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45288         [BZ #14138]
45289         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45290         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45291         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45292         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45294         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45295         compat_symbol macros from <shlib-compat.h> rather than the underlying
45296         default_symbol_version and symbol_version macros, so that DEFAULT
45297         lines in shlib-versions are respected.
45298         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45300 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45302         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45303         Declare with warn_unused_result.
45304         (setgid, setregid, setegid, setresgid): Likewise.
45305         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45306         Likewise.
45307         * WUR-REPORT: Remove set*id functions.
45309 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45311         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45313 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45315         [BZ #10191]
45316         * include/sys/socket.h (__libc_accept, __libc_accept4):
45317         Add attribute_hidden.
45318         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45320         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45321         use of PTR_MANGLE.
45322         * inet/getnetgrent_r.c (setup): Likewise.
45324         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45326 2012-07-31  David S. Miller  <davem@davemloft.net>
45328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45330 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45332         [BZ #13629]
45333         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45334         value between 1.0 and 2.0 and smaller part has absolute value less
45335         than 1.0.
45336         * math/s_clog10.c (__clog10): Likewise.
45337         * math/s_clog10f.c (__clog10f): Likewise.
45338         * math/s_clog10l.c (__clog10l): Likewise.
45339         * math/s_clogf.c (__clogf): Likewise.
45340         * math/s_clogl.c (__clogl): Likewise.
45341         * math/libm-test.inc (clog_test): Add more tests.
45342         (clog10_test): Likewise.
45343         * sysdeps/i386/fpu/libm-test-ulps: Update.
45344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45346 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45348         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45349         Exit with zero in case no suitable GID is found, and write a
45350         message to standard error.
45352 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45354         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45355         rather than to 1.
45356         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45357         (MAXPATHLEN): Removed.
45358         (NOGROUP, NODEV): New macros.
45359         (setbit, clrbit, isset, isclr): New macros.
45360         (howmany, roundup, powerof2): New macros.
45361         (DEV_BSIZE): New macro.
45363         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45364         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45366         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45367         definition on [!__NO_LONG_DOUBLE_MATH].
45369         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45370         PTR_MANGLE and PTR_DEMANGLE.
45372         * socket/accept4.c (accept4): Rename to __libc_accept4.
45373         Define accept4 as a weak alias.
45375         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45376         on [_DIRENT_HAVE_D_TYPE].
45377         * io/ftw.c (ftw_dir): Likewise.
45379         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45381         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45383         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45384         Use the BSD numbers rather than the arbitrary ones we had.
45385         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45386         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45387         (SIGXCPU, SIGXFSZ): New macros.
45388         (_NSIG): Now 32.
45390         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45391         initializer on [_LIBC_REENTRANT].
45393         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45394         definitions inside [_POSIX_MAPPED_FILES].
45396         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45398         * dirent/opendir.c: Include <fcntl.h>.
45400         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45401         (__libc_getspecific): Likewise.
45402         (__libc_key_create): Likewise.
45404         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45405         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45406         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45407         (tmpfile64): Define as alias.
45408         * sysdeps/wordsize-64/tmpfile.c: File removed.
45409         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45410         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45411         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45413         * stdio-common/vfscanf.c: Include <stdbool.h>.
45414         * nss/makedb.c: Likewise.
45415         * stdio-common/_i18n_number.h: Likewise.
45416         * argp/argp-help.c: Likewise.
45417         * posix/wordexp.c: Likewise.
45418         * sysdeps/posix/spawni.c: Likewise.
45419         * nss/nss_files/files-initgroups.c: Likewise.
45420         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45421         * nss/nss_files/files-initgroups.c: Likewise.
45422         * nss/nss_db/db-netgrp.c: Likewise.
45423         * nss/nss_db/db-initgroups.c: Likewise.
45424         * io/fchmodat.c: Include <sys/stat.h>.
45426         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45427         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45429         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45430         [HAVE_MMAP].
45432         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45433         Add multiple inclusion protection.
45435 2012-07-27  David S. Miller  <davem@davemloft.net>
45437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45439 2012-07-27  Gary Benson  <gbenson@redhat.com>
45441         [BZ #14298]
45442         * elf/rtld.c: Include <stap-probe.h>.
45443         (dl_main): Added static probes "init_start" and "init_complete".
45444         * elf/dl-load.c: Include <stap-probe.h>.
45445         (lose): Take new parameter "nsid".
45446         Added static probe "map_failed".
45447         (_dl_map_object_from_fd): Pass namespace id to lose.
45448         Added static probe "map_start".
45449         (open_verify): Pass namespace id to lose.
45450         * elf/dl-open.c: Include <stap-probe.h>.
45451         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45452         and "reloc_complete".
45453         * elf/dl-close.c: Include <stap-probe.h>.
45454         (_dl_close_worker): Added static probes "unmap_start" and
45455         "unmap_complete".
45456         * elf/rtld-debugger-interface.txt: New file documenting the above.
45458 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45460         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45461         rather than a string variable.
45462         * sunrpc/rpc_main.c (h_output): Likewise.
45463         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45465 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45467         * inet/check_native.c: New file.
45469 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45471         [BZ #13629]
45472         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45473         if larger part has absolute value 1.0.
45474         * math/s_clog10.c (__clog10): Likewise.
45475         * math/s_clog10f.c (__clog10f): Likewise.
45476         * math/s_clog10l.c (__clog10l): Likewise.
45477         * math/s_clogf.c (__clogf): Likewise.
45478         * math/s_clogl.c (__clogl): Likewise.
45479         * math/libm-test.inc (clog_test): Add more tests.
45480         (clog10_test): Likewise.
45481         * sysdeps/i386/fpu/libm-test-ulps: Update.
45482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45484         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45485         (pltexit): Likewise.
45486         (La_regs): Likewise.
45487         (La_retval): Likewise.
45488         (int_retval): Likewise.
45489         Update #error for removed macros to refer only to definitions in
45490         tst-audit.h.
45491         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45492         macro.
45493         (pltexit): Likewise.
45494         (La_regs): Likewise.
45495         (La_retval): Likewise.
45496         (int_retval): Likewise.
45497         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45498         macro.
45499         (pltexit): Likewise.
45500         (La_regs): Likewise.
45501         (La_retval): Likewise.
45502         (int_retval): Likewise.
45503         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45504         macro.
45505         (pltexit): Likewise.
45506         (La_regs): Likewise.
45507         (La_retval): Likewise.
45508         (int_retval): Likewise.
45509         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45510         macro.
45511         (pltexit): Likewise.
45512         (La_regs): Likewise.
45513         (La_retval): Likewise.
45514         (int_retval): Likewise.
45515         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45516         macro.
45517         (pltexit): Likewise.
45518         (La_regs): Likewise.
45519         (La_retval): Likewise.
45520         (int_retval): Likewise.
45521         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45522         macro.
45523         (pltexit): Likewise.
45524         (La_regs): Likewise.
45525         (La_retval): Likewise.
45526         (int_retval): Likewise.
45527         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45528         macro definitions in tst-audit.h.
45529         * sysdeps/i386/tst-audit.h: New file.
45530         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45531         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45532         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45533         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45534         * sysdeps/sh/tst-audit.h: Likewise.
45535         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45536         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45537         * sysdeps/x86_64/tst-audit.h: Likewise.
45539 2012-07-26  Andreas Jaeger  <aj@suse.de>
45541         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45542         ptrace.
45544         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45545         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45546         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45547         PTRACE_O_MASK.
45548         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45549         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45550         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45552         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45553         value.
45555         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45556         _sigsys.
45557         (si_call_addr, si_syscall, si_arch): Define new macro.
45558         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45559         _sigsys.
45560         (si_call_addr, si_syscall, si_arch): Define new marcro.
45561         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45562         _sigsys.
45563         (si_call_addr, si_syscall, si_arch): Define new macro.
45564         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45565         _sigsys.
45566         (si_call_addr, si_syscall, si_arch): Define new macro.
45568 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45570         [BZ #13717]
45571         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45572         Change to 2.4.21 where previously 2.4.1.
45573         * sysdeps/unix/sysv/linux/configure: Regenerated.
45574         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45575         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45576         Linux kernel version.
45577         (__ASSUME_STD_AUXV): Remove.
45578         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45579         kernel version.
45580         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45581         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45582         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45583         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45584         (__ASSUME_NETLINK_SUPPORT): Likewise.
45585         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45586         (__no_netlink_support): Remove conditional definition.
45587         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45588         Remove.
45589         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45590         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45591         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45592         (if_nameindex_ioctl): Remove.
45593         (if_nameindex_netlink): Do not handle __no_netlink_support.
45594         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45595         code.
45596         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45597         Remove conditional code.
45598         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45599         code.
45600         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45601         unconditional.
45602         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45603         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45604         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45605         Remove.
45606         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45607         [!__ASSUME_STD_AUXV]: Remove conditional code.
45608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45609         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45610         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45612         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45613         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45614         code.
45615         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45617         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45618         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45619         conditional code.
45620         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45622         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45623         code.
45624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45625         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45626         conditional code.
45627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45628         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45629         code unconditional.
45630         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45631         conditional code.
45632         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45633         unconditional.
45634         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45635         conditional code.
45636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45637         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45638         unconditional.
45639         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45640         conditional code.
45641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45642         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45643         code unconditional.
45644         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45645         conditional code.
45646         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45647         unconditional.
45648         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45649         conditional code.
45650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45651         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45652         code unconditional.
45653         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45654         conditional code.
45655         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45656         unconditional.
45657         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45658         conditional code.
45660 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45662         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45663         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45664         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45665         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45666         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45667         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45668         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45669         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45670         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45671         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45672         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45673         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45674         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45675         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45676         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45677         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45678         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45679         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45680         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45681         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45682         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45683         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45684         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45686 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45688         * Versions.def: Add GLIBC_2.17.
45689         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45690         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45691         Introduce __libc_secure_getenv.
45692         * stdlib/Versions (2.17): Add secure_getenv
45693         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45694         * stdlib/secure-getenv.c: Rename __secure_getenv to
45695         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45696         symbol __secure_getenv for GLIBC_2.0.
45697         * stdlib/tst-secure-getenv.c: New.
45698         * stdlib/Makefile (tests): Add testcase.
45699         * manual/startup.texi (Environment Access): Document
45700         secure_getenv.
45701         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45702         __libc_secure_getenv.
45703         * inet/ruserpass.c (ruserpass): Likewise.
45704         * malloc/mtrace.c (mtrace): Likewise.
45705         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45706         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45707         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45708         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45709         HAVE_SECURE_GETENV.
45710         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45711         __secure_getenv to __libc_secure_getenv.
45712         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45714         Likewise.
45715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45716         Likewise.
45717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45719         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45725 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45727         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45728         (struct La_i86_retval): Likewise.
45729         (struct La_x86_64_regs): Likewise.
45730         (struct La_x86_64_retval): Likewise.
45731         (struct La_x32_regs): Likewise.
45732         (struct La_x32_retval): Likewise.
45733         (struct La_ppc32_regs): Likewise.
45734         (struct La_ppc32_retval): Likewise.
45735         (struct La_ppc64_regs): Likewise.
45736         (struct La_ppc64_retval): Likewise.
45737         (struct La_sh_regs): Likewise.
45738         (struct La_sh_retval): Likewise.
45739         (struct La_s390_32_regs): Likewise.
45740         (struct La_s390_32_retval): Likewise.
45741         (struct La_s390_64_regs): Likewise.
45742         (struct La_s390_64_retval): Likewise.
45743         (struct La_sparc32_regs): Likewise.
45744         (struct La_sparc32_retval): Likewise.
45745         (struct La_sparc64_regs): Likewise.
45746         (struct La_sparc64_retval): Likewise.
45747         (struct audit_ifaces): Remove architecture-specific pltenter and
45748         pltexit members.
45749         * sysdeps/i386/ldsodefs.h: New file.
45750         * sysdeps/powerpc/ldsodefs.h: Likewise.
45751         * sysdeps/s390/ldsodefs.h: Likewise.
45752         * sysdeps/sh/ldsodefs.h: Likewise.
45753         * sysdeps/sparc/ldsodefs.h: Likewise.
45754         * sysdeps/x86_64/ldsodefs.h: Likewise.
45756 2012-07-25  Marek Polacek  <polacek@redhat.com>
45758         [BZ #6808]
45759         * math/libm-test.inc (yn_test): Add another test.
45760         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45761         to ERANGE when the result is +-Inf.
45762         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45763         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45764         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45765         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45767 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45769         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45770         equal to 0.
45771         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45772         clock_t.
45773         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45775 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45777         * configure.in <sysdeps resolving>: Correct printing
45778         Implies_before.
45779         * configure: Regenerate.
45781 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45783         * math/w_ilogb.c: Include <limits.h>.
45784         * math/w_ilogbl.c: Likewise.
45786 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45788         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45789         va_copy.  Document allowing for unavailable va_copy only as
45790         pre-C99 compatibility.
45791         * manual/string.texi (Copying and Concatenation): Use va_copy
45792         instead of __va_copy in concat example.
45794 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45796         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45797         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45798         it if not null.
45800         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45801         with O_NOLINK passed to __file_name_lookup.
45803         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45804         with O_NOLINK passed to __file_name_lookup.
45806         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45807         negative N or less than NGIDS.
45809         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45810         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45811         enough.  Use memcpy instead of strncpy.
45813 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45815         * elf/Makefile (check-data): Remove.
45816         (localplt.data): New vpath directive.
45817         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45818         instead of $(check-data).
45819         * scripts/data/localplt-generic.data: Move to ...
45820         * sysdeps/generic/localplt.data: ... here.
45821         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45822         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45823         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45825         ... here.
45826         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45828         ... here.
45829         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45831         ... here.
45832         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45834         ... here.
45835         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45837         ... here.
45838         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45840         ... here.
45842 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45844         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45845         PPC32 and PPC64 files.
45846         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45847         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45849 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45851         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45852         __makecontext_ret to ...
45853         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45854         ... here and call exit if uc_link is NULL.  New file.
45855         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45856         __makecontext_ret.S.
45857         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45858         __makecontext_ret to ...
45859         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45860         ... here and call exit if uc_link is NULL.  New file.
45861         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45862         __makecontext_ret.S.
45864 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45866         * elf/elf.h (R_390_IRELATIVE): New definition.
45867         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45868         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45869         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45870         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45871         (elf_machine_lazy_rel): Likewise.
45872         * sysdeps/s390/dl-irel.h: New file.
45873         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45874         * sysdeps/s390/s390-64/memset.S: New asm code.
45875         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45876         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45877         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45878         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45879         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45880         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45881         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45882         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45883         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45884         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45885         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45886         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45887         * sysdeps/s390/s390-32/memset.S: New asm code.
45888         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45890 2012-07-17  Marek Polacek  <polacek@redhat.com>
45892         [BZ #14349]
45893         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45894         * sysdeps/s390/s390-64/configure.in: Likewise.
45895         * sysdeps/sparc/configure.in: Likewise.
45896         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45897         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45898         * sysdeps/i386/configure.in: Likewise.
45899         * sysdeps/x86_64/configure.in: Likewise.
45900         * sysdeps/sh/configure.in: Likewise.
45901         * sysdeps/s390/s390-32/configure: Regenerated.
45902         * sysdeps/s390/s390-64/configure: Likewise.
45903         * sysdeps/x86_64/configure: Likewise.
45904         * sysdeps/sh/configure: Likewise.
45905         * sysdeps/powerpc/powerpc64/configure: Likewise.
45906         * sysdeps/powerpc/powerpc32/configure: Likewise.
45907         * sysdeps/sparc/configure: Likwise.
45908         * sysdeps/i386/configure: Likewise.
45910         * elf/dl-open.c: Comment fixes.
45912 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45914         * Makefile [CXX] (check-data): Remove.
45915         [CXX] (c++-types.data): New vpath directive.
45916         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45917         vpath.  Do not allow for C++ type data being missing.
45918         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45919         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45920         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45921         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45922         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45923         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45924         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45926         ... here.
45927         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45929         ... here.
45930         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45932         ... here.
45933         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45935         ... here.
45936         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45938         ... here.
45939         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45941         ... here.
45942         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45944         ... here.
45945         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45948         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45949         definitions to architecture-specific files.
45950         (TLS_IE): Likewise.
45951         (TLS_LD): Likewise.
45952         (TLS_GD): Likewise.
45953         * sysdeps/i386/tls-macros.h: New file.
45954         * sysdeps/powerpc/tls-macros.h: Likewise.
45955         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45956         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45957         * sysdeps/sh/tls-macros.h: Likewise.
45958         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45959         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45960         * sysdeps/x86_64/tls-macros.h: Likewise.
45962 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45964         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45965         zero value for regular exit case.
45967         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45968         (__start_context): Preserve zero value for regular exit case.
45970 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45971             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45973         * manual/setjmp.texi (setcontext): Clarify normal process
45974         termination when uc_link is the null pointer.
45975         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45976         exit call.
45978 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45980         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45981         preprocessor.  Test for each exception mask separately.
45983 2012-07-16  Andreas Jaeger  <aj@suse.de>
45985         * po/ru.po: Update from translation team.
45987 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45989         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45990         equal to 0.
45991         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45992         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45993         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45994         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45995         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45997 2012-07-13  Andreas Jaeger  <aj@suse.de>
45999         * po/fr.po: Update from translation team.
46001 2012-07-12  Marek Polacek  <polacek@redhat.com>
46003         [BZ #14173]
46004         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46005         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46006         loop condition.
46008 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46010         [BZ #13717]
46011         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46012         Change to 2.4.1 where previously 2.4.0.
46013         * sysdeps/unix/sysv/linux/configure: Regenerated.
46014         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46015         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46016         version.
46017         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46018         (__ASSUME_AT_CLKTCK): Remove.
46019         (__ASSUME_AT_PAGESIZE): Likewise.
46020         (__ASSUME_AT_XID): Likewise.
46021         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46022         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46023         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46024         unconditionally.
46025         (HAVE_AUX_PAGESIZE): Likewise.
46026         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46027         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46028         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46030 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46032         [BZ #14307]
46033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46034         the temporary buffer used to invoke __gethostbyname2_r,
46035         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46036         host_data / struct gaih_addrtuple.
46037         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46038         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46039         header file nss/nsswitch.h.
46040         * nss/nsswitch.h (global scope): Add definition of implementation
46041         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46042         resolv/nss_dns/dns-host.c).
46044 2012-07-11  Andreas Jaeger  <aj@suse.de>
46046         * po/fr.po: Update from translation team.
46048         * po/sv.po: Update from translation team
46049         * po/fr.po: Another update from translation team.
46051 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46053         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46054         for subnormals or multiply small sinh result by itself.
46055         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46058 2012-07-11  David S. Miller  <davem@davemloft.net>
46060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46062 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46064         [BZ #14347]
46065         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46066         (INTERNAL_MARK): Shift it here.
46068 2012-07-10  Marek Polacek  <polacek@redhat.com>
46070         [BZ #14151]
46071         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46072         libc_cv_asm_global_directive with .globl.
46073         * configure: Regenerated.
46074         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46075         with .globl.
46076         * sysdeps/i386/configure: Regenerated.
46077         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46078         with .globl.
46079         * sysdeps/x86_64/configure: Regenerated.
46080         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46081         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46082         * elf/tst-unique2mod2.c: Likewise.
46083         * elf/tst-unique2mod1.c: Likewise.
46084         * elf/tst-unique1mod2.c: Likewise.
46085         * elf/tst-unique1mod1.c: Likewise.
46086         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46087         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46088         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46089         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46090         * sysdeps/mach/sysdep.h: Likewise.
46091         * sysdeps/i386/sysdep.h: Likewise.
46092         * sysdeps/i386/i386-mcount.S: Likewise.
46093         * sysdeps/x86_64/_mcount.S: Likewise.
46094         * sysdeps/x86_64/sysdep.h: Likewise.
46095         * sysdeps/sh/_mcount.S: Likewise.
46096         * sysdeps/sh/sysdep.h: Likewise.
46097         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46098         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46099         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46100         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46101         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46102         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46103         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46104         * locale/localeinfo.h: Likewise.
46105         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46106         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46108 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46110         [BZ #14336]
46111         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46112         system".
46113         * manual/message.texi (The Uniforum approach): Likewise.
46114         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46115         (glibc iconv Implementation): Likewise.
46117 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46119         [BZ #14337]
46120         * math/s_clog.c (__clog): Avoid scaling a value down where that
46121         could result in underflow.
46122         * math/s_clog10.c (__clog10): Likewise.
46123         * math/s_clog10f.c (__clog10f): Likewise.
46124         * math/s_clog10l.c (__clog10l): Likewise.
46125         * math/s_clogf.c (__clogf): Likewise.
46126         * math/s_clogl.c (__clogl): Likewise.
46127         * math/libm-test.inc (clog_test): Add more tests.
46128         (clog10_test): Likewise.
46129         * sysdeps/i386/fpu/libm-test-ulps: Update.
46130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46132 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46134         [BZ #14283]
46135         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46136         by 7 not 8 to examine high bit of fractional part.
46138         [BZ #14042]
46139         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46140         for call to __mcount_internal.
46141         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46142         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46143         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46145 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46147         [BZ #14154]
46148         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46149         approximation for values within 0x1p-13f of an odd multiple of
46150         pi/4.
46151         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46152         exception.  Add more tests.
46153         * sysdeps/i386/fpu/libm-test-ulps: Update.
46155         [BZ #6778]
46156         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46157         inputs and return -1 for them.  Do not check for +Inf in case not
46158         reachable for +Inf.
46159         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46160         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46161         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46162         and return -1 for them.  Do not check for +Inf in case not
46163         reachable for +Inf.
46164         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46165         define.
46166         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46167         and return -1 for them.  Do not check for +Inf in case not
46168         reachable for +Inf.
46169         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46170         spurious underflow.
46171         * sysdeps/i386/fpu/libm-test-ulps: Update.
46172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46174 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46176         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46178 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46180         [BZ #14157]
46181         [BZ #14331]
46182         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46183         could result in spurious underflow.  Scale down values above
46184         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46185         * math/s_csqrtf.c (__csqrtf): Likewise.
46186         * math/s_csqrtl.c (__csqrtl): Likewise.
46187         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46188         spurious underflow.
46189         * sysdeps/i386/fpu/libm-test-ulps: Update.
46190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46192 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46194         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46195         xopen-msg.sed.
46196         * catgets/xopen-msg.awk: New file.
46197         * catgets/xopen-msg.sed: Removed.
46199         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46200         po2text.sed.
46201         * intl/po2test.awk: New file.
46202         * intl/po2test.sed: Removed.
46204 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46206         [BZ #14328]
46207         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46208         or multiply small sinh result by itself.
46209         * math/s_ctanf.c (__ctanf): Likewise.
46210         * math/s_ctanh.c (__ctanh): Likewise.
46211         * math/s_ctanhf.c (__ctanhf): Likewise.
46212         * math/s_ctanhl.c (__ctanhl): Likewise.
46213         * math/s_ctanl.c (__ctanl): Likewise.
46214         * math/libm-test.inc (ctan_test_tonearest): New function.
46215         (ctan_test_towardzero): Likewise.
46216         (ctan_test_downward): Likewise.
46217         (ctan_test_upward): Likewise.
46218         (ctanh_test_tonearest): Likewise.
46219         (ctanh_test_towardzero): Likewise.
46220         (ctanh_test_downward): Likewise.
46221         (ctanh_test_upward): Likewise.
46222         (main): Call these new functions.
46223         * sysdeps/i386/fpu/libm-test-ulps: Update.
46224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46226 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46228         * .gitignore: Delete /ports entry.
46230 2012-07-03  Andreas Jaeger  <aj@suse.de>
46232         * po/bg.po: Update from translation team.
46233         * po/cs.po: Likewise.
46234         * po/de.po: Likewise.
46235         * po/hr.po: Likewise.
46236         * po/nl.pl: Likewise.
46237         * po/pl.po: Likewise.
46238         * po/vi.po: Likewise.
46240 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46242         * Makeconfig [!+link] (+link-before-libc): New variable.
46243         [!+link] (+link-after-libc): Likewise.
46244         [!+link] (+link-tests): Likewise.
46245         [!+link] (+link): Define in terms of $(+link-before-libc) and
46246         $(+link-after-libc).
46247         [!+link-static] (+link-static-before-libc): New variable.
46248         [!+link-static] (+link-static-after-libc): Likewise.
46249         [!+link-static] (+link-static-tests): Likewise.
46250         [!+link-static] (+link-static): Define in terms of
46251         $(+link-static-before-libc) and $(+link-static-after-libc).
46252         [build-shared] (link-libc-before-gnulib): New variable.
46253         [build-shared] (link-libc-tests): Likewise.
46254         [build-shared] (link-libc): Define in terms of
46255         $(link-libc-before-gnulib).
46256         [!build-shared] (link-libc-tests): New variable.
46257         (link-libc-static-tests): New variable.
46258         [!gnulib] (gnulib-arch): New variable.
46259         [!gnulib] (gnulib-tests): Likewise.
46260         [!gnulib] (static-gnulib-arch): Likewise.
46261         [!gnulib] (static-gnulib-tests): Likewise.
46262         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46263         Define with "=" instead of ":=".
46264         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46265         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46266         * Rules (binaries-all-notests): New variable.
46267         (binaries-all-tests): Likewise.
46268         (binaries-static-notests): Likewise.
46269         (binaries-static-tests): Likewise.
46270         (binaries-all): Define using $(binaries-all-notests) and
46271         $(binaries-all-tests).
46272         (binaries-static): Define using $(binaries-static-notests) and
46273         $(binaries-static-tests).
46274         (binaries-shared-tests): New variable.
46275         (binaries-shared-notests): Likewise.
46276         (binaries-shared): Remove variable.
46277         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46278         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46279         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46280         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46281         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46282         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46283         * elf/Makefile (sln-modules): New variable.
46284         (extra-objs): Add $(sln-modules:=.o).
46285         (ldconfig-modules): Add static-stubs.
46286         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46287         * elf/static-stubs.c: New file.
46289         [BZ #14283]
46290         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46291         by 7 not 8 to examine high bit of fractional part.  Use volatile
46292         variables when splitting into final array of floats if
46293         __FLT_EVAL_METHOD__ != 0.
46294         * math/libm-test.inc (cos_test): Add another test.
46295         (sin_test): Likewise.
46296         * sysdeps/i386/fpu/libm-test-ulps: Update.
46298         [BZ #14273]
46299         * math/libm-test.inc (cosh_test): Add more tests.
46301         * version.h (RELEASE): Set to "development".
46302         (VERSION): Set to "2.16.90".
46304 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46306         * NEWS: Update copyright. Remove last-updated date.
46307         Mention math library bug fixes and timezone data changes.
46308         * README: Mention GNU/Hurd, x32, and HPPA support status.
46310 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46312         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46314 2012-06-27  Andreas Jaeger  <aj@suse.de>
46316         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46318 2012-06-25  Andreas Jaeger  <aj@suse.de>
46320         * sysdeps/s390/fpu/libm-test-ulps: Update.
46322 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46323             Thomas Schwinge  <thomas@codesourcery.com>
46325         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46326         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46327         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46328         fanotify_mark.
46330 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46332         * sysdeps/mach/start.c: Remove file.
46333         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46334         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46335         * sysdeps/sh/init-first.c: Likewise.
46337         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46338         registers for frame unwinding purposes, add CFI directives.
46339         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46340         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46341         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46342         Likewise.
46344         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46345         __fortify_fail returning.
46346         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46348         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46349         sysdeps/sh/____longjmp_chk.S.
46350         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46351         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46352         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46353         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46355         * sysdeps/sh/abort-instr.h: New file.
46356         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46357         process in case exit returns.
46359         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46360         initialize the GOT register before use.
46362         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46363         calculation of ARGC > 4.
46365         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46366         meaningful names to some local labels.
46368 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46369             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46371         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46372         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46373         (__arch_compare_and_exchange_val_16_acq): Likewise.
46374         (__arch_compare_and_exchange_val_32_acq): Likewise.
46375         (atomic_exchange_and_add): Fix gUSA sequence.
46376         (atomic_add): Likewise.
46377         (atomic_add_negative): Likewise.
46378         (atomic_add_zero): Likewise.
46379         (atomic_bit_test_set): Likewise.
46381 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46383         [BZ #13579]
46384         * include/link.h (struct link_map): Add l_free_initfini.
46385         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46386         l_initfini.
46387         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46388         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46389         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46390         set.
46392 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46394         * configure.in: Use AC_LANG_SOURCE.
46395         * configure: Regenerate.
46397 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46399         * configure.in (libc_cv_localstatedir): New substituted variable.
46400         * configure: Regenerated.
46401         * config.make.in (localstatedir): New variable, substituted from
46402         libc_cv_localstatedir.
46403         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46404         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46405         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46406         * sysdeps/gnu/configure: Regenerated.
46408 2012-06-21  Jeff Law  <law@redhat.com>
46410         [BZ #14277]
46411         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46412         free.  Simplify list management for _LIBC case.
46414 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46416         [BZ #14273]
46417         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46418         Clear sign bit of 64-bit integer value before comparing against
46419         overflow value.
46421         * sysdeps/mach/configure: Regenerated.
46423 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46425         [BZ #14278]
46426         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46428 2012-06-21  Jeff Law  <law@redhat.com>
46430         [BZ #13882]
46431         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46432         uint16_t for elements in the "seen" array to avoid char overflows.
46433         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46434         * elf/dl-open.c (dl_open_worker): Likewise.
46436 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46438         * scripts/list-sources.sh: Scan PORTS for translations.
46439         * po/libc.pot: Regenerated.
46441 2012-06-21  Andreas Jaeger  <aj@suse.de>
46443         [BZ #12194]
46444         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46445         warning.
46446         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46447         * bits/byteswap-16.h (__bswap_16): Likewise.
46448         * bits/byteswap.h (__bswap_constant_16): Likewise.
46450 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46452         [BZ #14117]
46453         * sysdeps/i386/fpu_control.h: Removed.
46454         * sysdeps/x86_64/fpu_control.h: Moved to ...
46455         * sysdeps/x86/fpu_control.h: Here.
46457         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46458         (_FPU_SETCW): Likewise.
46460 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46462         [BZ #14117]
46463         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46464         * sysdeps/x86/fpu/bits/mathinline.h: This.
46465         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46467         [BZ #14050]
46468         [BZ #14117]
46469         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46470         functions if __x86_64__ is defined.
46472 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46474         * string/endian.h: Add !__ASSEMBLER__ condition for including
46475         conversion interfaces.
46477 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46479         [BZ #14241]
46480         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46481         of ABS(x) in calculating zero to negative powers other than odd
46482         integers.
46483         * math/libm-test.inc (pow_test): Add more tests.
46485 2012-06-15  Andreas Jaeger  <aj@suse.de>
46487         * manual/contrib.texi (Contributors): Update entry of Liubov
46488         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46489         Machado Filho.
46491 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46493         * string/string.h: Add __wur to GNU version of strerror_r.
46495 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46497         [BZ #14229]
46498         * string/Makefile (tests): Add tst-strtok_r.
46499         * string/tst-strtok_r.c: New file.
46500         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46501         RAX_LP/RDX_LP on SAVE_PTR.
46503 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46505         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46507 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46509         * libm_test.inc (csqrt_test): Allow more spurious underflow
46510         exceptions.
46511         (j0_test): Likewise.
46512         (j1_test): Likewise.
46513         (y0_test): Likewise.
46514         (y1_test): Likewise.
46516 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46518         * po/Makefile (libc.pot): Use UTF-8 charset.
46520 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46522         [BZ #14210]
46523         Suppress sign-conversion warning from FD_SET.
46524         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46525         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46526         not unsigned long int.
46527         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46529 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46531         [BZ #14050]
46532         [BZ #14117]
46533         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46534         __extern_always_inline instead of __extern_inline.
46535         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46536         (__signbit): Likewise.
46537         (__signbitl): Support C++ namespace.
46538         (lrintf): New inline function.
46539         (lrint): Likewise.
46540         (llrintf): Likewise.
46541         (llrint): Likewise.
46542         (fmaxf): Likewise.
46543         (fmax): Likewise.
46544         (fminf): Likewise.
46545         (fmin): Likewise.
46546         (rint): Likewise.
46547         (rintf): Likewise.
46548         (ceil): Likewise.
46549         (ceilf): Likewise.
46550         (floor): Likewise.
46551         (floorf): Likewise.
46552         (nearbyint): Likewise.
46553         (nearbyintf): Likewise.
46555 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46557         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46558         non-default versions.
46560 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46562         [BZ #14218]
46563         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46565 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46567         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46568         (FE_UPWARD, FE_DOWNWARD): Don't define.
46569         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46570         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46572         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46573         reading it.
46574         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46575         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46577 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46579         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46580         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46581         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46582         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46584 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46586         [BZ #14117]
46587         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46588         * sysdeps/i386/fpu/Implies: New file.
46589         * sysdeps/x86_64/fpu/Implies: Likewise.
46590         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46591         * sysdeps/x86/fpu/bits/fenv.h: This.
46593         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46594         __SSE_MATH__.
46596 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46598         [BZ #14134]
46599         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46600         character 0xffff that matches the last element of the
46601         conversion table.
46603 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46605         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46606         fmodl commit.
46608 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46610         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46611         values higher than 25.6283.
46613 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46615         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46616         subnormal exponent extraction and add some __builtin_expect.
46617         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46618         Fix for subnormal mantissa calculation.
46620 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46622         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46623         cpu2 is -1 and errno is not ENOSYS.
46625 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46627         [BZ #14117]
46628         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46629         * sysdeps/x86/bits/string.h: This.
46630         * sysdeps/x86_64/bits/string.h: Removed.
46632         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46633         if not compiling for x86-64, but compiling for >= i486.
46635         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46636         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46638         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46639         New macro from Linux kernel 3.4.0.
46640         (FP_XSTATE_MAGIC2): Likewise.
46641         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46642         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46643         (struct _fpx_sw_bytes): New struct.
46644         (struct _xsave_hdr): Likewise.
46645         (struct _ymmh_state): Likewise.
46646         (struct _xstate): Likewise.
46648         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46649         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46650         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46651         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46652         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46653         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46655         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46656         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46657         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46658         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46659         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46660         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46662 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46664         [BZ #13743]
46665         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46666         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46667         (sysdep_headers): Include sys/platform/ppc.h.
46668         * sysdeps/powerpc/test-gettimebase.c: Test for
46669         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46670         * manual/Makefile (appendices): Include platform.texi.
46671         * manual/contrib.texi (Contributors): Update @node pointers.
46672         * manual/maint.texi (Maintenance): Likewise.
46673         (Platform): New node.
46674         * manual/platform.texi: New file.  Document the new features.
46676 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46677             Jakub Jelinek  <jakub@redhat.com>
46679         [BZ #14188]
46680         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46681         where __builtin_expect is unavailable.
46683 2012-06-03  David S. Miller  <davem@davemloft.net>
46685         * stdlib/longlong.h: Updated from GCC.
46687 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46689         [BZ #14042]
46690         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46691         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46692         __mcount_internal.
46693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46694         (GLIBC_2.16): Likewise.
46696 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46698         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46700 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46703         (default-abi): New variable.
46704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46705         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46706         variable.
46707         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46708         Likewise.
46709         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46710         Likewise.
46711         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46712         Likewise.
46714         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46715         definition.  Document in comment.
46717 2012-06-01  David S. Miller  <davem@davemloft.net>
46719         * stdlib/longlong.h: Updated from GCC.
46721 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46723         [BZ #14117]
46724         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46725         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46726         sys/debugreg.h sys/io.h here.
46727         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46728         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46729         sys/io.h.
46730         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46731         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46732         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46733         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46734         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46735         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46737         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46738         Define only if __x86_64__ is defined.
46740 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46742         [BZ #14048]
46743         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46744         Use int64_t for variable i.
46745         * math/libm-test.inc (fmod_test): Add more tests.
46747         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46748         z computation is not scheduled after fetestexcept.
46749         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46750         Use math_force_eval instead of asm to ensure calculation scheduled
46751         before exception test.
46752         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46753         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46755 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46758         computation is not scheduled after fetestexcept.
46760 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46762         [BZ #14117]
46763         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46764         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46766 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46768         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46769         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46771 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46773         [BZ #14117]
46774         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46775         <bits/wordsize.h>.
46776         (__WCHAR_MIN): Support __WORDSIZE == 64.
46777         (__WCHAR_MAX): Likewise.
46779         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46780         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46782         [BZ #14183]
46783         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46784         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46786         [BZ #14117]
46787         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46788         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46790         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46791         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46793         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46794         Defined to 1 if __x86_64__ isn't defined.
46795         (_STAT_VER_LINUX_OLD): New.
46796         (st_atime): Remove duplicate.
46797         (st_mtime): Likewise.
46798         (st_ctime): Likewise.
46800 2012-05-31  David S. Miller  <davem@davemloft.net>
46802         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46803         entries.
46805 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46807         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46808         gen-libm-test.pl.
46810         [BZ #14132]
46811         * elf/dl-reloc.c: Include <_itoa.h>.
46812         (_dl_reloc_bad_type): Remove use of INTUSE.
46813         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46814         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46815         * stdio-common/psiginfo.c (psiginfo): Likewise.
46816         * stdio-common/psignal.c (psignal): Likewise.
46817         * string/strsignal.c (strsignal): Likewise.
46818         * include/signal.h (_sys_siglist): Declare hidden proto.
46819         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46820         INTVARDEF with libc_hidden_data_def.
46821         * stdio-common/itoa-udigits.c: Likewise.
46822         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46823         (_itoa_lower_digits_internal): Remove declaration.
46824         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46825         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46826         (_sys_sigabbrev_internal): Remove aliases.
46827         (_sys_siglist): Define hidden alias.
46829 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46832         bits/sysctl.h.
46834 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46836         [BZ #14117]
46837         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46838         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46840         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46841         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46842         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46843         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46844         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46845         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46847         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46848         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46849         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46851         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46852         with __addr.
46853         (insw): Likewise.
46854         (insl): Likewise.
46855         (outsb): Likewise.
46856         (outsw): Likewise.
46857         (outsl): Likewise.
46859         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46860         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46861         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46863         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46864         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46865         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46866         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46867         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46868         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46870         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46871         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46873         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46874         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46876         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46877         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46878         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46880         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46881         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46882         to ...
46883         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46885         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46886         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46887         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46889         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46890         for x86-64.
46891         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46893 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46895         * math/math.h (M_El): Use two more decimal places.
46896         (M_LOG2El): Likewise.
46897         (M_LOG10El): Likewise.
46898         (M_LN2l): Likewise.
46899         (M_LN10l): Likewise.
46900         (M_PIl): Likewise.
46901         (M_PI_2l): Likewise.
46902         (M_PI_4l): Likewise.
46903         (M_1_PIl): Likewise.
46904         (M_2_PIl): Likewise.
46905         (M_2_SQRTPIl): Likewise.
46906         (M_SQRT2l): Likewise.
46907         (M_SQRT1_2l): Likewise.
46909 2012-05-31  David S. Miller  <davem@davemloft.net>
46911         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46912         values between float registers.
46913         * sysdeps/sparc/sparc64/memset.S: Likewise.
46914         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46916 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46918         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46919         -D_FORTIFY_SOURCE=1.
46920         (CPPFLAGS-tst-longjmp_chk.c): Define.
46921         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46922         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46923         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46924         CFLAGS-tst-wchar-h.c.
46926 2012-05-31  Marek Polacek  <polacek@redhat.com>
46928         [BZ #14132]
46929         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46930         __endmntent_internal): Remove declaration.
46931         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46932         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46933         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46935 2012-05-30  David S. Miller  <davem@davemloft.net>
46937         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46938         (___Q_simulate_exceptions): Use real FP ops rather than writing
46939         into the %fsr.
46940         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46941         Likewise.
46943 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46945         [BZ #14117]
46946         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46947         * sysdeps/x86/bits/xtitypes.h: This.
46949         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46950         * sysdeps/x86/bits/wordsize.h: This.
46952         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46953         * sysdeps/x86/bits/huge_vall.h: This.
46955         * sysdeps/i386/bits/select.h: Removed.
46956         * sysdeps/x86_64/bits/select.h: Renamed to ...
46957         * sysdeps/x86/bits/select.h: This.
46959         * sysdeps/i386/bits/setjmp.h: Removed.
46960         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46961         * sysdeps/x86/bits/setjmp.h: This.
46963         * sysdeps/i386/bits/mathdef.h: Removed.
46964         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46965         * sysdeps/x86/bits/mathdef.h: This.
46967 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46969         [BZ #14132]
46970         * include/sys/socket.h (__connect_internal)
46971         (__libc_sa_len_internal): Remove declaration.
46972         (__connect, __libc_sa_len): Declare hidden_proto.
46973         (SA_LEN): Remove use of INTUSE.
46974         * socket/connect.c: Add libc_hidden_def.
46975         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46976         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46977         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46978         alias.
46979         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46980         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46981         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46982         of adding _internal alias.
46984 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46986         [BZ #14117]
46987         * sysdeps/i386/bits/link.h: Removed.
46988         * sysdeps/i386/bits/linkmap.h: Likewise.
46989         * sysdeps/x86_64/bits/link.h: Renamed to ...
46990         * sysdeps/x86/bits/link.h: This.
46991         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46992         * sysdeps/x86/bits/linkmap.h: This.
46994         * sysdeps/i386/bits/endian.h: Removed.
46995         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46996         * sysdeps/x86/bits/endian.h: This.
46998         * sysdeps/i386/bits/byteswap.h: Removed.
46999         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47000         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47001         * sysdeps/x86/bits/byteswap.h: This.
47002         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47003         * sysdeps/x86/bits/byteswap-16.h: This.
47004         * sysdeps/i386/Implies: Add x86.
47005         * sysdeps/x86_64/Implies: Likewise.
47007 2012-05-30  David S. Miller  <davem@davemloft.net>
47009         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47010         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47011         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47012         (FP_TRAPPING_EXCEPTIONS): Define.
47013         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47014         (FP_TRAPPING_EXCEPTIONS): Define.
47015         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47016         subnormals only when inexact has been signalled or underflow
47017         exceptions are enabled.
47018         (_FP_PACK_CANONICAL): Likewise.
47020 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47022         [BZ #14183]
47023         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47024         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47026 2012-05-30  Richard Henderson  <rth@twiddle.net>
47028         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47029         with #ifndef NOT_IN_libc.
47031         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47032         marked to avoid plt entry.
47034 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47036         [BZ #14112]
47037         * Makeconfig (default-abi): New macro.
47038         (abi-includes): Likewise.
47039         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47040         $(abi-$(default-abi)-lib-soname) for soname if defined.
47041         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47042         abi-variants.
47043         * Makefile (installed-stubs): Likewise.
47044         * include/stubs-biarch.h: Removed.
47045         * scripts/lib-names.awk: Only handle one library at a time.
47046         * scripts/soversions.awk: Remove WORDSIZE support.
47047         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47048         entries.
47049         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47050         Removed.
47051         (syscall-list-default-condition): Likewise.
47052         (syscall-list-default-condition): Likewise.
47053         (syscall-list-includes): Likewise.
47054         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47055         syscall-list-* with abi-*.  Handle undefined abi-variants.
47056         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47057         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47058         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47059         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47060         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47061         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47062         Removed.
47063         (syscall-list-32-options): Likewise.
47064         (syscall-list-32-condition): Likewise.
47065         (syscall-list-64-options): Likewise.
47066         (syscall-list-64-condition): Likewise.
47067         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47068         macro.
47069         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47070         Renamed to ...
47071         (abi-*): This.
47072         (abi-64-ld-soname): New macro.
47073         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47074         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47075         Renamed to ...
47076         (abi-*): This.
47077         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47078         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47080 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47082         * sysdeps/unix/sysv/linux/kernel-features.h
47083         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47084         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47085         include <kernel-features.h>.
47086         [!__NR_ftruncate64]: Remove conditional code.
47087         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47088         [__NR_ftruncate64]: Make code unconditional.
47089         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47090         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47091         include <kernel-features.h>.
47092         [!__NR_ftruncate64]: Remove conditional code.
47093         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47094         [__NR_ftruncate64]: Make code unconditional.
47095         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47097         include <kernel-features.h>.
47098         [!__NR_ftruncate64]: Remove conditional code.
47099         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47100         [__NR_ftruncate64]: Make code unconditional.
47101         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47103         include <kernel-features.h>.
47104         [!__NR_ftruncate64]: Remove conditional code.
47105         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47106         [__NR_ftruncate64]: Make code unconditional.
47107         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47109         * configure.in (libc_cv_fpie): Weaken to a compile test using
47110         LIBC_TRY_CC_OPTION.
47111         * configure: Regenerated.
47113 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47119         Refreshed.
47120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47126         Refreshed.
47128 2012-05-27  David S. Miller  <davem@davemloft.net>
47130         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47131         (___Q_zero): New.
47132         (__Q_simulate_exceptions): Return void.  Change to simulate
47133         exceptions by writing into the %fsr.
47134         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47135         (__Qp_handle_exceptions): Likewise.
47136         (numbers): Delete.
47137         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47138         __Qp_handle_exceptions.
47139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47140         __Qp_handle_exceptions.
47141         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47142         as unused and give dummy FP_RND_NEAREST initializer.
47143         (FP_INHIBIT_RESULTS): Define.
47144         (___Q_simulate_exceptions): Update declaration.
47145         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47146         formatting.
47147         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47148         as unused and give dummy FP_RND_NEAREST initializer.
47149         (__Qp_handle_exceptions): Update declaration.
47150         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47151         formatting.
47153 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47155         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47156         the temporary FPU control word.
47157         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47158         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47159         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47160         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47161         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47162         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47163         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47164         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47165         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47166         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47167         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47169 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47171         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47172         fields.
47174 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47176         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47177         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47178         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47179         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47180         Likewise.
47181         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47182         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47183         Likewise.
47185 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47187         * po/h.po: Update from translation team.
47189 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47191         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47193         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47194         handling of denormals.
47195         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47196         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47197         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47198         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47199         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47200         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47201         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47202         Likewise.
47204 2012-05-26  Marek Polacek  <polacek@redhat.com>
47206         [BZ #14152]
47207         * math/libm-test.inc (fma_test): Don't always expect underflow
47208         exception.
47210 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47212         [BZ #12416]
47213         * elf/tst-execstack.c: Include stackinfo.h.
47214         (do_test): Adjust test case to ensure that pthread_getattr_np
47215         behaviour remains the same after marking stack executable.
47217 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47219         * sysdeps/unix/sysv/linux/kernel-features.h
47220         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47221         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47222         kernel-features.h.
47223         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47224         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47225         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47226         kernel-features.h.
47227         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47228         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47230 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47232         * configure.in: Define the default includes to being none.
47233         * configure: Regenerated.
47235 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47237         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47238         * sysdeps/x86_64/setjmp.S: Likewise.
47239         * sysdeps/i386/bsd-setjmp.S: Likewise.
47240         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47241         * sysdeps/i386/setjmp.S: Likewise.
47242         * sysdeps/i386/__longjmp.S: Likewise.
47243         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47244         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47246         * include/stap-probe.h: New file.
47247         * configure.in: Handle --enable-systemtap.
47248         * configure: Regenerated.
47249         * config.h.in (USE_STAP_PROBE): New #undef.
47250         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47251         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47252         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47254 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47256         [BZ #13717]
47257         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47258         to 2.4.0 where earlier.
47259         * sysdeps/unix/sysv/linux/configure: Regenerated.
47260         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47261         <kernel-features.h>.
47262         [__ASSUME_32BITUIDS]: Make code unconditional.
47263         [!__ASSUME_32BITUIDS]: Remove conditional code.
47264         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47265         <kernel-features.h>.
47266         [__ASSUME_32BITUIDS]: Make code unconditional.
47267         [!__ASSUME_32BITUIDS]: Remove conditional code.
47268         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47269         [__ASSUME_32BITUIDS]: Make code unconditional.
47270         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47271         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47272         <kernel-features.h>.
47273         [__ASSUME_32BITUIDS]: Make code unconditional.
47274         [!__ASSUME_32BITUIDS]: Remove conditional code.
47275         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47276         <kernel-features.h>.
47277         [__ASSUME_32BITUIDS]: Make code unconditional.
47278         [!__ASSUME_32BITUIDS]: Remove conditional code.
47279         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47280         <kernel-features.h>.
47281         [__ASSUME_32BITUIDS]: Make code unconditional.
47282         [!__ASSUME_32BITUIDS]: Remove conditional code.
47283         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47284         <kernel-features.h>.
47285         [__ASSUME_32BITUIDS]: Make code unconditional.
47286         [!__ASSUME_32BITUIDS]: Remove conditional code.
47287         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47288         <kernel-features.h>.
47289         [__ASSUME_32BITUIDS]: Make code unconditional.
47290         [!__ASSUME_32BITUIDS]: Remove conditional code.
47291         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47292         <kernel-features.h>.
47293         [__ASSUME_32BITUIDS]: Make code unconditional.
47294         [!__ASSUME_32BITUIDS]: Remove conditional code.
47295         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47296         <kernel-features.h>.
47297         [__ASSUME_32BITUIDS]: Make code unconditional.
47298         [!__ASSUME_32BITUIDS]: Remove conditional code.
47299         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47300         <kernel-features.h>.
47301         [__ASSUME_32BITUIDS]: Make code unconditional.
47302         [!__ASSUME_32BITUIDS]: Remove conditional code.
47303         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47304         <kernel-features.h>.
47305         [__ASSUME_32BITUIDS]: Make code unconditional.
47306         [!__ASSUME_32BITUIDS]: Remove conditional code.
47307         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47308         <kernel-features.h>.
47309         [__ASSUME_32BITUIDS]: Make code unconditional.
47310         [!__ASSUME_32BITUIDS]: Remove conditional code.
47311         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47312         <kernel-features.h>.
47313         [__NR_setresgid] (__setresgid): Do not declare.
47314         [__ASSUME_32BITUIDS]: Make code unconditional.
47315         [!__ASSUME_32BITUIDS]: Remove conditional code.
47316         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47317         <kernel-features.h>.
47318         [__NR_setresuid] (__setresuid): Do not declare.
47319         [__ASSUME_32BITUIDS]: Make code unconditional.
47320         [!__ASSUME_32BITUIDS]: Remove conditional code.
47321         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47322         <kernel-features.h>.
47323         [__ASSUME_32BITUIDS]: Make code unconditional.
47324         [!__ASSUME_32BITUIDS]: Remove conditional code.
47325         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47326         <kernel-features.h>.
47327         [__ASSUME_32BITUIDS]: Make code unconditional.
47328         [!__ASSUME_32BITUIDS]: Remove conditional code.
47329         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47330         <kernel-features.h>.
47331         [__ASSUME_32BITUIDS]: Make code unconditional.
47332         [!__ASSUME_32BITUIDS]: Remove conditional code.
47333         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47334         <kernel-features.h>.
47335         [__ASSUME_32BITUIDS]: Make code unconditional.
47336         [!__ASSUME_32BITUIDS]: Remove conditional code.
47337         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47338         <kernel-features.h>.
47339         [__ASSUME_32BITUIDS]: Make code unconditional.
47340         [!__ASSUME_32BITUIDS]: Remove conditional code.
47341         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47342         <kernel-features.h>.
47343         [__ASSUME_32BITUIDS]: Make code unconditional.
47344         [!__ASSUME_32BITUIDS]: Remove conditional code.
47345         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47346         <kernel-features.h>.
47347         [__ASSUME_32BITUIDS]: Make code unconditional.
47348         [!__ASSUME_32BITUIDS]: Remove conditional code.
47349         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47350         <kernel-features.h>.
47351         [__ASSUME_32BITUIDS]: Make code unconditional.
47352         [!__ASSUME_32BITUIDS]: Remove conditional code.
47353         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47354         <kernel-features.h>.
47355         [__ASSUME_32BITUIDS]: Make code unconditional.
47356         [!__ASSUME_32BITUIDS]: Remove conditional code.
47357         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47358         <kernel-features.h>.
47359         [__ASSUME_32BITUIDS]: Make code unconditional.
47360         [!__ASSUME_32BITUIDS]: Remove conditional code.
47361         * sysdeps/unix/sysv/linux/kernel-features.h
47362         (__ASSUME_SETRESUID_SYSCALL): Remove.
47363         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47364         (__ASSUME_32BITUIDS): Likewise.
47365         (__ASSUME_LDT_WORKS): Likewise.
47366         (__ASSUME_O_DIRECTORY): Likewise.
47367         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47368         architecture but not kernel version.
47369         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47370         (__ASSUME_MMAP2_SYSCALL): Likewise.
47371         (__ASSUME_STAT64_SYSCALL): Likewise.
47372         (__ASSUME_IPC64): Likewise.
47373         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47374         <kernel-features.h>.
47375         [__ASSUME_32BITUIDS]: Make code unconditional.
47376         [!__ASSUME_32BITUIDS]: Remove conditional code.
47377         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47378         <kernel-features.h>.
47379         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47380         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47381         132096]: Remove conditional code.
47382         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47383         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47384         <kernel-features.h>.
47385         [__ASSUME_32BITUIDS]: Make code unconditional.
47386         [!__ASSUME_32BITUIDS]: Remove conditional code.
47387         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47388         <kernel-features.h>.
47389         [__ASSUME_32BITUIDS]: Make code unconditional.
47390         [!__ASSUME_32BITUIDS]: Remove conditional code.
47391         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47392         <kernel-features.h>.
47393         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47394         unconditional.
47395         (__setresgid): Do not declare.
47396         [__ASSUME_32BITUIDS]: Make code unconditional.
47397         [!__ASSUME_32BITUIDS]: Remove conditional code.
47398         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47399         <kernel-features.h>.
47400         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47401         unconditional.
47402         (__setresuid): Do not declare.
47403         [__ASSUME_32BITUIDS]: Make code unconditional.
47404         [!__ASSUME_32BITUIDS]: Remove conditional code.
47405         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47406         <kernel-features.h>.
47407         [__ASSUME_32BITUIDS]: Make code unconditional.
47408         [!__ASSUME_32BITUIDS]: Remove conditional code.
47409         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47410         <kernel-features.h>.
47411         [__ASSUME_32BITUIDS]: Make code unconditional.
47412         [!__ASSUME_32BITUIDS]: Remove conditional code.
47414 2012-05-25  Richard Henderson  <rth@twiddle.net>
47416         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47417         dl_hwcap to ifunc resolver.
47418         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47419         elf_ifunc_invoke.
47420         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47421         dl_hwcap to ifunc resolver.
47422         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47424 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47426         [BZ #14153]
47427         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47428         for |x| <= 2**-26, not 2**-57.
47429         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47430         exception.
47432 2012-05-24  Jeff Law  <law@redhat.com>
47434         * stdio-common/Makefile (tests): Add bug25.
47435         * stdio-common/bug25.c: New test.
47437 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47439         [BZ #13576]
47440         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47441         multiple of MALLOC_ALIGNMENT in size.
47442         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47444 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47446         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47447         Require >= 256.
47448         (FILENAME_MAX): Use macro-int-constant.
47449         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47450         (_IOFBF): Use macro-int-constant.
47451         (_IOLBF): Likewise.
47452         (_IONBF): Likewise.
47453         (SEEK_CUR): Likewise.
47454         (SEEK_END): Likewise.
47455         (SEEK_SET): Likewise.
47456         (TMP_MAX): Likewise.
47457         (EOF): Use macro-int-constant.  Require < 0.
47458         (NULL): Use macro-constant.  Require == 0.
47459         (stdin): Require type to be FILE *.
47460         (stdout): Likewise.
47461         (stderr): Likewise.
47462         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47463         macro-int-constant.
47464         (EXIT_SUCCESS): Likewise.
47465         (NULL): Use macro-constant.  Require == 0.
47466         (RAND_MAX): Use macro-int-constant.
47467         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47468         [C99-based standards] (strtof): Require function.
47469         [C99-based standards] (strtold): Likewise.
47470         [C99-based standards] (strtoll): Likewise.
47471         [C99-based standards] (strtoull): Likewise.
47472         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47473         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47474         [ISO || ISO99 || ISO11] (math.h): Likewise.
47475         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47476         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47477         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47479 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47481         [BZ #14132]
47482         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47483         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47484         * intl/dgettext.c (DCGETTEXT): Likewise.
47485         * intl/gettext.c (DCGETTEXT): Likewise.
47486         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47487         * posix/regex_internal.h (gettext): Likewise.
47488         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47489         Remove declaration.
47490         * include/argz.h (__argz_count_internal)
47491         (__argz_stringify_internal): Remove declaration.
47492         (__argz_count, __argz_stringify): Declare hidden proto.
47493         * intl/dcgettext.c: Remove use of INTDEF.
47494         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47495         * string/argz-stringify.c: Likewise.
47496         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47497         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47498         Declare hidden proto.
47499         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47500         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47501         Declare hidden proto.
47502         * include/stdio.h (__asprintf_internal): Don't declare.
47503         (__asprintf): Don't define as macro.  Declare hidden proto.
47504         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47505         (__fsetlocking): Declare hidden proto.
47506         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47507         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47508         hidden proto.
47509         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47510         (_IO_setlinebuf): Remove use of INTUSE.
47511         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47512         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47513         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47514         Remove declaration.
47515         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47516         (_IO_do_flush): Remove use of INTUSE.
47517         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47518         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47519         (_IO_adjust_column, _IO_least_wmarker)
47520         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47521         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47522         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47523         (_IO_default_doallocate, _IO_wdefault_doallocate)
47524         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47525         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47526         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47527         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47528         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47529         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47530         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47531         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47532         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47533         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47534         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47535         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47536         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47537         proto.
47538         (_IO_flush_all_internal, _IO_adjust_column_internal)
47539         (_IO_default_uflow_internal, _IO_default_finish_internal)
47540         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47541         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47542         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47543         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47544         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47545         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47546         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47547         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47548         (_IO_file_close_internal, _IO_file_close_it_internal)
47549         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47550         (_IO_file_init_internal, _IO_file_attach_internal)
47551         (_IO_file_fopen_internal, _IO_file_read_internal)
47552         (_IO_file_sync_internal, _IO_file_seek_internal)
47553         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47554         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47555         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47556         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47557         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47558         (_IO_list_all_internal, _IO_link_in_internal)
47559         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47560         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47561         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47562         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47563         (_IO_do_write_internal, _IO_padn_internal)
47564         (_IO_getline_info_internal, _IO_getline_internal)
47565         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47566         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47567         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47568         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47569         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47570         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47571         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47572         with libc_hidden_ver, remove use of INTUSE.
47573         * libio/genops.c: Likewise.
47574         * libio/freopen.c: Likewise.
47575         * libio/freopen64.c: Likewise.
47576         * libio/iofclose.c: Likewise.
47577         * libio/iofdopen.c: Likewise.
47578         * libio/iofflush.c: Likewise.
47579         * libio/iofflush_u.c: Likewise.
47580         * libio/iofgets.c: Likewise.
47581         * libio/iofgets_u.c: Likewise.
47582         * libio/iofopen.c: Likewise.
47583         * libio/iofopncook.c: Likewise.
47584         * libio/iofread.c: Likewise.
47585         * libio/iofread_u.c: Likewise.
47586         * libio/ioftell.c: Likewise.
47587         * libio/iofwrite.c: Likewise.
47588         * libio/iogetline.c: Likewise.
47589         * libio/iogets.c: Likewise.
47590         * libio/iogetwline.c: Likewise.
47591         * libio/iopadn.c: Likewise.
47592         * libio/iopopen.c: Likewise.
47593         * libio/ioseekoff.c: Likewise.
47594         * libio/ioseekpos.c: Likewise.
47595         * libio/iosetbuffer.c: Likewise.
47596         * libio/iosetvbuf.c: Likewise.
47597         * libio/ioungetc.c: Likewise.
47598         * libio/ioungetwc.c: Likewise.
47599         * libio/iovdprintf.c: Likewise.
47600         * libio/iovsprintf.c: Likewise.
47601         * libio/iovsscanf.c: Likewise.
47602         * libio/memstream.c: Likewise.
47603         * libio/obprintf.c: Likewise.
47604         * libio/oldfileops.c: Likewise.
47605         * libio/oldiofclose.c: Likewise.
47606         * libio/oldiofdopen.c: Likewise.
47607         * libio/oldiofopen.c: Likewise.
47608         * libio/oldiopopen.c: Likewise.
47609         * libio/oldstdfiles.c: Likewise.
47610         * libio/putc.c: Likewise.
47611         * libio/setbuf.c: Likewise.
47612         * libio/setlinebuf.c: Likewise.
47613         * libio/stdfiles.c: Likewise.
47614         * libio/strops.c: Likewise.
47615         * libio/vasprintf.c: Likewise.
47616         * libio/vscanf.c: Likewise.
47617         * libio/vsnprintf.c: Likewise.
47618         * libio/vswprintf.c: Likewise.
47619         * libio/wfiledoalloc.c: Likewise.
47620         * libio/wfileops.c: Likewise.
47621         * libio/wgenops.c: Likewise.
47622         * libio/wmemstream.c: Likewise.
47623         * libio/wstrops.c: Likewise.
47624         * libio/__fpurge.c: Likewise.
47625         * libio/__fsetlocking.c: Likewise.
47626         * assert/assert.c: Likewise.
47627         * debug/fgets_chk.c: Likewise.
47628         * debug/fgets_u_chk.c: Likewise.
47629         * debug/fread_chk.c: Likewise.
47630         * debug/fread_u_chk.c: Likewise.
47631         * debug/gets_chk.c: Likewise.
47632         * debug/obprintf_chk.c: Likewise.
47633         * debug/vasprintf_chk.c: Likewise.
47634         * debug/vdprintf_chk.c: Likewise.
47635         * debug/vsnprintf_chk.c: Likewise.
47636         * debug/vsprintf_chk.c: Likewise.
47637         * malloc/mtrace.c: Likewise.
47638         * misc/error.c: Likewise.
47639         * misc/syslog.c: Likewise.
47640         * stdio-common/asprintf.c: Likewise.
47641         * stdio-common/fxprintf.c: Likewise.
47642         * stdio-common/getw.c: Likewise.
47643         * stdio-common/isoc99_fscanf.c: Likewise.
47644         * stdio-common/isoc99_scanf.c: Likewise.
47645         * stdio-common/isoc99_vfscanf.c: Likewise.
47646         * stdio-common/isoc99_vscanf.c: Likewise.
47647         * stdio-common/isoc99_vsscanf.c: Likewise.
47648         * stdio-common/printf-prs.c: Likewise.
47649         * stdio-common/printf_fp.c: Likewise.
47650         * stdio-common/printf_fphex.c: Likewise.
47651         * stdio-common/printf_size.c: Likewise.
47652         * stdio-common/putw.c: Likewise.
47653         * stdio-common/scanf.c: Likewise.
47654         * stdio-common/sprintf.c: Likewise.
47655         * stdio-common/tmpfile.c: Likewise.
47656         * stdio-common/vfprintf.c: Likewise.
47657         * stdio-common/vfscanf.c: Likewise.
47658         * stdlib/strfmon_l.c: Likewise.
47659         * sunrpc/openchild.c: Likewise.
47660         * sunrpc/xdr_stdio.c: Likewise.
47661         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47662         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47664 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47666         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47668         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47669         in the third column, to generate for the shared library an IFUNC
47670         that uses _dl_vdso_vsym.
47671         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47672         * Makeconfig (object-suffixes-noshared): New variable.
47674         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47675         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47676         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47677         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47679         [BZ #14132]
47680         * include/sys/time.h (__gettimeofday): Remove macro.
47681         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47682         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47683         Remove INTDEF.
47684         (__gettimeofday): Add libc_hidden_def.
47685         (gettimeofday): Add libc_hidden_weak.
47686         * sysdeps/mach/gettimeofday.c: Likewise.
47687         * sysdeps/posix/gettimeofday.c: Likewise.
47688         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47689         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47690         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47691         (__gettimeofday_internal): Remove strong_alias.
47692         (__gettimeofday): Add libc_hidden_def.
47693         (gettimeofday): Add libc_hidden_weak.
47694         * sysdeps/unix/syscalls.list (gettimeofday):
47695         Remove __gettimeofday_internal alias.
47697 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47698             H.J. Lu  <hongjiu.lu@intel.com>
47700         [BZ #12495]
47701         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47702         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47703         (largebin_index_32_big): New.
47704         (largebin_index): Use it for 16-byte alignment.
47705         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47706         correction with front_misalign.
47708 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47712         Likewise.
47713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47714         Likewise.
47715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47716         Likewise.
47717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47718         Likewise.
47719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47720         Likewise.
47721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47722         Likewise.
47723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47724         Likewise.
47725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47726         Likewise.
47727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47728         Likewise.
47729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47730         Likewise.
47731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47732         Likewise.
47733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47734         Likewise.
47736         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47737         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47739 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47741         [BZ #10846]
47742         [BZ #14036]
47743         * math/libm-test.inc (exp_test): Add test from bug 14036.
47744         (pow_test): Add test from bug 10846.
47746         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47747         and other flags.
47748         (special_function): Do not include flags in test name.
47749         (parse_args): Likewise.
47750         * sysdeps/i386/fpu/libm-test-ulps: Update.
47751         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47752         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47753         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47756         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47757         exceptions.
47758         * math/libm-test.inc ("Philosophy"): Update comment about
47759         exception testing.
47760         (UNDERFLOW_EXCEPTION): New macro.
47761         (UNDERFLOW_EXCEPTION_OK): Likewise.
47762         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47763         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47764         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47765         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47766         (INVALID_EXCEPTION_OK): Update value.
47767         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47768         (OVERFLOW_EXCEPTION_OK): Likewise.
47769         (IGNORE_ZERO_INF_SIGN): Likewise.
47770         (test_exceptions): Handle underflow exceptions.
47771         (acos_test): Update for underflow exception expectations.
47772         (cexp_test): Likewise.
47773         (clog_test): Likewise.
47774         (clog10_test): Likewise.
47775         (csqrt_test): Likewise.
47776         (ctan_test): Likewise.
47777         (ctanh_test): Likewise.
47778         (exp_test): Likewise.
47779         (exp10_test): Likewise.
47780         (exp2_test): Likewise.
47781         (expm1_test): Likewise.
47782         (fma_test): Likewise.
47783         (j0_test): Likewise.
47784         (jn_test): Likewise.
47785         (nexttoward_test): Likewise.
47786         (pow_test): Likewise.
47787         (scalbn_test): Likewise.
47788         (scalbln_test): Likewise.
47789         (tan_test): Likewise.
47790         (y1_test): Likewise.
47791         * sysdeps/i386/fpu/libm-test-ulps: Update.
47792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47794 2012-05-23  David S. Miller  <davem@davemloft.net>
47796         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47797         (__libc_sigaction): Remove unused local variables.
47799 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47801         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47803 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47805         mktime: avoid signed integer overflow
47806         * time/mktime.c (__mktime_internal): Do not mishandle the case
47807         where diff == INT_MIN.
47809         mktime: simplify computation of average
47810         * time/mktime.c (ranged_convert): Use new time_t_avg function
47811         instead of rolling our own (probably-slower) code.
47813         mktime: do not assume signed right shift propagates sign bit
47814         * time/mktime.c (isdst_differ): New static function.
47815         (__mktime_internal): No need to normalize tm_isdst now.
47816         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47817         tm_isdst values.
47819         mktime: merge another wrapv change from gnulib
47820         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47821         from some compilers.
47823         mktime: remove incorrect attempt at unusual arithmetics
47824         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47825         The code didn't really work on such machines anyway.
47826         (TYPE_MINIMUM): Assume two's complement.
47827         (twos_complement_arithmetic): Verify that long_int and time_t
47828         are two's complement (or unsigned, in the latter case).
47830         mktime: check signed shifts on long_int and time_t, too
47831         * time/mktime.c (SHR): Check that shifts work as desired
47832         on the types long_int and time_t too, as SHR is used on
47833         such types.
47835         mktime: do not assume 'long' is wide enough
47836         * time/mktime.c (verify): Move decl up.
47837         (long_int): New type.
47838         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47839         to remove assumption in the code that 'long' is wide enough to
47840         store year values.  This assumption is not true on x32 and on
47841         some non-glibc platforms.
47843         mktime: merge wrapv change from gnulib
47844         * time/mktime.c (WRAPV): New macro.
47845         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47846         (guess_time_tm, __mktime_internal): Do not assume that signed
47847         integer overflow wraps around; modern compilers generate code
47848         where this assumption is no longer valid.
47850 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47852         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47853         Replace "jmp L(pseudo_end)" with "ret".
47854         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47855         Likewise.
47857 2012-05-23  Andreas Jaeger  <aj@suse.de>
47859         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47860         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47862 2012-05-23  Andreas Jaeger  <aj@suse.de>
47863             Maximilian Attems  <max@stro.at>
47865         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47866         New macros.
47868 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47870         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47871         code so that pseudo_end is just ret and the stack pointer is
47872         correct also for static library in error case.
47874 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47876         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47877         move to syscalls.list.
47878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47883         * manual/install.texi (Running make install): Do not mention Linux
47884         kernel version for which pt_chown is not needed.
47885         (Linux): Do not mention problems with nscd with 2.0 kernels.
47886         * INSTALL: Regenerated.
47888 2012-05-23  Andreas Jaeger  <aj@suse.de>
47890         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47891         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47892         macro.
47893         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47894         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47895         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47896         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47897         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47898         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47899         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47900         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47901         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47902         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47903         * sysdeps/unix/sysv/linux/bits/in.h
47904         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47906 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47908         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47909         (PREPARE_VERSION): Just use assert instead, it will be elided
47910         under [NDEBUG] anyway.
47912 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47914         * sysdeps/unix/sysv/linux/Makefile: Include
47915         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47916         (sysdep_routines): Remove sysctl.
47917         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47918         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47919         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47920         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47921         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47923 2012-05-22  Andreas Jaeger  <aj@suse.de>
47925         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47926         that pseudo_end is just ret and the stack pointer is correct also
47927         for static library in error case.
47929 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47931         [BZ #14122]
47932         * nss/nsswitch.c (defconfig_entries): New variable.
47933         (__nss_database_lookup): Don't leak defconfig entries.
47934         (nss_parse_service_list): Don't leak on error paths.
47935         (free_database_entries): New function.
47936         (free_defconfig): New function.
47937         (free_mem): Move common code to free_database_entries.
47939 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47941         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47942         Add arch_prctl.
47943         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47945         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47946         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47947         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47948         New macro.
47949         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47950         (INTERNAL_SYSCALL_TYPES): Likewise.
47951         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47952         (LOAD_REGS_TYPES_[1-6]): Likewise.
47953         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47954         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47956 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47958         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47959         copysignl for GLIBC_2_0.
47960         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47961         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47962         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47963         logbl for GLIBC_2_0.
47964         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47965         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47967 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47969         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47970         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47972         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47973         Use "neg %eax".
47975         * time/mktime.c: Update copyright years.
47977 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47979         mktime: merge comment-quoting-style change from gnulib
47980         * time/mktime.c: Quote 'like this' in comments.
47981         The GNU coding standards suggest that we no longer quote `like this',
47982         as "`" and "'" are typically rendered asymmetrically nowadays.
47983         The typical gnulib style is to quote 'like this' when quoting
47984         code, and "like this" when quoting English.
47986         * time/mktime.c (compile-command): Add "-I.".
47988         mktime: merge mktime-internal.h change from gnulib
47989         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47991         mktime: merge time_r change from gnulib
47992         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47994         mktime: merge DEBUG change from gnulib
47995         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47996         case system <time.h> has a #define.
47998         mktime: merge <sys/types.h> change from gnulib
47999         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48000         since <time.t> is now guaranteed to define time_t.
48002         mktime: merge HAVE_CONFIG_H change from gnulib
48003         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48005 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48008         Use "neg %eax".
48010         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48011         __rlim_t cast.
48012         (struct rusage): Use anonymous union to pad each field to
48013         __syscall_slong_t.
48015 2012-05-21  David S. Miller  <davem@davemloft.net>
48017         * Makefules (o-iterator): Remove .s cases.
48018         (compile-command.s): Delete.
48019         (COMPILE.s): Delete.
48020         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48022 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48024         * configure.in (libc_cv_predef_stack_protector): Only consider
48025         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48026         * configure: Regenerated.
48028 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48030         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48031         New macro.  Use R*LP on int and pointer.
48032         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48033         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48034         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48035         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48037         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48038         [__WORDSIZE_TIME64_COMPAT32] instead of
48039         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48040         (struct utmp): Likewise.
48041         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48042         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48043         Renamed to ...
48044         (__WORDSIZE_TIME64_COMPAT32): This.
48045         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48046         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48047         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48048         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48049         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48050         (__WORDSIZE_TIME64_COMPAT32): New macro.
48052 2012-05-21  Andreas Jaeger  <aj@suse.de>
48054         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48055         only if [SHARED]. Add prototype for __wcschr_ia32.
48057 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48059         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48060         of %rbp unmolested in the jmp_buf while mangling the low bits.
48061         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48062         unmolested high bits of %rbp while demangling the low bits.
48063         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48065 2012-05-21  Andreas Jaeger  <aj@suse.de>
48067         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48068         * sunrpc/svc_simple.c: Use it for registerrpc.
48069         * sunrpc/xcrypt.c: Use it for passwd2des.
48071         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48073 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48075         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48076         Don't define if [__SYSCALL_WORDSIZE != 32].
48077         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48078         New macro.
48080 2012-05-21  Bruno Haible  <bruno@clisp.org>
48081             Andreas Jaeger  <aj@suse.de>
48083         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48084         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48085         inptr and inend for must_buffer_ch.
48086         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48087         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48088         * stdio-common/Makefile (tests): Remove bug15.
48089         (bug15-ENV): Remove macro.
48090         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48091         anymore.
48093 2012-05-19  Andreas Jaeger  <aj@suse.de>
48094             Roland McGrath  <roland@hack.frob.com>
48096         * manual/contrib.texi: Completely rewritten. It contains now an
48097         alphabetical list of contributors and their contributions.
48099 2012-05-21  Richard Henderson  <rth@twiddle.net>
48101         * misc/getauxval.c (__getauxval): Use unsigned long int.
48102         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48103         (getauxval): Use unsigned long int.
48105 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48107         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48109 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48111         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48112         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48113         __alignof__ (long double).
48115 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48119 2012-05-20  Richard Henderson  <rth@twiddle.net>
48121         * misc/getauxval.c: New file.
48122         * misc/sys/auxv.h: New file.
48123         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48124         (routines): Add getauxval.
48125         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48126         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48127         * elf/dl-sysdep.c (_dl_auxv): Remove.
48128         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48129         * elf/dl-support.c (_dl_auxv): New variable.
48130         (_dl_aux_init): Initialize it.
48131         * manual/startup.texi (Auxiliary Vector): New node.
48132         * sysdeps/generic/bits/hwcap.h: New file.
48133         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48134         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48135         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48136         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48137         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48138         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48140         Update.
48141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48144         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48150 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48154 2012-05-19  David S. Miller  <davem@davemloft.net>
48156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48158 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48160         [BZ #14123]
48161         * math/s_ccosh.c: Include <float.h>
48162         (__ccosh): Avoid internal overflow calculating sinh and cosh
48163         values before multiplying by sin and cos values.
48164         * math/s_ccoshf.c: Likewise.
48165         * math/s_ccoshl.c: Likewise.
48166         * math/s_csin.c: Likewise.
48167         * math/s_csinf.c: Likewise.
48168         * math/s_csinl.c: Likewise.
48169         * math/s_csinh.c: Likewise.
48170         * math/s_csinhf.c: Likewise.
48171         * math/s_csinhl.c: Likewise.
48172         * math/libm-test.inc (ccos_test): Add more tests.
48173         (ccosh_test): Likewise.
48174         (csin_test): Likewise.
48175         (csinh_test): Likewise.
48176         * sysdeps/i386/fpu/libm-test-ulps: Update.
48177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48179 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48181         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48182         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48184         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48186 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48188         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48189         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48190         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48191         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48192         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48193         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48194         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48195         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48196         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48197         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48198         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48199         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48200         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48201         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48202         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48203         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48204         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48205         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48206         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48207         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48208         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48209         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48210         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48211         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48212         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48213         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48214         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48215         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48216         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48217         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48218         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48220 2012-05-18  Andreas Jaeger  <aj@suse.de>
48222         * csu/.gitignore: Delete.
48224 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48226         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48227         (timex): Use __syscall_slong_t.
48229 2012-05-18  Andreas Jaeger  <aj@suse.de>
48230             Carlos O'Donell  <carlos_odonell@mentor.com>
48232         * manual/install.texi (Configuring and compiling): Update
48233         description about files modified in the source directory.
48234         * INSTALL: Regenerated.
48236 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48238         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48239         value.  Use "or" to set return value to -1.
48240         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48241         negate return value.
48243 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48245         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48246         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48247         failure if the compiler has Graphite support disabled.
48248         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48249         Likewise.
48250         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48251         (CFLAGS-memmove.c): Likewise.
48252         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48253         Likewise.
48255 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48257         * sysdeps/x86_64/x32/_itoa.h: New file.
48259         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48260         getdents system call only if kernel and user dirents have the
48261         same d_ino and d_off.
48263         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48264         LLONG_MAX != LONG_MAX.
48265         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48266         (_fitoa_word): Likewise.
48268         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48269         years.
48270         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48271         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48272         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48274         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48275         include <bits/wordsize.h>.  Check __x86_64__ instead of
48276         __WORDSIZE.
48277         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48278         if __x86_64__ is defined.  Use anonymous union on fpstate.
48280         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48281         anonymous union.
48283 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48285         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48286         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48287         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48288         Refer to _rtld_local_ro instead of _rtld_global_ro.
48289         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48290         Likewise.
48291         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48292         Likewise.
48293         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48294         Likewise.
48295         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48296         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48297         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48299         * sysdeps/powerpc/powerpc32/dl-machine.c
48300         (__elf_machine_runtime_setup) [PROF]: Don't reference
48301         _dl_prof_resolve.
48303 2012-05-18  Andreas Jaeger  <aj@suse.de>
48305         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48306         function only available for GCCs before 3.4 since GCC 3.4
48307         introduced a builtin.
48308         (lrint): Likewise.
48309         (llrintf): Likewise.
48310         (llrint): Likewise.
48311         (fmaxf): Likewise.
48312         (fmax): Likewise.
48313         (fminf): Likewise.
48314         (fmin): Likewise.
48315         (rint): Likewise.
48316         (rintf): Likewise.
48317         (nearbyint): Likewise.
48318         (nearbyintf): Likewise.
48319         (ceil): Likewise.
48320         (ceilf): Likewise.
48321         (floor): Likewise.
48322         (floorf): Likewise.
48324 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48326         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48327         on both fields and cast pointer to __syscall_ulong_t.
48329         * bits/types.h (__fsword_t): New type.
48330         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48331         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48332         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48333         (__FSWORD_T_TYPE): Likewise.
48334         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48335         (__FSWORD_T_TYPE): Likewise.
48336         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48337         (__FSWORD_T_TYPE): Likewise.
48338         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48339         (__FSWORD_T_TYPE): Likewise.
48340         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48341         __SWORD_TYPE with __fsword_t.
48342         (statfs64): Likewise.
48344 2012-05-17  David S. Miller  <davem@davemloft.net>
48346         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48348 2012-05-17  Andreas Jaeger  <aj@suse.de>
48350         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48351         warning.
48353 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48355         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48357 2012-05-17  Andreas Jaeger  <aj@suse.de>
48359         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48360         when it is used.
48362 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48364         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48366 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48368         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48369         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48371 2012-05-17  Andreas Jaeger  <aj@suse.de>
48372             Carlos O'Donell  <carlos_odonell@mentor.com>
48374         [BZ #14059]
48375         * sysdeps/x86_64/multiarch/init-arch.h
48376         (bit_YMM_Usable): Rename to...
48377         (bit_AVX_Usable): ... this.
48378         (bit_FMA4_Usable): New macro.
48379         (bit_XMM_state): New macro.
48380         (bit_YMM_state): New macro.
48381         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48382         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48383         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48384         (CPUID_OSXSAVE): New macro.
48385         (CPUID_AVX): New macro.
48386         (CPUID_FMA4): New macro.
48387         (index_YMM_Usable): Rename to...
48388         (index_AVX_Usable): ... this.
48389         (HAS_AVX): Use HAS_ARCH_FEATURE.
48390         (HAS_FMA4): Likewise.
48391         (HAS_YMM_USABLE): Remove.
48392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48393         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48394         are present.
48395         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48396         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48397         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48398         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48399         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48401 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48403         * math/libm-test.c: Support platforms without multiple rounding modes.
48404         * math/bug-nextafter.c: Support platforms without FP exceptions.
48405         * math/bug-nexttoward.c: Likewise.
48406         * math/test-fenv.c: Likewise.
48407         * math/test-misc.c: Likewise.
48408         * stdlib/bug-getcontext.c: Likewise.
48410 2012-05-17  Andreas Jaeger  <aj@suse.de>
48412         * manual/examples/search.c (critter_cmp): Change signature to
48413         avoid warnings.
48414         * manual/string.texi (Collation Functions): Likewise.
48416 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48418         * bits/types.h: Fold copyright years.
48419         * bits/typesizes.h: Likewise.
48420         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48421         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48422         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48424         * time/time.h: Likewise.
48426 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48428         [BZ #208]
48429         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48430         in instead of returning them.  Return void.
48431         (__libc_mallinfo): Accumulate over all arenas.
48432         (__malloc_stats): Adjust for change in int_mallinfo interface.
48434 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48436         [BZ #10375]
48437         * configure.in (NM): Add AC_CHECK_TOOL for it.
48438         (libc_extra_cflags): New substituted variable.
48439         Check for -fstack-protector being used implicitly.
48440         * configure: Regenerated.
48441         * config.make.in (config-extra-cflags): New variable,
48442         gets @libc_extra_cflags@.
48443         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48445         [BZ #10375]
48446         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48447         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48448         * configure: Regenerated.
48449         * config.make.in (CPPUNDEFS): New substituted variable.
48450         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48451         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48452         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48454 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48456         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48457         (mq_attr): Use __syscall_slong_t.
48459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48461         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48462         Check __x86_64__ instead of __WORDSIZE.
48463         (_STAT_VER_LINUX): Likewise.
48464         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48465         __syscall_ulong_t and __syscall_slong_t.
48466         (stat64): Likewise.
48468 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48470         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48472 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48474         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48476 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48478         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48479         __syscall_ulong_t.
48481         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48482         include <bits/wordsize.h>.  Check __x86_64__ instead of
48483         __WORDSIZE.
48484         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48485         defined.
48486         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48488         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48489         include <bits/wordsize.h>.  Check __x86_64__ instead of
48490         __WORDSIZE.
48491         (user_regs_struct): Use "__extension__ unsigned long long"
48492         instead of "unsigned long" if __x86_64__ is defined.
48493         (user): Likewise.  Pad after pointer field if __ILP32__ is
48494         defined.
48496 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48498         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48499         versions 5 to 9.
48500         * configure: Regenerated.
48501         * manual/install.texi (texinfo): Increase version requirement to
48502         4.5 or later.
48503         * INSTALL: Regenerated.
48505         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48507 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48509         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48511         * sysdeps/x86_64/x32/ffs.c: New file.
48513         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48514         __syscall_ulong_t.
48515         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48516         defined.  Use __syscall_ulong_t.
48517         (shminfo): Use __syscall_ulong_t.
48518         (shm_info): Likewise.
48520         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48521         __syscall_ulong_t.
48523         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48524         <bits/wordsize.h>.
48525         (msgqnum_t): Use __syscall_ulong_t.
48526         (msglen_t): Likewise.
48527         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48528         __syscall_ulong_t.
48530         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48531         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48533         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48535         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48536         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48538         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48539         __syscall_slong_t.
48541         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48542         include <bits/wordsize.h>.  Check __x86_64__ instead of
48543         __WORDSIZE.
48545         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48546         "unsigned long long int" if __x86_64__ is defined.
48547         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48549         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48550         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48551         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48553         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48554         <stdint.h>.
48555         (GET_PC): Cast to uintptr_t first.
48556         (GET_FRAME): Likewise.
48557         (GET_STACK): Likewise.
48559         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48560         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48561         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48562         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48563         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48564         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48565         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48566         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48567         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48568         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48569         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48570         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48571         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48572         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48573         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48574         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48575         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48576         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48577         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48578         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48579         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48580         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48581         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48582         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48583         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48584         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48585         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48586         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48587         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48589 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48591         * Makerules (+depfiles): Also collect depfiles from .oS in
48592         $(extra-objs).
48593         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48594         .oS, $(libnldbl-routines)).
48596         * Makerules (native-compile-mkdep-flags): Define.
48597         * sunrpc/Makefile (extra-objs): Add $(addprefix
48598         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48599         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48600         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48601         calling $(make-target-directory).
48603 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48605         * bits/types.h (__snseconds_t): Removed.
48606         * time/time.h (struct timespec): Replace __snseconds_t with
48607         __syscall_slong_t.
48608         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48609         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48610         Likewise.
48611         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48612         (__SNSECONDS_T_TYPE): Likewise.
48613         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48614         (__SNSECONDS_T_TYPE): Likewise.
48615         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48616         (__SNSECONDS_T_TYPE): Likewise.
48618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48620         * sysdeps/mach/hurd/bits/typesizes.h
48621         (__SYSCALL_SLONG_TYPE): New macro.
48622         (__SYSCALL_ULONG_TYPE): Likewise.
48624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48626         * bits/types.h (__syscall_slong_t): New type.
48627         (__syscall_ulong_t): Likewise.
48629         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48630         (__SYSCALL_ULONG_TYPE): Likewise.
48631         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48632         (__SYSCALL_SLONG_TYPE): Likewise.
48633         (__SYSCALL_ULONG_TYPE): Likewise.
48634         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48635         (__SYSCALL_SLONG_TYPE): Likewise.
48636         (__SYSCALL_ULONG_TYPE): Likewise.
48637         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48638         (__SYSCALL_SLONG_TYPE): Likewise.
48639         (__SYSCALL_ULONG_TYPE): Likewise.
48641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48643         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48644         Add sigaltstack-offsets.sym.
48645         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48646         <sigaltstack-offsets.h>.
48647         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48648         longjmp_msg pointer.
48649         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48650         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48651         signal stack.
48652         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48654 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48656         * elf/stackguard-macros.h: Remove file.
48657         * sysdeps/generic/stackguard-macros.h: New file.
48658         * sysdeps/i386/stackguard-macros.h: Likewise.
48659         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48660         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48661         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48662         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48663         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48664         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48665         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48666         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48667         <elf/stackguard-macros.h>.
48669         [BZ #14109]
48670         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48671         __aligned__ in attribute.
48672         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48673         (gregset_t): Likewise.
48675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48677         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48678         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48679         * sysdeps/x86_64/x32/Implies-after: New file.
48681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48683         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48684         and access return value for _dl_profile_fixup.  Use R10_LP to
48685         load frame size.
48687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48689         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48693         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48694         * sysdeps/x86_64/x32/sysdep.h: New file.
48696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48698         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48699         * sysdeps/x86_64/setjmp.S: Likewise.
48701 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48703         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48704         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48705         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48706         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48707         remove unused global constant.
48709 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48711         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48712         include of <not-cancel.h>.
48714 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48716         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48718 2012-05-15  Jeff Law  <law@redhat.com>
48719             Andreas Jaeger  <aj@suse.de>
48721         [BZ #13594]
48722         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48723         out from...
48724         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48725         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48726         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48727         code changing __hst_map_handle.map.
48729 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48731         * configure.in (sysnames): Look for Implies-before and Implies-after
48732         files.
48733         * configure: Regenerated.
48735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48737         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48738         8-byte data alignment with LP_SIZE alignment.
48740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48742         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48743         into R10_LP.
48745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48747         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48751         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48752         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48753         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48754         Likewise.
48755         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48759         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48760         (stackinfo_sub_sp): Likewise.
48762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48764         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48765         RAX_LP.
48767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48769         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48770         into R*_LP.
48772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48774         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48775         sizes into R*_LP.
48777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48779         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48783         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48784         into R11_LP and load __x86_64_shared_cache_size_half into
48785         R8_LP.
48787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48789         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48790         R8_LP.
48792 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48794         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48795         logb for POWER7.
48796         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48797         logbf for POWER7.
48798         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48799         logbl for POWER7.
48800         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48801         powerpc32/power7/fpu/s_logb.c via #include.
48802         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48803         powerpc32/power7/fpu/s_logbf.c via #include.
48804         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48805         powerpc32/power7/fpu/s_logbl.c via #include.
48807 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48809         * README.libm: Remove file.
48811 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48813         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48814         count for x32.  Use R*_LP and omit operand-size suffix.
48816 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48818         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48819         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48820         * sysdeps/x86_64/x32/shlib-versions: New file.
48822 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48824         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48825         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48826         Use _dl_fatal_printf instead.
48828 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48830         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48831         set if not set by the user.  Do not allow for being unset.
48832         * sysdeps/unix/sysv/linux/configure: Regenerated.
48834 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48836         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48837         the `q' suffix from lea and replace .quad with ASM_ADDR.
48839 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48841         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48842         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48843         instead of $17.
48844         (PTR_DEMANGLE): Likewise.
48846 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48848         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48849         (LP_OP): Likewise.
48850         (ASM_ADDR): Likewise.
48851         (RAX_LP): Likewise.
48852         (RBP_LP): Likewise.
48853         (RBX_LP): Likewise.
48854         (RCX_LP): Likewise.
48855         (RDI_LP): Likewise.
48856         (RSI_LP): Likewise.
48857         (RSP_LP): Likewise.
48858         (R8_LP): Likewise.
48859         (R9_LP): Likewise.
48860         (R10_LP): Likewise.
48861         (R10_LP): Likewise.
48862         (R11_LP): Likewise.
48863         (R12_LP): Likewise.
48864         (R13_LP): Likewise.
48865         (R14_LP): Likewise.
48866         (R15_LP): Likewise.
48868 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48870         * sysdeps/x86_64/x32/dl-machine.h: New file.
48872 2012-05-14  Andreas Jaeger  <aj@suse.de>
48874         * manual/Makefile (subdir): Remove export of subdir.
48875         (all): Remove target.
48876         (.PHONY): Remove all from list.
48877         (mkinstalldirs): Remove.
48878         (.PHONY): Remove installdirs from list.
48879         ($(inst_infodir)/libc.info): Use make-target-directory.
48880         (installdirs): Remove.
48881         (subdir_%): Remove.
48882         (glibc-targets): Remove.
48883         (lib): Remove.
48884         (stubs): Remove.
48885         ($(objpfx)stubs ../po/manual.pot): Remove.
48886         ($(objpfx)stamp%): Remove.
48887         (make-target-directory): Remove.
48888         (subdir_install): Remove.
48889         (routines): Remove.
48890         (aux): Remove.
48891         (sources): Remove.
48892         (objects): Remove.
48893         (headers): Remove.
48895         [BZ #13750]
48896         * manual/.gitignore: Remove, it's not needed anymore.
48897         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48898         all files in it.
48899         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48900         directory.
48901         (texis): Renamed to $(objpfx)texis.
48902         (texis-path): New, contains path to generated files.
48903         (chapters.%): Use texis-path for complete path, add extra argument
48904         libc-texinfo.sh.
48905         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48906         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48907         (summary,texi, stamp-summary): Use complete path of
48908         files. Generate files in build dir.
48909         (dir-add.texi): Build in build dir.
48910         (libm-err.texi,stamp-libm-err): Likewise.
48911         (version.texi, stamp-version): Likewise.
48912         (.%c.texi): Likewise.
48913         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48914         (mostlyclean): Remove target.
48915         (realclean): Remove target.
48916         (generated): Add new variable with contents from mostlyclean and
48917         realclean, remove entries duplicated in common-mostlyclean, add
48918         stamp-libm-err and stamp-version.
48919         (generated-dirs): Add libc directory.
48920         ($(inst_infodir)/libc.info): Install files from build dir.
48922         * manual/install.texi (Configuring and compiling): Adjust since
48923         the info files are not part of the tar ball anymore.
48925 2012-05-14  Andreas Jaeger  <aj@suse.de>
48927         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48928         variable.
48930 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48932         [BZ #13717]
48933         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48934         to 2.2.0 where earlier.
48935         * sysdeps/unix/sysv/linux/configure: Regenerated.
48936         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48937         Remove conditional code.
48938         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48939         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48940         Remove conditional code.
48941         [!__NR_lchown]: Likewise.
48942         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48943         [__NR_lchown]: Likewise.
48944         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48945         comment referencing __ASSUME_LCHOWN_SYSCALL.
48946         * sysdeps/unix/sysv/linux/i386/sigaction.c
48947         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48948         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48949         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48950         Remove conditional code.
48951         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48952         (__protocol_available): Remove #if 0 code.
48953         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48954         conditional code.
48955         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48956         * sysdeps/unix/sysv/linux/kernel-features.h
48957         (__ASSUME_GETCWD_SYSCALL): Don't define.
48958         (__ASSUME_REALTIME_SIGNALS): Likewise.
48959         (__ASSUME_PREAD_SYSCALL): Likewise.
48960         (__ASSUME_PWRITE_SYSCALL): Likewise.
48961         (__ASSUME_POLL_SYSCALL): Likewise.
48962         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48963         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48964         non-SPARC.
48965         (__ASSUME_SIOCGIFNAME): Don't define.
48966         (__ASSUME_MSG_NOSIGNAL): Likewise.
48967         (__ASSUME_SENDFILE): Define unconditionally.
48968         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48969         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48970         conditional code.
48971         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48972         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48973         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48974         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48975         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48976         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48977         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48979         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48980         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48982         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48983         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48985         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48986         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48988         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48991         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48992         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48994         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48997         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48998         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49000         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49001         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49002         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49003         Remove conditional code.
49004         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49005         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49006         Remove conditional code.
49007         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49008         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49009         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49010         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49011         Remove conditional code.
49012         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49013         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49014         Remove conditional code.
49015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49016         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49017         Remove conditional code.
49018         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49019         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49020         Remove conditional code.
49021         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49022         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49023         Remove conditional code.
49024         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49025         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49026         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49027         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49028         * sysdeps/unix/sysv/linux/sigaction.c
49029         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49030         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49031         * sysdeps/unix/sysv/linux/sigpending.c
49032         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49033         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49034         * sysdeps/unix/sysv/linux/sigprocmask.c
49035         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49036         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49037         * sysdeps/unix/sysv/linux/sigsuspend.c
49038         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49039         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49040         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49041         (__libc_missing_rt_sigs): Remove.
49042         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49043         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49044         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49045         Remove conditional code.
49046         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49047         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49048         return 1.
49049         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49050         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49051         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49052         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49054 2012-05-14  Andreas Jaeger  <aj@suse.de>
49056         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49057         it's not used in glibc.
49058         (__coshm1): Likewise.
49059         (__acosh1p): Likewise.
49060         (__sgn): Likewise.
49062         * manual/string.texi (Copying and Concatenation): Add missing
49063         variable in concat example.
49064         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49066 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49068         [BZ #14103]
49069         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49070         __builtin_clzl with __builtin_clzll.
49072 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49074         [BZ #14104]
49075         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49076         libc_freeres_ptr.
49078 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49080         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49081         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49082         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49083         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49085 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49087         * NEWS: Update ia64 info.
49089 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49091         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49092         used as bcopy.
49094 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49096         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49097         * sysdeps/unix/syscalls.list (dup3): Likewise.
49098         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49099         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49101 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49103         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49104         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49106 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49108         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49109         thread pointer.
49110         (TLS_IE): Use mov/add instead of movq/addq to load thread
49111         pointer.
49112         (TLS_GD_PREFIX): New.
49113         (TLS_GD): Use it.
49115 2012-05-11  David S. Miller  <davem@davemloft.net>
49117         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49118         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49119         (_FPU_SETCW): Likewise.
49121 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49123         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49124         is 32-byte aligned.
49126 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49128         [BZ #11837]
49129         * iconvdata/gb18030.c: Update tables.
49130         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49131         characters specially.
49132         (BODY for TO_LOOP): Add encoding of missing ranges.
49134 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49136         [BZ #13673]
49137         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49138         * sysdeps/mach/hurd/dup3.c: Likewise.
49139         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49140         * sysdeps/powerpc/memmove.c:: Likewise.
49142 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49144         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49145         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49147 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49149         * elf/elf.h (R_X86_64_RELATIVE64): New.
49150         (R_X86_64_NUM): Updated.
49151         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49152         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49153         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49154         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49155         tst-quad1pie tst-quad2pie
49156         (modules-names): Add tst-quadmod1 tst-quadmod2.
49157         ($(objpfx)tst-quad1): New dependency.
49158         ($(objpfx)tst-quad2): Likewise.
49159         ($(objpfx)tst-quad1pie): Likewise.
49160         ($(objpfx)tst-quad2pie): Likewise.
49161         * sysdeps/x86_64/tst-quad1.c: New file.
49162         * sysdeps/x86_64/tst-quad1pie.c: New file.
49163         * sysdeps/x86_64/tst-quad2.c: Likewise.
49164         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49165         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49166         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49167         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49168         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49170 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49172         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49173         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49174         * streams/stropts.h (t_scalar_t): Define type.
49176         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49177         (_PATH_PRESERVE): Set to "/var/lib".
49178         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49180         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49181         instead of int.
49183         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49184         if __dir_mkfile succeeded.
49186         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49187         checking for _hurd_dtablesize.  Unlock it right after having
49188         finished _hurd_dtable allocation.
49190 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49192         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49193         * sysdeps/mach/hurd/configure: Regenerated.
49194         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49195         special-casing to...
49196         * sysdeps/gnu/configure.in: ... this new file.
49197         * sysdeps/unix/sysv/linux/configure: Regenerated.
49198         * sysdeps/gnu/configure: New generated file.
49200         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49201         for Linux: use nsec instead of usec, as well as:
49202         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49203         members of type struct timespec.
49204         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49205         New macros.
49206         (struct stat64): Likewise.
49207         (_STATBUF_ST_NSEC): New macro.
49208         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49210         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49211         __strtoul_internal rather than strtoul.
49213 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49215         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49216         and reject them.
49218 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49220         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49221         which preserves existing values.
49222         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49224 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49226         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49227         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49228         greater than FD_SETSIZE.
49230 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49232         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49233         allocated, call __vm_protect to finish enabling the existing space, and
49234         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49235         allocate the remainder.
49237 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49239         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49240         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49242 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49244         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49245         sysdeps/mach/hurd/readlink.c.
49247         * posix/tst-sysconf.c (posix_options): Only use
49248         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49249         _POSIX_SYNCHRONIZED_IO when they are defined
49250         * sysdeps/mach/hurd/bits/posix_opt.h:
49251         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49252         (_XOPEN_REALTIME): Undefine macro.
49253         (_XOPEN_REALTIME_THREADS): Undefine macro.
49254         (_XOPEN_SHM): Undefine macro.
49255         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49256         macro to -1.
49257         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49258         macro to -1.
49259         (_POSIX_ASYNC_IO): Undefine macro.
49260         (_POSIX_PRIORITIZED_IO): Undefine macro.
49261         (_POSIX_SPIN_LOCKS): Define macro to -1.
49263         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49264         SA_NODEFER, SA_RESETHAND.
49265         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49266         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49267         F_DUPFD_CLOEXEC.
49269 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49271         * elf/Makefile (pldd-modules): Define unconditionally.
49273 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49275         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49277 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49279         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49280         Return ENOENT when name is empty.
49281         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49285         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49287         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49289 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49291         Fix mlock in all cases except non-readable pages.
49292         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49293         instead of VM_PROT_ALL as parameter to __vm_wire function.
49295         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49296         (__mkdir): When path is `/', just fail with EEXIST.
49297         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49299 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49301         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49302         <sys/uio.h> (for writev).
49303         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49304         and <sys/param.h> (for MIN).
49306 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49308         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49309         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49310         if interrupted.
49312 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49314         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49315         Depend on against $(link-rpcuserlibs).
49317 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49319         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49320         (__libc_stack_end): Do not use attribute_relro.
49321         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49322         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49323         to libthread-provided value.
49324         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49325         attribute_relro.
49327 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49329         [BZ #3748]
49330         * bits/libc-lock.h (__libc_once_get): New macro.
49331         * sysdeps/mach/bits/libc-lock.h: Likewise.
49332         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49333         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49334         instead of using implementation details.
49336         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49337         * libio/freopen.c: Likewise.
49338         * libio/freopen64.c: Likewise.
49339         * misc/syslog.c: Likewise.
49340         * nscd/connections.c: Likewise.
49341         * nscd/netgroupcache.c: Likewise.
49342         * sysdeps/posix/getcwd.c: Likewise.
49344 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49346         * math/w_ilogbf.c: Add #include <limits.h>.
49348 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49350         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49351         path instead of returning without unlocking.
49353         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49354         immediate-write ioctls.
49355         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49357 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49359         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49360         __builtin_frame_address instead of making assumptions about the
49361         location of the return address relative to DATA.  Force early load of
49362         the return address.
49363         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49364         __builtin_frame_address.
49366         dup3 for GNU Hurd.
49367         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49368         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49369         implement dup3 and do some further code clean-ups.
49370         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49371         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49375         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49377         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49378         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49379         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49380         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49381         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49382         d->port.lock.
49384         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49385         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49386         when handler == SIG_ERR, not when handler != SIG_ERR.
49388 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49390         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49391         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49392         definitions.
49394         accept4 for GNU Hurd.
49395         * include/sys/socket.h (__libc_accept4): New prototype.
49396         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49397         to implement __libc_accept4.
49398         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49399         __libc_accept4.
49400         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49402         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49403         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49404         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49405         signal-defines.sym.
49407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49409         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49411 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49413         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49414         assertion on O_CLOEXEC flag.
49415         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49416         * hurd/intern-fd.c: Likewise.
49417         * hurd/port2fd.c: Likewise.
49419 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49421         [BZ #3906]
49422         * bits/in.h (IPV6_PKTINFO): Define new macro.
49423         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49425 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49427         [BZ #13954]
49428         [BZ #13955]
49429         [BZ #13956]
49430         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49431         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49432         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49433         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49434         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49435         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49436         * math/libm-test.inc (logb_test) : Additional logb tests.
49438 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49439             Andreas Jaeger  <aj@suse.de>
49441         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49442         * configure: Regenerated.
49443         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49444         * config.make.in (link-obsolete-rpc): New substituted variable.
49445         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49446         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49447         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49448         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49449         so that libc.a contains the symbols.
49450         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49451         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49452         * sunrpc/auth_none.c: Likewise.
49453         * sunrpc/auth_unix.c: Likewise.
49454         * sunrpc/authdes_prot.c: Likewise.
49455         * sunrpc/authuxprot.c: Likewise.
49456         * sunrpc/clnt_gen.c: Likewise.
49457         * sunrpc/clnt_perr.c: Likewise.
49458         * sunrpc/clnt_raw.c: Likewise.
49459         * sunrpc/clnt_simp.c: Likewise.
49460         * sunrpc/clnt_tcp.c: Likewise.
49461         * sunrpc/clnt_udp.c: Likewise.
49462         * sunrpc/clnt_unix.c: Likewise.
49463         * sunrpc/des_crypt.c: Likewise.
49464         * sunrpc/des_soft.c: Likewise.
49465         * sunrpc/get_myaddr.c: Likewise.
49466         * sunrpc/key_call.c: Likewise.
49467         * sunrpc/key_prot.c: Likewise.
49468         * sunrpc/netname.c: Likewise.
49469         * sunrpc/pm_getmaps.c: Likewise.
49470         * sunrpc/pm_getport.c: Likewise.
49471         * sunrpc/pmap_clnt.c: Likewise.
49472         * sunrpc/pmap_prot.c: Likewise.
49473         * sunrpc/pmap_prot2.c: Likewise.
49474         * sunrpc/pmap_rmt.c: Likewise.
49475         * sunrpc/publickey.c: Likewise.
49476         * sunrpc/rpc_cmsg.c: Likewise.
49477         * sunrpc/rpc_common.c: Likewise.
49478         * sunrpc/rpc_dtable.c: Likewise.
49479         * sunrpc/rpc_prot.c: Likewise.
49480         * sunrpc/rpc_thread.c: Likewise.
49481         * sunrpc/rtime.c: Likewise.
49482         * sunrpc/svc.c: Likewise.
49483         * sunrpc/svc_auth.c: Likewise.
49484         * sunrpc/svc_raw.c: Likewise.
49485         * sunrpc/svc_run.c: Likewise.
49486         * sunrpc/svc_tcp.c: Likewise.
49487         * sunrpc/svc_udp.c: Likewise.
49488         * sunrpc/svc_unix.c: Likewise.
49489         * sunrpc/svcauth_des.c: Likewise.
49490         * sunrpc/xcrypt.c: Likewise.
49491         * sunrpc/xdr.c: Likewise.
49492         * sunrpc/xdr_array.c: Likewise.
49493         * sunrpc/xdr_float.c: Likewise.
49494         * sunrpc/xdr_intXX_t.c: Likewise.
49495         * sunrpc/xdr_mem.c: Likewise.
49496         * sunrpc/xdr_rec.c: Likewise.
49497         * sunrpc/xdr_ref.c: Likewise.
49498         * sunrpc/xdr_sizeof.c: Likewise.
49499         * sunrpc/xdr_stdio.c: Likewise.
49501 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49503         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49504         change.  Update copyright years.
49506 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49508         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49510 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49511             Joseph Myers  <joseph@codesourcery.com>
49512             Paul Pluzhnikov  <ppluzhnikov@google.com>
49514         [BZ #14012]
49515         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49516         requiring rpcgen.
49517         [cross-compiling] (extra-libs): Likewise.
49518         [cross-compiling] (extra-libs-others): Likewise.
49519         [cross-compiling] (librpcsvc-routines): Likewise.
49520         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49521         [cross-compiling] (omit-deps): Likewise.
49522         (sunrpc-CPPFLAGS): New variable.
49523         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49524         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49525         (cross-rpcgen-objs): New variable.
49526         (extra-objs): Append $(cross-rpcgen-objs).
49527         ($(cross-rpcgen-objs)): New rule.
49528         ($(objpfx)cross-rpcgen): Likewise.
49529         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49530         comment.
49531         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49532         ($(objpfx)x%.stmp): Likewise.
49533         * sunrpc/proto.h [IS_IN_build] (_): Define.
49534         [IS_IN_build] (_libc_intl_domainname): Likewise.
49536 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49538         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49539         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49540         and R_X86_64_TPOFF64.
49542 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49544         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49545         sysdeps/unix/sysv/syscalls.list.
49546         (stime): Likewise.
49547         (utime): Likewise.
49548         * sysdeps/unix/sysv/syscalls.list: Remove file.
49550 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49552         [BZ #3440]
49553         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49554         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49555         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49556         (__LC_IDENTIFICATION): Make these macros useful in #if
49557         expressions, as required by C99.
49559 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49561         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49562         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49563         after this.
49565 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49567         * stdlib/longlong.h: Updated from GCC.
49569 2012-05-09  Andreas Jaeger  <aj@suse.de>
49571         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49572         default is first entry.
49573         (run_mode): Set type.
49574         (main): Remove informal message about syslog.
49575         (options): Fix typo.
49577         [BZ #14053]
49578         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49579         to asm.
49580         (lrint): Likewise.
49581         (llrintf): Likewise.
49582         (llrint): Likewise.
49583         (rint): Likewise.
49584         (rintf): Likewise.
49585         (nearbyint): Likewise.
49586         (nearbyintf): Likewise.
49588 2012-05-09  Andreas Jaeger  <aj@suse.de>
49589             Pedro Alves  <palves@redhat.com>
49591         * nscd/nscd.c (run_mode): Use enum.
49592         (main): Cleanup coding style issue.
49594 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49595             Andreas Jaeger  <aj@suse.de>
49597         * nscd/nscd.c (go_background): Replaced with...
49598         (run_mode): ... this.
49599         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49600         (options): Add -F --foreground.
49601         (main): Implement it.
49602         (parse_opt): Parse it.
49604 2012-05-09  Andreas Jaeger  <aj@suse.de>
49606         [BZ #14083]
49607         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49608         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49609         -Wconversion warning.
49610         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49611         Likewise.
49613 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49615         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49616         == 0.
49617         (LC_ALL): Use macro-int-constant.
49618         (LC_COLLATE): Likewise.
49619         (LC_CTYPE): Likewise.
49620         (LC_MESSAGES): Likewise.
49621         (LC_MONETARY): Likewise.
49622         (LC_NUMERIC): Likewise.
49623         (LC_TIME): Likewise.
49624         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49625         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49626         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49627         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49628         Specify type.
49629         [C99-based standards] (float_t): Expect type.
49630         [C99-based standards] (double_t): Expect type.
49631         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49632         type.
49633         [C99-based standards] (HUGE_VALL): Likewise.
49634         [C99-based standards] (INFINITY): Likewise.
49635         [C99-based standards] (NAN): Likewise.
49636         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49637         [C99-based standards] (FP_NAN): Likewise.
49638         [C99-based standards] (FP_NORMAL): Likewise.
49639         [C99-based standards] (FP_SUBNORMAL): Likewise.
49640         [C99-based standards] (FP_ZERO): Likewise.
49641         [C99-based standards] (FP_FAST_FMA): Use
49642         optional-macro-int-constant.  Specify type.  Require == 1.
49643         [C99-based standards] (FP_FAST_FMAF): Likewise.
49644         [C99-based standards] (FP_FAST_FMAL): Likewise.
49645         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49646         [C99-based standards] (FP_ILOGBNAN): Likewise.
49647         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49648         Specify type.
49649         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49650         [C99-based standards] (math_errhandling): Specify type.
49651         [ISO99 || ISO11] (signgam): Do not allow.
49652         [non-C99-based standards] (copysignf): Do not allow.
49653         [non-C99-based standards] (exp2f): Likewise.
49654         [non-C99-based standards] (log2f): Likewise.
49655         [non-C99-based standards] (modff): Allow.
49656         [non-C99-based standards] (erff): Do not allow.
49657         [non-C99-based standards] (erfcf): Likewise.
49658         [non-C99-based standards] (gammaf): Likewise.
49659         [non-C99-based standards] (hypotf): Likewise.
49660         [non-C99-based standards] (j0f): Likewise.
49661         [non-C99-based standards] (j1f): Likewise.
49662         [non-C99-based standards] (jnf): Likewise.
49663         [non-C99-based standards] (lgammaf): Likewise.
49664         [non-C99-based standards] (tgammaf): Likewise.
49665         [non-C99-based standards] (y0f): Likewise.
49666         [non-C99-based standards] (y1f): Likewise.
49667         [non-C99-based standards] (ynf): Likewise.
49668         [non-C99-based standards] (isnanf): Likewise.
49669         [non-C99-based standards] (acoshf): Likewise.
49670         [non-C99-based standards] (asinhf): Likewise.
49671         [non-C99-based standards] (atanhf): Likewise.
49672         [non-C99-based standards] (cbrtf): Likewise.
49673         [non-C99-based standards] (expm1f): Likewise.
49674         [non-C99-based standards] (ilogbf): Likewise.
49675         [non-C99-based standards] (log1pf): Likewise.
49676         [non-C99-based standards] (logbf): Likewise.
49677         [non-C99-based standards] (nextafterf): Likewise.
49678         [non-C99-based standards] (remainderf): Likewise.
49679         [non-C99-based standards] (rintf): Likewise.
49680         [non-C99-based standards] (scalbf): Likewise.
49681         [non-C99-based standards] (copysignl): Likewise.
49682         [non-C99-based standards] (exp2l): Likewise.
49683         [non-C99-based standards] (log2l): Likewise.
49684         [non-C99-based standards] (modfl): Allow.
49685         [non-C99-based standards] (erfl): Do not allow.
49686         [non-C99-based standards] (erfcl): Likewise.
49687         [non-C99-based standards] (gammal): Likewise.
49688         [non-C99-based standards] (hypotl): Likewise.
49689         [non-C99-based standards] (j0l): Likewise.
49690         [non-C99-based standards] (j1l): Likewise.
49691         [non-C99-based standards] (jnl): Likewise.
49692         [non-C99-based standards] (lgammal): Likewise.
49693         [non-C99-based standards] (tgammal): Likewise.
49694         [non-C99-based standards] (y0l): Likewise.
49695         [non-C99-based standards] (y1l): Likewise.
49696         [non-C99-based standards] (ynl): Likewise.
49697         [non-C99-based standards] (isnanl): Likewise.
49698         [non-C99-based standards] (acoshl): Likewise.
49699         [non-C99-based standards] (asinhl): Likewise.
49700         [non-C99-based standards] (atanhl): Likewise.
49701         [non-C99-based standards] (cbrtl): Likewise.
49702         [non-C99-based standards] (expm1l): Likewise.
49703         [non-C99-based standards] (ilogbl): Likewise.
49704         [non-C99-based standards] (log1pl): Likewise.
49705         [non-C99-based standards] (logbl): Likewise.
49706         [non-C99-based standards] (nextafterl): Likewise.
49707         [non-C99-based standards] (remainderl): Likewise.
49708         [non-C99-based standards] (rintl): Likewise.
49709         [non-C99-based standards] (scalbl): Likewise.
49710         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49711         [non-C99-based standards] (FP_*): Do not allow.
49712         [C99-based standards] (FP_*): Change to
49713         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49714         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49715         allow.
49716         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49717         (SIG_ERR): Likewise.
49718         [X/Open-based standards] (SIG_HOLD): Likewise.
49719         (SIG_IGN): Likewise.
49720         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49721         positive value.
49722         (SIGFPE): Likewise.
49723         (SIGILL): Likewise.
49724         (SIGINT): Likewise.
49725         (SIGSEGV): Likewise.
49726         (SIGTER): Likewise.
49727         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49728         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49729         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49730         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49731         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49732         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49733         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49734         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49735         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49736         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49737         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49738         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49739         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49740         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49741         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49742         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49743         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49744         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49745         [X/Open-based standards] (SIGTRAP): Likewise.
49746         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49747         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49748         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49749         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49750         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49751         allow.
49753 2012-05-08  Ian Wienand  <ianw@vmware.com>
49755         [BZ #14080]
49756         * time/tzset.c (__tzset_parse_tz): Update default rules for
49757         daylight time changes in the Energy Policy Act of 2005.
49759 2012-05-09  Andreas Jaeger  <aj@suse.de>
49761         [BZ #13983]
49762         * elf/ldconfig.c (parse_conf): Change string to make clear that
49763         ldconfig only issued a warning if ld.so.conf does not exist.
49765 2012-05-08  David S. Miller  <davem@davemloft.net>
49767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49768         movxtod instead of popping the value on the stack.
49770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49772 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49774         * config.h.in: Add HAVE_ARM_PCS_VFP.
49776 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49778         [BZ #13979]
49779         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49780         checking but the checks are disabled for any reason.
49782 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49784         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49785         and ELF64_R_TYPE with ELFW(R_TYPE).
49787 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49789         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49790         (ulimit): Likewise.
49792         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49793         (settimeofday): Likewise.
49795 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49797         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49798         a struct th_u2 inside the union, and move tu_block/tu_code into
49799         a new th_u3 union of tu_block/tu_code inside of that.  Move
49800         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49801         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49802         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49803         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49804         (th_stuff): Change to th_u1.tu_stuff.
49805         (th_data): Define.
49806         (th_msg): Change to th_u1.th_u2.tu_data.
49808 2012-05-07  David S. Miller  <davem@davemloft.net>
49810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49812         [BZ #14074]
49813         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49814         (SETUP_PIC_REG): Use it.
49815         (SETUP_PIC_REG_LEAF): Use it.
49817 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49819         [BZ #13885]
49820         [BZ #13923]
49821         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49822         USE_AS_EXPM1L.
49823         (EXPL_FINITE): Likewise.
49824         (FLDLOG): Likewise.
49825         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49826         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49827         e_expl.S.
49828         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49829         USE_AS_EXPM1L.
49830         (EXPL_FINITE): Likewise.
49831         (FLDLOG): Likewise.
49832         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49833         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49834         e_expl.S.
49835         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49836         test of -max_value argument for long double.
49837         * sysdeps/i386/fpu/libm-test-ulps: Update.
49838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49840 2012-05-06  David S. Miller  <davem@davemloft.net>
49842         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49843         quad soft-float symbols whose references which are compiler
49844         generated.
49845         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49847 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49849         [BZ #13884]
49850         [BZ #13914]
49851         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49852         USE_AS_EXP10L.
49853         (EXPL_FINITE): Likewise.
49854         (FLDLOG): Likewise.
49855         (c0): Likewise.
49856         (c1): Likewise.
49857         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49858         Adjust comments for base varying.
49859         (__expl_finite): Change alias to EXPL_FINITE.
49860         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49861         e_expl.S.
49862         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49863         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49864         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49865         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49866         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49867         USE_AS_EXP10L.
49868         (EXPL_FINITE): Likewise.
49869         (FLDLOG): Likewise.
49870         (c0): Likewise.
49871         (c1): Likewise.
49872         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49873         Adjust comments for base varying.
49874         (__expl_finite): Change alias to EXPL_FINITE.
49875         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49876         tests for bugs.
49877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49879         [BZ #14064]
49880         * math/libm-test.inc (check_float_internal): Correct ulp
49881         calculation for subnormal expected results.
49883 2012-05-06  Andreas Jaeger  <aj@suse.de>
49885         * Makeconfig (+math-flags): New, set to -frounding-math.
49886         (+cflags): Add +math-flags so that all of glibc gets compiled with
49887         it.
49889         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49891 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49893         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49894         Disable one test.
49896         [BZ #13787]
49897         [BZ #13922]
49898         [BZ #14036]
49899         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49900         (__ieee754_expl): Allow for and saturate large arguments.
49901         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49902         (u_threshold): Likewise.
49903         (__exp): Call __ieee754_exp before checking for overflow and
49904         underflow.
49905         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49906         (u_threshold): Likewise.
49907         (__expf): Call __ieee754_expf before checking for overflow and
49908         underflow.
49909         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49910         (u_threshold): Likewise.
49911         (__expl): Call __ieee754_expl before checking for overflow and
49912         underflow.
49913         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49914         (__ieee754_expl): Allow for and saturate large arguments.
49915         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49916         missing overflow exception on overflow.
49917         (expm1_test): Do not allow missing overflow exception on overflow.
49919         * sysdeps/i386/fpu/e_expl.c: Move to ...
49920         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49921         rather than using inline asm.
49922         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49923         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49924         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49926         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49927         (nice): Likewise.
49928         (poll): Likewise.
49929         (signal): Likewise.
49930         (time): Likewise.
49931         (times): Likewise.
49933 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49935         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49936         sysdeps/unix/common/syscalls.list.
49937         (fchmod): Likewise.
49938         (fchown): Likewise.
49939         (ftruncate): Likewise.
49940         (getrusage): Likewise.
49941         (gettimeofday): Likewise.
49942         (setpgid): Likewise.
49943         (setregid): Likewise.
49944         (setreuid): Likewise.
49945         (sigaction): Likewise.
49946         (truncate): Likewise.
49947         (vhangup): Likewise.
49948         * sysdeps/unix/common/syscalls.list: Remove file.
49949         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49950         * sysdeps/unix/sysv/linux/Implies: Likewise.
49952 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49954         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49956         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49957         Moved to ...
49958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49959         Here.
49960         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49961         to ...
49962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49963         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49964         to ...
49965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49966         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49967         to ...
49968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49969         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49970         to ...
49971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49972         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49973         to ...
49974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49975         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49976         to ...
49977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49978         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49979         to ...
49980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49981         Here.
49982         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49983         to ...
49984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49985         Here.
49986         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49987         to ...
49988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49989         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49990         Moved to ...
49991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49992         Here.
49993         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49994         to ...
49995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49997 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49999         * sysdeps/unix/common/bits/dirent.h: Remove file.
50000         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50002         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50003         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50004         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50005         * sysdeps/unix/bsd/isatty.c: Likewise.
50006         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50007         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50008         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50010 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50012         [BZ #13563]
50013         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50014         long double comparison inaccuracies.
50015         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50018 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50020         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50021         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50023 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50025         [BZ #14049]
50026         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50027         nonzero digits before rounding a hex value.
50028         * stdlib/tst-strtod.c (tests): Add another test.
50030 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50032         * sysdeps/s390/fpu/libm-test-ulps: Update.
50034 2012-05-03  Andreas Jaeger  <aj@suse.de>
50036         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50037         does not get optimized out.
50038         (malloc_opt_barrier): New.
50040 2012-05-03  Andreas Jaeger  <aj@suse.de>
50041             Roland McGrath  <roland@hack.frob.com>
50043         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50044         intermediate file deletion.
50045         (generated): Add .symlist files.
50047 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50049         [BZ #13775]
50050         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50051         Redirect under this condition.
50052         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50053         [__USE_GNU] (__dprintf_chk): Not under this condition.
50054         [__USE_GNU] (__vdprintf_chk): Likewise.
50055         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50056         under this condition.
50057         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50058         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50059         [__USE_XOPEN2K8] (vdprintf): Likewise.
50060         [__USE_GNU] (__dprintf_chk): Not under this condition.
50061         [__USE_GNU] (__vdprintf_chk): Likewise.
50062         [__USE_GNU] (dprintf): Likewise.
50063         [__USE_GNU] (vdprintf): Likewise.
50065 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50067         * elf/Makefile (common-generated): Set this instead of generated for
50068         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50069         $(all-built-dso)-derived lists.
50071 2012-05-03  Andreas Jaeger  <aj@suse.de>
50073         * sysdeps/i386/fpu/libm-test-ulps: Update.
50075         * FAQ: Removed.
50076         * FAQ.in: Likewise.
50077         * scripts/gen-FAQ.pl: Likewise.
50078         * manual/install.texi (Installation): Point to online location of
50079         FAQ.
50080         * Makefile (files-for-dist): Remove FAQ.
50081         (FAQ): Remove.
50083 2012-05-02  Allan McRae  <allan@archlinux.org>
50085         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50086         (LDFLAGS-reldepmod5.so): Likewise.
50087         (LDFLAGS-reldep6mod1.so): Likewise.
50088         (LDFLAGS-reldep6mod4.so): Likewise.
50089         (LDFLAGS-reldep8mod3.so): Likewise.
50090         (LDFLAGS-unload4mod1.so): Likewise.
50091         (LDFLAGS-unload4mod2.so): Likewise.
50092         (LDFLAGS-tst-initorder): Likewise.
50093         (LDFLAGS-tst-initordera2.so): Likewise.
50094         (LDFLAGS-tst-initordera3.so): Likewise.
50095         (LDFLAGS-tst-initordera4.so): Likewise.
50096         (LDFLAGS-tst-initorderb2.so): Likewise.
50097         (LDFLAGS-noload): Likewise.
50098         (LDFLAGS-next): Likewise.
50099         (LDFLAGS-order2mod1.so): Likewise.
50100         (LDFLAGS-order2mod2.so): Likewise.
50101         (LDFLAGS-tst-initorder2): Likewise.
50102         (LDFLAGS-tst-initorder2a.so): Likewise.
50103         (LDFLAGS-tst-initorder2b.so): Likewise.
50104         (LDFLAGS-tst-initorder2c.so): Likewise.
50105         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50107 2012-05-02  David S. Miller  <davem@davemloft.net>
50109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50111 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50113         [BZ #14055]
50114         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50116 2012-05-02  Andreas Jaeger  <aj@suse.de>
50118         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50119         since we manipulate rounding mode.
50120         (CPPFLAGS-test-idouble.c): Likewise.
50121         (CPPFLAGS-test-ifloat.c): Likewise.
50122         (CFLAGS-test-ldouble.c): Likewise.
50123         (CFLAGS-test-double.c): Likewise.
50124         (CFLAGS-test-float.c): Likewise.
50125         (CFLAGS-test-misc.c): Likewise.
50126         (CFLAGS-test-test-fenv.c): Likewise.
50128 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50130         [BZ #2550]
50131         [BZ #2570]
50132         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50133         comparisons to determine direction to adjust input.
50135 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50137         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50138         output to the target.
50140         * scripts/localplt.awk: New file.
50141         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50142         (check-localplt-CFLAGS): Variable removed.
50143         ($(all-built-dso:=.jmprel)): New static pattern rule.
50144         (generated): Add those targets.
50145         (localplt-built-dso): New variable.
50146         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50148         * elf/check-localplt.c: File removed.
50150         * scripts/check-execstack.awk: New file.
50151         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50152         (check-execstack-CFLAGS): Variable removed.
50153         ($(objpfx)check-execstack.h): Target removed.
50154         ($(objpfx)execstack-default): New target.
50155         (generated): Add that instead of check-execstack.h.
50156         ($(all-built-dso:=.phdr)): New static pattern rule.
50157         (generated): Add those targets.
50158         * elf/check-execstack.c: File removed.
50160         * scripts/check-textrel.awk: New file.
50161         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50162         (check-textrel-CFLAGS): Variable removed.
50163         (all-built-dso): Use := to define.o
50164         ($(all-built-dso:=.dyn)): New static pattern rule.
50165         (generated): Add those targets.
50166         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50167         * config.make.in (READELF): New substituted variable.
50168         * elf/check-textrel.c: File removed.
50170 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50172         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50173         allow.
50174         * conform/data/ctype.h-data [C99-based standards] (isblank):
50175         Expect function.
50176         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50177         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50178         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50179         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50180         Specify type.  Require positive value.
50181         (EILSEQ): Likewise.
50182         (ERANGE): Likewise.
50183         [ISO || POSIX] (EILSEQ): Do not expect.
50184         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50185         Specify type.  Require positive value.
50186         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50187         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50188         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50189         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50190         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50191         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50192         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50193         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50194         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50195         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50196         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50197         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50198         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50199         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50200         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50201         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50202         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50203         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50204         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50205         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50206         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50207         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50208         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50209         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50210         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50211         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50212         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50213         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50214         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50215         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50216         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50217         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50218         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50219         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50220         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50221         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50222         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50223         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50224         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50225         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50226         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50227         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50228         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50229         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50230         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50231         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50232         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50233         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50234         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50235         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50236         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50237         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50238         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50239         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50240         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50241         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50242         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50243         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50244         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50245         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50246         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50247         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50248         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50249         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50250         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50251         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50252         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50253         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50254         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50255         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50256         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50257         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50258         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50259         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50260         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50261         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50262         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50263         Require >= 2.
50264         (FLT_ROUNDS): Expect as macro, not constant.
50265         (FLT_MANT_DIG): Use macro-int-constant.
50266         (DBL_MANT_DIG): Likewise.
50267         (LDBL_MANT_DIG): Likewise.
50268         (FLT_DIG): Likewise.
50269         (DBL_DIG): Likewise.
50270         (LDBL_DIG): Likewise.
50271         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50272         (DBL_MIN_EXP): Likewise.
50273         (LDBL_MIN_EXP): Likewise.
50274         (FLT_MAX_EXP): Use macro-int-constant.
50275         (DBL_MAX_EXP): Likewise.
50276         (LDBL_MAX_EXP): Likewise.
50277         (FLT_MAX_10_EXP): Likewise.
50278         (DBL_MAX_10_EXP): Likewise.
50279         (LDBL_MAX_10_EXP): Likewise.
50280         (FLT_MAX): Use macro-constant.
50281         (DBL_MAX): Likewise.
50282         (LDBL_MAX): Likewise.
50283         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50284         (DBL_EPSILON): Likewise.
50285         (LDBL_EPSILON): Likewise.
50286         (FLT_MIN): Likewise.
50287         (DBL_MIN): Likewise.
50288         (LDBL_MIN): Likewise.
50289         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50290         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50291         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50292         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50293         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50294         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50295         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50296         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50297         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50298         [ISO11] (FLT_TRUE_MIN): Likewise.
50299         [ISO11] (LDBL_TRUE_MIN): Likewise.
50300         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50301         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50302         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50303         (SCHAR_MAX): Likewise.
50304         (UCHAR_MAX): Likewise.
50305         (CHAR_MIN): Likewise.
50306         (CHAR_MAX): Likewise.
50307         (MB_LEN_MAX): Use macro-int-constant.
50308         (SHRT_MIN): Use macro-int-constant.  Specify type.
50309         (SHRT_MAX): Likewise.
50310         (USHRT_MAX): Likewise.
50311         (INT_MAX): Likewise.
50312         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50313         bound negative.
50314         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50315         bound with "U".
50316         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50317         bound with "L".
50318         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50319         bound negative.  Suffix upper bound with "L".
50320         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50321         bound with "UL".
50322         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50323         Specify type.
50324         [C99-based standards] (LLONG_MAX): Likewise.
50325         [C99-based standards] (ULLONG_MAX): Likewise.
50326         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50327         == 0.
50328         [ISO11] (max_align_t): Require type.
50329         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50331         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50332         from $CFLAGS, without defining away __attribute__ calls.
50333         (checknamespace): Use $CFLAGS_namespace.
50335         * conform/conformtest.pl (@keywords): Only include C99 keywords
50336         for standards based on C99 or C11.
50338         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50339         Disable tests.
50340         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50341         UNIX98]: Likewise.
50343         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50344         usability of symbols in #if.
50346         * conform/conformtest.pl: If macro or constant types start
50347         "promoted:", expect the symbol to be of the following type
50348         promoted by the integer promotions.
50350         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50351         in one place.  Also handle "macro-constant".
50353         * conform/conformtest.pl: Only accept expected macro values with
50354         "==".  Parse all "macro" lines in one place.
50355         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50357         * conform/conformtest.pl: Handle braced types on "constant" lines
50358         instead of handling "typed-constant".
50359         * conform/data/signal.h-data: Use "constant" instead of
50360         "typed-constant".
50362         * conform/conformtest.pl: Handle "optional-" at start of lines in
50363         one place rather than duplicating several cases.  Handle each
50364         format of "macro" line with initial "optional-".
50366         * conform/conformtest.pl: Only accept expected constant or
50367         optional-constant values with "==".  Parse all "constant" lines in
50368         one place.  Parse all "optional-constant" lines in one place.
50369         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50370         * conform/data/fmtmsg.h-data: Likewise.
50371         * conform/data/netinet/in.h-data: Likewise.
50372         * conform/data/tar.h-data: Likewise.
50373         * conform/data/limits.h-data: Use "==" form on "constant" and
50374         "optional-constant" lines.
50376         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50377         Use -std=c99 for XOPEN2K.
50378         (@knownproblems): Remove.
50379         (newtoken): Don't check %isknown.
50381         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50382         Do not expect macro.
50383         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50384         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50385         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50386         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50387         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50388         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50389         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50390         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50391         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50392         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50393         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50394         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50395         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50396         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50397         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50398         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50399         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50400         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50401         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50402         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50403         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50404         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50405         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50406         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50407         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50408         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50409         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50410         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50411         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50412         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50413         [XPG3] (acosh): Likewise.
50414         [XPG3] (asinh): Likewise.
50415         [XPG3] (atanh): Likewise.
50416         [XPG3] (cbrt): Likewise.
50417         [XPG3] (expm1): Likewise.
50418         [XPG3] (ilogb): Likewise.
50419         [XPG3] (log1p): Likewise.
50420         [XPG3] (logb): Likewise.
50421         [XPG3] (nextafter): Likewise.
50422         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50423         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50424         [XPG3] (remainder): Likewise.
50425         [XPG3] (rint): Likewise.
50426         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50427         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50428         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50429         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50430         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50431         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50432         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50433         [UNIX98 || XOPEN2K] (scalb): Expect.
50434         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50435         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50436         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50437         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50438         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50439         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50440         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50441         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50442         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50443         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50444         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50445         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50446         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50447         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50448         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50449         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50450         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50451         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50452         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50453         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50454         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50455         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50456         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50457         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50458         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50459         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50460         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50461         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50462         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50463         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50464         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50465         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50466         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50467         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50468         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50469         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50470         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50471         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50472         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50473         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50474         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50475         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50476         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50477         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50478         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50479         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50480         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50481         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50482         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50483         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50484         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50485         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50486         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50487         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50488         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50489         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50490         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50491         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50492         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50493         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50494         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50495         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50496         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50497         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50498         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50499         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50500         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50501         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50502         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50503         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50504         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50505         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50506         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50507         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50508         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50509         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50510         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50511         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50512         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50513         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50514         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50515         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50516         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50517         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50518         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50519         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50520         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50521         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50522         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50523         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50524         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50525         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50526         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50527         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50528         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50529         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50530         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50531         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50532         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50533         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50534         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50535         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50536         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50537         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50538         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50539         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50540         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50541         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50542         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50543         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50544         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50545         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50546         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50547         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50548         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50549         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50550         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50551         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50552         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50553         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50554         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50555         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50556         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50557         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50558         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50559         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50560         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50561         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50562         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50563         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50564         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50565         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50566         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50567         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50568         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50569         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50570         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50572         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50573         _XOPEN_SOURCE_EXTENDED for XPG4.
50575         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50577         * Makeconfig (localtime): Remove variable.
50578         (inst_localtime-file): Likewise.
50580 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50583         Update.
50584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50585         Update.
50586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50587         Update.
50588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50589         Update.
50590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50591         Update.
50592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50593         Update.
50594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50595         Update.
50596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50597         Update.
50598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50599         Update.
50601 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50603         [BZ #2550]
50604         [BZ #2570]
50605         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50606         comparisons to determine direction to adjust input.
50607         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50608         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50609         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50610         Likewise.
50611         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50612         Likewise.
50613         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50614         Likewise.
50615         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50616         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50617         Likewise.
50618         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50619         Likewise.
50620         * math/libm-test.inc (nexttoward_test): Add more tests.
50622 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50624         [BZ #14040]
50625         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50626         in version GLIBC_2.1, not GLIBC_2.0.
50627         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50628         Likewise.
50630 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50632         [BZ #13942]
50633         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50634         (1 - x) * (1 + x).
50635         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50636         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50637         * math/libm-test.inc (acos_test): Add more tests.
50638         (asin_test): Likewise.
50639         * sysdeps/i386/fpu/libm-test-ulps: Update.
50640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50642         [BZ #14034]
50643         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50644         of square root.
50645         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50646         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50647         * math/libm-test.inc (acos_test_tonearest): New function.
50648         (acos_test_towardzero): Likewise.
50649         (acos_test_downward): Likewise.
50650         (acos_test_upward): Likewise.
50651         (asin_test_tonearest): Likewise.
50652         (asin_test_towardzero): Likewise.
50653         (asin_test_downward): Likewise.
50654         (asin_test_upward): Likewise.
50655         (main): Call the new functions.
50656         * sysdeps/i386/fpu/libm-test-ulps: Update.
50657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50659         [BZ #13884]
50660         [BZ #13924]
50661         * math/e_exp10.c: Include <float.h>.
50662         (__ieee754_exp10): Handle underflow here rather than multiplying
50663         large negative argument by M_LN10.
50664         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50665         of __ieee754_expf.
50666         * math/e_exp10l.c: Include <float.h>.
50667         (__ieee754_exp10l): Handle underflow here rather than multiplying
50668         large negative argument by M_LN10l.
50669         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50670         spurious overflow exception on underflow.
50672 2012-04-29  Marek Polacek  <polacek@redhat.com>
50674         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50675         (__fortify_function): New macro.
50676         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50677         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50678         __extern_always_inline.
50679         * libio/bits/stdio2.h: Likewise.
50680         * libio/bits/stdio.h: Likewise.
50681         * string/string.h: Likewise.
50682         * string/bits/string3.h: Likewise.
50683         * include/stdio.h: Likewise.
50684         * stdlib/bits/stdlib.h: Likewise.
50685         * stdlib/stdlib.h: Likewise.
50686         * rt/bits/mqueue2.h: Likewise.
50687         * rt/mqueue.h: Likewise.
50688         * posix/bits/unistd.h: Likewise.
50689         * posix/unistd.h: Likewise.
50690         * io/bits/poll2.h: Likewise.
50691         * io/bits/fcntl2.h: Likewise.
50692         * io/fcntl.h: Likewise.
50693         * io/sys/poll.h: Likewise.
50694         * misc/bits/syslog.h: Likewise.
50695         * misc/bits/syslog-ldbl.h: Likewise.
50696         * misc/sys/syslog.h: Likewise.
50697         * socket/bits/socket2.h: Likewise.
50698         * socket/sys/socket.h: Likewise.
50699         * debug/tst-chk1.c: Likewise.
50700         * wcsmbs/bits/wchar2.h: Likewise.
50701         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50702         * wcsmbs/wchar.h: Likewise.
50704 2012-04-29  Andreas Jaeger  <aj@suse.de>
50706         * Makerules (tests): Remove enable-check-abi protection.
50707         (check-abi-warn): Remove.
50708         (check-abi-%): Remove check-abi-warn usage.
50710         * configure.in: Remove check-abi configure option.
50711         * configure: Regenerated.
50712         * config.make.in (enable-check-abi): Remove.
50714 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50716         [BZ #14033]
50717         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50718         double functions to double *_finite functions.
50720         [BZ #13941]
50721         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50722         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50723         LDBL_MIN_EXP.
50724         * stdio-common/Makefile (tests): Add tst-sprintf3.
50725         * stdio-common/tst-sprintf3.c: New file.
50727         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50728         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50730 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50732         * conform/conformtest.pl: Remove duplicate typed-constant
50733         handling.
50735 2012-04-28  David S. Miller  <davem@davemloft.net>
50737         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50738         (check-abi-%): Remove AWK script prerequisite and explicit
50739         abilist directory.
50740         (check-abi): Rewrite to just diff the symlist with the abilist.
50741         (config-tls, config-abi-config): Delete, no longer used.
50742         (update-abi-%): Remove AWK script and explicit abilist directory.
50743         (update-abi): Rewrite to simply compare and conditionally copy the
50744         symlist and the sysdep abilist file.  Remove update-abi-config
50745         checks.
50746         * abilist/ld.abilist: Remove.
50747         * abilist/libBrokenLocale.abilist: Remove.
50748         * abilist/libanl.abilist: Remove.
50749         * abilist/libcrypt.abilist: Remove.
50750         * abilist/libdl.abilist: Remove.
50751         * abilist/librt.abilist: Remove.
50752         * abilist/libthread_db.abilist: Remove.
50753         * abilist/libutil.abilist: Remove.
50754         * scripts/extract-abilist.awk: Remove.
50755         * scripts/merge-abilist.awk: Remove.
50756         * sysdeps/generic/libcidn.abilist: New file.
50757         * sysdeps/generic/libnss_compat.abilist: New file.
50758         * sysdeps/generic/libnss_db.abilist: New file.
50759         * sysdeps/generic/libnss_dns.abilist: New file.
50760         * sysdeps/generic/libnss_files.abilist: New file.
50761         * sysdeps/generic/libnss_hesiod.abilist: New file.
50762         * sysdeps/generic/libnss_nis.abilist: New file.
50763         * sysdeps/generic/libnss_nisplus.abilist: New file.
50764         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50765         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50766         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50767         file.
50768         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50769         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50770         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50771         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50772         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50773         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50774         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50775         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50776         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50777         file.
50778         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50779         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50780         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50781         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50782         file.
50783         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50784         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50785         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50786         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50787         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50788         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50789         file.
50790         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50791         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50792         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50793         file.
50794         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50795         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50796         New file.
50797         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50798         New file.
50799         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50800         New file.
50801         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50802         New file.
50803         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50804         New file.
50805         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50806         New file.
50807         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50808         New file.
50809         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50810         New file.
50811         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50812         New file.
50813         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50814         New file.
50815         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50816         New file.
50817         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50818         New file.
50819         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50820         New file.
50821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50822         file.
50823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50824         New file.
50825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50826         New file.
50827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50828         file.
50829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50830         New file.
50831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50832         New file.
50833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50834         file.
50835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50836         New file.
50837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50838         New file.
50839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50840         New file.
50841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50842         New file.
50843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50844         New file.
50845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50846         New file.
50847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50849         file.
50850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50851         New file.
50852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50853         file.
50854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50855         file.
50856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50857         file.
50858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50859         file.
50860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50861         file.
50862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50863         New file.
50864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50865         file.
50866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50867         file.
50868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50869         New file.
50870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50871         file.
50872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50874         file.
50875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50876         New file.
50877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50878         file.
50879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50880         file.
50881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50882         file.
50883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50884         file.
50885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50886         file.
50887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50888         New file.
50889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50890         file.
50891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50892         file.
50893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50894         New file.
50895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50896         file.
50897         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50898         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50899         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50900         file.
50901         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50902         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50903         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50904         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50905         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50906         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50907         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50908         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50909         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50910         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50913         file.
50914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50915         New file.
50916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50917         file.
50918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50919         file.
50920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50921         file.
50922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50923         file.
50924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50925         file.
50926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50927         New file.
50928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50929         New file.
50930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50931         file.
50932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50933         New file.
50934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50935         file.
50936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50938         file.
50939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50940         New file.
50941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50942         file.
50943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50944         file.
50945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50946         file.
50947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50948         file.
50949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50950         file.
50951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50952         New file.
50953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50954         New file.
50955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50956         file.
50957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50958         New file.
50959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50960         file.
50962 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50964         * conform/conformtest.pl: Fix typo in handling typed-constant from
50965         allow-header.
50967 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50969         * README: Cut down references to pre-2.6 Linux kernels and
50970         Linuxthreads.  Update lists of configurations in libc and ports
50971         and sort alphabetically.  Say "or newer" with Linux kernel version
50972         requirements.
50974         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50976 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50978         [BZ #887]
50979         * math/libm-test.inc (logb_test_downward): New test to expose
50980         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50981         rounding mode.
50983 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50985         [BZ #14027]
50986         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50987         to be done.
50988         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50989         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50991 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50993         * sysdeps/unix/i386/brk.S: Remove file.
50994         * sysdeps/unix/i386/dl-brk.S: Likewise.
50995         * sysdeps/unix/i386/pipe.S: Likewise.
50996         * sysdeps/unix/i386/sigreturn.S: Likewise.
50997         * sysdeps/unix/i386/syscall.S: Likewise.
50998         * sysdeps/unix/i386/vfork.S: Likewise.
50999         * sysdeps/unix/i386/wait.S: Likewise.
51001         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51002         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51004         * configure.in (arm*-none*): Do not allow without
51005         --enable-hacker-mode.
51006         (netbsd*): Remove case setting base_os.
51007         (386bsd*): Likewise.
51008         (freebsd*): Likewise.
51009         (bsdi*): Likewise.
51010         (osf*): Likewise.
51011         (sunos*): Likewise.
51012         (ultrix*): Likewise.
51013         (newsos*): Likewise.
51014         (dynix*): Likewise.
51015         (*bsd*): Likewise.
51016         (sysv*): Likewise.
51017         (isc*): Likewise.
51018         (esix*): Likewise.
51019         (sco*): Likewise.
51020         (minix*): Likewise.
51021         (irix4*): Likewise.
51022         (irix6*): Likewise.
51023         (solaris[2-9]*): Likewise.
51024         (none): Likewise.
51025         * configure: Regenerated.
51027 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51029         [BZ #11521]
51030         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51031         overflow or cancellation in calculating denominator.
51032         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51033         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51034         down expression to avoid unexpected rounding in newer GCCs.
51035         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51037 2012-04-26  David S. Miller  <davem@davemloft.net>
51039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51040         long-double compat symbols.
51041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51055 2012-04-25  David S. Miller  <davem@davemloft.net>
51057         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51058         HWCAP_* values only after the memory barriers have been defined.
51059         (atomic_full_barrier): Define.
51060         (atomic_read_barrier): Define.
51061         (atomic_write_barrier): Define.
51063 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51065         * shlib-versions: Add libgcc_s version information.
51066         * sysdeps/generic/libgcc_s.h: Remove.
51067         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51068         libgcc_s.h.
51069         * sysdeps/gnu/unwind-resume.c: Likewise.
51070         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51072 2012-04-25  David S. Miller  <davem@davemloft.net>
51074         * sysdeps/unix/sparc/brk.S: Delete.
51075         * sysdeps/unix/sparc/dl-brk.S: Delete.
51076         * sysdeps/unix/sparc/pipe.S: Delete.
51077         * sysdeps/unix/sparc/sysdep.S: Delete.
51078         * sysdeps/unix/sparc/sysdep.h: Delete.
51079         * sysdeps/unix/sparc/vfork.S: Delete.
51080         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51081         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51082         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51083         (ret_ERRVAL, r0, r1, MOVE): Define.
51084         (JUMPTARGET): Remove.
51085         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51086         sysdeps/unix/sparc/sysdep.h
51087         (ENTRY, END): Remove.
51088         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51090 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51092         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51093         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51094         -DIS_IN_build.
51096         * timezone/README: Update upstream location and email address for
51097         tzcode and tzdata.
51098         * timezone/zdump.c: Update from tzcode 2012b.
51099         * timezone/zic.c: Likewise.
51101         * configure.in (libc_cv_as_needed): Remove test.
51102         * configure: Regenerated.
51103         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51104         conditional definition.
51105         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51106         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51107         * config.make.in (have-as-needed): Remove variable.
51109 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51110             Paul Pluzhnikov  <ppluzhnikov@google.com>
51112         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51113         strings correctly.
51115 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51117         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51118         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51119         * sysdeps/sh/strlen.S: Likewise.
51121 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51123         * sysdeps/unix/fork.S: Remove file.
51124         * sysdeps/unix/i386/fork.S: Likewise.
51125         * sysdeps/unix/sparc/fork.S: Likewise.
51127         * sysdeps/unix/system.c: Remove file.
51128         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51130         * sysdeps/unix/getegid.S: Remove file.
51131         * sysdeps/unix/geteuid.S: Likewise.
51133 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51135         * scripts/check-localplt.awk: New file.
51136         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51137         of diff.
51138         * scripts/data/localplt-generic.data: Add a comment.
51140         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51141         NODE when __dir_mkfile failed.
51142         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51143         Reported by Ludovic Courtès <ludo@gnu.org>.
51145 2012-04-24  Andreas Jaeger  <aj@suse.de>
51147         * Makerules (common-clean): Also remove gen-as-const-headers
51148         files.
51150 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51152         * Makerules (native-compile): Do not change working directory for
51153         build.  Use $(OUTPUT_OPTION) in command.
51154         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51156 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51158         [BZ #13886]
51159         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51160         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51161         * math/libm-test.inc (floor_test): Add more tests.
51162         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51164 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51166         * sysdeps/unix/getdents.c: Remove file.
51167         * sysdeps/unix/sysv/getdents.c: Likewise.
51168         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51170         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51171         sysdeps/unix/mman/syscalls.list.
51172         (mmap): Likewise.
51173         (mprotect): Likewise.
51174         (msync): Likewise.
51175         (munmap): Likewise.
51176         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51177         * sysdeps/unix/mman/syscalls.list: Remove.
51178         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51180         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51181         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51182         * configure: Regenerated.
51183         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51184         $(libgcc_s_suffix).
51185         * config.make.in (libgcc_s_suffix): Remove variable.
51187 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51189         * sysdeps/unix/sysv/gethostname.c: Move to ...
51190         * sysdeps/posix/gethostname.c: ... here.
51192         * sysdeps/unix/execve.S: Remove file.
51194         * sysdeps/unix/_exit.S: Remove file.
51196 2012-04-23  Andreas Jaeger  <aj@suse.de>
51198         [BZ #13739]
51199         * manual/Makefile: Remove make dist support, there's no
51200         need for a stand-alone documentation tar ball.
51201         (TEXI2DVI): Define always, it's not in Makeconfig.
51202         (dist): Removed.
51203         (tar-it): Removed.
51204         (edition): Removed.
51205         (glibc-doc-$(edition).tar): Removed
51206         (%.Z): Removed.
51207         (%.gz): Removed.
51208         (%.uu): Removed.
51209         (ETAGS): Remove, it's in Makeconfig.
51210         (move-if-change): Remove, it's in Makeconfig.
51212 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51214         [BZ #13970]
51215         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51216         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51217         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51218         (strtod_l, strtof_l, strtold_l): Remove __wur.
51219         It is not necessarily an error to ignore strtol's return value.
51220         One can reliably look at the stored endptr to decide whether
51221         the number had valid syntax.
51223 2012-04-21  Andreas Jaeger  <aj@suse.de>
51225         [BZ #13739]
51226         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51228 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51230         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51231         * sysdeps/unix/sysv/Versions: Remove file.
51233 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51235         [BZ #13927]
51236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51238 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51240         [BZ #7064]
51241         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51242         version from __vm86.
51244 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51246         * sysdeps/unix/common/lxstat.c: Remove file.
51247         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51249         * sysdeps/unix/sysv/Makefile: Remove file.
51251         * sysdeps/unix/sysv/direct.h: Remove file.
51253         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51254         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51255         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51256         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51257         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51258         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51259         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51261         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51263         * sysdeps/unix/xmknod.c: Remove file.
51264         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51266         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51268         * sysdeps/unix/sysv/i386/time.S: Remove file.
51270         * sysdeps/unix/fxstat.c: Remove file.
51271         * sysdeps/unix/xstat.c: Likewise.
51272         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51274         * sysdeps/unix/sysv/sigaction.c: Remove file.
51276         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51277         (sysdep_headers): Remove variable.
51278         [termio.h not in sysdep_headers] (generated): Likewise.
51279         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51280         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51281         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51282         * sysdeps/unix/sysv/tcflow.c: Likewise.
51283         * sysdeps/unix/sysv/tcflush.c: Likewise.
51284         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51285         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51286         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51287         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51288         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51290         * sysdeps/unix/siglist.c: Remove file.
51292         * sysdeps/unix/getppid.S: Remove file.
51294         * sysdeps/unix/mkdir.c: Remove file.
51295         * sysdeps/unix/rmdir.c: Likewise.
51297 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51299         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51300         ERR_MAX value.
51301         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51302         errlist-compat value.
51304 2012-04-18  David S. Miller  <davem@davemloft.net>
51306         * sysdeps/generic/memcopy.h (reg_char): Delete.
51307         * debug/strcat_chk.c: Use char, not reg_char.
51308         * debug/strcpy_chk.c: Likewise.
51309         * debug/strncat_chk.c: Likewise.
51310         * debug/strncpy_chk.c: Likewise.
51311         * string/memchr.c: Likewise.
51312         * string/memrchr.c: Likewise.
51313         * string/rawmemchr.c: Likewise.
51314         * string/strcat.c: Likewise.
51315         * string/strchr.c: Likewise.
51316         * string/strchrnul.c: Likewise.
51317         * string/strcmp.c: Likewise.
51318         * string/strcpy.c: Likewise.
51319         * string/strncat.c: Likewise.
51320         * string/strncmp.c: Likewise.
51321         * string/strncpy.c: Likewise.
51323 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51325         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51326         __builtin_memcopy is called when src and dest ranges are known to not
51327         overlap.
51329 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51331         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51332         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51333         fwd_align_merge macro call.
51334         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51335         bwd_align_merge macro call.
51336         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51338 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51340         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51341         bwd_align_merge macros.
51342         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51343         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51344         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51346 2012-04-18  David S. Miller  <davem@davemloft.net>
51348         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51350 2012-04-18  Andreas Jaeger  <aj@suse.de>
51352         [BZ# 6794]
51353         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51354         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51355         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51357         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51358         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51359         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51361         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51362         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51363         Adjust for changed ldbl-128 files.
51365         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51366         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51367         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51369 2012-04-17  David S. Miller  <davem@davemloft.net>
51371         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51373 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51375         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51376         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51377         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51378         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51379         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51380         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51382 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51384         [BZ #6794]
51385         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51386         * math/libm-test.inc: Add ilogb errno and exception tests.
51387         * math/w_ilogb.c: New file: ilogb wrapper.
51388         * math/w_ilogbf.c: New file: ilogbf wrapper.
51389         * math/w_ilogbl.c: New file: ilogbl wrapper.
51390         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51391         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51392         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51393         exception being thrown with 0.0 as argument.
51394         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51395         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51396         exception being thrown with 0.0 as argument.
51397         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51398         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51399         exception being thrown with 0.0 as argument.
51400         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51401         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51402         exception being thrown with 0.0 as argument.
51403         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51404         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51405         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51406         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51407         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51408         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51409         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51410         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51411         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51413 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51415         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51416         with altivec.
51418 2012-04-16  Marek Polacek  <polacek@redhat.com>
51420         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51422 2012-04-16  Marek Polacek  <polacek@redhat.com>
51424         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51425         operands of fdivp instruction.
51427 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51429         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51430         * elf/tst-auditmod3b.c: Likewise.
51431         * elf/tst-auditmod4b.c: Likewise.
51432         * elf/tst-auditmod5b.c: Likewise.
51433         * elf/tst-auditmod6b.c: Likewise.
51434         * elf/tst-auditmod6c.c: Likewise.
51435         * elf/tst-auditmod7b.c: Likewise.
51436         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51437         * sysdeps/x86_64/preconfigure.in: Likewise.
51438         * sysdeps/x86_64/preconfigure: Regenerated.
51440 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51442         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51443         __ILP32__.
51445 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51447         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51448         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51450 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51452         [BZ #13973]
51453         * locale/iso-639.def: Fix gl language name. Spotted by
51454         Yaron Shahrabani.
51456 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51458         [BZ #2074]
51459         * libio/libio.h (__io_write_fn): Update comment.
51461 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51463         [BZ #2074]
51464         * stdio.texi (Hook Functions): The user provided writer function
51465         is not allowed to return -1.
51467 2012-04-11  David S. Miller  <davem@davemloft.net>
51469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51471 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51473         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51474         Add a leading slash to rtkaio.
51476 2012-04-11  Jim Meyering  <meyering@redhat.com>
51478         [BZ #11959]
51479         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51480         It is not necessarily an error to ignore fwrite's return
51481         value.  One can reliably use ferror to test for errors after
51482         the fact.
51484 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51486         * bits/types.h (__snseconds_t): New type.
51487         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51489         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51490         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51491         (__SNSECONDS_T_TYPE): Likewise.
51492         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51493         (__SNSECONDS_T_TYPE): Likewise.
51494         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51495         (__SNSECONDS_T_TYPE): Likewise.
51497 2012-04-10  Andreas Jaeger  <aj@suse.de>
51499         [BZ #2636]
51500         * manual/time.texi (Processor Time): Return type of times is
51501         elapsed real time since an arbitrary point in the past.
51502         (CPU Time): Move CLK_TCK from here...
51503         (Processor Time): ...to here.  Correct description.
51504         * manual/conf.texi (Constants for Sysconf): Correct description of
51505         _SC_CLK_TCK.
51507 2012-04-10  David S. Miller  <davem@davemloft.net>
51509         [BZ #13967]
51510         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51511         where the is a gap between DT_REL(A) and DT_JMPREL.
51513 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51515         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51516         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51517         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51519 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51521         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51522         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51523         (dl_main): Handle --inhibit-cache.
51524         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51525         _dl_inhibit_cache.
51526         * elf/dl-load.c (_dl_map_object): Use it.
51527         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51529 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51531         [BZ #13872]
51532         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51533         (__ieee754_powl): Saturate large exponents rather than testing for
51534         overflow of y*log2(x).
51535         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51536         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51537         exceptions.
51539         [BZ #11521]
51540         * math/s_ctan.c: Include <float.h>.
51541         (__ctan): Avoid internal overflow or cancellation in calculating
51542         denominator.
51543         * math/s_ctanf.c: Likewise.
51544         * math/s_ctanl.c: Likewise.
51545         * math/s_ctanh.c: Likewise.
51546         * math/s_ctanhf.c: Likewise.
51547         * math/s_ctanhl.c: Likewise.
51548         * math/libm-test.inc (ctan_test): Add more tests.
51549         (ctanh_test): Likewise.
51550         * sysdeps/i386/fpu/libm-test-ulps: Update.
51551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51553 2012-04-09  Andreas Jaeger  <aj@suse.de>
51555         [BZ #6894]
51556         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51557         is an optional BSD extension.
51559         [BZ #10254]
51560         * manual/stdio.texi (Opening Streams): Document additional fopen
51561         parameters.
51563 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51565         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51566         %eax without telling the compiler.
51568 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51570         [BZ # 13963]
51571         * manual/install.texi: Use sourceware.org.
51573 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51575         [BZ #13873]
51576         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51577         (__ieee754_pow): Generate overflow and underflow using huge*huge
51578         and tiny*tiny rather than just returning constant infinity or zero
51579         for large exponents.
51580         * math/libm-test.inc (pow_test): Require overflow exceptions for
51581         applicable cases of large exponents.
51583         [BZ #706]
51584         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51585         (__ieee754_pow): Use iterative multiplication algorithm only for
51586         integer exponents with absolute value below 1024.  Check for odd
51587         integer exponents when using algorithm for real exponents.
51588         * math/libm-test.inc (pow_test): Add more tests.
51589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51591 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51593         [BZ #13705]
51594         * math/libm-test.inc (exp_test): Do not allow overflow exception
51595         on underflow test.
51597 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51599         [BZ #13705]
51600         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51601         instead of __kernel_standard_f.
51603 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51605         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51606         * sysdeps/x86_64/memset_chk.S: Likewise.
51608 2012-04-08  Andreas Jaeger  <aj@suse.de>
51610         [BZ #10153]
51611         * manual/startup.texi (Environment Access): Describe return value
51612         for putenv and setenv.
51614         [BZ #6895]
51615         * manual/filesys.texi (Directory Entries): Add description for
51616         DT_LNK.
51618         [BZ #6890]
51619         * manual/filesys.texi (Directory Entries): Clarify that it's file
51620         system not operating system in the description of DT_UNKNOWN.
51622         [BZ #6578]
51623         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51625 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51627         [BZ #6649]
51628         * manual/llio.texi (Opening and Closing Files): Add cross
51629         reference to explain mode argument.
51631 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51633         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51634         * sysdeps/x86_64/memset_chk.S: Likewise.
51636 2012-04-07  David S. Miller  <davem@davemloft.net>
51638         * elf/elf.h (R_SPARC_WDISP10): Define.
51639         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51640         R_SPARC_SIZE32.
51641         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51642         R_SPARC_SIZE64 and R_SPARC_H34.
51644 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51646         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51647         conditions and remove no longer applicable assertion.
51649 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51651         * bits/byteswap.h: Include <features.h>.
51652         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51653         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51655 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51657         * bits/byteswap.h (__bswap_16): Removed.
51658         Include <bits/byteswap-16.h> to get __bswap_16.
51659         * sysdeps/i386/bits/byteswap.h: Likewise.
51660         * sysdeps/s390/bits/byteswap.h: Likewise.
51661         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51662         * bits/byteswap-16.h: New file.
51663         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51664         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51665         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51666         * string/Makefile (headers): Add bits/byteswap-16.h.
51668 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51670         [BZ #13895]
51671         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51672         extra indirection.
51673         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51674         * nss/tst-nss-static.c: New.
51676 2012-04-06  Robert Millan  <rmh@gnu.org>
51678         [BZ #6486]
51679         * manual/llio.texi (File Position Primitive): lseek
51680         refers to WHENCE when it really means OFFSET.
51682 2012-04-06  Andreas Jaeger  <aj@suse.de>
51684         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51685         strncmp declarations.
51687         * abilist/libc.abilist: Add __poll and __ppoll.
51689 2012-04-05  David S. Miller  <davem@davemloft.net>
51691         * scripts/check-local-headers.sh: Accept a host triplet in the
51692         path matched by the exclude regexp.
51694         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51695         definition.
51696         * sysdeps/powerpc/powerpc32/dl-machine.h
51697         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51698         * sysdeps/s390/s390-32/dl-machine.h
51699         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51700         * sysdeps/sparc/sparc32/dl-machine.h
51701         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51702         * sysdeps/sparc/sparc64/dl-machine.h
51703         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51705         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51706         lazy binding.
51707         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51708         undefined symbol errors.
51710         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51711         DT_NEEDED entries.
51713 2012-04-05  Michael Matz  <matz@suse.de>
51715         [BZ #13592]
51716         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51718 2012-04-05  Andreas Jaeger  <aj@suse.de>
51720         [BZ #13908]
51721         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51722         comment.
51724 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51726         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51727         which ROUND is no valid rounding mode.
51729 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51731         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51732         read again.
51733         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51735 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51737         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51738         an exception using FPU order intentionally.
51740 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51742         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51743         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51744         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51745         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51747 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51749         [BZ #12340]
51750         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51751         EINVAL when BUFLEN is too smal.
51753 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51755         [BZ #13553]
51756         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51757         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51759 2012-04-03  Andreas Jaeger  <aj@suse.de>
51761         [BZ #13938]
51762         * manual/setjmp.texi (System V contexts): Fix sentence.
51764         [BZ #13926]
51765         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51766         New macro for this case.
51767         [!__GNUC__] (__bswap_64): New inline function for this case.
51768         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51769         * bits/byteswap.h: Likewise.
51770         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51771         ull, guard with __GLIBC_HAVE_LONG_LONG.
51773         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51774         __GLIBC_HAVE_LONG_LONG.
51776         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51777         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51779 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51781         [BZ #13691]
51782         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51783         inptr and inend, rather than using last_ch.
51785 2012-04-02  David S. Miller  <davem@davemloft.net>
51787         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51788         * stdio-common/printf-parse.h (read_int): Change return type to
51789         'int', return -1 on INT_MAX overflow.
51790         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51791         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51792         overflows INT_MAX.  Check for overflow of in-format-string precision
51793         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51794         SIZE_MAX not INT_MAX for integer overflow test.
51795         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51796         skip the construct in the format string but do not record anything.
51797         * stdio-common/bug22.c: Adjust to test both width/prevision
51798         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51799         explicitly for proper errno values.
51801 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51803         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51804         CHAR_MAX.
51805         * string/test-strcmp.c [! WIDE]: Likewise.
51806         * time/tst-mktime2.c: Likewise for INT_MAX.
51807         * string/test-string.h: #include <sys/param.h> for MIN.
51809         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51810         * sysdeps/i386/init-first.c (init): Likewise.
51811         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51812         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51813         * sysdeps/sh/init-first.c (init): Likewise.
51815 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51817         * po/ru.po: Update from translation team.
51818         * po/vi.po: Likewise.
51820 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51822         * resolv/nss_dns/dns-host.c: Merge copyright years.
51824 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51826         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51827         Optimize memcpy with prefetch if
51828         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51829         src, dst pointers have unequal 16 byte alignments.
51831 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51833         [BZ #13928]
51834         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51835         from a CNAME entry and return the minimum ttl for the query.
51836         (gaih_getanswer_slice): Likewise.
51838 2012-03-30  Jeff Law  <law@redhat.com>
51840         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51841         due to long keys.
51842         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51843         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51845         * resolv/nss_dns/dns-host.c: Update copyright year.
51847 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51849         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51850         requests to save a system call.  Fix check that all bytes are sent.
51852         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51853         comments for sendmmsg.
51855 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51857         [BZ #13691]
51858         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51859         with only 1 character between 0x0041 and 0x01b0.
51860         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51861         * wcsmbs/tst-mbsnrtowcs.c: New file.
51863 2012-03-29  David S. Miller  <davem@davemloft.net>
51865         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51866         small copies by hand.
51868 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51870         [BZ #13761]
51871         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51872         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51873         group memberships.
51875 2012-03-28  David S. Miller  <davem@davemloft.net>
51877         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51878         that branches into memcpy.
51879         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51880         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51881         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51882         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51883         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51884         bits.
51885         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51886         implementation too.
51887         * sysdeps/sparc/mempcpy.S: New file.
51889         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51890         the IFUNC routine in the libc case.
51891         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51893         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51894         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51895         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51896         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51897         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51898         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51899         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51900         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51902         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51903         loop to 256 bytes instead of 64 bytes and fix test signedness.
51905         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51906         * sysdeps/sparc/sparc32/Makefile: rather than here...
51907         * sysdeps/sparc/sparc64/Makefile: and here.
51909 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51911         * malloc/mallocbug.c: Avoid warnings about unused variables.
51913 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51915         [BZ #13760]
51916         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51917         in the right place. Discard and retry query if response is
51918         larger than input buffer size.
51920 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51922         [BZ #369]
51923         [BZ #2678]
51924         [BZ #3866]
51925         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51926         x for large integer exponent.
51927         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51928         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51929         sign of result as needed afterwards.
51930         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51931         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51932         result for underflowing pow the same as for overflow.
51933         (__kernel_standard_l): Handle powl overflow and underflow here
51934         rather than calling __kernel_standard.
51935         * math/libm-test.inc (pow_test): Add more tests.
51937         [BZ #3868]
51938         [BZ #13879]
51939         [BZ #13910]
51940         [BZ #13911]
51941         [BZ #13912]
51942         [BZ #13913]
51943         [BZ #13915]
51944         [BZ #13916]
51945         [BZ #13917]
51946         [BZ #13918]
51947         [BZ #13919]
51948         [BZ #13920]
51949         [BZ #13921]
51950         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51951         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51952         (__kernel_standard_l): New function.
51953         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51954         __kernel_standard.
51955         * math/w_acosl.c (__acosl): Likewise.
51956         * math/w_asinl.c (__asinl): Likewise.
51957         * math/w_atan2l.c (__atan2l): Likewise.
51958         * math/w_atanhl.c (__atanhl): Likewise.
51959         * math/w_coshl.c (__coshl): Likewise.
51960         * math/w_exp10l.c (__exp10l): Likewise.
51961         * math/w_exp2l.c (__exp2l): Likewise.
51962         * math/w_fmodl.c (__fmodl): Likewise.
51963         * math/w_hypotl.c (__hypotl): Likewise.
51964         * math/w_j0l.c (__j0l, __y0l): Likewise.
51965         * math/w_j1l.c (__j1l, __y1l): Likewise.
51966         * math/w_jnl.c (__jnl, __ynl): Likewise.
51967         * math/w_lgammal.c (__lgammal): Likewise.
51968         * math/w_log10l.c (__log10l): Likewise.
51969         * math/w_log2l.c (__log2l): Likewise.
51970         * math/w_logl.c (__logl): Likewise.
51971         * math/w_powl.c (__powl): Likewise.
51972         * math/w_remainderl.c (__remainderl): Likewise.
51973         * math/w_scalbl.c (sysv_scalbl): Likewise.
51974         * math/w_sinhl.c (__sinhl): Likewise.
51975         * math/w_sqrtl.c (__sqrtl): Likewise.
51976         * math/w_tgammal.c (__tgammal): Likewise.
51977         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51978         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51979         * math/libm-test.inc (acos_test): Add more tests.
51980         (acosh_test): Likewise.
51981         (asin_test): Likewise.
51982         (atanh_test): Likewise.
51983         (exp_test): Likewise.
51984         (exp10_test): Likewise.
51985         (exp2_test): Likewise.
51986         (expm1_test): Likewise.
51987         (lgamma_test): Likewise.
51988         (log_test): Likewise.
51989         (log10_test): Likewise.
51990         (log1p_test): Likewise.
51991         (log2_test): Likewise.
51992         (pow_test): Do not allow some spurious overflow exceptions.
51993         (sqrt_test): Add more tests.
51994         (tgamma_test): Likewise.
51995         (y0_test): Likewise.
51996         (y1_test): Likewise.
51997         (yn_test): Likewise.
51999 2012-03-27  Anton Blanchard  <anton@samba.org>
52001         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52002         MAP_HUGETLB.
52003         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52004         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52005         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52007 2012-03-27  David S. Miller  <davem@davemloft.net>
52009         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52011         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52012         have-as-vis3 check.
52014 2012-03-27  Andreas Jaeger  <aj@suse.de>
52016         * sysdeps/x86_64/elf/configure.in: Moved to ...
52017         * sysdeps/x86_64/configure.in: ... here.
52018         * sysdeps/x86_64/elf/start.S: Moved to ...
52019         * sysdeps/x86_64/start.S: ... here.
52020         * sysdeps/x86_64/elf/configure: Delete.
52022         * sysdeps/x86_64/configure.in: Merge contents from
52023         sysdeps/i386/configure.in (without i686 check).
52025         * sysdeps/i386/elf/Versions: Merge into ...
52026         * sysdeps/i386/Versions: ... this.
52027         * sysdeps/i386/elf/Versions: Delete file.
52028         * sysdeps/i386/elf/start.S: Moved to ...
52029         * sysdeps/i386/start.S: ...here.
52030         * sysdeps/i386/elf/configure.in: Merge into...
52031         * sysdeps/i386/configure.in: ...here.
52032         * sysdeps/i386/elf/configure.in: Delete file.
52033         * sysdeps/i386/elf/configure: Delete file.
52035         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52036         * debug/backtracesyms.c: ... here.
52037         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52038         * debug/backtracesymsfd.c: ... here.
52039         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52040         * sysdeps/generic/ifunc-sel.h: ... here.
52042         * sysdeps/unix/i386/start.c: Delete file.
52043         * sysdeps/unix/sparc/start.c: Delete file.
52044         * sysdeps/unix/start.c: Delete file.
52046         * sysdeps/sh/elf/configure.in: Moved to ...
52047         * sysdeps/sh/configure.in: ... here.
52048         * sysdeps/sh/elf/start.S: Moved to ...
52049         * sysdeps/sh/start.S: ... here.
52050         * sysdeps/sh/elf/configure: Delete file.
52052         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52053         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52054         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52055         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52056         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52057         * sysdeps/powerpc/powerpc64/start.S: here.
52058         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52059         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52060         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52061         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52062         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52064         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52065         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52066         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52067         * sysdeps/powerpc/powerpc32/start.S: ... here.
52068         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52069         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52070         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52072         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52073         * sysdeps/powerpc/ifunc-sel.h: ... here.
52074         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52075         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52077         * sysdeps/sparc/elf/configure.in: Moved to ...
52078         * sysdeps/sparc/configure.in: ... here.
52079         * sysdeps/sparc/elf/configure: Delete file.
52080         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52081         * sysdeps/sparc/sparc32/start.S: ... here.
52082         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52083         * sysdeps/sparc/sparc64/start.S: ... here.
52084         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52085         * sysdeps/sparc/sparc32/Makefile: ... this.
52086         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52087         * sysdeps/sparc/sparc64/Makefile: ... this.
52089         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52090         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52091         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52092         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52093         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52094         * sysdeps/s390/s390-32/setjmp.S: ... here.
52095         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52096         * sysdeps/s390/s390-32/configure.in: ... here.
52097         * sysdeps/s390/s390-32/elf/configure: Delete file.
52098         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52099         * sysdeps/s390/s390-32/start.S: ... here.
52101         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52102         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52103         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52104         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52105         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52106         * sysdeps/s390/s390-64/setjmp.S: ... here.
52107         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52108         * sysdeps/s390/s390-64/configure.in: ... here
52109         * sysdeps/s390/s390-64/elf/configure: Delete file.
52110         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52111         * sysdeps/s390/s390-64/start.S: ... here.
52112         * sysdeps/s390/s390-64/elf/configure: Delete.
52114         * configure.in: Remove support for elf directories in sysdeps.
52116         * configure: Regenerated.
52117         * sysdeps/i386/configure: Regenerated.
52118         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52119         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52120         * sysdeps/s390/s390-32/configure: Regenerated.
52121         * sysdeps/s390/s390-64/configure: Regenerated.
52122         * sysdeps/sh/configure: Regenerated.
52123         * sysdeps/sparc/configure: Regenerated.
52124         * sysdeps/x86_64/configure: Regenerated.
52126 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52130         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52131         denormal result into account.
52133 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52135         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52136         Reported by Allan McRae <allan@archlinux.org>.
52138 2012-03-23  Jeff Law  <law@redhat.com>
52140         * nss/getnssent.c (__nss_getent): Fix typo.
52142 2012-03-23  David S. Miller  <davem@davemloft.net>
52144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52146 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52148         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52149         to pad to uint64_t for each field.
52150         (dl_tls_index): Replace unsigned long with uint64_t.
52152 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52153         Paul Pluzhnikov  <ppluzhnikov@google.com>
52155         [BZ #6528]
52156         * grp/Makefile (otherlibs): Don't set it.
52157         * inet/Makefile (otherlibs): Likewise.
52158         * login/Makefile (otherlibs): Likewise.
52159         * nscd/Makefile (otherlibs): Likewise.
52160         * posix/Makefile (otherlibs): Likewise.
52161         * pwd/Makefile (otherlibs): Likewise.
52162         * rt/Makefile (otherlibs): Likewise.
52163         * sunrpc/Makefile (otherlibs): Likewise.
52164         * nss/Makefile (otherlibs): Likewise.
52165         Add libnss_files to routines and static-only-routines.
52166         ($(objpfx)getent): Remove rule.
52167         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52168         static-only-routines.
52170 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52172         [BZ #13892]
52173         * math/s_cexp.c: Include <float.h>.
52174         (__cexp): Handle exp result overflowing not necessarily
52175         overflowing both real and imaginary parts of result.
52176         * math/s_cexpf.c: Likewise.
52177         * math/s_cexpl.c: Likewise.
52178         * math/libm-test.inc (cexp_test): Add more tests.
52179         * sysdeps/i386/fpu/libm-test-ulps: Update.
52180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52182 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52184         * include/link.h (ELFW): New macro.
52185         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52186         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52188 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52190         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52191         with uint64_t.
52193 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52195         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52196         declaration.
52197         (struct La_x32_retval): Likewise.
52199 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52201         * sysdeps/x86_64/preconfigure.in: New file.
52202         * sysdeps/x86_64/preconfigure: New generated file.
52204 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52206         [BZ #13824]
52207         * math/e_exp2l.c: Include <float.h>.
52208         (__ieee754_exp2l): Handle overflow and underflow cases
52209         separately.  Only pass fractional part of argument to
52210         __ieee754_expl.
52211         * math/libm-test.inc (exp2_test): Add more tests.
52213         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52214         negating x to take absolute value.
52215         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52216         Likewise.
52217         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52218         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52219         Likewise.
52220         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52221         computing low part if x was negated.
52222         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52224 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52226         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52227         la_x32_gnu_pltexit.
52228         (pltexit): Cast int_retval to ptrdiff_t.
52229         * elf/tst-auditmod3b.c: Likewise.
52230         * elf/tst-auditmod4b.c: Likewise.
52231         * elf/tst-auditmod5b.c: Likewise.
52232         * elf/tst-auditmod6b.c: Likewise.
52233         * elf/tst-auditmod6c.c: Likewise.
52234         * elf/tst-auditmod7b.c: Likewise.
52236         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52237         and x32_gnu_pltexit.
52239         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52240         __ELF_NATIVE_CLASS.
52241         (La_x32_regs): New macro.
52242         (La_x32_retval): Likewise.
52243         (la_x32_gnu_pltenter): New function prototype.
52244         (la_x32_gnu_pltexit): Likewise.
52246 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52248         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52249         exponent.
52251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52253         * configure.in (libc_cv_cc_nofma): Check for option to disable
52254         generation of FMA instructions.
52255         * configure: Regenerate.
52256         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52257         * sysdeps/ieee754/dbl-64/Makefile: New file.
52258         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52259         Remove brandred-fma4.
52260         (CFLAGS-brandred-fma4.c): Remove.
52261         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52262         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52263         define.
52264         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52265         define.
52267 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52269         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52270         LLONG_MAX != LONG_MAX.
52271         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52272         (_fitoa_word): Likewise.
52273         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52274         LLONG_MAX != LONG_MAX.
52275         * stdio-common/_itowa.h: Include <_itoa.h>.
52276         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52277         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52278         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52279         only if not defined.
52280         (_ITOA_WORD_TYPE): Likewise.
52281         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52282         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52284 2012-03-21  David S. Miller  <davem@davemloft.net>
52286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52288 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52290         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52291         of x86_64 when setting libc_cv_slibdir, libdir and
52292         libc_cv_localedir.
52293         * sysdeps/unix/sysv/linux/configure: Regenerated.
52295 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52297         * manual/lang.texi (Old Varargs): Remove section.
52298         (How Variadic): Update menu.
52299         (va_start): Do not mention varargs.h.
52301 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52302             Joseph Myers  <joseph@codesourcery.com>
52304         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52305         link test.
52306         * configure: Regenerated.
52308 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52310         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52311         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52312         conformtest.pl
52314 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52316         * NOTES: Remove.
52317         * Makefile (files-for-dist): Remove NOTES.
52318         (NOTES): Remove rule.
52319         * README: Don't refer to NOTES.
52320         * manual/creature.texi: Don't include macros.texi.
52321         * manual/intro.texi (creature.texi): Remove comment referring to
52322         NOTES.
52324         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52325         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52326         * configure: Regenerated.
52327         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52328         LIBC_TRY_CC_OPTION.
52329         (libc_cv_as_i686): Likewise.
52330         (libc_cv_cc_avx): Likewise.
52331         (libc_cv_cc_sse2avx): Likewise.
52332         (libc_cv_cc_fma4): Likewise.
52333         (libc_cv_cc_novzeroupper): Likewise.
52334         * sysdeps/i386/configure: Regenerated.
52336         [BZ #13883]
52337         * sysdeps/i386/fpu/s_cexp.S: Remove.
52338         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52339         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52340         * math/libm-test.inc (cexp_test): Add more tests.
52341         * sysdeps/i386/fpu/libm-test-ulps: Update.
52342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52344 2012-03-21  Allan McRae  <allan@archlinux.org>
52346         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52348 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52350         [BZ #13871]
52351         * math/w_exp2.c: Do not include <float.h>.
52352         (o_threshold, u_threshold): Remove.
52353         (__exp2): Calculate result before checking finiteness and calling
52354         __kernel_standard.
52355         * math/w_exp2f.c: Likewise.
52356         * math/w_exp2l.c: Likewise.
52357         * math/libm-test.inc (exp2_test): Require overflow exception for
52358         1e6 input.
52360         [BZ #3866]
52361         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52362         range of signed 64-bit integers before using fistpll.  Remove
52363         checks for whether integers fit in mantissa bits.
52364         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52365         the range of signed 32-bit integers before using fistpl.  Remove
52366         checks for whether integers fit in mantissa bits.
52367         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52368         (__ieee754_powl): Test for y outside the range of signed 64-bit
52369         integers before using fistpll.  Reduce 64-bit values to 63-bit
52370         ones as needed.
52371         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52372         divide-by-zero is raised for zero to large negative powers.
52373         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52374         (__ieee754_powl): Test for y outside the range of signed 64-bit
52375         integers before using fistpll.  Reduce 64-bit values to 63-bit
52376         ones as needed.
52377         * math/libm-test.inc (pow_test): Add more tests.
52379 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52381         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52382         <stdio-common/_itoa.h>.
52383         * debug/segfault.c: Likewise.
52384         * elf/dl-cache.c: Likewise.
52385         * elf/dl-minimal.c: Likewise.
52386         * elf/dl-misc.c: Likewise.
52387         * elf/dl-sysdep.c: Likewise.
52388         * elf/dl-version.c: Likewise.
52389         * elf/rtld.c: Likewise.
52390         * hurd/hurdsock.c: Likewise.
52391         * hurd/lookup-retry.c: Likewise.
52392         * malloc/malloc.c: Likewise.
52393         * malloc/mtrace.c: Likewise.
52394         * nscd/nscd_getgr_r.c: Likewise.
52395         * nscd/nscd_getpw_r.c: Likewise.
52396         * nscd/nscd_getserv_r.c: Likewise.
52397         * posix/getopt_init.c: Likewise.
52398         * posix/wordexp.c: Likewise.
52399         * stdio-common/_itoa.c: Likewise.
52400         * stdio-common/printf_fphex.c: Likewise.
52401         * stdio-common/vfprintf.c: Likewise.
52402         * string/_strerror.c: Likewise.
52403         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52404         * sysdeps/i386/i686/hp-timing.h: Likewise.
52405         * sysdeps/mach/_strerror.c: Likewise.
52406         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52407         * sysdeps/mach/hurd/sethostid.c: Likewise.
52408         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52409         * sysdeps/mach/xpg-strerror.c: Likewise.
52410         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52411         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52412         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52413         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52414         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52415         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52416         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52417         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52418         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52419         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52420         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52421         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52422         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52423         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52424         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52425         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52426         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52427         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52428         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52429         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52430         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52432         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52434         * stdio-common/_itoa.h: Moved to ...
52435         * sysdeps/generic/_itoa.h: Here.
52437         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52439         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52440         instead of "_itoa.h" and "_itowa.h".
52441         * stdio-common/vfprintf.: Likewise.
52443 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52445         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52446         <bits/wordsize.h>.
52447         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52448         (__signbit): Likwise.
52449         (llrintf): Likwise.
52450         (llrint): Likwise.
52452 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52454         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52455         __WORDSIZE != 64.
52457 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52459         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52460         OVERFLOW_EXCEPTION_OK.
52461         * math/libm-test.inc ("Philosophy"): Update comment about
52462         exception testing.
52463         (OVERFLOW_EXCEPTION): Define.
52464         (OVERFLOW_EXCEPTION_OK): Likewise.
52465         (INVALID_EXCEPTION_OK): Renumber.
52466         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52467         (IGNORE_ZERO_INF_SIGN): Likewise.
52468         (test_exceptions): Handle FE_OVERFLOW.
52469         (exp10_test): Expect overflow exceptions.
52470         (exp2_test): Likewise.
52471         (expm1_test): Likewise.
52472         (nextafter_test): Likewise.
52473         (pow_test): Likewise.
52474         (scalbn_test): Likewise.
52475         (scalbln_test): Likewise.
52477 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52479         * sysdeps/x86_64/bits/atomic.h
52480         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52481         64bit integer.
52482         (atomic_exchange_acq): Likewise.
52483         (__arch_exchange_and_add_body): Likewise.
52484         (__arch_add_body): Likewise.
52485         (atomic_add_negative): Likewise.
52486         (atomic_add_zero): Likewise.
52488 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52490         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52491         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52493 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52495         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52496         Check __x86_64__ instead of __WORDSIZE.
52498 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52500         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52502 2012-03-19  David S. Miller  <davem@davemloft.net>
52504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52506         * sysdeps/sparc/fpu/fenv_private.h: New file.
52507         * sysdeps/sparc/fpu/math_private.h: Use it.
52508         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52509         Remove.
52510         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52511         (libc_feholdexcept_setroundl): Remove.
52512         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52513         Remove.
52514         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52515         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52517 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52519         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52520         int64_t instead of long int.
52521         (INSERT_WORDS64): Likwise.
52523 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52525         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52526         _Unwind_GetCFA return to _Unwind_Ptr first.
52528 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52530         [BZ #13629]
52531         * math/s_clog.c: Include <float.h>.
52532         (__clog): Scale large or subnormal inputs.
52533         * math/s_clogf.c: Likewise.
52534         * math/s_clogl.c: Likewise.
52535         * math/s_clog10.c: Include <float.h>.
52536         (M_LOG10_2): Define.
52537         (__clog10): Scale large or subnormal inputs.
52538         * math/s_clog10f.c: Likewise.
52539         * math/s_clog10l.c: Likewise.
52540         * math/libm-test.inc (clog_test): Add more tests.
52541         (clog10_test): Likewise.
52542         * sysdeps/i386/fpu/libm-test-ulps: Update.
52543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52545         [BZ #11451]
52546         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52547         x and y.
52548         * math/libm-test.inc (atan2_test): Add another test.
52550         * Makerules (common-objdir-compile): Remove.
52551         * sysdeps/unix/Makefile (config-generated): Do not add
52552         $(unix-generated) to variable.
52553         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52554         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52555         Remove rule.
52556         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52557         Likewise.
52558         [generic bits/local_lim.h] (before-compile): Do not append to
52559         variable.
52560         [generic bits/local_lim.h] (common-generated): Likewise.
52561         [generic sys/param.h] (before-compile): Do not append to variable.
52562         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52563         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52564         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52565         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52566         include.
52567         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52568         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52569         [generic sys/param.h] ($(addprefix
52570         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52571         [generic sys/param.h] (common-generated): Do not append to
52572         variable.
52573         [generic sys/param.h] (sysdep_headers): Likewise.
52574         [generic bits/errno.h] (before-compile): Do not append to
52575         variable.
52576         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52577         rule.
52578         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52579         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52580         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52581         [generic bits/errno.h] (common-generated): Do not append to
52582         variable.
52583         [generic bits/ioctls.h] (before-compile): Do not append to
52584         variable.
52585         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52586         rule.
52587         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52588         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52589         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52590         rule.
52591         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52592         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52593         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52594         [generic bits/ioctls.h] (common-generated): Do not append to
52595         variable.
52596         [generic sys/syscall.h] (syscall.h): Remove variable.
52597         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52598         rule.
52599         [generic sys/syscall.h] (before-compile): Do not append to
52600         variable.
52601         [generic sys/syscall.h] (common-generated): Likewise.
52602         * sysdeps/unix/errnos-tmpl.c: Remove file.
52603         * sysdeps/unix/errnos.awk: Likewise.
52604         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52605         * sysdeps/unix/ioctls.awk: Likewise.
52606         * sysdeps/unix/mk-local_lim.c: Likewise.
52607         * sysdeps/unix/snarf-ioctls: Likewise.
52609 2012-03-19  Richard Henderson  <rth@twiddle.net>
52611         * sysdeps/i386/fpu/fenv_private.h: New file.
52612         * sysdeps/i386/fpu/math_private.h: Use it.
52613         (math_opt_barrier, math_force_eval): Remove.
52614         (libc_feholdexcept_setround_53bit): Remove.
52615         (libc_feupdateenv_53bit): Remove.
52616         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52617         (math_opt_barrier, math_force_eval): Remove.
52618         (libc_feholdexcept): Remove.
52619         (libc_feholdexcept_setround): Remove.
52620         (libc_fetestexcept, libc_fesetenv): Remove.
52621         (libc_feupdateenv_test): Remove.
52622         (libc_feupdateenv, libc_feholdsetround): Remove.
52623         (libc_feresetround): Remove.
52625         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52626         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52628         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52629         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52630         (libc_feupdateenv_testl): New.
52631         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52632         (libc_feupdateenv_testf): New.
52633         (libc_feupdateenv): Use libc_feupdateenv_test.
52634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52635         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52637         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52638         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52639         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52640         (libc_feresetround_noex): New.
52641         (libc_feresetround_noexf): New.
52642         (libc_feresetround_noexl): New.
52643         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52644         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52645         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52646         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52647         SET_RESTORE_ROUND.
52648         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52649         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52650         (__cos): Likewise.
52651         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52652         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52653         SET_RESTORE_ROUND_NOEX.
52654         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52655         SET_RESTORE_ROUND_NOEXF.
52656         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52657         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52658         (libc_feholdsetroundf): New.
52659         (libc_feresetround, libc_feresetroundf): New.
52661         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52662         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52663         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52665         * sysdeps/generic/math_private.h: Include <fenv.h>.
52666         (default_libc_feholdexcept): New.
52667         (default_libc_feholdexcept_setround): New.
52668         (default_libc_fesetenv, default_libc_feupdateenv): New.
52669         (libc_feholdexcept): Only define if undefined.
52670         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52671         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52672         (libc_feholdexcept_setroundl): Likewise.
52673         (libc_feholdexcept_setround_53bit): Likewise.
52674         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52675         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52676         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52677         (libc_feupdateenv_53bit): Likewise.
52678         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52679         (libc_feholdexcept): Convert from macro to inline function.
52680         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52681         (libc_fesetenv, libc_feupdateenv): Likewise.
52683         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52684         not previously defined.
52685         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52686         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52687         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52688         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52689         * sysdeps/ieee754/flt-32/math_private.h: New file.
52690         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52691         math_private.h below SET_FLOAT_WORD.
52692         (__isnan, __isinf_ns, __finite): Remove.
52693         (__isnanf, __isinf_nsf, __finitef): Remove.
52695 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52699 2012-03-17  David S. Miller  <davem@davemloft.net>
52701         [BZ #6471]
52702         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52703         for 2.16.
52705 2012-03-16  David S. Miller  <davem@davemloft.net>
52707         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52708         warnings.
52710         [BZ #6471]
52711         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52712         properly.
52713         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52714         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52715         sysdep_routines when subdir is sysvipc.
52716         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52717         __getshmlba helper.
52719         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52721 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52723         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52724         [__LP64__].
52726 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52728         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52729         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52730         (__lround): Renamed to ...
52731         (__llround): This.  Replace long int with long long int.
52732         Define lround functions as aliases of llround functions.
52733         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52735 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52737         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52738         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52739         adresses to uintptr_t.  Replace "long int" and "unsigned long
52740         int" with "greg_t" on va_arg.
52742 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52744         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52745         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52747         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52748         Move e_machine check before EI_CLASS check.  Handle x32
52749         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52750         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52751         SKIP_EM_IA_64 and include
52752         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52754         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52755         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52756         (add_system_dir): New macro.
52758         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52759         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52761 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52763         [BZ #2551]
52764         [BZ #2552]
52765         [BZ #2553]
52766         [BZ #2554]
52767         [BZ #2562]
52768         [BZ #2563]
52769         [BZ #2565]
52770         [BZ #2566]
52771         [BZ #2576]
52772         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52773         (y0): Likewise.
52774         * math/w_j0f.c (j0f): Likewise.
52775         (y0f): Likewise.
52776         * math/w_j0l.c (__j0l): Likewise.
52777         (__y0l): Likewise.
52778         * math/w_j1.c (j1): Likewise.
52779         (y1): Likewise.
52780         * math/w_j1f.c (j1f): Likewise.
52781         (y1f): Likewise.
52782         * math/w_j1l.c (__j1l): Likewise.
52783         (__y1l): Likewise.
52784         * math/w_jn.c (jn): Likewise.
52785         (yn): Likewise.
52786         * math/w_jnf.c (jnf): Likewise.
52787         (ynf): Likewise.
52788         * math/w_jnl.c (__jnl): Likewise.
52789         (__ynl): Likewise.
52790         * math/libm-test.inc (j0_test): Add more tests.
52791         (j1_test): Likewise.
52792         (jn_test): Likewise.  Add trailing semicolon to existing test.
52793         (y0_test): Likewise.
52794         (y1_test): Likewise.
52795         * sysdeps/i386/fpu/libm-test-ulps: Update.
52796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52798         [BZ #13851]
52799         [BZ #13854]
52800         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52801         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52802         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52803         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52804         (__tanl): Set errno for infinite argument.
52805         * sysdeps/i386/fpu/mptan.c: Remove.
52806         * sysdeps/i386/fpu/s_tan.S: Likewise.
52807         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52808         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52809         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52810         * math/libm-test.inc (tan_test): Add more tests and enable more
52811         tests for double and long double.
52812         * sysdeps/i386/fpu/libm-test-ulps: Update.
52813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52815 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52817         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52818         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52820 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52822         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52823         * configure.in: Use it for both main tree and add-ons.
52824         * configure: Regenerated.
52826 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52828         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52830 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52832         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52833         in comment.
52835         [BZ #13851]
52836         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52837         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52838         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52839         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52840         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52841         infinite argument.
52842         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52843         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52844         != 0 for prec == 2.
52845         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52846         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52847         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52848         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52849         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52850         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52851         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52852         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52853         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52854         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52855         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52856         * math/libm-test.inc (cos_test): Add more tests and enable more
52857         tests for long double.
52858         (sin_test): Likewise.
52859         (sincos_test): Likewise.
52860         * sysdeps/i386/fpu/libm-test-ulps: Update.
52861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52863 2012-03-16  David S. Miller  <davem@davemloft.net>
52865         * sysdeps/sparc/fpu/math_private.h: New file.
52867 2012-03-15  David S. Miller  <davem@davemloft.net>
52869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52870         file.
52871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52873         file.
52874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52879         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52880         sysdep routines.
52881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52883         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52884         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52886         * sysdeps/sparc/sparc-ifunc.h: New file.
52887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52888         sparc-ifunc.h
52889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52891         Likewise.
52892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52893         Likewise.
52894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52898         Likewise.
52899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52904         Likewise.
52905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52906         Likewise.
52907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52913         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52914         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52915         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52916         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52917         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52918         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52919         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52921         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52925         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52926         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52927         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52928         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52929         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52930         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52932 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52934         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52935         scaling.
52936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52938 2012-03-15  Andreas Jaeger  <aj@suse.de>
52940         [BZ #13852]
52941         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52942         ieee754/flt-32 implementation for sin, cos and sincos.
52943         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52944         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52945         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52946         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52947         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52948         ieee754/flt-32 implementation for tan.
52950         * math/libm-test.inc (cos_test): Enable some large input tests for
52951         float as well
52952         (sin_test): Likewise.
52953         (sincos_test): Likewise.
52954         (tan_test): Add tests for large input.
52956         * sysdeps/i386/fpu/libm-test-ulps: Update.
52958 2012-03-15  Andreas Jaeger  <aj@suse.de>
52960         [BZ #13658]
52961         * math/libm-test.inc (cos_test): Add more test cases.
52962         (sin_test): Likewise.
52963         (sincos_test): Likewise.
52965 2012-03-15  Andreas Jaeger  <aj@suse.de>
52967         [BZ #13837]
52968         * math/libm-test.inc (cos_test): Add a test case for large input
52969         value.
52970         (sin_test): Likewise.
52971         (sincos_test): Likewise.
52973 2012-03-15  Andreas Jaeger  <aj@suse.de>
52974             Joseph Myers  <joseph@codesourcery.com>
52976         [BZ #13658]
52977         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52978         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52979         * sysdeps/i386/fpu/branred.c: Likewise.
52980         * sysdeps/i386/fpu/dosincos.c: Likewise.
52981         * sysdeps/i386/fpu/mpa.c: Likewise.
52982         * sysdeps/i386/fpu/s_cos.S: Likewise.
52983         * sysdeps/i386/fpu/s_sin.S: Likewise.
52984         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52985         * sysdeps/i386/fpu/sincos32.c: Likewise.
52987         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52988         Define.
52989         (libc_feupdateenv_53bit): Define.
52990         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52991         Define.
52992         (libc_feupdateenv_53bit): Define.
52994         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52995         53 bit (without extend i386 double precision).
52997         * math/libm-test.inc (sincos_test): Add tests for large input.
52998         (sin): Likewise.
52999         (cos): Likewise.
53001         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53003 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53007 2012-03-15  David S. Miller  <davem@davemloft.net>
53009         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53010         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53011         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53012         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53019         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53025         file.
53026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53028         file.
53029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53031         file.
53032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53034         file.
53035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53036         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53037         fmin/fmax sysdep routines.
53038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53040 2012-03-14  David S. Miller  <davem@davemloft.net>
53042         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53043         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53044         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53046         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53047         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53048         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53049         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53050         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53051         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53052         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53053         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53054         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53055         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53056         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53057         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53058         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53059         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53062         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53063         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53064         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53065         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53066         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53067         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53068         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53069         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53070         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53071         routines.
53072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53073         file.
53074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53076         file.
53077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53079         file.
53080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53082         file.
53083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53085         file.
53086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53088         file.
53089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53090         file.
53091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53092         file.
53093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53094         file.
53095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53096         New file.
53097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53098         file.
53099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53100         file.
53101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53103         file.
53104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53106         file.
53107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53109         file.
53110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53112         VIS3 routines.
53114         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53115         New file.
53117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53119         * sysdeps/sparc/configure.in: New file.
53120         * sysdeps/sparc/configure: Generate.
53121         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53122         * configure: Regenerate.
53123         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53124         * config.make.in (have-as-vis3): New.
53125         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53126         available use -Av9d instead of -Av9a.
53127         * sysdeps/sparc/sparc64/Makefile: Likewise.
53128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53130         New file.
53131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53132         file.
53133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53134         New file.
53135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53136         file.
53137         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53138         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53139         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53140         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53141         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53143         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53144         fzeros/fnegs to load 0x80000000 into a float register instead of
53145         using the stack.
53146         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53148 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53151         bits/syscall.h.
53152         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53153         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53154         ($(inst_includedir)/bits/syscall.h): Remove rule.
53155         ($(objpfx)bits/syscall.d): Include instead of
53156         $(objpfx)syscall-list.d.
53157         (generated): Change syscall-list.h and syscall-list.d to
53158         bits/syscall.h and bits/syscall.d.
53160 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53162         [BZ #13846]
53163         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53165 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53167         [BZ #13841]
53168         * math/s_csqrt.c: Include <float.h>.
53169         (__csqrt): Scale large or subnormal inputs.
53170         * math/s_csqrtf.c: Likewise.
53171         * math/s_csqrtl.c: Likewise.
53172         * math/libm-test.inc (csqrt_test): Add more tests.
53173         * sysdeps/i386/fpu/libm-test-ulps: Update.
53174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53176         [BZ #13840]
53177         * math/libm-test.inc (hypot_test): Add more tests.
53179 2012-03-13  David S. Miller  <davem@davemloft.net>
53181         [BZ #13840]
53182         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53183         double-precision for the calculation instead of scaling.
53185 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53187         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53188         manipulate bits before adding and subtracting TWO52[sx].
53189         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53190         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53191         Likewise.
53192         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53194 2012-03-13  David S. Miller  <davem@davemloft.net>
53196         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53197         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53198         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53199         rtld-global-offsets.h
53200         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53202         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53203         large parameters.
53205         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53207         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53208         'err' in the ifdef scope in which it is actually used.
53210         * nss/nss_db/db-init.c: Include string.h
53212 2012-03-12  David S. Miller  <davem@davemloft.net>
53214         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53215         masking out of the most significant byte of random value used.
53216         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53217         Fix coding style in previous change.
53219         * sysdeps/unix/sysv/linux/kernel-features.h
53220         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53221         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53222         expression.
53223         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53224         later.
53226 2012-03-11  David S. Miller  <davem@davemloft.net>
53228         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53229         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53230         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53231         for 'resultvar' otherwise things get truncated on 64-bit.
53233         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53234         Fix masking out of the most significant byte of random value used.
53236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53238 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53242 2012-03-09  David S. Miller  <davem@davemloft.net>
53244         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53245         variables with appropriate CPP guards.
53246         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53247         from the frame pointer, not the stack pointer.  Correct layout
53248         comments.  Fix test on resulting framesize and the management of
53249         the outregs buffer for pltexit.  Preserve floating point return
53250         values across _dl_call_pltexit call.
53251         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53252         framesize and the management of the outregs buffer for pltexit.
53253         Preserve floating point return values across _dl_call_pltexit
53254         call.
53255         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53256         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53257         (la_sparc64_gnu_pltexit): New functions.
53258         (print_exit): Fix format string for return register value.
53260 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53262         * sunrpc/Makefile (others): Add rpcgen.
53263         ($(objpfx)rpcgen): Remove special build rule and dependency on
53264         libc.
53265         * sunrpc/rpcgen.c: New file.
53267 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53269         [BZ #13673]
53270         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53271         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53272         * sysdeps/i386/crti.S: Likewise.
53273         * sysdeps/i386/crtn.S: Likewise.
53274         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53275         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53276         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53277         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53278         * sysdeps/sh/crti.S: Likewise.
53279         * sysdeps/sh/crtn.S: Likewise.
53280         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53282         [BZ #13673]
53283         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53284         with URL.
53285         * locale/programs/locfile-kw.gperf: Likewise.
53286         * locale/programs/charmap-kw.h: Regenerated.
53287         * locale/programs/locfile-kw.h: Likewise.
53289         [BZ #13673]
53290         * intl/plural.y: Replace FSF snail mail address with URL.
53291         * intl/plural.c: Regenerated.
53293 2012-03-09  Richard Henderson  <rth@twiddle.net>
53295         * include/math_private.h: Remove file.
53296         * math/math_private.h: Move file ...
53297         * sysdeps/generic/math_private.h: ... here.
53299         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53300         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53301         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53303         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53304         and <math_private.h>.
53305         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53306         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53307         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53308         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53309         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53310         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53311         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53312         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53313         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53314         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53315         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53316         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53317         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53318         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53319         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53320         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53321         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53322         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53323         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53324         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53325         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53326         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53327         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53328         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53329         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53330         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53331         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53332         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53333         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53334         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53335         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53336         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53337         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53338         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53339         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53340         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53341         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53342         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53343         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53344         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53345         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53346         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53347         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53348         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53349         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53350         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53351         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53352         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53353         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53354         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53355         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53356         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53357         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53358         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53359         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53360         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53361         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53362         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53363         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53364         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53365         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53366         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53367         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53368         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53369         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53370         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53371         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53372         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53373         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53374         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53375         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53376         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53377         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53378         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53379         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53380         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53381         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53382         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53383         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53384         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53385         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53386         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53387         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53388         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53389         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53390         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53391         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53392         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53393         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53394         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53395         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53396         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53397         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53398         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53399         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53400         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53401         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53402         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53403         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53404         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53405         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53406         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53407         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53408         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53409         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53410         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53411         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53412         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53413         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53414         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53415         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53416         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53417         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53418         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53419         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53420         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53421         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53422         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53423         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53424         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53425         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53426         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53427         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53428         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53429         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53430         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53431         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53432         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53433         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53434         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53435         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53436         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53437         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53438         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53439         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53440         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53441         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53442         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53443         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53444         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53445         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53446         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53447         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53448         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53449         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53450         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53451         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53452         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53453         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53454         * sysdeps/ieee754/k_standard.c: Likewise.
53455         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53456         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53457         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53458         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53459         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53460         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53461         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53462         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53463         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53464         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53465         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53466         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53467         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53468         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53469         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53470         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53471         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53472         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53473         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53474         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53475         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53476         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53477         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53478         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53479         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53480         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53481         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53482         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53483         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53484         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53485         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53486         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53487         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53488         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53489         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53490         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53491         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53492         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53493         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53494         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53495         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53496         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53497         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53498         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53499         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53500         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53501         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53502         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53503         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53504         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53505         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53506         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53507         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53508         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53509         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53510         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53511         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53512         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53513         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53514         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53515         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53516         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53517         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53518         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53519         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53520         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53521         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53522         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53523         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53524         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53525         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53526         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53527         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53528         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53529         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53530         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53531         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53532         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53533         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53534         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53535         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53536         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53537         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53538         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53539         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53540         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53541         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53542         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53543         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53544         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53545         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53546         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53547         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53548         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53549         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53550         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53551         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53552         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53553         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53554         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53555         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53556         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53557         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53558         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53559         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53560         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53561         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53562         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53563         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53564         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53565         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53566         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53567         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53568         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53569         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53570         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53571         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53572         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53573         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53574         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53575         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53576         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53577         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53578         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53579         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53580         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53581         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53582         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53583         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53584         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53585         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53586         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53587         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53588         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53589         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53590         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53591         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53592         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53593         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53594         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53595         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53596         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53597         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53598         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53599         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53600         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53601         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53602         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53603         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53604         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53605         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53606         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53607         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53608         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53609         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53610         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53611         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53612         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53613         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53614         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53615         * sysdeps/ieee754/s_lib_version.c: Likewise.
53616         * sysdeps/ieee754/s_matherr.c: Likewise.
53617         * sysdeps/ieee754/s_signgam.c: Likewise.
53618         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53619         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53620         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53621         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53622         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53623         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53624         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53625         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53626         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53627         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53628         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53629         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53630         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53631         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53632         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53633         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53634         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53635         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53636         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53637         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53638         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53640 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53642         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53643         * sunrpc/rpc_main.c: Likewise.
53644         * sunrpc/rpc_svcout.c: Likewise.
53646 2012-03-09  David S. Miller  <davem@davemloft.net>
53648         * include/math_private.h: New file.
53650 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53652         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53653         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53654         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53655         from <bits/socket_type.h>.
53656         (enum __socket_type): Don't define here.
53657         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53658         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53659         bits/socket_type.h.
53661         [BZ #13566]
53662         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53663         checking __USE_GNU.
53665         * Makerules ($(inst_includedir)/%.h): New rule.
53666         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53667         (install-others): Remove variable setting.
53668         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53670 2012-03-08  Richard Henderson  <rth@twiddle.net>
53672         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53673         from macro to inline function; merge with the
53674         !__LIBC_INTERNAL_MATH_INLINES version.
53675         (__ieee754_sqrtf): Likewise.
53677         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53678         to inline function.
53679         (__rintf, __floor, __floorf): Likewise.
53681         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53682         macro to inline function.
53683         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53685         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53686         not <math/math_private.h>.
53688 2012-03-08  David S. Miller  <davem@davemloft.net>
53690         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53691         copyright year.
53692         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53694 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53696         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53697         normalization.
53698         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53699         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53701 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53703         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53704         be defined individually, they must be defined as a block.  Define
53705         S for printing a string instead of hidint the different by using a
53706         macro for adding the 'l'.
53707         * stdio-common/tst-fphex-wide.c: Adjust.
53709 2012-03-07  Marek Polacek  <polacek@redhat.com>
53711         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53713 2012-03-08  Marek Polacek  <polacek@redhat.com>
53715         [BZ #13806]
53716         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53717         * stdio-common/tst-fphex.c: Define a few macros to make the
53718         test reusable.  Use them.
53719         * stdio-common/tst-fphex-wide.c: New file.
53721 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53723         [BZ #6911]
53724         * manual/macros.texi (gnusystems): New macro.
53725         (nongnusystems): Likewise.
53726         (gnulinuxhurdsystems): Likewise.
53727         (gnuhurdsystems): Likewise..
53728         (gnulinuxsystems): Likewise.
53729         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53730         variants of the GNU system, not "GNU system".
53731         * manual/conf.texi: Likewise.
53732         * manual/errno.texi: Likewise.  Update example of errno macro
53733         expansion.
53734         * manual/filesys.texi: Likewise.
53735         (getumask): Document as specific to GNU/Hurd.
53736         * manual/install.texi: Likewise.  Reword some references to
53737         GNU/Linux.
53738         * manual/intro.texi: Likewise.
53739         * manual/io.texi: Likewise.
53740         (File Name Portability): Detail which constraints are inapplicable
53741         to all GNU systems and which are only inapplicable to GNU/Hurd.
53742         * manual/job.texi: Likewise.
53743         * manual/llio.texi: Likewise.
53744         (O_NOCTTY): Document as present on GNU/Linux.
53745         * manual/maint.texi: Likewise.
53746         * manual/memory.texi: Likewise.
53747         * manual/pattern.texi: Likewise.
53748         * manual/pipe.texi: Likewise.
53749         * manual/process.texi: Likewise.
53750         * manual/resource.texi: Likewise.
53751         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53752         child on GNU/Hurd.
53753         * manual/setjmp.texi: Likewise.
53754         * manual/signal.texi: Likewise.
53755         * manual/startup.texi: Likewise.
53756         * manual/stdio.texi: Likewise.
53757         * manual/terminal.texi: Likewise.
53758         (ONLCR): Document as POSIX.
53759         (OXTABS): Document availability on GNU/Linux as XTABS.
53760         (ONOEOT): Document availability separately from other bits.
53761         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53762         * manual/time.texi: Likewise.
53763         * manual/users.texi: Likewise.
53764         * INSTALL: Regenerated.
53765         * sysdeps/gnu/errlist.c: Regenerated.
53767         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53768         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53769         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53770         puts.
53771         * configure: Regenerated.
53773 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53775         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53776         default includes instead of AC_HEADER_CHECK.
53777         * sysdeps/i386/configure: Regenerated.
53779         [BZ #10716]
53780         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53781         * math/s_cacoshf.c (__cacoshf): Likewise.
53782         * math/s_cacoshl.c (__cacoshl): Likewise.
53783         * math/s_casinh.c (__casinh): Set signs of result from argument.
53784         * math/s_casinhf.c (__casinhf): Likewise.
53785         * math/s_casinhl.c (__casinhl): Likewise.
53786         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53787         (casinh_test): Add more tests.
53788         * sysdeps/i386/fpu/libm-test-ulps: Update.
53789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53791 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53793         * po/zh_TW.po: Update from translation team.
53795         * login/Makefile (distribute): Remove variable.
53796         * catgets/Makefile: Likewise.
53797         * mach/Makefile: Likewise.
53798         * malloc/Makefile: Likewise.
53799         * misc/Makefile: Likewise.
53800         * iconv/Makefile: Likewise.
53801         * nscd/Makefile: Likewise.
53802         * hurd/Makefile: Likewise.
53803         * manual/Makefile: Likewise.
53804         * locale/Makefile: Likewise.
53805         * intl/Makefile: Likewise.
53806         * conform/Makefile: Likewise.
53807         * nss/Makefile: Likewise.
53808         * time/Makefile: Likewise.
53809         * soft-fp/Makefile: Likewise.
53810         * dirent/Makefile: Likewise.
53811         * gmon/Makefile: Likewise.
53812         * po/Makefile: Likewise.
53813         * rt/Makefile: Likewise.
53814         * socket/Makefile: Likewise.
53815         * math/Makefile: Likewise.
53816         * signal/Makefile: Likewise.
53817         * debug/Makefile: Likewise.
53818         * elf/Makefile: Likewise.
53819         * timezone/Makefile: Likewise.
53820         * stdlib/Makefile: Likewise.
53821         * iconvdata/Makefile: Likewise.
53822         * sunrpc/Makefile: Likewise.
53823         * io/Makefile: Likewise.
53824         * argp/Makefile: Likewise.
53825         * inet/Makefile: Likewise.
53826         * hesiod/Makefile: Likewise.
53827         * grp/Makefile: Likewise.
53828         * csu/Makefile: Likewise.
53829         * wctype/Makefile: Likewise.
53830         * crypt/Makefile: Likewise.
53831         * libio/Makefile: Likewise.
53832         * string/Makefile: Likewise.
53833         * nis/Makefile: Likewise.
53834         * resolv/Makefile: Likewise.
53835         * stdio-common/Makefile: Likewise.
53836         * wcsmbs/Makefile: Likewise.
53837         * dlfcn/Makefile: Likewise.
53838         * posix/Makefile: Likewise.
53840         [BZ #6959]
53841         * timezone/Makefile: Don't install timezone files, just the programs
53842         and scripts.
53844 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53846         * nss/databases.def: Add missing gshadow entry.
53848         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53850 2012-03-06  Marek Polacek  <polacek@redhat.com>
53852         [BZ #13726]
53853         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53854         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53855         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53856         * stdio-common/tst-long-dbl-fphex.c: New file.
53858 2012-03-06  David S. Miller  <davem@davemloft.net>
53860         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53861         (set_obp_int): New function.
53862         (get_obp_int): New function.
53863         (__get_clockfreq_via_dev_openprom): Likewise.
53864         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53865         Avoid unused variable warnings on 'val' and use builtin_expect.
53866         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53867         __builtin_expect.
53868         (INLINE_CLONE_SYSCALL): Likewise.
53870 2012-03-05  David S. Miller  <davem@davemloft.net>
53872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53874 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53878         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53879         only for |x| >= 40.
53880         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53882 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53884         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53885         Replace gettimeofday with __vdso_gettimeofday.
53887         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53888         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53889         __vdso_clock_gettime and __vdso_getcpu.
53891         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53892         time with __vdso_time.
53894 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53896         * manual/lang.texi (size_t): Note types to which size_t may be
53897         equivalent with the GNU C Library, but do not describe when
53898         differences between them are significant.
53900 2012-03-05  Andreas Jaeger  <aj@suse.de>
53902         * sysdeps/i386/fpu/libm-test-ulps: Update.
53904 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53906         [BZ #3976]
53907         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53908         (__ieee754_pow): Save and restore rounding mode and use
53909         round-to-nearest for main computations.
53910         * math/libm-test.inc (pow_test_tonearest): New function.
53911         (pow_test_towardzero): Likewise.
53912         (pow_test_downward): Likewise.
53913         (pow_test_upward): Likewise.
53914         (main): Call the new functions.
53915         * sysdeps/i386/fpu/libm-test-ulps: Update.
53916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53918         [BZ #3976]
53919         * math/libm-test.inc (cosh_test_tonearest): New function.
53920         (cosh_test_towardzero): Likewise.
53921         (cosh_test_downward): Likewise.
53922         (cosh_test_upward): Likewise.
53923         (sinh_test_tonearest): Likewise.
53924         (sinh_test_towardzero): Likewise.
53925         (sinh_test_downward): Likewise.
53926         (sinh_test_upward): Likewise.
53927         (main): Call the new functions.
53928         * sysdeps/i386/fpu/libm-test-ulps: Update.
53929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53931 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53933         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53934         default stack guard is set in last bytes.
53935         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53937 2012-03-05  Kees Cook  <keescook@chromium.org>
53939         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53941         [BZ #13656]
53942         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53943         possibly allocate from heap instead of stack.
53944         * stdio-common/bug-vfprintf-nargs.c: New file.
53945         * stdio-common/Makefile (tests): Add nargs overflow test.
53947 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53951 2012-03-03  Marek Polacek  <polacek@redhat.com>
53953         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53954         * math/math_private.h: Likewise.
53955         * stdlib/tst-strtod.c: Likewise.
53956         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53957         * sysdeps/x86_64/bits/atomic.h: Likewise.
53959 2012-03-02  David S. Miller  <davem@davemloft.net>
53961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53965         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53966         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53967         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53968         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53970 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53972         [BZ #13792]
53973         * manual/examples/README: New file, says the example source files
53974         can be used under GPL>=2.
53975         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53976         line containing just "*/".
53977         * manual/examples/add.c: Add copyright header (GPL>=2).
53978         * manual/examples/argp-ex1.c: Likewise.
53979         * manual/examples/argp-ex2.c: Likewise.
53980         * manual/examples/argp-ex3.c: Likewise.
53981         * manual/examples/argp-ex4.c: Likewise.
53982         * manual/examples/atexit.c: Likewise.
53983         * manual/examples/db.c: Likewise.
53984         * manual/examples/dir.c: Likewise.
53985         * manual/examples/dir2.c: Likewise.
53986         * manual/examples/execinfo.c: Likewise.
53987         * manual/examples/filecli.c: Likewise.
53988         * manual/examples/filesrv.c: Likewise.
53989         * manual/examples/fmtmsgexpl.c: Likewise.
53990         * manual/examples/genpass.c: Likewise.
53991         * manual/examples/inetcli.c: Likewise.
53992         * manual/examples/inetsrv.c: Likewise.
53993         * manual/examples/isockad.c: Likewise.
53994         * manual/examples/longopt.c: Likewise.
53995         * manual/examples/memopen.c: Likewise.
53996         * manual/examples/memstrm.c: Likewise.
53997         * manual/examples/mkfsock.c: Likewise.
53998         * manual/examples/mkisock.c: Likewise.
53999         * manual/examples/mygetpass.c: Likewise.
54000         * manual/examples/pipe.c: Likewise.
54001         * manual/examples/popen.c: Likewise.
54002         * manual/examples/rprintf.c: Likewise.
54003         * manual/examples/search.c: Likewise.
54004         * manual/examples/select.c: Likewise.
54005         * manual/examples/setjmp.c: Likewise.
54006         * manual/examples/sigh1.c: Likewise.
54007         * manual/examples/sigusr.c: Likewise.
54008         * manual/examples/stpcpy.c: Likewise.
54009         * manual/examples/strdupa.c: Likewise.
54010         * manual/examples/strftim.c: Likewise.
54011         * manual/examples/strncat.c: Likewise.
54012         * manual/examples/subopt.c: Likewise.
54013         * manual/examples/swapcontext.c: Likewise.
54014         * manual/examples/termios.c: Likewise.
54015         * manual/examples/testopt.c: Likewise.
54016         * manual/examples/testpass.c: Likewise.
54017         * manual/examples/timeval_subtract.c: Likewise.
54019         [BZ #13792]
54020         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54021         function to ...
54022         * manual/timeval_subtract.c.texi: ... here, new file.
54024 2012-03-02  David S. Miller  <davem@davemloft.net>
54026         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54028 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54030         [BZ #3976]
54031         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54032         (__sin): Save and restore rounding mode and use round-to-nearest
54033         for all computations.
54034         (__cos): Save and restore rounding mode and use round-to-nearest
54035         for all computations.
54036         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54037         <fenv.h>.
54038         (tan): Save and restore rounding mode and use round-to-nearest for
54039         all computations.
54040         * math/libm-test.inc (cos_test_tonearest): New function.
54041         (cos_test_towardzero): Likewise.
54042         (cos_test_downward): Likewise.
54043         (cos_test_upward): Likewise.
54044         (sin_test_tonearest): Likewise.
54045         (sin_test_towardzero): Likewise.
54046         (sin_test_downward): Likewise.
54047         (sin_test_upward): Likewise.
54048         (tan_test_tonearest): Likewise.
54049         (tan_test_towardzero): Likewise.
54050         (tan_test_downward): Likewise.
54051         (tan_test_upward): Likewise.
54052         (main): Call the new functions.
54053         * sysdeps/i386/fpu/libm-test-ulps: Update.
54054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54056         [BZ #10135]
54057         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54058         small n, then large n, before computing and testing k+n.
54059         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54060         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54061         Likewise.
54062         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54063         Likewise.
54064         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54065         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54066         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54067         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54068         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54069         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54070         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54071         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54072         * math/libm-test.inc (scalbn_test): Add more tests.
54073         (scalbln_test): Likewise.
54075         * manual/filesys.texi (mode_t): Describe constraints on size and
54076         signedness, not exact equivalence to a particular type.
54077         (ino_t): Likewise.
54078         (ino64_t): Likewise.
54079         (dev_t): Likewise.
54080         (nlink_t): Likewise.
54081         (blkcnt_t): Likewise.
54082         (blkcnt64_t): Likewise.
54083         * manual/llio.texi (off_t): Likewise.
54085         [BZ #3976]
54086         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54087         (__ieee754_exp): Save and restore rounding mode and use
54088         round-to-nearest for all computations.
54089         * math/libm-test.inc (exp_test_tonearest): New function.
54090         (exp_test_towardzero): Likewise.
54091         (exp_test_downward): Likewise.
54092         (exp_test_upward): Likewise.
54093         (main): Call the new functions.
54094         * sysdeps/i386/fpu/libm-test-ulps: Update.
54095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54097 2012-03-01  Chris Demetriou  <cgd@google.com>
54099         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54100         have predictable order.
54102 2012-03-01  David S. Miller  <davem@davemloft.net>
54104         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54106         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54107         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54108         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54109         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54111         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54112         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54113         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54115         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54116         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54117         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54118         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54119         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54123         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54124         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54125         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54127         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54128         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54129         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54130         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54131         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54132         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54133         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54134         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54135         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54136         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54137         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54138         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54139         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54140         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54141         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54142         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54143         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54144         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54145         * sysdeps/sparc/elf/configure: Regenerated.
54147 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54149         * configure.in (AS, LD): Require binutils 2.20 or later.
54150         * configure: Regenerated.
54151         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54152         as required minimum version.
54153         * INSTALL: Regenerated.
54155         [BZ #2541]
54156         [BZ #4108]
54157         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54158         before squaring exponent.
54159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54160         bottom long double and 27 bits of top long double before squaring
54161         exponent.
54162         * math/libm-test.inc (erfc_test): Add more tests.
54163         * sysdeps/i386/fpu/libm-test-ulps: Update.
54164         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54167 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54169         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54170         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54171         containing bit-fields.
54172         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54173         * soft-fp/single.h (_FP_UNION_S): Likewise.
54174         * soft-fp/double.h (_FP_UNION_D): Likewise.
54176 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54178         [BZ #13786]
54179         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54180         not include ../strcmp.S.
54181         [USE_AS_STRNCASECMP_L]: Likewise.
54182         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54183         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54184         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54185         (__strncasecmp_l_ia32): Define as alias to
54186         __strncasecmp_l_nonascii.
54188         [BZ #5794]
54189         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54190         * sysdeps/i386/fpu/libm-test-ulps: Update.
54191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54193         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54196 2012-02-29  Jeff Law  <law@redhat.com>
54198         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54199         out of bounds read.
54201 2012-02-29  Marek Polacek  <polacek@redhat.com>
54203         [BZ #13706]
54204         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54205         * elf/Makefile: Add rules to run tst-unused-dep.out.
54207 2012-02-28  David S. Miller  <davem@davemloft.net>
54209         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54210         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54211         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54212         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54213         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54214         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54216 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54218         * math/libm-test.inc (llround_test): Move one test from
54219         lround_test.  Use TEST_f_L in moved test.
54220         (lround_test): Move misplaced test to llround_test.  Add testcase
54221         from bug 2561.
54223 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54225         * sysdeps/x86_64/fpu/e_expf.S: New file.
54226         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54228 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54230         [BZ #13637]
54231         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54232         of remain_len that may cause incomplete multi-byte character and
54233         false match.
54234         * posix/bug-regex33.c: New file.
54235         * posix/Makefile (tests): Add bug-regex33.
54237 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54239         * manual/macros.texi: New file.
54240         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54241         * manual/libc.texinfo: Include macros.texi.
54242         * manual/creatute.texi: Likewise.
54243         * manual/install.texi: Likewise.
54244         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54245         @glibcadj{} in references to the GNU C Library.
54246         * manual/charset.texi: Likewise.
54247         * manual/conf.texi: Likewise.
54248         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54249         when not using those macros.
54250         * manual/creature.texi: Likewise.
54251         * manual/crypt.texi: Likewise.
54252         * manual/errno.texi: Likewise.
54253         * manual/filesys.texi: Likewise.
54254         * manual/header.texi: Likewise.
54255         * manual/install.texi: Likewise.
54256         * manual/intro.texi: Likewise.
54257         * manual/io.texi: Likewise.
54258         * manual/job.texi: Likewise.
54259         * manual/lang.texi: Likewise.
54260         * manual/libc.texiinfo: Likewise.
54261         * manual/llio.texi: Likewise.
54262         * manual/locale.texi: Likewise.
54263         * manual/maint.texi: Likewise.
54264         * manual/math.texi: Likewise.
54265         * manual/memory.texi: Likewise.
54266         * manual/message.texi: Likewise.
54267         * manual/nss.texi: Likewise.
54268         * manual/pattern.texi: Likewise.
54269         * manual/process.texi: Likewise.
54270         * manual/resource.texi: Likewise.
54271         * manual/search.texi: Likewise.
54272         * manual/setjmp.texi: Likewise.
54273         * manual/signal.texi: Likewise.
54274         * manual/socket.texi: Likewise.
54275         * manual/startup.texi: Likewise.
54276         * manual/stdio.texi: Likewise.
54277         * manual/string.texi: Likewise.
54278         * manual/sysinfo.texi: Likewise.
54279         * manual/syslog.texi: Likewise.
54280         * manual/terminal.texi: Likewise.
54281         * manual/time.texi: Likewise.
54282         * manual/users.texi: Likewise.
54283         * INSTALL: Regenerated.
54284         * NOTES: Regenerated.
54285         * sysdeps/gnu/errlist.c: Regenerated.
54287 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54289         * include/dirent.h: Include <dirstream.h> before
54290         <dirent/dirent.h>.
54292 2012-02-28  David S. Miller  <davem@davemloft.net>
54294         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54295         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54296         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54297         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54299 2012-02-27  David S. Miller  <davem@davemloft.net>
54301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54303         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54304         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54307         frame pointer instead of stack pointer relative arg slot.
54308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54309         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54310         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54312 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54314         [BZ #3992]
54315         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54317 2012-02-27  David S. Miller  <davem@davemloft.net>
54319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54323         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54324         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54325         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54326         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54328 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54330         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54331         later.  Allow versions 5-9.
54332         * configure: Regenerated.
54333         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54334         required minimum version and 4.6 as recommended version.  Do not
54335         mention bugs in GCC 2.7 and 2.8.
54336         * INSTALL: Regenerated.
54338 2012-02-27  David S. Miller  <davem@davemloft.net>
54340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54344         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54345         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54346         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54347         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54349         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54350         manipulate bits before adding and subtracting TWO112[sx].
54351         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54353 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54355         [BZ #13775]
54356         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54357         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54358         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54359         being in POSIX, because they are in 1003.1-2008.
54361         * rt/tst-aio.c: Include <fcntl.h>.
54362         * rt/tst-aio7.c: Likewise.
54363         * rt/tst-aio64.c: Likewise.
54365         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54367 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54369         * manual/install.texi (--with-headers): Describe headers as
54370         interface headers, not private headers.
54371         (Specific advice for GNU/Linux systems): Describe use of headers
54372         from "make headers_install", not private headers from older
54373         kernels.
54374         * INSTALL: Regenerated.
54375         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54376         Change to 2.6.19.
54377         * sysdeps/unix/sysv/linux/configure: Regenerated.
54379         * manual/llio.texi (fclean): Remove documentation.
54381         * manual/Makefile (libc-texi-generated): New variable.  Include
54382         version.texi.
54383         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54384         $(libc-texi-generated), not duplicated list of files.
54385         (version.texi, stamp-version): New rules.
54386         (realclean): Remove $(libc-texi-generated), not individual files
54387         from that list.  Do not remove dir-add.texinfo.
54388         * manual/libc.texinfo: Comment out uses of edition numbers and
54389         references to printed manual.  Remove last-updated dates.
54390         (EDITION): Comment out.
54391         (ISBN): Likewise.
54392         (VERSION, UPDATED): Remove.
54393         (version.texi): Include.
54395 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54397         * sysdeps/posix/spawni.c: Include <signal.h>.
54398         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54399         * sysdeps/pthread/aio_fsync.c: Likewise.
54401 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54403         * conform/Makefile (tests): Run only when not cross-compiling and
54404         when fast-check is not defined.
54406         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54407         * conform/data/limits.h-data: Fixes for POSIX2008.
54408         * conform/run-conformtest.sh: Run all tests.
54409         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54410         headers.
54411         * include/bits/dlfcn.h: Likewise.
54412         * include/langinfo.h: Likewise.
54413         * include/monetary.h: Likewise.
54414         * include/sys/poll.h: Likewise.
54416         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54417         for __USE_GNU.
54418         * posix/spawn.h: Define __need_sigset_t.
54419         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54420         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54421         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54422         to get sigevent_t only.
54423         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54424         only for __USE_GNU.
54425         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54426         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54427         process_vm_writev only for __USE_GNU.
54428         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54430         * conform/Makefile: For now ignore errors from run-conformtest.
54431         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54432         POSIX to avoid namespace pollution.  Don't prepend headers.
54433         * conform/data/aio.h-data: Fixes for POSIX testing.
54434         * conform/data/fcntl.h-data: Likewise.
54435         * conform/data/glob.h-data: Likewise.
54436         * conform/data/grp.h-data: Likewise.
54437         * conform/data/pthread.h-data: Likewise.
54438         * conform/data/pwd.h-data: Likewise.
54439         * conform/data/signal.h-data: Likewise.
54440         * conform/data/spawn.h-data: Likewise.
54441         * conform/data/stdio.h-data: Likewise.
54442         * conform/data/stdlib.h-data: Likewise.
54443         * conform/data/stropts.h-data: Likewise.
54444         * conform/data/sys/mman.h-data: Likewise.
54445         * conform/data/sys/stat.h-data: Likewise.
54446         * conform/data/sys/types.h-data: Likewise.
54447         * conform/data/sys/wait.h-data: Likewise.
54448         * conform/data/time.h-data: Likewise.
54449         * conform/data/unistd.h-data: Likewise.
54450         * conform/data/utime.h-data: Likewise.
54452         * io/sys/stat.h: fchmod was always in POSIX.
54453         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54454         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54455         * rt/aio.h: Define __need_timespec before including <time.h>.
54456         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54457         struct.  Add forward declaration of pthread_attr_t and use it in
54458         sigevent.
54459         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54460         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54461         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54462         always remove CLK_TCK definition.
54464 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54466         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54468 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54470         * conform/run-conformtest.sh: New file.
54471         * conform/Makefile: Run run-conformtest for tests.
54472         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54473         support.
54475         * conform/data/uchar.h-data: New file.
54476         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54477         * conform/data/arpa/inet.h-data: Likewise.
54478         * conform/data/assert.h-data: Likewise.
54479         * conform/data/complex.h-data: Likewise.
54480         * conform/data/cpio.h-data: Likewise.
54481         * conform/data/ctype.h-data: Likewise.
54482         * conform/data/dirent.h-data: Likewise.
54483         * conform/data/dlfcn.h-data: Likewise.
54484         * conform/data/errno.h-data: Likewise.
54485         * conform/data/fcntl.h-data: Likewise.
54486         * conform/data/float.h-data: Likewise.
54487         * conform/data/fmtmsg.h-data: Likewise.
54488         * conform/data/fnmatch.h-data: Likewise.
54489         * conform/data/ftw.h-data: Likewise.
54490         * conform/data/glob.h-data: Likewise.
54491         * conform/data/grp.h-data: Likewise.
54492         * conform/data/iconv.h-data: Likewise.
54493         * conform/data/inttypes.h-data: Likewise.
54494         * conform/data/langinfo.h-data: Likewise.
54495         * conform/data/libgen.h-data: Likewise.
54496         * conform/data/limits.h-data: Likewise.
54497         * conform/data/locale.h-data: Likewise.
54498         * conform/data/math.h-data: Likewise.
54499         * conform/data/monetary.h-data: Likewise.
54500         * conform/data/mqueue.h-data: Likewise.
54501         * conform/data/ndbm.h-data: Likewise.
54502         * conform/data/net/if.h-data: Likewise.
54503         * conform/data/netdb.h-data: Likewise.
54504         * conform/data/netinet/in.h-data: Likewise.
54505         * conform/data/nl_types.h-data: Likewise.
54506         * conform/data/poll.h-data: Likewise.
54507         * conform/data/pthread.h-data: Likewise.
54508         * conform/data/pwd.h-data: Likewise.
54509         * conform/data/regex.h-data: Likewise.
54510         * conform/data/sched.h-data: Likewise.
54511         * conform/data/search.h-data: Likewise.
54512         * conform/data/semaphore.h-data: Likewise.
54513         * conform/data/setjmp.h-data: Likewise.
54514         * conform/data/signal.h-data: Likewise.
54515         * conform/data/spawn.h-data: Likewise.
54516         * conform/data/stdarg.h-data: Likewise.
54517         * conform/data/stdio.h-data: Likewise.
54518         * conform/data/stdlib.h-data: Likewise.
54519         * conform/data/string.h-data: Likewise.
54520         * conform/data/strings.h-data: Likewise.
54521         * conform/data/stropts.h-data: Likewise.
54522         * conform/data/sys/ipc.h-data: Likewise.
54523         * conform/data/sys/mman.h-data: Likewise.
54524         * conform/data/sys/msg.h-data: Likewise.
54525         * conform/data/sys/resource.h-data: Likewise.
54526         * conform/data/sys/select.h-data: Likewise.
54527         * conform/data/sys/sem.h-data: Likewise.
54528         * conform/data/sys/shm.h-data: Likewise.
54529         * conform/data/sys/socket.h-data: Likewise.
54530         * conform/data/sys/stat.h-data: Likewise.
54531         * conform/data/sys/statvfs.h-data: Likewise.
54532         * conform/data/sys/time.h-data: Likewise.
54533         * conform/data/sys/timeb.h-data: Likewise.
54534         * conform/data/sys/times.h-data: Likewise.
54535         * conform/data/sys/types.h-data: Likewise.
54536         * conform/data/sys/uio.h-data: Likewise.
54537         * conform/data/sys/un.h-data: Likewise.
54538         * conform/data/sys/utsname.h-data: Likewise.
54539         * conform/data/sys/wait.h-data: Likewise.
54540         * conform/data/syslog.h-data: Likewise.
54541         * conform/data/tar.h-data: Likewise.
54542         * conform/data/termios.h-data: Likewise.
54543         * conform/data/utime.h-data: Likewise.
54544         * conform/data/utmpx.h-data: Likewise.
54545         * conform/data/varargs.h-data: Likewise.
54546         * conform/data/wchar.h-data: Likewise.
54547         * conform/data/wctype.h-data: Likewise.
54548         * conform/data/wordexp.h-data: Likewise.
54550         * include/stropts.h: New file.
54551         * include/uchar.h: New file.
54552         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54553         * include/assert.h: Likewise.
54554         * include/ctype.h: Likewise.
54555         * include/dirent.h: Likewise.
54556         * include/dlfcn.h: Likewise.
54557         * include/fcntl.h: Likewise.
54558         * include/fnmatch.h: Likewise.
54559         * include/glob.h: Likewise.
54560         * include/grp.h: Likewise.
54561         * include/libio.h: Likewise.
54562         * include/locale.h: Likewise.
54563         * include/math.h: Likewise.
54564         * include/net/if.h: Likewise.
54565         * include/netdb.h: Likewise.
54566         * include/netinet/in.h: Likewise.
54567         * include/pthread.h: Likewise.
54568         * include/pwd.h: Likewise.
54569         * include/regex.h: Likewise.
54570         * include/sched.h: Likewise.
54571         * include/search.h: Likewise.
54572         * include/setjmp.h: Likewise.
54573         * include/signal.h: Likewise.
54574         * include/stdio.h: Likewise.
54575         * include/stdlib.h: Likewise.
54576         * include/string.h: Likewise.
54577         * include/sys/cdefs.h: Likewise.
54578         * include/sys/mman.h: Likewise.
54579         * include/sys/msg.h: Likewise.
54580         * include/sys/resource.h: Likewise.
54581         * include/sys/select.h: Likewise.
54582         * include/sys/socket.h: Likewise.
54583         * include/sys/stat.h: Likewise.
54584         * include/sys/statvfs.h: Likewise.
54585         * include/sys/time.h: Likewise.
54586         * include/sys/times.h: Likewise.
54587         * include/sys/uio.h: Likewise.
54588         * include/sys/utsname.h: Likewise.
54589         * include/sys/wait.h: Likewise.
54590         * include/termios.h: Likewise.
54591         * include/time.h: Likewise.
54592         * include/ulimit.h: Likewise.
54593         * include/unistd.h: Likewise.
54594         * include/utime.h: Likewise.
54595         * include/wchar.h: Likewise.
54596         * include/wctype.h: Likewise.
54597         * include/wordexp.h: Likewise.
54599         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54601         * time/time.h: TIME_UTC must be a macro.
54602         Make timespec_get available for ISO C11 only as well.
54604 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54606         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54607         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54609 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54611         * configure.in: Use -o not -a in test for unsupported multi-arch.
54613 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54615         * manual/texinfo.tex: Update to version 2012-01-19.16.
54617 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54619         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54621 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54623         [BZ #13738]
54624         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54625         * manual/fdl-1.3.texi: New file.
54626         * manual/fdl-1.1.texi: File removed.
54628         [BZ #13738]
54629         * manual/libc.texinfo (FDL_VERSION): New @set.
54630         Use it for mention of FDL in cover text.
54631         (Documentation License): Use it in @include file name.
54633 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54634             Roland McGrath  <roland@hack.frob.com>
54636         [BZ #5461]
54637         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54638         (not LONG_LONG_MAX and LONG_LONG_MIN.
54639         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54640         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54641         name.
54642         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54644 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54646         [BZ #2547]
54647         [BZ #11365]
54648         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54649         manipulate bits before adding and subtracting TWO23[sx].
54650         * math/libm-test.inc (nearbyint_test): Add more tests.
54652 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54654         [BZ #2548]
54655         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54656         bits before adding and subtracting TWO23[sx].
54657         * math/libm-test.inc (rint_test): Add more tests.
54658         (rint_test_tonearest): Likewise.
54659         (rint_test_towardzero): Likewise.
54660         (rint_test_downward): Likewise.
54661         (rint_test_upward: Likewise.
54663 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54665         [BZ #10110]
54666         * include/stdc-predef.h: New file.  Extracted from features.h.
54667         * include/features.h: Include stdc-predef.h.
54668         * Makefile (headers): Add stdc-predef.h.
54669         * CONFORMANCE (Compiler limitations): Update.
54671 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54673         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54675 2012-02-21  David S. Miller  <davem@davemloft.net>
54677         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54678         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54680 2012-02-20  David S. Miller  <davem@davemloft.net>
54682         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54683         using a normal save/restore sequence, rather than allocating a
54684         dummy stack frame just to store a frame pointer and restore.
54685         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54687 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54689         * manual/install.texi: Fix stray word in line-wrapped comment.
54691 2012-02-20  David S. Miller  <davem@davemloft.net>
54693         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54694         both binutils and gcc support GOTDATA.
54696         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54697         "rd %pc" in the PIC register setup sequences.
54699         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54700         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54701         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54702         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54703         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54704         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54705         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54706         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54707         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54708         (SYSCALL_ERROR_HANDLER): Likewise.
54709         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54710         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54711         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54712         (SYSCALL_ERROR_HANDLER): Likewise.
54714         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54715         (HAVE_GCC_GOTDATA): New.
54716         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54717         relocation support in both binutils and gcc.
54718         * sysdeps/sparc/elf/configure: Regenerate.
54720         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54721         * sysdeps/sparc/sparc32/elf/configure: Delete.
54722         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54723         * sysdeps/sparc/sparc64/elf/configure: Delete.
54724         * sysdeps/sparc/elf/configure.in: New file.
54725         * sysdeps/sparc/elf/configure: Generate.
54727         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54728         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54729         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54730         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54731         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54733 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54735         * manual/install.texi: Do not mention specific glibc version
54736         numbers.
54737         * manual/libc.texinfo (VERSION, UPDATED): Update.
54738         (@copying): Use @copyright{} and range of years.
54740 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54742         [BZ #13695]
54743         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54744         [crti.S not in sysdirs] (generated): Do not append.
54745         [crti.S not in sysdirs] (omit-deps): Likewise.
54746         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54747         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54748         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54749         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54750         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54751         Likewise.
54752         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54753         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54754         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54755         * csu/defs.awk: Remove file.
54756         * sysdeps/generic/initfini.c: Likewise.
54757         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54758         variable.
54759         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54760         Likewise.
54762 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54764         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54765         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54766         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54767         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54768         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54769         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54770         <bits/epoll.h>.
54771         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54772         (__EPOLL_PACKED): Define to empty if not defined by
54773         <bits/epoll.h>.
54774         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54775         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54776         bits/epoll.h.
54778 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54780         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54781         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54782         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54783         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54784         <bits/timerfd.h>.
54785         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54786         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54787         bits/timerfd.h.
54789 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54791         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54792         in C locale.
54793         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54794         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54795         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54798 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54800         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54801         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54803 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54805         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54806         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54807         defined.
54808         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54809         Likewise.
54810         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54811         entry for 2.16.
54813 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54815         * math/w_acos.c: Use non-signaling floating-point comparisons.
54816         * math/w_acosf.c: Likewise.
54817         * math/w_acosh.c: Likewise.
54818         * math/w_acoshf.c: Likewise.
54819         * math/w_acoshl.c: Likewise.
54820         * math/w_acosl.c: Likewise.
54821         * math/w_asin.c: Likewise.
54822         * math/w_asinf.c: Likewise.
54823         * math/w_asinl.c: Likewise.
54824         * math/w_atanh.c: Likewise.
54825         * math/w_atanhf.c: Likewise.
54826         * math/w_atanhl.c: Likewise.
54827         * math/w_exp2.c: Likewise.
54828         * math/w_exp2f.c: Likewise.
54829         * math/w_exp2l.c: Likewise.
54830         * math/w_j0.c: Likewise.
54831         * math/w_j0f.c: Likewise.
54832         * math/w_j0l.c: Likewise.
54833         * math/w_j1.c: Likewise.
54834         * math/w_j1f.c: Likewise.
54835         * math/w_j1l.c: Likewise.
54836         * math/w_jn.c: Likewise.
54837         * math/w_jnf.c: Likewise.
54838         * math/w_log.c: Likewise.
54839         * math/w_log10.c: Likewise.
54840         * math/w_log10f.c: Likewise.
54841         * math/w_log10l.c: Likewise.
54842         * math/w_log2.c: Likewise.
54843         * math/w_log2f.c: Likewise.
54844         * math/w_log2l.c: Likewise.
54845         * math/w_logf.c: Likewise.
54846         * math/w_logl.c: Likewise.
54847         * math/w_sqrt.c: Likewise.
54848         * math/w_sqrtf.c: Likewise.
54849         * math/w_sqrtl.c: Likewise.
54850         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54851         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54852         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54853         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54854         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54856 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54858         [BZ #9739]
54859         * manual/string.texi (strnlen): Use correct parameter name in
54860         equivalent expression.
54862 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54864         [BZ #11174]
54865         * manual/users.texi (seteuid): Consistently use neweuid for
54866         argument name.
54868 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54870         [BZ #13704]
54871         * manual/nss.texi (Services in the NSS configuration): Correct
54872         list of services in example configuration file.
54874 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54876         [BZ #11322]
54877         * manual/arith.texi: Remove statements about negative zero
54878         behaving identically to zero.
54880 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54882         [BZ #5993]
54883         * manual/install.texi: Do not document upgrading from libc5.
54885 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54887         [BZ #4596]
54888         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54890 2012-02-18  David S. Miller  <davem@davemloft.net>
54892         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54893         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54894         %o7 across the call.
54895         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54896         instead.
54897         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54898         SETUP_PIC_REG_LEAF.
54899         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54900         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54901         * sysdeps/sparc/crtn.S: Likewise.
54903 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54905         * aout/Makefile: Remove.
54907 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54909         [BZ #13058]
54910         * manual/examples/argp-ex1.c (main): Format definition in GNU
54911         style.
54912         * manual/examples/argp-ex2.c (main): Likewise.
54913         * manual/examples/argp-ex3.c (main): Likewise.
54914         * manual/examples/argp-ex4.c (main): Likewise.
54915         * manual/examples/longopt.c (main): Use new-style prototype
54916         definition.
54917         * manual/examples/strncat.c (main): Specify return type and use
54918         (void) for arguments.
54919         * manual/examples/subopt.c (main): Use char **argv argument.
54921 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54923         [BZ #5077]
54924         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54925         rounding modes.
54927 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54929         [BZ #6907]
54930         * manual/string.texi (strchr): Change when strchrnul is
54931         recommended.
54933 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54935         [BZ #174]
54936         * manual/locale.texi (setlocale): Document LOCPATH.
54938 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54940         [BZ #10210]
54941         * manual/process.texi (execle): Move @dots{} before last argument.
54943 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54945         [BZ #12047]
54946         * manual/charset.texi (Generic Charset Conversion): Fix typo
54947         (LC_TYPE -> LC_CTYPE).
54949 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54951         [BZ #5805]
54952         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54953         (scalbnf): Likewise.
54954         (scalbnl): Likewise.
54955         (scalbln): Likewise.
54956         (scalblnf): Likewise.
54957         (scalblnl): Likewise.
54958         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54959         (vwarnx): Likewise.
54960         (verr): Likewise.
54961         (verrx): Likewise.
54962         * manual/filesys.texi (telldir): Use braces around return type.
54963         * manual/llio.texi (mmap): Add space after comma.
54964         (mmap64): Likewise.
54965         * manual/math.texi (jn): Use @var{} on parameter names.
54966         (jnf): Likewise.
54967         (jnl): Likewise.
54968         (yn): Likewise.
54969         (ynf): Likewise.
54970         (ynl): Likewise.
54971         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54972         line.
54973         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54974         "...".
54975         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54976         (sched_get_priority_max): Likewise.
54977         * manual/signal.texi (sigvec): Add space after comma.
54978         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54979         names.
54980         (if_indextoname): Likewise.
54981         (if_freenameindex): Likewise.
54982         (sendto): Use ',' instead of '.' in prototype.
54983         * manual/startup.texi (syscall): Use @dots{} instead of literal
54984         "...".
54985         * manual/stdio.texi (__fpending): Separate initial words of
54986         paragraph from @deftypefun line.
54987         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54988         "...".
54989         (vsyslog): Use @var{} on parameter names.
54990         * manual/terminal.texi (stty): Use @var{} on parameter names.
54991         * manual/users.texi (getutmp): Use @var{} on parameter names.
54992         (getutmpx): Likewise.
54994 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54996         [BZ #6884]
54997         * manual/stdio.texi (fopen): Fix typos in description of
54998         ",ccs=STRING".
55000 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55002         [BZ #4026]
55003         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55004         get clock_id definition.
55006 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55008         [BZ #4822]
55009         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55010         (madvise): Cast every argument to void on its own.
55012 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55014         [BZ #9902]
55015         * manual/startup.texi (Exit Status): Fix typo.
55017 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55019         [BZ #10140]
55020         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55021         * manual/examples/argp-ex2.c: Likewise.
55022         * manual/examples/argp-ex3.c: Likewise.
55024 2012-02-16  Richard Henderson  <rth@redhat.com>
55026         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55027         * sysdeps/s390/s390-32/initfini.c: Remove.
55028         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55029         * sysdeps/s390/s390-64/initfini.c: Remove.
55031 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55033         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55034         compiler output for sysdeps/generic/initfini.c.
55035         * sysdeps/sh/elf/initfini.c: Remove file.
55037 2012-02-16  David S. Miller  <davem@davemloft.net>
55039         [BZ #11494]
55040         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55042         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55043         * sysdeps/sparc/crti.S: New file.
55044         * sysdeps/sparc/crtn.S: New file.
55045         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55046         * sysdeps/sparc/sparc64/Makefile: Likewise.
55048 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55050         [BZ #3335]
55051         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55053 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55055         [BZ #4822]
55056         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55058         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55059         (write, read, close): Likewise.
55060         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55062 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55064         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55065         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55066         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55067         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55068         <bits/signalfd.h>.
55069         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55070         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55071         bits/signalfd.h.
55073 2012-02-14  Marek Polacek  <polacek@redhat.com>
55075         * sysdeps/x86_64/crti.S: New file.
55076         * sysdeps/x86_64/crtn.S: New file.
55077         * sysdeps/x86_64/elf/initfini.c: Remove file.
55079 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55081         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55082         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55083         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55084         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55085         <bits/inotify.h>.
55086         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55087         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55088         bits/inotify.h.
55090 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55092         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55093         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55094         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55095         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55096         <bits/eventfd.h>.
55097         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55098         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55099         bits/eventfd.h.
55101 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55103         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55104         __feraiseexcept instead of feraiseexcept.
55106         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55107         nanosleep invocations.
55108         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55109         strings, and add error checking for a nanosleep invocations.
55111 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55113         Replace FSF snail mail address with URLs, as per GNU coding standards.
55114         Most of the snail mail addresses were wrong anyway, and omitting
55115         them makes the source code easier to maintain.  Almost all of the
55116         changes are to license notices and to locale LC_IDENTIFICATION
55117         addresses, except for this one:
55118         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55119         not its snail mail address.
55121 2012-02-09  Richard Henderson  <rth@twiddle.net>
55123         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55124         of kernel-features.h.
55126         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55128 2012-02-08  Marek Polacek  <polacek@redhat.com>
55130         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55131         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55132         * sysdeps/gnu/_G_config.h: Likewise.
55133         * sysdeps/generic/_G_config.h: Likewise.
55135 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55137         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55138         tests.
55139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55141         * sysdeps/powerpc/powerpc32/crti.S: New file.
55142         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55143         * sysdeps/powerpc/powerpc64/crti.S: New file.
55144         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55146         * Makeconfig (have-initfini): Don't set.
55147         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55148         * configure.in (nopic_initfini): Don't substitute.
55149         * config.h.in (HAVE_INITFINI): Don't #undef.
55150         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55151         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55153 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55155         Support crti.S and crtn.S provided directly by architectures.
55156         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55157         [crti.S in sysdirs] (omit-deps): Likewise.
55158         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55159         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55160         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55161         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55162         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55163         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55164         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55165         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55166         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55167         compiler output for sysdeps/generic/initfini.c.
55168         * sysdeps/i386/elf/Makefile: Remove file.
55169         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55171 2012-02-07  Marek Polacek  <polacek@redhat.com>
55173         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55174         * sysdeps/gnu/_G_config.h: Likewise.
55175         * sysdeps/mach/hurd/_G_config.h: Likewise.
55177 2012-02-07  Marek Polacek  <polacek@redhat.com>
55179         * math/Makefile (tests): Add tst-CMPLX2.
55180         * math/tst-CMPLX2.c: New file.
55182 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55184         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55186         * math/libm-test.inc (jn_test): Add missing L suffix.
55188 2012-02-06  Marek Polacek  <polacek@redhat.com>
55190         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55191         * sysdeps/i386/fpu/e_powf.S: Likewise.
55192         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55193         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55194         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55195         * sysdeps/i386/fpu/e_pow.S: Likewise.
55196         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55197         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55198         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55199         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55200         * sysdeps/i386/fpu/e_log2.S: Likewise.
55201         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55202         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55203         * sysdeps/i386/fpu/e_powl.S: Likewise.
55204         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55205         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55206         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55207         * sysdeps/i386/fpu/e_logl.S: Likewise.
55208         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55209         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55210         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55211         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55212         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55213         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55214         * sysdeps/i386/fpu/e_log.S: Likewise.
55215         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55216         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55217         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55218         * sysdeps/i386/fpu/e_logf.S: Likewise.
55219         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55220         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55221         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55222         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55223         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55224         * sysdeps/i386/fpu/e_log10.S: Likewise.
55225         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55226         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55227         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55228         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55229         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55230         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55231         * sysdeps/i386/asm-syntax.h: Likewise.
55232         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55233         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55234         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55235         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55236         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55237         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55238         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55239         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55240         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55241         * sysdeps/powerpc/sysdep.h: Likewise.
55242         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55243         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55245 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55247         [BZ #411]
55248         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55250 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55252         * sysdeps/i386/sysdep.h: Include <features.h>.
55253         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55254         version.
55256 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55258         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55259         Define.
55260         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55261         LOAD_PIC_REG_STR.
55263 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55265         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55266         (SETUP_PIC_REG): Use GET_PC_THUNK.
55267         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55268         macro.
55270 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55272         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55273         for non-PIC compilation.
55274         (SETUP_PIC_REG): Add .p2align directive.
55275         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55276         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55277         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55278         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55279         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55280         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55281         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55282         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55283         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55284         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55285         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55286         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55287         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55288         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55289         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55290         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55291         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55292         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55293         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55294         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55295         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55296         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55297         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55298         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55299         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55300         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55301         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55302         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55303         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55304         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55305         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55306         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55307         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55308         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55309         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55310         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55311         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55312         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55313         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55314         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55315         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55317 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55319         * math/tst-CMPLX.c: Include <stdio.h>.
55321 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55323         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55324         float.
55325         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55326         * sysdeps/sparc/bits/mathdef.h: Likewise.
55328 2012-01-31  Marek Polacek  <polacek@redhat.com>
55330         * libio/libio.h: Don't define _PARAMS.
55331         * locale/programs/config.h: Don't define PARAMS.
55332         * stdlib/strtol_l.c: Likewise.
55333         (__strtol_l): Remove PARAMS from the prototype.
55335 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55337         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55338         names.  Just use the correct names.  Remove unnecessary wrapper
55339         functions.
55340         * malloc/arena.c: Likewise.
55341         * malloc/hooks.c: Likewise.
55343         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55344         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55345         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55347 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55349         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55350         into tail calls.
55351         (update_get_addr): New function.
55352         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55353         GET_ADDR_MODULE parameter.
55355 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55357         * crypt/cert.c: Remove __STDC__ conditionals.
55358         * crypt/crypt-entry.c: Likewise.
55359         * crypt/crypt_util.c: Likewise.
55360         * libio/filedoalloc.c: Likewise.
55361         * libio/fileops.c: Likewise.
55362         * libio/genops.c: Likewise.
55363         * libio/iofclose.c: Likewise.
55364         * libio/iofdopen.c: Likewise.
55365         * libio/iofopen.c: Likewise.
55366         * libio/iofopen64.c: Likewise.
55367         * libio/iogetdelim.c: Likewise.
55368         * libio/iopopen.c: Likewise.
55369         * libio/obprintf.c: Likewise.
55370         * libio/oldfileops.c: Likewise.
55371         * libio/oldiofclose.c: Likewise.
55372         * libio/oldiofdopen.c: Likewise.
55373         * libio/oldiofopen.c: Likewise.
55374         * libio/oldiopopen.c: Likewise.
55375         * libio/wfiledoalloc.c: Likewise.
55376         * libio/wgenops.c: Likewise.
55377         * locale/programs/xmalloc.c: Likewise.
55378         * misc/syslog.c: Likewise.
55379         * stdio-common/xbug.c: Likewise.
55380         * string/memchr.c: Likewise.
55381         * string/memcmp.c: Likewise.
55382         * string/memrchr.c: Likewise.
55383         * string/rawmemchr.c: Likewise.
55384         * sysdeps/posix/getcwd.c: Likewise.
55385         * time/strftime_l.c: Likewise.
55387 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55389         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55390         * config.make.in (config-cflags-sse2avx): Define.
55391         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55392         Fix typo.
55394 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55396         * scripts/config.guess: Update from upstream config git repository.
55397         * scripts/config.sub: Likewise.
55399 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55401         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55402         (EM_NUM): Update.
55403         (R_TILEPRO_*, R_TILEGX_*): New macros.
55405         * scripts/firstversions.awk: Fix bug in version range handling.
55407         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55409         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55411         * include/sys/epoll.h: New file.
55412         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55413         libc_hidden_def.
55415 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55417         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55418         Avoid unnecessary __WORDSIZE == 64 test.
55419         (fmaxf): Use VEX format if possible.
55420         (fmax): Likewise.
55421         (fminf): Likewise.
55422         (fmin): Likewise.
55424         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55425         * math/math_private.h: Remove libc_fegetround* and
55426         libc_fesetround*.
55427         * sysdeps/i386/configure.in: Check for -msse2avx.
55428         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55429         also if SSE2AVX is defined.
55430         Remove libc_fegetround* and libc_fesetround*.
55431         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55432         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55433         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55434         of HAS_YMM_USABLE.
55435         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55436         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55437         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55438         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55439         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55441         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55443 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55445         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55446         size is not set.
55447         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55449 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55451         [BZ #13618]
55452         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55453         relocation.
55454         * Makeconfig (libm): Define.
55455         * elf/Makefile: Add rules to build and run tst-relsort1.
55456         * elf/tst-relsort1.c: New file.
55457         * elf/tst-relsort1mod1.c: New file.
55458         * elf/tst-relsort1mod2.c: New file.
55460 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55462         * math/s_ldexp.c: Remove __STDC__ conditionals.
55463         * math/s_ldexpf.c: Likewise.
55464         * math/s_ldexpl.c: Likewise.
55465         * math/s_nextafter.c: Likewise.
55466         * math/s_nexttowardf.c: Likewise.
55467         * math/s_significand.c: Likewise.
55468         * math/s_significandf.c: Likewise.
55469         * math/s_significandl.c: Likewise.
55470         * math/w_jnl.c: Likewise.
55471         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55472         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55473         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55474         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55475         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55476         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55477         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55478         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55479         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55480         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55481         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55482         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55483         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55484         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55485         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55486         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55487         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55488         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55489         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55490         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55491         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55492         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55493         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55494         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55495         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55496         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55497         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55498         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55499         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55500         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55501         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55502         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55503         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55504         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55505         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55506         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55507         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55508         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55509         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55510         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55511         * sysdeps/ieee754/k_standard.c: Likewise.
55512         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55513         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55514         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55515         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55516         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55517         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55518         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55519         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55520         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55521         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55522         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55523         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55524         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55525         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55526         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55527         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55528         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55529         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55530         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55531         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55532         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55533         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55534         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55535         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55536         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55537         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55538         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55539         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55540         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55541         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55542         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55543         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55544         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55545         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55546         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55547         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55548         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55549         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55550         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55551         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55552         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55553         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55554         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55555         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55556         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55557         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55558         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55559         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55560         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55561         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55562         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55563         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55564         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55565         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55566         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55567         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55568         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55569         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55570         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55571         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55572         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55573         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55574         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55575         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55576         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55577         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55578         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55579         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55580         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55581         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55582         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55583         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55584         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55585         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55586         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55587         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55588         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55589         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55590         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55591         * sysdeps/ieee754/s_matherr.c: Likewise.
55592         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55593         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55594         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55595         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55597 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55599         * crypt/md5.h: Remove __STDC__ conditionals.
55600         * libio/libioP.h: Likewise.
55601         * locale/programs/config.h: Likewise.
55602         * sysdeps/generic/sysdep.h: Likewise.
55603         * sysdeps/i386/asm-syntax.h: Likewise.
55604         * sysdeps/s390/asm-syntax.h: Likewise.
55605         * sysdeps/unix/sysdep.h: Likewise.
55606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55609 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55611         * libio/libio.h: Remove __STDC__ conditionals.
55612         * malloc/obstack.h: Likewise.
55613         * math/complex.h: Likewise.
55614         * math/math.h: Likewise.
55615         * sysdeps/generic/_G_config.h: Likewise.
55616         * sysdeps/gnu/_G_config.h: Likewise.
55617         * sysdeps/mach/hurd/_G_config.h: Likewise.
55618         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55619         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55620         * sysdeps/sparc/bits/mathdef.h: Likewise.
55622 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55624         [BZ #13583]
55625         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55626         Clean up HAS_* macros.
55627         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55628         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55629         possible.
55630         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55631         HAS_AVX.
55632         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55633         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55634         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55635         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55636         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55638 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55640         * elf/tst-unique3.cc (gets): Remove declaration.
55641         * elf/tst-unique3lib.cc (gets): Likewise.
55642         * elf/tst-unique3lib2.cc (gets): Likewise.
55643         * elf/tst-unique4.cc (gets): Likewise.
55645 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55647         * include/stdio.h: Add C++ protection.  Add gets declarations and
55648         definitions.
55649         * debug/tst-chk1.c: Don't declare gets here.
55650         * stdio-common/tst-gets.c: Likewise.
55652 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55654         * posix/glob: Remove directory.
55656 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55658         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55660 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55662         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55663         of the non-standard EPFNOSUPPORT.
55665 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55667         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55668         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55669         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55671 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55673         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55675 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55677         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55678         transient errors.
55679         * nscd/grpcache.c (cache_addgr): Likewise.
55680         * nscd/hstcache.c (cache_addhst): Likewise.
55681         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55682         * nscd/pwdcache.c (cache_addpw): Likewise.
55683         * nscd/servicescache.c (cache_addserv): Likewise.
55685 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55687         * malloc/malloc.c: Various cleanups.
55688         * malloc/hooks.c: Likewise.
55690         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55691         * stdlib/bug-fmtmsg1.c: New file.
55693         * stdlib/fmtmsg.c (init): Add missing unlock.
55694         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55696 2012-01-12  Marek Polacek  <polacek@redhat.com>
55698         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55699         and _GNU_SOURCE.
55701 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55703         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55704         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55705         macro to ensure uniqueness of label name.
55706         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55707         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55709 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55711         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55713         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55714         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55715         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55716         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55718 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55720         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55722         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55723         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55724         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55726         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55728         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55729         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55730         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55731         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55733         * math/bits/math-finite.h: Add ldexp support.
55735 2012-01-10  Marek Polacek  <polacek@redhat.com>
55737         * locale/programs/localedef.h (show_archive_content): Add noreturn
55738         attribute.
55740 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55742         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55744 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55746         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55748         * io/Makefile (headers): Add bits/poll2.h.
55750 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55753         typo #include statement.
55755 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55757         * include/sys/cdefs.h: Define __attribute_alloc_size.
55758         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55759         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55760         * elf/pldd.c: Likewise.
55761         * iconv/iconv_charmap.c: Likewise.
55762         * iconv/iconvconfig.c: Likewise.
55763         * iconv/strtab.c: Likewise.
55764         * locale/programs/locale.c: Likewise.
55765         * locale/programs/localedef.h: Likewise.
55766         * locale/programs/simple-hash.c: Likewise.
55767         * nscd/nscd.h: Likewise.
55768         * nss/makedb.c: Likewise.
55769         * sysdeps/generic/ldconfig.h: Likewise.
55770         * locale/programs/localedef.c: Remove xmalloc prototype.
55771         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55773 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55775         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55776         appropriate.
55778 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55780         * math/Makefile (tests): Add tst-CMPLX.
55781         * math/tst-CMPLX.c: New file.
55783         * math/complex.h (CMPLXL): Fix typo.
55785         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55786         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55787         GLIBC_2.16.
55788         * debug/tst-chk1.c: Add poll and ppoll tests.
55789         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55790         * include/sys/poll.h: Add hidden proto for ppoll.
55791         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55792         * sysdeps/mach/hurd/ppoll.c: Likewise.
55793         * io/ppoll.c: Likewise.
55794         * debug/poll_chk.c: New file.
55795         * debug/ppoll_chk.c: New file.
55796         * include/bits/poll2.h: New file.
55797         * io/bits/poll2.h: New file.
55799         [BZ #1350]
55800         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55802         * configure.in: static is always set to yes.  Remove.
55803         * config.make.in: Don't set build-static.
55804         * Makeconfig: Remove use of build-static.
55805         * dlfcn/Makefile: Likewise.
55806         * elf/Makefile: Likewise.
55807         * math/Makefile: Likewise.
55808         * misc/Makefile: Likewise.
55809         * nptl/Makefile: Likewise.
55810         * sysdeps/mach/hurd/Makefile: Likewise.
55812         * configure.in: PWD_P is not used anymore.
55813         * config.make.in: Remove PWD_P entry.
55815         * configure.in: Remove last remnants of RANLIB.
55816         No need to check for signed size_t anymore.
55817         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55818         and IA-64.
55819         Remove __builtin_expect test because we require at least gcc 3.4.
55820         * aclocal.m4: Likewise.
55822         * wcsmbs/mbrtoc16.c: Implement using towc function.
55823         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55824         * wcsmbs/wcsmbsload.c: Likewise.
55825         * iconv/gconv_simple.c: Likewise.
55826         * iconv/gconv_int.h: Likewise.
55827         * iconv/gconv_builtin.h: Likewise.
55828         * iconv/iconv_prog.c: Remove CHAR16 handling.
55830         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55832         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55834         * configure.in: Remove --with-elf and --enable-bounded options.
55835         Dont set base_machine for ia64.  More non-ELF conditions removed.
55836         Remove testing and setting of leading underscore information.
55837         * config.make.in (build-bounded): Set to no.
55838         * config.h.in: Remove NO_UNDERSCORES entry.
55839         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55840         them.
55841         * csu/start.c: Remove !NO_UNDERSCORE code.
55842         * locale/localeinfo.h: Likewise.
55843         * sysdeps/generic/machine-gmon.h: Likewise.
55844         * sysdeps/generic/sysdep.h: Likewise.
55845         * sysdeps/i386/sysdep.h: Likewise.
55846         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55847         * sysdeps/mach/sysdep.h: Likewise.
55848         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55849         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55850         * sysdeps/sh/sysdep.h: Likewise.
55851         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55852         * sysdeps/unix/i386/sysdep.S: Likewise.
55853         * sysdeps/unix/sparc/start.c: Likewise.
55854         * sysdeps/unix/sparc/sysdep.S: Likewise.
55855         * sysdeps/unix/sparc/sysdep.h: Likewise.
55856         * sysdeps/unix/start.c: Likewise.
55857         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55858         * sysdeps/x86_64/sysdep.h: Likewise.
55860 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55862         [BZ #13553]
55863         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55864         for non-gcc.
55865         * argp/argp-fmtstream.h: Use const instead __const.
55866         * argp/argp.h: Likewise.
55867         * assert/assert.h: Likewise.
55868         * bits/fenv.h: Likewise.
55869         * bits/sched.h: Likewise.
55870         * bits/sigset.h: Likewise.
55871         * bits/sigthread.h: Likewise.
55872         * catgets/nl_types.h: Likewise.
55873         * conform/data/pthread.h-data: Likewise.
55874         * crypt/crypt-private.h: Likewise.
55875         * crypt/crypt.h: Likewise.
55876         * crypt/crypt_util.c: Likewise.
55877         * ctype/ctype.h: Likewise.
55878         * debug/execinfo.h: Likewise.
55879         * debug/mbsnrtowcs_chk.c: Likewise.
55880         * debug/mbsrtowcs_chk.c: Likewise.
55881         * debug/wcsnrtombs_chk.c: Likewise.
55882         * debug/wcsrtombs_chk.c: Likewise.
55883         * debug/wcstombs_chk.c: Likewise.
55884         * dirent/dirent.h: Likewise.
55885         * dlfcn/dlfcn.h: Likewise.
55886         * elf/neededtest4.c: Likewise.
55887         * grp/grp.h: Likewise.
55888         * gshadow/gshadow.h: Likewise.
55889         * iconv/gconv.h: Likewise.
55890         * iconv/gconv_int.h: Likewise.
55891         * iconv/gconv_simple.c: Likewise.
55892         * iconv/iconv.h: Likewise.
55893         * iconv/loop.c: Likewise.
55894         * iconv/skeleton.c: Likewise.
55895         * include/aio.h: Likewise.
55896         * include/aliases.h: Likewise.
55897         * include/argz.h: Likewise.
55898         * include/arpa/inet.h: Likewise.
55899         * include/assert.h: Likewise.
55900         * include/dirent.h: Likewise.
55901         * include/dlfcn.h: Likewise.
55902         * include/execinfo.h: Likewise.
55903         * include/fcntl.h: Likewise.
55904         * include/fenv.h: Likewise.
55905         * include/glob.h: Likewise.
55906         * include/grp.h: Likewise.
55907         * include/libintl.h: Likewise.
55908         * include/mntent.h: Likewise.
55909         * include/netdb.h: Likewise.
55910         * include/pwd.h: Likewise.
55911         * include/rpc/netdb.h: Likewise.
55912         * include/sched.h: Likewise.
55913         * include/search.h: Likewise.
55914         * include/shadow.h: Likewise.
55915         * include/signal.h: Likewise.
55916         * include/stdio.h: Likewise.
55917         * include/stdlib.h: Likewise.
55918         * include/string.h: Likewise.
55919         * include/sys/socket.h: Likewise.
55920         * include/sys/stat.h: Likewise.
55921         * include/sys/statfs.h: Likewise.
55922         * include/sys/statvfs.h: Likewise.
55923         * include/sys/syslog.h: Likewise.
55924         * include/sys/time.h: Likewise.
55925         * include/sys/uio.h: Likewise.
55926         * include/time.h: Likewise.
55927         * include/unistd.h: Likewise.
55928         * include/utmp.h: Likewise.
55929         * include/wchar.h: Likewise.
55930         * include/wctype.h: Likewise.
55931         * inet/aliases.h: Likewise.
55932         * inet/arpa/inet.h: Likewise.
55933         * inet/netinet/ether.h: Likewise.
55934         * inet/netinet/in.h: Likewise.
55935         * intl/libintl.h: Likewise.
55936         * io/bits/fcntl2.h: Likewise.
55937         * io/fcntl.h: Likewise.
55938         * io/ftw.h: Likewise.
55939         * io/sys/poll.h: Likewise.
55940         * io/sys/stat.h: Likewise.
55941         * io/sys/statfs.h: Likewise.
55942         * io/sys/statvfs.h: Likewise.
55943         * io/utime.h: Likewise.
55944         * libio/bits/stdio.h: Likewise.
55945         * libio/bits/stdio2.h: Likewise.
55946         * libio/libio.h: Likewise.
55947         * libio/libioP.h: Likewise.
55948         * libio/stdio.h: Likewise.
55949         * locale/lc-ctype.c: Likewise.
55950         * locale/locale.h: Likewise.
55951         * login/utmp.h: Likewise.
55952         * malloc/arena.c: Likewise.
55953         * malloc/malloc.c: Likewise.
55954         * malloc/malloc.h: Likewise.
55955         * malloc/mcheck.c: Likewise.
55956         * malloc/mtrace.c: Likewise.
55957         * math/bits/mathcalls.h: Likewise.
55958         * math/fenv.h: Likewise.
55959         * math/math_private.h: Likewise.
55960         * misc/bits/error.h: Likewise.
55961         * misc/bits/syslog.h: Likewise.
55962         * misc/err.h: Likewise.
55963         * misc/error.h: Likewise.
55964         * misc/fstab.h: Likewise.
55965         * misc/mntent.h: Likewise.
55966         * misc/regexp.h: Likewise.
55967         * misc/search.h: Likewise.
55968         * misc/sgtty.h: Likewise.
55969         * misc/sys/mman.h: Likewise.
55970         * misc/sys/syslog.h: Likewise.
55971         * misc/sys/uio.h: Likewise.
55972         * misc/sys/xattr.h: Likewise.
55973         * misc/ttyent.h: Likewise.
55974         * nis/rpcsvc/ypclnt.h: Likewise.
55975         * nss/nss.h: Likewise.
55976         * posix/bits/unistd.h: Likewise.
55977         * posix/fnmatch.h: Likewise.
55978         * posix/glob.h: Likewise.
55979         * posix/sched.h: Likewise.
55980         * posix/spawn.h: Likewise.
55981         * posix/sys/wait.h: Likewise.
55982         * posix/unistd.h: Likewise.
55983         * posix/wordexp.h: Likewise.
55984         * pwd/pwd.h: Likewise.
55985         * resolv/netdb.h: Likewise.
55986         * resource/sys/resource.h: Likewise.
55987         * rt/aio.h: Likewise.
55988         * rt/bits/mqueue2.h: Likewise.
55989         * rt/mqueue.h: Likewise.
55990         * shadow/shadow.h: Likewise.
55991         * signal/signal.h: Likewise.
55992         * socket/send.c: Likewise.
55993         * socket/sendto.c: Likewise.
55994         * socket/sys/socket.h: Likewise.
55995         * stdio-common/printf.h: Likewise.
55996         * stdlib/bits/stdlib.h: Likewise.
55997         * stdlib/fmtmsg.h: Likewise.
55998         * stdlib/monetary.h: Likewise.
55999         * stdlib/stdlib.h: Likewise.
56000         * stdlib/ucontext.h: Likewise.
56001         * streams/stropts.h: Likewise.
56002         * string/argz.h: Likewise.
56003         * string/bits/string2.h: Likewise.
56004         * string/string.h: Likewise.
56005         * string/strings.h: Likewise.
56006         * sunrpc/rpc/auth.h: Likewise.
56007         * sunrpc/rpc/auth_des.h: Likewise.
56008         * sunrpc/rpc/clnt.h: Likewise.
56009         * sunrpc/rpc/netdb.h: Likewise.
56010         * sunrpc/rpc/pmap_clnt.h: Likewise.
56011         * sunrpc/rpc/xdr.h: Likewise.
56012         * sysdeps/generic/inttypes.h: Likewise.
56013         * sysdeps/generic/net/if.h: Likewise.
56014         * sysdeps/generic/sys/swap.h: Likewise.
56015         * sysdeps/gnu/net/if.h: Likewise.
56016         * sysdeps/gnu/utmpx.h: Likewise.
56017         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56018         * sysdeps/i386/i486/bits/string.h: Likewise.
56019         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56020         * sysdeps/s390/bits/string.h: Likewise.
56021         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56022         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56023         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56024         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56025         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56026         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56027         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56028         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56029         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56030         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56031         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56032         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56033         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56034         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56035         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56036         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56037         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56038         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56039         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56040         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56041         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56042         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56043         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56044         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56045         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56046         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56047         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56048         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56049         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56050         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56051         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56052         * sysvipc/sys/ipc.h: Likewise.
56053         * sysvipc/sys/msg.h: Likewise.
56054         * sysvipc/sys/sem.h: Likewise.
56055         * sysvipc/sys/shm.h: Likewise.
56056         * termios/termios.h: Likewise.
56057         * time/sys/time.h: Likewise.
56058         * time/time.h: Likewise.
56059         * wcsmbs/bits/wchar2.h: Likewise.
56060         * wcsmbs/uchar.h: Likewise.
56061         * wcsmbs/wchar.h: Likewise.
56062         * wctype/wctype.h: Likewise.
56064         [BZ #13551]
56065         * Makeconfig: Remove all but ELF support including AIX support.
56066         * Makerules: Likewise.
56067         * config.h.in: Likewise.
56068         * config.make.in: Likewise.
56069         * configure: Likewise.
56070         * configure.in: Likewise.
56071         * csu/Makefile: Likewise.
56072         * csu/version.c: Likewise.
56073         * debug/Makefile: Likewise.
56074         * dlfcn/Makefile: Likewise.
56075         * elf/Makefile: Likewise.
56076         * extra-lib.mk: Likewise.
56077         * iconv/Makefile: Likewise.
56078         * include/libc-symbols.h: Likewise.
56079         * include/shlib-compat.h: Likewise.
56080         * resolv/Makefile: Likewise.
56081         * resolv/res_libc.c: Likewise.
56082         * rt/Makefile: Likewise.
56083         * sysdeps/i386/asm-syntax.h: Likewise.
56084         * sysdeps/i386/sysdep.h: Likewise.
56085         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56086         * sysdeps/mach/sysdep.h: Likewise.
56087         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56088         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56089         * sysdeps/s390/asm-syntax.h: Likewise.
56090         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56091         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56092         * sysdeps/sh/sysdep.h: Likewise.
56093         * sysdeps/unix/sparc/sysdep.h: Likewise.
56094         * sysdeps/wordsize-32/divdi3.c: Likewise.
56095         * sysdeps/x86_64/sysdep.h: Likewise.
56097         * argp/Versions: Remove _argp_unlock_xxx.
56099         [BZ #13559]
56100         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56101         * abilist/libBrokenLocale.abilist: Likewise.
56102         * abilist/libanl.abilist: Likewise.
56103         * abilist/libc.abilist: Likewise.
56104         * abilist/libcrypt.abilist: Likewise.
56105         * abilist/libdl.abilist: Likewise.
56106         * abilist/libm.abilist: Likewise.
56107         * abilist/libnsl.abilist: Likewise.
56108         * abilist/libpthread.abilist: Likewise.
56109         * abilist/libresolv.abilist: Likewise.
56110         * abilist/librt.abilist: Likewise.
56111         * abilist/libthread_db.abilist: Likewise.
56112         * abilist/libutil.abilist: Likewise.
56113         * abilist/libnss_db.abilist: New file.
56115         * scripts/abilist.awk: Add support for indirect functions.
56117         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56119         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56121         * shlib-versions: Remove entries for ports architectures.
56123         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56124         files in ports.
56125         * elf/stackguard-macros.h: Remove support for IA-64.
56126         * elf/tst-auditmod1.c: Likewise.
56127         * sysdeps/generic/ldsodefs.h: Likewise.
56129         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56130         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56131         configure files.
56133         [BZ #13552]
56134         * configure.in: Remove --enable-omitfp support.
56135         * FAQ.in: Adjust.
56136         * config.make.in: Likewise.
56137         * Makeconfig: Likewise.
56138         * manual/install.texi: Likewise.
56140         In case anyone cares, the IA-64 architecture could move to ports.
56141         * sysdeps/ia64/*: Removed.
56142         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56143         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56145         [BZ #13555]
56146         * configure.in: Remove entries for unsupported architectures.
56148         [BZ #13533]
56149         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56150         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56151         routines.
56152         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56153         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56154         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56155         fall back to using wcrtomb.
56156         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56157         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56158         renaming.
56159         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56160         * wcsmbs/tst-c16c32-1.c: New file.
56162         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56163         local variable.
56165         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56167         * elf/tst-unique3.cc: Add explicit declaration of gets.
56168         * elf/tst-unique3lib.cc: Likewise.
56169         * elf/tst-unique3lib2.cc: Likewise.
56170         * elf/tst-unique4.cc: Likewise.
56172         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56174 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56176         [BZ #13566]
56177         * assert/assert.h (static_assert): Don't define for C++.
56178         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56179         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56181 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56183         * iconv/loop.c (single loop): Fix assertion in storing of
56184         remaining bytes.
56186         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56188 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56190         * posix/getconf.c: Update copyright year.
56191         * nss/getent.c: Likewise.
56192         * nss/makedb.c: Likewise.
56193         * iconv/iconvconfig.c: Likewise.
56194         * iconv/iconv_prog.c: Likewise.
56195         * elf/ldconfig.c: Likewise.
56196         * elf/pldd.c: Likewise.
56197         * elf/sotruss.ksh: Likewise.
56198         * catgets/gencat.c: Likewise.
56199         * csu/version.c: Likewise.
56200         * elf/ldd.bash.in: Likewise.
56201         * elf/sprof.c (print_version): Likewise.
56202         * locale/programs/locale.c: Likewise.
56203         * locale/programs/localedef.c: Likewise.
56204         * login/programs/pt_chown.c: Likewise.
56205         * nscd/nscd.c (print_version): Likewise.
56206         * debug/xtrace.sh: Likewise.
56207         * malloc/memusage.sh: Likewise.
56208         * malloc/mtrace.pl: Likewise.
56209         * debug/catchsegv.sh: Likewise.
56211 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56213         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56214         pure attribute.
56216 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56218         [BZ #13533]
56219         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56220         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56221         transformations.
56222         * iconv/gconv_int.h: Likewise.
56223         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56224         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56225         from libc for GLIBC_2.16.
56226         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56227         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56228         * wcsmbs/uchar.h: Really define mbstate_t.
56229         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56230         * wcsmbs/c16rtomb.c: New file.
56231         * wcsmbs/mbrtoc16.c: New file.
56232         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56233         for C/POSIX locale.
56234         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56235         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56237         * wcsmbs/wchar.h: Add missing __restrict.
56239 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56241         [BZ #13532]
56242         * time/Makefile (routines): Add timespec_get.
56243         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56244         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56245         timespec for ISO C11.
56246         * time/timespec_get.c: New file.
56247         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56248         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56250         [BZ #13531]
56251         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56252         * stdlib/stdlib.h: Declare aligned_alloc.
56253         * Versions.def: Add GLIBC_2.16 for libc.
56254         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56256         [BZ 13527]
56257         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56258         ISO C11.
56260         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56261         code.
56263         [BZ #13528]
56264         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56266         [BZ #13529]
56267         * assert/assert.h (static_assert): Define.
56269         * version.h: Update for 2.16 development version.
56271         [BZ #13526]
56272         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56273         _ISOC11_SOURCE.
56275         * version.h (RELEASE): Bump for 2.15 release.
56276         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56278         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56279         Patch by Marek Polacek <mpolacek@redhat.com>.
56281         * bits/byteswap.h: Protect long long constants with __extension__.
56282         * sysdeps/i386/bits/byteswap.h: Likewise.
56283         * sysdeps/ia64/bits/byteswap.h: Likewise.
56284         * sysdeps/s390/bits/byteswap.h: Likewise.
56285         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56287 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56289         [BZ #13540]
56290         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56291         destination buffer.
56292         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56294 2011-12-23  Marek Polacek  <polacek@redhat.com>
56296         * elf/dl-addr.c (determine_info): Add inline keyword.
56297         * elf/tst-auditmod4b.c (check_avx): Likewise.
56298         * elf/tst-auditmod6b.c (check_avx): Likewise.
56299         * elf/tst-auditmod6c.c (check_avx): Likewise.
56300         * elf/tst-auditmod7b.c (check_avx): Likewise.
56302 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56304         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56305         !__SSE_MATH__.
56307 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56309         [BZ #13540]
56310         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56311         processing for last bytes.
56313 2011-08-06  Bruno Haible  <bruno@clisp.org>
56315         [BZ #13061]
56316         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56317         U+0385, not to U+1FEE.
56319         [BZ #13062]
56320         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56321         entry for U+00A5 U+0301.
56323 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56325         [BZ #13166]
56326         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56327         buffer for the output is too small.
56329         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56330         optimization.
56332         [BZ #13185]
56333         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56334         SSE flags if possible.
56336 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56338         [BZ #13540]
56339         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56340         processing for last bytes.
56342 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56344         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56345         (syscall-list-default-options, syscall-list-default-condition)
56346         (syscall-list-includes): Define.
56347         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56348         list of ABIs and options and #if conditions for each ABI.  Do not
56349         handle common syscalls between ABIs specially.
56350         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56351         Remove.
56352         (syscall-list-variants, syscall-list-32bit-options)
56353         (syscall-list-32bit-condition, syscall-list-64bit-options)
56354         (syscall-list-64bit-condition): Define.
56355         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56356         (syscall-list-variants, syscall-list-32bit-options)
56357         (syscall-list-32bit-condition, syscall-list-64bit-options)
56358         (syscall-list-64bit-condition): Define.
56359         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56360         Remove.
56361         (syscall-list-variants, syscall-list-32bit-options)
56362         (syscall-list-32bit-condition, syscall-list-64bit-options)
56363         (syscall-list-64bit-condition): Define.
56364         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56365         Remove.
56366         (syscall-list-variants, syscall-list-32bit-options)
56367         (syscall-list-32bit-condition, syscall-list-64bit-options)
56368         (syscall-list-64bit-condition): Define.
56370 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56372         * locale/iso-639.def: Add brx entry.
56374         [BZ #13328]
56375         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56376         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56378         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56379         __feraiseexcept_renamed.
56381 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56383         [BZ #13538]
56384         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56385         EPOLLET with unsigned values.
56386         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56387         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56389         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56390         to large cancellation.
56391         * math/s_cacoshf.c: Likewise.
56392         * math/s_cacoshl.c: Likewise.
56394 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56396         [BZ #13305]
56397         [BZ #12786]
56398         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56399         * math/s_cacoshf.c: Likewise.
56400         * math/s_cacoshl.c: Likewise.
56402 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56404         [BZ #13439]
56405         * iconv/gconv.h: Define __GCONV_SWAP.
56406         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56407         * iconvdata/utf-16.c: Likewise.
56408         * iconvdata/utf-32.c: Likewise.
56410 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56412         [BZ #13524]
56413         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56414         numerator after shifting it by one limb.
56416 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56418         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56419         under [__USE_EXTERN_INLINES].
56421 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56423         [BZ #13446]
56424         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56426 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56428         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56429         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56430         optimized code.
56431         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56432         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56433         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56434         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56435         for strncasecmp/strncasecmp_l compilation.
56436         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56437         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56439 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56441         [BZ #13484]
56442         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56443         of __asm__.
56445 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56447         [BZ #13506]
56448         * time/tzfile.c (__tzfile_read): Check values from file header.
56450 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56452         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56453         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56454         * powerpc/powerpc32/dl-start.S: Likewise.
56455         * powerpc/powerpc32/elf/start.S: Likewise.
56456         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56457         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56458         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56459         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56460         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56461         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56462         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56463         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56464         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56465         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56466         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56467         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56468         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56469         * powerpc/powerpc32/memset.S: Likewise.
56470         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56471         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56472         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56473         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56474         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56475         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56476         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56477         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56478         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56479         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56480         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56481         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56482         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56484 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56486         * math/libm-test.inc: Added more nearbyint tests.
56487         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56488         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56489         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56490         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56492 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56494         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56495         FD_CLOEXEC.
56497 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56499         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56500         Add wcscpy-ssse3 wcscpy-c.
56501         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56502         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56503         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56504         * sysdeps/x86_64/wcschr.S: New file.
56505         * sysdeps/x86_64/wcsrchr.S: New file.
56506         * string/test-strcmp.c: Remove checking of wcscmp function for
56507         wrong alignments.
56508         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56509         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56510         wcsrchr-sse2 wcsrchr-c.
56511         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56512         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56513         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56514         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56515         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56516         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56517         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56518         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56519         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56520         * wcsmbc/wcschr.c (WCSCHR): New macro.
56522 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56524         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56525         * wcsmbs/test-wcsrchr.c: New file.
56526         * string/test-strrchr.c: Add wcsrchr support.
56527         (WIDE): New macro.
56528         * wcsmbs/test-wcscpy.c: New file.
56529         * string/test-strcpy.c: Add wcscpy support.
56530         (WIDE): New macro.
56532 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56534         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56535         the inner loop.
56537 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56539         [BZ #13472]
56540         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56542 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56544         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56545         Minor optimizations.
56547         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56548         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56549         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56551 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56553         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56554         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56555         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56556         for gcc to avoid warnings.
56557         * inet/Makefile (tests): Add tst-checks.
56558         * inet/tst-checks.c: New file.
56560         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56561         warning.
56563         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56564         __wmemcmp_sse2.
56566         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56567         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56569         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56571 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56573         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56574         problem.
56576         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56578 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56580         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56581         conditional on GCC version.
56582         (__arch_compare_and_exchange_val_8_acq)
56583         (__arch_compare_and_exchange_val_16_acq)
56584         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56585         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56586         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56588 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56590         * sysdeps/sh/backtrace.c: New file.
56592 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56594         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56595         parenthesis.
56597 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56599         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56600         falling back to utime.
56602 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56604         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56605         expectations for float.
56607 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56609         * locale/weight.h (findidx): Add parameter len.
56610         * locale/weightwc.h (findidx): Likewise.
56611         * posix/fnmatch_loop.c (FCT): Adjust caller.
56612         * posix/regcomp.c (build_equiv_class): Likewise.
56613         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56614         * posix/regexec.c (check_node_accept_bytes): Likewise.
56615         * string/strcoll_l.c (STRCOLL): Likewise.
56616         * string/strxfrm_l.c (STRXFRM): Likewise.
56618 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56620         * Makefile.in: Remove CVSOPT handling.
56621         * configure.in: Remove use of AC_REVISION.
56622         * iconvdata/Makefile (distribute): No need to filter out CVS.
56623         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56624         handling.
56626 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56628         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56629         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56630         [USE_AS_STRNCASECMP_L]: Likewise.
56631         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56632         NO_TLS_DIRECT_SEG_REFS.
56633         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56634         Fix argument offsets for non-PIC.
56635         [USE_AS_STRNCASECMP_L]: Likewise.
56636         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56637         NO_TLS_DIRECT_SEG_REFS.
56639 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56641         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56642         O_CLOEXEC.
56643         * locale/loadlocale.c (_nl_load_locale): Likewise.
56645 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56647         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56648         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56649         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56650         (SYSCALL_GETTIME): Set errno on error.
56652         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56653         count references to noai6ai_cached.
56655 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56657         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56659         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56660         FD_CLOEXEC for /proc/self/maps.
56662         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56663         FD_CLOEXEC for /proc/meminfo.
56665         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56666         gai.conf.
56668         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56669         FD_CLOEXEC for given file.
56671         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56673         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56674         FD_CLOEXEC for /etc/hosts.
56675         (_gethtent): Likewise.
56677         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56679         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56680         cancellation and set FD_CLOEXEC for /etc/netgroup.
56682         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56683         reading /etc/publickey.
56685         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56686         allow cancellation when reading /etc/group.
56688         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56689         cancellation.
56690         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56692         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56693         when using data file.
56695         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56697         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56698         (write_nis_obj): Use "c" and "e" in fopen.
56700         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56702         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56704         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56706         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56708         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56709         locale.alias.
56711         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56713         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56715         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56717         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56718         file parsing and set FD_CLOEXEC.
56720 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56722         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56724 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56726         * malloc/arena.c (arena_get2): Don't call reused_arena when
56727         _int_new_arena failed.
56729 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56731         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56732         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56733         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56734         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56735         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56736         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56737         to compile strcasecmp and strncasecmp.
56738         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56739         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56741         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56743 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56745         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56746         locale-defines.sym to gen-as-const-headers.
56747         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56748         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56749         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56750         to compile strcasecmp and strncasecmp.
56751         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56752         strcasecmp_l and strncasecmp_l.
56753         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56754         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56755         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56756         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56757         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56758         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56759         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56760         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56761         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56762         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56763         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56765 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56767         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56768         result of SYSDEP_GETTIME_CPU to retval.
56769         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56770         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56772         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56773         variable.
56775         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56776         mantissa words.
56777         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56779         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56780         from unused variable.
56782         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56783         DWARF definitions.
56784         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56785         for assembling.
56787         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56788         over namespaces.
56790         * sunrpc/rpc_prot.c (rejected): Fix case value.
56792         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56793         unsigned long long int to avoid warnings in shift.
56795         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56796         of use of trans.
56797         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56798         variable tmp.
56800         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56801         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56802         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56804         * nis/nis_table.c (nis_list): Use variable of correct type for
56805         result of __follow_path call.
56807 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56809         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56810         of math functions ceil, trunc, floor, round, and sqrt, when
56811         avaliable on the platform.
56812         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56813         name clash.
56814         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56815         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56816         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56818 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56820         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56821         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56823 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56825         * include/unistd.h: Fix __readlink return type.
56826         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56828 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56830         * stdlib/ucontext.h: Undo last change for makecontext.
56832 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56834         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56836         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56837         * setjmp/setjmp.h: Mark functions as non-leaf.
56838         * setjmp/bits/setjmp2.h: Likewise.
56839         * stdlib/ucontext.h: Likewise.
56841 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56843         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56844         (reused_arena): Don't check arena limit.
56845         (arena_get2): Atomically check arena limit.
56847 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56849         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56850         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56852         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56853         instructions.
56855 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56857         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56858         handler when locking.
56860         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56861         Fix size of allocated buffer.
56863 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56865         [BZ #10103]
56866         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56867         declarations for long double functions.
56868         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56870         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56872 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56874         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56875         installed.
56877         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56878         is disabled.
56880 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56882         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56884 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56886         * include/alloca.h (stackinfo_alloca_round): Define.
56887         (extend_alloca): Use it.
56888         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56889         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56890         here.
56892         * scripts/check-local-headers.sh: Ignore libaudit.h.
56894         * nscd/Makefile (extra-objs): Make recursively expanded.
56896 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56898         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56899         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56901         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56902         * posix/tst-rfc3484-2.c: Likewise.
56903         * posix/tst-rfc3484-3.c: Likewise.
56905         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56906         process_vm_writev.
56907         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56908         process_vm_writev.
56909         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56910         process_vm_writev from libc using GLIBC_2.15 version.
56912         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56914 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56916         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56917         stack usage.
56919 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56921         [BZ #13367]
56922         * nss/getent.c (initgroups_keys): Show error message in case no group
56923         names are given.
56925         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56926         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56927         __bump_nl_timestamp.
56928         * nscd/connections (nscd_init): When host database is served open
56929         netlink socket and request notification about configuration changes.
56930         (main_loop_poll): Track netlink file descriptor and bump timestamp
56931         in case data becomes available.
56932         (main_loop_epoll): Likewise.
56933         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56934         (database_pers_head): Add extra_data fileds.
56935         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56936         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56937         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56938         Adjust caller.
56939         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56940         in6ai data, call __free_in6ai.
56941         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56942         Add -DHAVE_NETLINK.
56943         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56944         interface information.  Reuse previous data if netlink timestamp
56945         is not changed.
56946         (__bump_nl_timestamp): New function.
56947         (__free_in6ai): New function.
56949 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56951         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56952         close_not_cancel_no_status here.
56953         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56955 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56957         [BZ #13276]
56958         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56959         return value.
56961         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56962         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56963         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56965 2011-07-03  Andreas Jaeger  <aj@suse.de>
56967         [BZ #10709]
56968         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56969         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56970         * math/libm-test.inc (sin_test): Add test case.
56972 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56974         [BZ #13337]
56975         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56976         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56978         * elf/chroot_canon.c (chroot_canon): Cleanups.
56980         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56982         [BZ #13335]
56983         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56984         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56986         * string/test-strchr.c: Make usable for strchrnul testing.
56987         * string/test-strchrnul.c: New file.
56988         * string/Makefile (strop-tests): Add strchrnul.
56990         * po/it.po: Update from translation team.
56991         * po/es.po: Likewise.
56993 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56995         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56996         the three constants needed as parameters.  Drop the others.
56997         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56998         __m128i_strloadu_tolower.
56999         Create and initialize variable zero and use it in all the places
57000         where _mm_setzero_si128 was used.
57002         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57003         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57004         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57005         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57006         anymore.
57007         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57008         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57009         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57010         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57011         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57012         __mpranred, __mptan.
57013         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57014         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57015         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57016         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57017         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57018         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57019         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57020         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57021         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57023 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57025         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57026         redefine if SHARED.
57027         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57030         wide char related routines to wcsmbs subdir.
57032 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57034         [BZ #13344]
57035         * misc/sys/cdefs.h (__THROWNL): Define.
57036         * posix/unistd.h: Use __THREADNL instead of __THREAD
57037         for memory synchronization functions.
57039 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57041         [BZ #13349]
57042         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57043         doesn't exist.
57044         * manual/stdio.texi (Obstack Streams): Node removed.
57046 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57048         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57049         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57050         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57052         * math/math_private.h (math_force_eval): Allow non-addressable
57053         arguments.
57054         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57056 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57058         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57059         file is not needed.
57061         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57062         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57063         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57064         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57065         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57066         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57067         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57068         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57069         Add AVX variants.
57070         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57071         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57072         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57073         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57074         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57075         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57076         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57077         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57078         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57079         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57080         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57081         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57082         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57083         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57084         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57085         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57086         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57087         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57088         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57090         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57091         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57093         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57094         place.  Use VEX encoding when compiling for AVX.
57096 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57098         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57099         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57101         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57103 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57105         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57106         useless if() expression.
57107         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57108         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57109         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57110         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57111         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57112         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57113         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57114         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57115         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57116         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57117         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57118         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57119         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57120         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57121         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57122         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57123         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57124         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57125         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57127         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57129 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57131         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57132         condition.
57133         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57135 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57137         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57138         .text section.  Avoid duplicate constants.
57139         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57140         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57141         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57142         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57143         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57144         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57145         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57146         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57147         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57148         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57149         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57150         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57151         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57152         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57153         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57154         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57155         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57156         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57157         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57158         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57159         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57160         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57161         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57162         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57163         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57164         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57165         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57166         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57167         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57168         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57169         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57170         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57171         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57172         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57173         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57174         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57175         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57176         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57177         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57178         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57179         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57180         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57181         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57182         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57183         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57185 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57187         * sysdeps/x86_64/dla.h: Move to ...
57188         * sysdeps/x86_64/fpu/dla.h: ...here.
57189         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57190         situations.  Use __builtin_fma only for gcc 4.6 and up.
57192         * config.make.in: Add have-mfma4 entry.
57193         * configure.in: Substitute libc_cv_cc_fma4.
57194         * math/Makefile (dbl-only-routines): Add sincostab.
57195         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57196         Use __sincostab not sincos.
57197         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57198         name is a macro.
57199         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57200         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57201         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57202         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57203         using __copysign.
57204         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57205         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57206         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57207         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57208         and __inv.
57209         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57210         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57211         __copysign.
57212         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57213         define aliases when function name is a macro.
57214         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57215         sysdeps/ieee754/dbl-64/sincos.tbl.
57216         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57217         fma4-enabled routines.
57218         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57219         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57220         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57221         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57222         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57223         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57224         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57225         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57226         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57227         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57228         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57229         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57230         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57231         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57232         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57233         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57234         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57235         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57236         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57237         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57238         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57239         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57240         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57241         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57242         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57243         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57244         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57245         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57246         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57247         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57249         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57250         rename.
57251         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57252         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57253         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57254         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57255         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57256         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57257         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57258         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57260 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57262         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57264 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57266         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57268         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57269         prediction.
57270         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57272         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57273         Remove unused variable magic_bits.
57274         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57276         * string/strnlen.c: Define and use STRNLEN macro.
57277         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57278         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57279         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57280         * wcsmbs/wcslen.c: Define and use WCSLEN.
57281         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57282         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57283         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57284         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57285         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57286         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57287         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57289 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57292         strnlen-sse2-no-bsf.
57293         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57294         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57295         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57296         Add strnlen support.
57297         (USE_AS_STRNLEN): New macro.
57298         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57299         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57300         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57301         * sysdeps/x86_64/wcslen.S: New file.
57303 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57305         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57306         XMM-moves are used for copying on small sizes.
57308 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57310         * wcsmbs/Makefile (strop-tests): Add wcschr.
57311         * wcsmbs/test-wcschr.c: New file.
57312         * string/test-strchr.c: Update.
57313         Add wcschr support.
57314         (WIDE): New macro.
57316 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57318         * wcsmbs/Makefile (strop-tests): Add wcslen.
57319         * wcsmbs/test-wcslen.c: New file.
57320         * string/test-strlen.c: Update.
57321         Add wcslen support.
57322         (WIDE): New macro.
57324 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57326         * po/it.po: Update from translation team.
57328 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57330         * sysdeps/x86_64/wcscmp.S: Update.
57331         Fix wrong comparison semantics.
57332         wcscmp shall use signed comparison not unsigned.
57333         Don't use substraction to avoid overflow bug.
57334         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57335         * wcsmbc/wcscmp.c: Likewise.
57336         * string/test-strcmp.c: Likewise.
57337         Add new tests to check cases with negative values.
57339 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57341         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57342         * sysdeps/x86_64/dla.h: ...here.  New file.
57343         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57344         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57345         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57346         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57347         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57348         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57349         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57350         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57351         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57353 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57355         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57356         __ynl_finite aliases.
57358 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57362         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57363         define DLA_FMA.
57364         [DLA_FMA] (EMULV): Use DLA_FMA.
57365         [DLA_FMA] (MUL12): Use EMULV.
57366         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57367         that are not needed.
57368         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57369         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57370         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57371         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57372         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57373         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57374         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57376 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57378         * math/s_nan.c: Undef __nan.
57379         * math/s_nanf.c: Undef __nanf.
57380         * math/s_nanl.c: Undef __nanl.
57381         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57382         "math_private.h".
57384 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57386         * math/s_catan.c: Add branch predictions.
57387         * math/s_catanf.c: Likewise.
57388         * math/s_catanh.c: Likewise.
57389         * math/s_catanhf.c: Likewise.
57390         * math/s_catanhl.c: Likewise.
57391         * math/s_catanl.c: Likewise.
57392         * math/s_cexp.c: Likewise.
57393         * math/s_cexpf.c: Likewise.
57394         * math/s_cexpl.c: Likewise.
57395         * math/s_clog.c: Likewise.
57396         * math/s_clog10.c: Likewise.
57397         * math/s_clog10f.c: Likewise.
57398         * math/s_clog10l.c: Likewise.
57399         * math/s_clogf.c: Likewise.
57400         * math/s_clogl.c: Likewise.
57401         * math/s_csqrt.c: Likewise.
57402         * math/s_csqrtf.c: Likewise.
57403         * math/s_csqrtl.c: Likewise.
57404         * math/s_ctanf.c: Likewise.
57405         * math/s_ctanh.c: Likewise.
57406         * math/s_ctanhf.c: Likewise.
57407         * math/s_ctanhl.c: Likewise.
57408         * math/s_ctanl.c: Likewise.
57410         * math/math_private.h: Define __nan, __nanf, __nanl.
57411         * math/s_cacosh.c: Include <math_private.h>.
57412         * math/s_cacoshl.c: Likewise.
57413         * math/s_casinh.c: Likewise.
57414         * math/s_casinhf.c: Likewise.
57415         * math/s_casinhl.c: Likewise.
57416         * math/s_ccos.c: Rely entire on ccosh.
57417         * math/s_ccosf.c: Rely entire on ccoshf.
57418         * math/s_ccosl.c: Rely entirely on ccoshl.
57419         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57420         Remove tests for FE_INVALID.
57421         * math/s_ccoshf.c: Likewise.
57422         * math/s_ccoshl.c: Likewise.
57423         * math/s_csin.c: Likewise.
57424         * math/s_csinf.c: Likewise.
57425         * math/s_csinh.c Likewise.
57426         * math/s_csinhf.c: Likewise.
57427         * math/s_csinhl.c: Likewise.
57428         * math/s_csinl.c: Likewise.
57429         * math/s_ctan.c: Likewise.
57430         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57431         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57432         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57434 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57437         compilation problems.
57439         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57440         __builtin_expect.
57442 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57444         * sysdeps/i386/configure.in: Test for -mfma4 option.
57445         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57446         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57447         COMMON_CPUID_INDEX_80000001.
57448         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57449         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57450         use it if FMA3 is not supported.
57451         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57453         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57454         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57456 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57458         [BZ #12892]
57459         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57460         it would create a cycle with a link time dependency.
57462 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57464         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57465         instruction.
57466         * string/Makefile (strop-tests): Add rawmemchr.
57467         * string/test-rawmemchr.c: New file.
57469         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57470         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57471         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57472         when compiling str{,n}casecmp and when AVX is available.  Hook up
57473         new optimized code in initializers.
57475 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57477         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57478         __feraiseexcept instead of feraiseexcept.
57480 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57482         * math/math_private.h: Define defaults for libc_fetestexcept and
57483         libc_feupdateenv.
57484         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57485         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57486         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57487         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57488         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57489         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57490         libc_fetestexcept and libc_feupdateenv.
57492         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57493         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57494         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57495         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57496         libc_feholdexcept_setround.
57498         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57499         Add s_nearbyint-c and s_nearbyintf-c.
57500         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57501         nearbyintf inlines.
57502         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57503         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57504         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57505         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57507         * math/math_private.h: Define defaults for libc_fegetround,
57508         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57509         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57510         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57511         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57512         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57513         standard functions.
57514         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57515         Remove comments and hacks for old compiler versions.
57516         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57517         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57518         libc_feholdexceptl.
57520 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57522         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57523         (__feraiseexcept_renamed): Add __NTH.
57524         (feraiseexcept): Add __NTH.  Rename local variables to fix
57525         namespace violations.
57527 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57529         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57531         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57533         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57534         recently added interfaces.
57535         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57537         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57538         about macro parameter expansion.
57540         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57541         __NO_MATH_INLINES is defined.  Cleanups.
57543         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57544         and __floorf is target has SSE4.1.
57545         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57546         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57547         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57548         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57550         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57551         name.
57552         (floorf): Likewise.
57554         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57556 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57558         * misc/sys/cdefs.h: Fix last change.
57560         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57561         database lookup.
57563 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57565         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57567         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57568         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57569         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57570         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57571         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57572         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57573         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57574         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57575         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57576         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57577         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57578         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57579         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57580         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57581         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57582         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57583         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57584         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57585         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57586         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57587         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57588         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57590         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57591         ceil, ceilf, floor, floorf.
57593         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57594         Perform IRELATIVE relocations last.
57596         * elf/do-rel.h: Add another parameter nrelative, replacing the
57597         local variable with the same name.  Change name of the function
57598         to end in Rel or Rela (uppercase).
57599         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57600         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57601         elf_dynamic_do_##reloc function.
57603 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57605         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57606         is sufficient, at least on modern CPUs.
57608         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57610         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57611         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57613         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57614         __expl_finite.
57615         * math/bits/math-finite.h: Add entries for exp.
57616         * math/e_expl.c: Add __*_finite alias.
57617         * sysdeps/i386/fpu/e_exp.S: Likewise.
57618         * sysdeps/i386/fpu/e_expf.S: Likewise.
57619         * sysdeps/i386/fpu/e_expl.c: Likewise.
57620         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57621         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57622         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57623         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57624         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57625         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57626         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57628         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57629         is sufficient, at least on modern CPUs.
57631         * ctype/ctype-info.c (__ctype_init): Define.
57632         * include/ctype.h (__ctype_init): Declare.
57633         (__ctype_b_loc): The variable is always initialized.
57634         (__ctype_toupper_loc): Likewise.
57635         (__ctype_tolower_loc): Likewise.
57636         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57637         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57639 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57641         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57643         * configure.in: Also look in $cxxmachine/include for C++ system
57644         headers.
57646 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57648         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57649         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57650         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57651         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57652         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57653         (USE_AS_WMEMCMP): New macro.
57654         Fixing indents.
57655         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57656         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57657         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57658         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57659         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57660         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57661         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57662         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57663         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57664         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57665         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57666         (USE_AS_WMEMCMP): New macro.
57667         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57668         * sysdeps/string/test-memcmp.c: Update.
57669         Fix simple_wmemcmp.
57670         Add new tests.
57671         * wcsmbs/wmemcmp.c: Update.
57672         (WMEMCMP): New macro.
57673         Fix overflow bug.
57675 2011-10-12  Andreas Jaeger  <aj@suse.de>
57677         [BZ #13268]
57678         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57680 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57682         * libio/iofwide.c (do_length): Avoid warning.
57684         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57686 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57688         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57690         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57691         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57692         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57693         * sysdeps/i386/i686/fpu/e_log.S: New file.
57694         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57695         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57697         * ctype/ctype.h: Add support for inlined isXXX functions when
57698         compiling C++ code.
57700 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57702         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57704         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57706 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57708         [BZ #13291]
57709         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57711 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57713         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57714         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57715         feraiseexcept.
57717         * sysdeps/x86_64/memrchr.S: Check for zero size.
57719         * string/stratcliff.c: Add memrchr tests.
57721 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57723         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57724         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57725         rawmemchr-sse2 rawmemchr-sse2-bsf.
57726         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57727         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57728         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57729         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57730         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57731         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57732         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57733         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57734         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57735         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57736         * string/memrchr.c (MEMRCHR): New macro.
57738 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57740         Add integration with gcc's -ffinite-math-only and optimize wrapper
57741         functions in libm.
57742         * Versions.def: Define GLIBC_2.15 version for libm.
57743         * math/Makefile (headers): Add bits/math-finite.h.
57744         * math/bits/math-finite.h: New file.
57745         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57746         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57747         * math/e_acoshl.c: Add __*_finite alias.
57748         * math/e_acosl.c: Likewise.
57749         * math/e_asinl.c: Likewise.
57750         * math/e_atan2l.c: Likewise.
57751         * math/e_atanhl.c: Likewise.
57752         * math/e_coshl.c: Likewise.
57753         * math/e_exp10.c: Likewise.
57754         * math/e_exp10f.c: Likewise.
57755         * math/e_exp10l.c: Likewise.
57756         * math/e_exp2l.c: Likewise.
57757         * math/e_fmodl.c: Likewise.
57758         * math/e_gammal_r.c: Likewise.
57759         * math/e_hypotl.c: Likewise.
57760         * math/e_j0l.c: Likewise.
57761         * math/e_j1l.c: Likewise.
57762         * math/e_jnl.c: Likewise.
57763         * math/e_lgammal_r.c: Likewise.
57764         * math/e_log10l.c: Likewise.
57765         * math/e_log2l.c: Likewise.
57766         * math/e_logl.c: Likewise.
57767         * math/e_powl.c: Likewise.
57768         * math/e_sinhl.c: Likewise.
57769         * math/e_sqrtl.c: Likewise.
57770         * math/e_scalb.c: Completely rewritten and optimized.
57771         * math/e_scalbf.c: Likewise.
57772         * math/e_scalbl.c: Likewise.
57773         * math/w_acos.c: Likewise.
57774         * math/w_acosf.c: Likewise.
57775         * math/w_acosl.c: Likewise.
57776         * math/w_acosh.c: Likewise.
57777         * math/w_acoshf.c: Likewise.
57778         * math/w_acoshl.c: Likewise.
57779         * math/w_asin.c: Likewise.
57780         * math/w_asinf.c: Likewise.
57781         * math/w_asinl.c: Likewise.
57782         * math/w_atan2.c: Likewise.
57783         * math/w_atan2f.c: Likewise.
57784         * math/w_atan2l.c: Likewise.
57785         * math/w_atanh.c: Likewise.
57786         * math/w_atanhf.c: Likewise.
57787         * math/w_atanhl.c: Likewise.
57788         * math/w_exp10.c: Likewise.
57789         * math/w_exp10f.c: Likewise.
57790         * math/w_exp10l.c: Likewise.
57791         * math/w_fmod.c: Likewise.
57792         * math/w_fmodf.c: Likewise.
57793         * math/w_fmodl.c: Likewise.
57794         * math/w_j0.c: Likewise.
57795         * math/w_j0f.c: Likewise.
57796         * math/w_j0l.c: Likewise.
57797         * math/w_j1.c: Likewise.
57798         * math/w_j1f.c: Likewise.
57799         * math/w_j1l.c: Likewise.
57800         * math/w_jn.c: Likewise.
57801         * math/w_jnf.c: Likewise.
57802         * math/w_log.c: Likewise.
57803         * math/w_logf.c: Likewise.
57804         * math/w_logl.c: Likewise.
57805         * math/w_log10.c: Likewise.
57806         * math/w_log10f.c: Likewise.
57807         * math/w_log10l.c: Likewise.
57808         * math/w_log2.c: Likewise.
57809         * math/w_log2f.c: Likewise.
57810         * math/w_log2l.c: Likewise.
57811         * math/w_pow.c: Likewise.
57812         * math/w_powf.c: Likewise.
57813         * math/w_powl.c: Likewise.
57814         * math/w_remainder.c: Likewise.
57815         * math/w_remainderf.c: Likewise.
57816         * math/w_remainderl.c: Likewise.
57817         * math/w_scalb.c: Likewise.
57818         * math/w_scalbf.c: Likewise.
57819         * math/w_scalbl.c: Likewise.
57820         * math/w_sqrt.c: Likewise.
57821         * math/w_sqrtf.c: Likewise.
57822         * math/w_sqrtl.c: Likewise.
57823         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57824         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57825         used.
57826         * math/math_private.h: Declare __kernel_standard_f.
57827         * math/w_cosh.c: Remove cruft and optimize a bit.
57828         * math/w_coshf.c: Likewise.
57829         * math/w_coshl.c: Likewise.
57830         * math/w_exp2.c: Likewise.
57831         * math/w_exp2f.c: Likewise.
57832         * math/w_exp2l.c: Likewise.
57833         * math/w_hypot.c: Likewise.
57834         * math/w_hypotf.c: Likewise.
57835         * math/w_hypotl.c: Likewise.
57836         * math/w_lgamma.c: Likewise.
57837         * math/w_lgamma_r.c: Likewise.
57838         * math/w_lgammaf.c: Likewise.
57839         * math/w_lgammaf_r.c: Likewise.
57840         * math/w_lgammal.c: Likewise.
57841         * math/w_lgammal_r.c: Likewise.
57842         * math/w_sinh.c: Likewise.
57843         * math/w_sinhf.c: Likewise.
57844         * math/w_sinhl.c: Likewise.
57845         * math/w_tgamma.c: Likewise.
57846         * math/w_tgammaf.c: Likewise.
57847         * math/w_tgammal.c: Likewise.
57848         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57849         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57850         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57851         Minor optimizations.  Pretty printing.  Remove cruft.
57852         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57853         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57854         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57855         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57856         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57857         * sysdeps/i386/fpu/e_asin.S: Likewise.
57858         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57859         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57860         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57861         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57862         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57863         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57864         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57865         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57866         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57867         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57868         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57869         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57870         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57871         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57872         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57873         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57874         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57875         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57876         * sysdeps/i386/fpu/e_log.S: Likewise.
57877         * sysdeps/i386/fpu/e_log10.S: Likewise.
57878         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57879         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57880         * sysdeps/i386/fpu/e_log2.S: Likewise.
57881         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57882         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57883         * sysdeps/i386/fpu/e_logf.S: Likewise.
57884         * sysdeps/i386/fpu/e_logl.S: Likewise.
57885         * sysdeps/i386/fpu/e_pow.S: Likewise.
57886         * sysdeps/i386/fpu/e_powf.S: Likewise.
57887         * sysdeps/i386/fpu/e_powl.S: Likewise.
57888         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57889         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57890         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57891         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57892         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57893         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57894         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57895         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57896         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57897         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57898         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57899         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57900         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57901         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57902         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57903         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57904         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57905         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57906         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57907         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57908         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57909         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57910         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57911         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57912         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57913         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57914         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57915         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57916         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57917         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57918         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57919         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57920         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57921         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57922         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57923         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57924         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57925         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57926         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57927         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57928         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57929         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57930         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57931         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57932         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57933         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57934         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57935         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57936         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57937         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57938         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57939         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57940         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57941         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57942         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57943         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57944         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57945         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57946         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57947         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57948         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57949         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57950         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57951         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57952         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57953         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57954         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57955         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57956         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57957         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57958         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57959         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57960         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57961         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57962         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57963         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57964         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57965         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57966         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57967         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57968         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57969         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57970         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57971         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57972         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57973         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57974         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57975         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57976         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57977         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57978         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57979         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57980         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57981         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57982         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57983         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57984         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57985         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57986         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57987         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57988         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57989         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57990         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57991         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57992         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57993         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57994         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57995         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57996         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57997         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57998         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57999         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58000         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58001         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58002         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58003         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58004         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58005         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58006         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58007         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58008         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58009         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58010         (__isnanf): Likewise.
58011         (__isinf_ns): Likewise.
58012         (__isinf_nsf): Likewise.
58013         (__finite): Likewise.
58014         (__finitef): Likewise.
58015         (__ieee754_sqrt): Define as macro.
58016         (__ieee754_sqrtf): Define as macro.
58017         (__ieee754_sqrtl): Define as macro.
58018         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58019         inlined copy.
58020         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58021         __FINITE_MATH_ONLY__ consistent.
58022         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58024 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58026         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58027         of rawmemchr.
58029         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58031 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58033         * po/ja.po: Update from translation team.
58035 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58037         * locale/programs/locarchive.c (prepare_address_space): New function.
58038         (create_archive, enlarge_archive, open_archive): Use it.
58040         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58041         inside [SHARED], where it is used.
58043         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58045         * nss/getent.c (netgroup_keys): Remove unused variable.
58046         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58048 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58050         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58051         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58052         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58053         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58054         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58055         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58056         * math/Makefile (libm-calls): Add s_isinf_ns.
58057         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58058         * math/multc3.c: Likewise.
58059         * math/s_casin.c: Likewise.
58060         * math/s_casinf.c: Likewise.
58061         * math/s_casinl.c: Likewise.
58062         * math/s_ccos.c: Likewise.
58063         * math/s_ccosf.c: Likewise.
58064         * math/s_ccosl.c: Likewise.
58065         * math/s_ctan.c: Likewise.
58066         * math/s_ctanf.c: Likewise.
58067         * math/s_ctanh.c: Likewise.
58068         * math/s_ctanhf.c: Likewise.
58069         * math/s_ctanhl.c: Likewise.
58070         * math/s_ctanl.c: Likewise.
58071         * math/w_fmod.c: Likewise.
58072         * math/w_fmodf.c: Likewise.
58073         * math/w_fmodl.c: Likewise.
58074         * math/w_remainder.c: Likewise.
58075         * math/w_remainderf.c: Likewise.
58076         * math/w_remainderl.c: Likewise.
58077         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58078         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58079         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58080         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58081         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58082         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58083         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58084         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58086         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58087         of the number.
58088         * stdio-common/printf_fphex.c: Likewise.
58089         * stdio-common/printf_size.c: Likewise.
58091         * math/e_exp10.c: Include math_private.h using <...> not "...".
58092         * math/e_exp10f.c: Likewise.
58093         * math/e_exp10l.c: Likewise.
58094         * math/e_exp2l.c: Likewise.
58095         * math/e_j0l.c: Likewise.
58096         * math/e_j1l.c: Likewise.
58097         * math/e_jnl.c: Likewise.
58098         * math/e_lgammal_r.c: Likewise.
58099         * math/e_rem_pio2l.c: Likewise.
58100         * math/e_scalb.c: Likewise.
58101         * math/e_scalbf.c: Likewise.
58102         * math/e_scalbl.c: Likewise.
58103         * math/k_cosl.c: Likewise.
58104         * math/k_sinl.c: Likewise.
58105         * math/k_tanl.c: Likewise.
58106         * math/s_cacoshf.c: Likewise.
58107         * math/s_catan.c: Likewise.
58108         * math/s_catanf.c: Likewise.
58109         * math/s_catanh.c: Likewise.
58110         * math/s_catanhf.c: Likewise.
58111         * math/s_catanhl.c: Likewise.
58112         * math/s_catanl.c: Likewise.
58113         * math/s_ccosh.c: Likewise.
58114         * math/s_ccoshf.c: Likewise.
58115         * math/s_ccoshl.c: Likewise.
58116         * math/s_cexp.c: Likewise.
58117         * math/s_cexpf.c: Likewise.
58118         * math/s_cexpl.c: Likewise.
58119         * math/s_clog.c: Likewise.
58120         * math/s_clog10.c: Likewise.
58121         * math/s_clog10f.c: Likewise.
58122         * math/s_clog10l.c: Likewise.
58123         * math/s_clogf.c: Likewise.
58124         * math/s_clogl.c: Likewise.
58125         * math/s_csin.c: Likewise.
58126         * math/s_csinf.c: Likewise.
58127         * math/s_csinh.c: Likewise.
58128         * math/s_csinhf.c: Likewise.
58129         * math/s_csinhl.c: Likewise.
58130         * math/s_csinl.c: Likewise.
58131         * math/s_csqrt.c: Likewise.
58132         * math/s_csqrtf.c: Likewise.
58133         * math/s_csqrtl.c: Likewise.
58134         * math/s_ctan.c: Likewise.
58135         * math/s_ctanf.c: Likewise.
58136         * math/s_ctanh.c: Likewise.
58137         * math/s_ctanhf.c: Likewise.
58138         * math/s_ctanhl.c: Likewise.
58139         * math/s_ctanl.c: Likewise.
58140         * math/s_ldexp.c: Likewise.
58141         * math/s_ldexpf.c: Likewise.
58142         * math/s_ldexpl.c: Likewise.
58143         * math/s_significand.c: Likewise.
58144         * math/s_significandf.c: Likewise.
58145         * math/s_significandl.c: Likewise.
58146         * math/w_acos.c: Likewise.
58147         * math/w_acosf.c: Likewise.
58148         * math/w_acosh.c: Likewise.
58149         * math/w_acoshf.c: Likewise.
58150         * math/w_acoshl.c: Likewise.
58151         * math/w_acosl.c: Likewise.
58152         * math/w_asin.c: Likewise.
58153         * math/w_asinf.c: Likewise.
58154         * math/w_asinl.c: Likewise.
58155         * math/w_atan2.c: Likewise.
58156         * math/w_atan2f.c: Likewise.
58157         * math/w_atan2l.c: Likewise.
58158         * math/w_atanh.c: Likewise.
58159         * math/w_atanhf.c: Likewise.
58160         * math/w_atanhl.c: Likewise.
58161         * math/w_cosh.c: Likewise.
58162         * math/w_coshf.c: Likewise.
58163         * math/w_coshl.c: Likewise.
58164         * math/w_dremf.c: Likewise.
58165         * math/w_exp10.c: Likewise.
58166         * math/w_exp10f.c: Likewise.
58167         * math/w_exp10l.c: Likewise.
58168         * math/w_exp2.c: Likewise.
58169         * math/w_exp2f.c: Likewise.
58170         * math/w_fmod.c: Likewise.
58171         * math/w_fmodf.c: Likewise.
58172         * math/w_fmodl.c: Likewise.
58173         * math/w_hypot.c: Likewise.
58174         * math/w_hypotf.c: Likewise.
58175         * math/w_hypotl.c: Likewise.
58176         * math/w_j0.c: Likewise.
58177         * math/w_j0f.c: Likewise.
58178         * math/w_j0l.c: Likewise.
58179         * math/w_j1.c: Likewise.
58180         * math/w_j1f.c: Likewise.
58181         * math/w_j1l.c: Likewise.
58182         * math/w_jn.c: Likewise.
58183         * math/w_jnf.c: Likewise.
58184         * math/w_jnl.c: Likewise.
58185         * math/w_lgamma.c: Likewise.
58186         * math/w_lgamma_r.c: Likewise.
58187         * math/w_lgammaf.c: Likewise.
58188         * math/w_lgammaf_r.c: Likewise.
58189         * math/w_lgammal.c: Likewise.
58190         * math/w_lgammal_r.c: Likewise.
58191         * math/w_log.c: Likewise.
58192         * math/w_log10.c: Likewise.
58193         * math/w_log10f.c: Likewise.
58194         * math/w_log10l.c: Likewise.
58195         * math/w_log2.c: Likewise.
58196         * math/w_log2f.c: Likewise.
58197         * math/w_log2l.c: Likewise.
58198         * math/w_logf.c: Likewise.
58199         * math/w_logl.c: Likewise.
58200         * math/w_pow.c: Likewise.
58201         * math/w_powf.c: Likewise.
58202         * math/w_powl.c: Likewise.
58203         * math/w_remainder.c: Likewise.
58204         * math/w_remainderf.c: Likewise.
58205         * math/w_remainderl.c: Likewise.
58206         * math/w_scalb.c: Likewise.
58207         * math/w_scalbf.c: Likewise.
58208         * math/w_scalbl.c: Likewise.
58209         * math/w_sinh.c: Likewise.
58210         * math/w_sinhf.c: Likewise.
58211         * math/w_sinhl.c: Likewise.
58212         * math/w_sqrt.c: Likewise.
58213         * math/w_sqrtf.c: Likewise.
58214         * math/w_sqrtl.c: Likewise.
58215         * math/w_tgamma.c: Likewise.
58216         * math/w_tgammaf.c: Likewise.
58217         * math/w_tgammal.c: Likewise.
58219         * po/ja.po: Update from translation team.
58221 2011-09-29  Andreas Jaeger  <aj@suse.de>
58223         [BZ #13179]
58224         * sunrpc/netname.c (netname2host): Fix logic.
58226         [BZ #6779]
58227         [BZ #6783]
58228         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58229         correctly.
58230         * math/w_remainder.c (__remainder): Likewise.
58231         * math/w_remainderf.c (__remainderf): Likewise.
58232         * math/libm-test.inc (remainder_test): Add test cases.
58234 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58236         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58237         sdiv_qrnnd.
58239 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58241         * string/test-memcmp.c: Avoid unncessary #defines.
58242         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58244 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58246         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58247         Use new sse2 version for core i3 - i7 as it's faster
58248         than sse42 version.
58249         (bit_Prefer_PMINUB_for_stringop): New.
58250         * sysdeps/x86_64/rawmemchr.S: Update.
58251         Replace with faster SSE2 version.
58252         * sysdeps/x86_64/memrchr.S: New file.
58253         * sysdeps/x86_64/memchr.S: Update.
58254         Replace with faster SSE2 version.
58256 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58258         * elf/dl-load.c (lose): Add cast to avoid warning.
58260 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58262         * po/ca.po: Update from translation team.
58264         * inet/getnetgrent_r.c: Hook up nscd.
58265         * nscd/Makefile (routines): Add nscd_netgroup.
58266         (nscd-modules): Add netgroupcache.
58267         (CFLAGS-netgroupcache.c): Define.
58268         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58269         (cache_search): Add const to second parameter.
58270         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58271         INNETGR.
58272         (dbs): Add netgrdb entry.
58273         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58274         (verify_persistent_db): Handle netgrdb.
58275         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58276         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58277         GETFDNETGR.
58278         (netgroup_response_header): Define.
58279         (innetgroup_response_header): Define.
58280         (datahead): Add netgroup_response_header and innetgroup_response_header
58281         elements.
58282         * nscd/nscd.conf: Add entries for netgroup cache.
58283         * nscd/nscd.h (dbtype): Add netgrdb.
58284         (_PATH_NSCD_NETGROUP_DB): Define.
58285         (netgroup_iov_disabled): Declare.
58286         (xmalloc, xcalloc, xrealloc): Move declarations here.
58287         (cache_search): Adjust prototype.
58288         Add netgroup-related prototypes.
58289         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58290         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58291         (__nscd_innetgr): Declare.
58292         * nscd/selinux.c (perms): Use access_vector_t as element type and
58293         add netgroup-related initializers.
58294         * nscd/netgroupcache.c: New file.
58295         * nscd/nscd_netgroup.c: New file.
58296         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58297         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58298         For four parameters use innetgr.
58299         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58300         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58301         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58302         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58304         * nscd/connections.c (register_traced_file): Don't register file
58305         for disabled databases.
58307 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58309         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58311         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58312         from tree and freeing node.
58314 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58316         * nss/nsswitch.c (__nss_database_lookup): Handle
58317         nss_parse_service_list out of memory case.
58319 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58321         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58322         out of memory case.
58324 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58326         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58327         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58328         pass it down.
58329         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58330         elf_machine_rela, elf_machine_lazy_rel.
58331         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58332         (ELF_DYNAMIC_DO_REL): Likewise.
58333         (ELF_DYNAMIC_DO_RELA): Likewise.
58334         (ELF_DYNAMIC_RELOCATE): Likewise.
58335         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58336         to ELF_DYNAMIC_DO_REL.
58337         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58338         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58339         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58340         elf_machine_rela.
58341         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58342         skip_ifunc, don't call ifunc function if non-zero.
58343         (elf_machine_rela): Likewise.
58344         (elf_machine_lazy_rel): Likewise.
58345         (elf_machine_lazy_rela): Likewise.
58346         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58347         (elf_machine_lazy_rel): Likewise.
58348         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58349         Likewise.
58350         (elf_machine_lazy_rel): Likewise.
58351         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58352         Likewise.
58353         (elf_machine_lazy_rel): Likewise.
58354         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58355         (elf_machine_lazy_rel): Likewise.
58356         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58357         (elf_machine_lazy_rel): Likewise.
58358         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58359         (elf_machine_lazy_rel): Likewise.
58360         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58361         (elf_machine_lazy_rel): Likewise.
58362         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58363         (elf_machine_lazy_rel): Likewise.
58364         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58365         (elf_machine_lazy_rel): Likewise.
58367 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58369         * nss/nss_files/files-init.c (_nss_files_init): Use static
58370         initialization for all the *_traced_file variables.
58372 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58374         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58376 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58378         [BZ #13226]
58379         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58381 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58383         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58384         Reread the line before reparsing it.
58386 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58388         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58390 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58391             Maxim Kuvyrkov  <maxim@codesourcery.com>
58392             Joseph Myers  <joseph@codesourcery.com>
58394         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58395         if needed for __stack_chk_guard.
58397 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58399         * sysdeps/posix/spawni.c (script_execute): Always define it.
58400         It will be optimized away if unused.
58401         (maybe_script_execute): New function.
58402         (__spawni): Call it.
58404         * Makerules: Don't include tls.make.
58405         (config-tls): Always set to thread.
58406         * tls.make.c: File removed.
58408 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58410         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58411         * config.make.in (CPPFLAGS-config): New substituted variable.
58413 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58415         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58417         [BZ #13192]
58418         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58419         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58421 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58423         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58424         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58425         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58426         (CALL_FAIL): Likewise.
58427         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58428         (CALL_FAIL): Macro removed.
58429         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58431 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58433         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58434         for __FINITE_MATH_ONLY__ == 1.
58436 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58438         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58439         __ieee754_sqrt instead of sqrt.
58440         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58441         __ieee754_sqrtf instead of sqrtf.
58442         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58443         __floorf instead of floorf.
58444         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58445         __floorf, __truncf instead of floorf, truncf.
58447 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58449         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58451         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58452         __extern_always_inline.
58453         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58454         32-bit.
58456 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58458         * elf/rtld.c (dl_main): Also relocate in dependency order when
58459         doing symbol dependency testing.
58461 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58463         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58464         Always define `refsym'.
58466 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58468         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58469         (__FD_ELT): Renamed from __FDELT.
58470         * misc/bits/select2.h (__FD_ELT): Likewise.
58471         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58472         __FD_MASK instead of __FDELT, __FDMASK.
58473         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58474         Likewise.
58475         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58476         Likewise.
58478         * elf/Makefile (gen-ldd): Fix pattern.
58480         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58481         (init_tls): Likewise.
58483 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58485         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58487 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58489         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58490         `struct cmsghdr *' instead of `void *'.
58491         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58492         Likewise.
58494 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58496         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58497         if non-absolute.
58498         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58499         ldd_rewrite_script.
58501 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58503         * configure.in: Remove --with-tls option.
58504         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58505         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58506         out in case it is missing.
58507         * sysdeps/ia64/elf/configure.in: Likewise.
58508         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58509         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58510         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58511         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58512         * sysdeps/sh/elf/configure.in: Likewise.
58513         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58514         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58515         * sysdeps/x86_64/elf/configure.in: Likewise.
58516         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58517         * sysdeps/mach/hurd/tls.h: Likewise.
58519         [BZ #13067]
58520         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58522         [BZ #13090]
58523         * configure.in: Fix use of AC_INIT.
58525         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58527 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58529         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58530         __set_errno.
58531         * malloc/hooks.c: Likewise.
58533         [BZ #11929]
58534         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58535         variables statically.
58536         (narenas): Initialize.
58537         (list_lock): Initialize.
58538         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58539         initializtion of main_arena and list_lock.  Small cleanups.
58540         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58541         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58542         Add initializers to main_arena and mp_.
58543         (malloc_state): Remove pagesize member.  Change all users to use
58544         GLRO(dl_pagesize).
58546         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58547         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58548         is always initialized.
58550         * malloc/malloc.c: Removed unused configurations and dead code.
58551         * malloc/arena.c: Likewise.
58552         * malloc/hooks.c: Likewise.
58553         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58555         * include/tls.h: Removed.  USE___THREAD must always be defined.
58556         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58557         * elf/dl-libc.c: Likewise.
58558         * elf/dl-tsd.c: Likewise.
58559         * include/errno.h: Likewise.
58560         * include/netdb.h: Likewise.
58561         * include/resolv.h: Likewise.
58562         * inet/herrno-loc.c: Likewise.
58563         * inet/herrno.c: Likewise.
58564         * malloc/arena.c: Likewise.
58565         * malloc/hooks.c: Likewise.
58566         * malloc/malloc.c: Likewise.
58567         * resolv/res-state.c: Likewise.
58568         * resolv/res_libc.c: Likewise.
58569         * sysdeps/i386/dl-machine.h: Likewise.
58570         * sysdeps/ia64/dl-machine.h: Likewise.
58571         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58572         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58573         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58574         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58575         * sysdeps/sh/dl-machine.h: Likewise.
58576         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58577         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58578         * sysdeps/unix/i386/sysdep.S: Likewise.
58579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58580         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58581         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58583         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58584         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58585         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58586         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58588         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58589         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58590         * sysdeps/x86_64/dl-machine.h: Likewise.
58591         * tls.make.c: Likewise.
58593         * configure.in: Remove --with-__thread option.  Make tests for
58594         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58595         tls_model attribute fail if no support is available.  Remove
58596         USE_IN_LIBIO.
58597         * Makeconfig: Adjust for dropped configure option.  All features are
58598         now mandatory.
58599         * Makerules: Likewise.
58600         * Versions.def: Likewise.
58601         * argp/argp-fmtstream.c: Likewise.
58602         * argp/argp-fmtstream.h: Likewise.
58603         * argp/argp-help.c: Likewise.
58604         * assert/assert.c: Likewise.
58605         * config.h.in: Likewise.
58606         * config.make.in: Likewise.
58607         * configure: Likewise.
58608         * configure.in: Likewise.
58609         * csu/Versions: Likewise.
58610         * csu/init.c: Likewise.
58611         * elf/tst-audit2.c: Likewise.
58612         * elf/tst-tls10.c: Likewise.
58613         * elf/tst-tls10.h: Likewise.
58614         * elf/tst-tls11.c: Likewise.
58615         * elf/tst-tls12.c: Likewise.
58616         * elf/tst-tls14.c: Likewise.
58617         * elf/tst-tlsmod11.c: Likewise.
58618         * elf/tst-tlsmod12.c: Likewise.
58619         * elf/tst-tlsmod13.c: Likewise.
58620         * elf/tst-tlsmod13a.c: Likewise.
58621         * elf/tst-tlsmod14a.c: Likewise.
58622         * elf/tst-tlsmod15b.c: Likewise.
58623         * elf/tst-tlsmod16a.c: Likewise.
58624         * elf/tst-tlsmod16b.c: Likewise.
58625         * elf/tst-tlsmod7.c: Likewise.
58626         * elf/tst-tlsmod8.c: Likewise.
58627         * elf/tst-tlsmod9.c: Likewise.
58628         * gmon/gmon.c: Likewise.
58629         * grp/fgetgrent_r.c: Likewise.
58630         * grp/putgrent.c: Likewise.
58631         * hurd/fopenport.c: Likewise.
58632         * include/libc-symbols.h: Likewise.
58633         * include/tls.h: Likewise.
58634         * intl/gettextP.h: Likewise.
58635         * intl/loadinfo.h: Likewise.
58636         * locale/global-locale.c: Likewise.
58637         * locale/localeinfo.h: Likewise.
58638         * mach/devstream.c: Likewise.
58639         * malloc/arena.c: Likewise.
58640         * malloc/set-freeres.c: Likewise.
58641         * misc/err.c: Likewise.
58642         * misc/getttyent.c: Likewise.
58643         * misc/mntent_r.c: Likewise.
58644         * posix/getopt.c: Likewise.
58645         * posix/wordexp.c: Likewise.
58646         * pwd/fgetpwent_r.c: Likewise.
58647         * resolv/Versions: Likewise.
58648         * resolv/res_hconf.c: Likewise.
58649         * shadow/fgetspent_r.c: Likewise.
58650         * shadow/putspent.c: Likewise.
58651         * stdio-common/printf_fphex.c: Likewise.
58652         * stdio-common/tmpfile.c: Likewise.
58653         * stdlib/abort.c: Likewise.
58654         * stdlib/fmtmsg.c: Likewise.
58655         * sunrpc/auth_unix.c: Likewise.
58656         * sunrpc/clnt_perr.c: Likewise.
58657         * sunrpc/clnt_tcp.c: Likewise.
58658         * sunrpc/clnt_udp.c: Likewise.
58659         * sunrpc/clnt_unix.c: Likewise.
58660         * sunrpc/openchild.c: Likewise.
58661         * sunrpc/svc_simple.c: Likewise.
58662         * sunrpc/svc_tcp.c: Likewise.
58663         * sunrpc/svc_udp.c: Likewise.
58664         * sunrpc/svc_unix.c: Likewise.
58665         * sunrpc/xdr.c: Likewise.
58666         * sunrpc/xdr_array.c: Likewise.
58667         * sunrpc/xdr_rec.c: Likewise.
58668         * sunrpc/xdr_ref.c: Likewise.
58669         * sunrpc/xdr_stdio.c: Likewise.
58671 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58673         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58675 2011-07-03  Andreas Jaeger  <aj@suse.de>
58677         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58678         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58679         regenerate with gen-libm-tests.pl.
58681 2010-05-12  Petr Baudis  <pasky@suse.cz>
58683         [BZ #11589]
58684         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58685         around j0() zero points by switching to j1().
58686         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58687         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58688         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58689         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58691 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58693         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58694         instead of 0.
58695         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58696         instead of 0.
58697         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58698         Patch in part by Pavel Roskin <proski@gnu.org>.
58700         [BZ #13138]
58701         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58702         realloc.
58703         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58704         Free memory block if necessary.
58706         [BZ #12847]
58707         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58708         be NULL.  Don't lock in this case.
58710 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58712         * elf/elf.h (ELFOSABI_GNU): New macro.
58713         (ELFOSABI_LINUX): Define to that.
58715 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58717         * string/strncat.c (strncat): Undef the symbol in case it has been
58718         defined in bits/string.h.
58720 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58722         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58724         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58725         link map.
58727 2011-08-17  Andreas Jaeger  <aj@suse.de>
58729         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58731 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58732             Ian Lance Taylor  <iant@google.com>
58734         * math/libm-test.inc (lround_test): New testcase.
58735         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58737 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58739         * Makefile: Remove support for automatic cvs check-ins.
58740         * Makerules: Likewise.
58741         * config.make.in: Likewise.
58742         * configure.in: Likewise.
58743         * intl/Makefile: Likewise.
58744         * locale/Makefile: Likewise.
58745         * po/Makefile: Likewise.
58746         * posix/Makefile: Likewise.
58747         * sysdeps/gnu/Makefile: Likewise.
58748         * sysdeps/mach/hurd/Makefile: Likewise.
58749         * sysdeps/sparc/sparc32/Makefile: Likewise.
58751         [BZ #13118]
58752         * posix/Makefile (bug-regex32-ENV): Define.
58753         Patch by John Stanley <jpsinthemix@verizon.net>.
58755         * misc/Makefile (headers): Add bits/select2.h.
58756         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58757         * misc/bits/select2.h: New file.
58758         * include/bits/select2.h: New file.
58759         * debug/Makefile (routines): Add fdelt_chk.
58760         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58761         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58762         FD_ISSET.
58763         * debug/fdelt_chk.c: New file.
58765         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58766         * wcsmbs/test-wmemcmp.c: Likewise.
58767         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58768         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58770 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58772         * string/Makefile (strop-tests): Add memcmp.
58773         * string/test-wmemcmp.c: New file.
58774         * string/test-memcmp.c: Add wmemcmp support.
58776 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58778         [BZ #13153]
58779         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58780         2011-07-19 change.
58782         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58783         garbage value in a __mach_port_mod_refs call in the cases of the
58784         task-self and thread-self ports.
58786 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58788         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58790 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58792         * elf/dl-load.c (lose): Check for non-null L.
58794 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58796         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58798         * elf/dl-libc.c (dlerror_run): Pass back error code from
58799         dl_catch_error.
58801         [BZ #13123]
58802         * elf/dl-load.c (lose): Free l_origin if it is valid.
58804         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58805         names.
58806         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58807         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58808         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58809         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58810         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58811         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58813 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58815         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58816         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58817         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58818         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58819         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58820         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58821         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58822         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58823         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58824         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58826 2011-08-15  Alan Modra  <amodra@gmail.com>
58828         [BZ #13092]
58829         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58830         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58831         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58832         ppc_mcount to static-only-routines.
58833         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58834         __mcount_internal.
58835         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58836         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58838 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58840         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58841         for finite and infinity parameters.
58843 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58845         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58846         and add nop instructions for throughput optimization.
58847         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58849 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58851         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58852         aligned copy for power7 with vector-scalar instructions.
58853         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58855 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58857         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58858         AVX check.
58860 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58862         [BZ #13144]
58863         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58864         last change.
58866 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58868         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58869         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58870         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58871         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58872         clock_gettime.
58874 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58876         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58877         Forgot to demangle the pointer.
58879         * sysdeps/i386/sysdep.h: Define atom_text_section.
58880         * sysdeps/x86_64/sysdep.h: Likewise.
58881         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58882         section with atom_text_section.
58883         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58884         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58885         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58886         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58887         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58889         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58890         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58891         already be defined.  Change to take two parameters and don't assign
58892         result to variable.  Adjust all users.
58893         Define INTERNAL_GETTIME if not already defined.
58894         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58895         call.
58896         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58897         HAVE_CLOCK_GETTIME_VSYSCALL.
58898         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58900         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58901         gettimeofday vsyscall, just use time.
58903 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58905         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58906         <errno.h>.
58908 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58910         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58911         syscall on x86-64.
58912         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58913         syscall.
58914         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58915         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58916         syscall if possible.
58918 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58920         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58921         e_ident.  Don't pass to find_mapsXX.
58922         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58924 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58926         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58927         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58928         * sysdeps/x86_64/multiarch/strchr.S: Update.
58929         Check bit_slow_BSF bit.
58930         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58931         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58932         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58934 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58936         [BZ #13134]
58937         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58938         before glibc 2.15.
58939         (tryshell): Define.
58940         (__spawni): Change last parameter to be flag.  Test
58941         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58942         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58943         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58944         * posix/spawni.c: Likewise.
58945         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58946         * posix/spawnp.c: Likewise.  Change normal version to use
58947         SPAWN_XFLAGS_USE_PATH.
58948         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58949         SPAWN_XFLAGS_TRY_SHELL.
58951         [BZ #13150]
58952         * posix/glob.h: Remove gcc 1.x support.
58954         [BZ #13068]
58955         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58957 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58959         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58960         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58961         strrchr-sse2-bsf
58962         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58963         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58964         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58965         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58966         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58967         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58969 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58971         * sysdeps/x86_64/wcscmp.S: New file.
58973         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58974         wcscmp-c wcscmp-sse2
58975         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58976         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58977         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58978         * wcsmbs/wcscmp.c: Allow renaming.
58980 2011-09-05  David S. Miller  <davem@davemloft.net>
58982         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58983         stack slot, rather than the struct return pointer slot.
58984         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58985         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58987         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58989 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58991         * po/ja.po: Update from translation team.
58993         [BZ #13144]
58994         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58995         kernel in 64-bit binaries.
58997 2011-09-01  David S. Miller  <davem@davemloft.net>
58999         * elf/elf.h (HWCAP_SPARC_*): Move to..
59000         * sysdeps/sparc/sysdep.h: this new file and add new values.
59001         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59002         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59003         _DL_HWCAP_COUNT to 24.
59004         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59005         entries.
59006         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59007         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59008         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59009         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59010         instead of magic constants.
59011         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59013 2011-08-31  David S. Miller  <davem@davemloft.net>
59015         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59016         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59017         Reimplement to do errno handling inline.
59018         (SYSCALL_ERROR_HANDLER): New macro.
59019         (__SYSCALL_STRING): Do not do errno handling in asm.
59020         (__CLONE_SYSCALL_STRING): Delete.
59021         (__INTERNAL_SYSCALL_STRING): Delete.
59022         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59023         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59024         (PSEUDO): Reimplement to do errno handling inline.
59025         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59026         (SYSCALL_ERROR_HANDLER): New macro.
59027         (__SYSCALL_STRING): Do not do errno handling in asm.
59028         (__CLONE_SYSCALL_STRING): Delete.
59029         (__INTERNAL_SYSCALL_STRING): Delete.
59030         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59031         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59032         i386.
59033         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59034         (inline_syscall*): Add 'err' argument.
59035         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59036         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59037         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59038         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59040         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59041         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59043 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59045         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59047 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59049         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59050         directive.
59052 2011-08-24  David S. Miller  <davem@davemloft.net>
59054         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59056 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59058         * elf/Makefile: Add rules to build and run unload8 test.
59059         * elf/unload8.c: New file.
59060         * elf/unload8mod1.c: New file.
59061         * elf/unload8mod1x.c: New file.
59062         * elf/unload8mod2.c: New file.
59063         * elf/unload8mod3.c: New file.
59065         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59066         it wasn't used.
59068 2011-08-23  David S. Miller  <davem@davemloft.net>
59070         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59071         subtract stack bias.
59072         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59073         %sp not %fp in calculations.
59074         (_JMPBUF_UNWINDS_ADJ): Likewise.
59076         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59077         (aio_suspend): Call it to force an exception region around the
59078         AIO_MISC_WAIT() invocation.
59080 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59082         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59083         backslash.
59085 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59087         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59088         protection macro.
59089         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59090         and <dl-machine.h>.
59091         (Elf64_FuncDesc): Remove.
59093 2011-08-22  David S. Miller  <davem@davemloft.net>
59095         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59096         sigaltstack check, add missing cfi directives.
59097         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59098         missing cfi directives, and sigaltstack handling.
59100 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59102         [BZ #11724]
59103         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59104         object is seen twice.
59105         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59107         * elf/Makefile (distribute): Add tst-initorder2.c.
59108         (tests): Add tst-initorder2.
59109         (modules-names): Add tst-initorder2a tst-initorder2b
59110         tst-initorder2c tst-initorder2d.  Add rules to build them.
59111         ($(objpfx)tst-initorder2.out): New rule.
59112         * elf/tst-initorder2.c: New file.
59113         * elf/tst-initorder2.exp: New file.
59115 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59117         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59119         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59120         dependencies back to end of function.
59122         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59123         $(elfobjdir)/ld.so.
59125 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59127         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59128         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59129         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59130         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59131         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59132         of __vdso_gettimeofday.
59133         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59134         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59135         attribute_hidden.
59136         (_libc_vdso_platform_setup): Remove initialization of
59137         __vdso_gettimeofday and __vdso_time.
59139 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59141         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59142         and fgetc_unlocked.
59143         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59144         getc_unlocked.
59146         * elf/dl-open.c (add_to_global): Report additions to the global scope
59147         for LD_DEBUG=scopes.
59148         (dl_open_worker): Also print scope of newly loaded dependencies.
59149         (_dl_show_scope): Indicate if there is no scope.
59151         [BZ #13114]
59152         * stdio-common/Makefile (tests): Add bug24.
59153         * stdio-common/bug24.c: New file.
59155 2011-08-19  Andreas Jaeger  <aj@suse.de>
59157         [BZ #13114]
59158         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59159         non-existant file when using close-on-exec mode.
59161 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59163         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59164         the very first instruction.
59166         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59167         the CFI state in the end.
59168         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59169         inclusion of dl-trampoline.h.
59170         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59172 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59174         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59175         expectations for long double.
59177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59178         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59180 2011-08-14  David S. Miller  <davem@davemloft.net>
59182         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59183         artificual limit depends upon the system page size.
59185 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59187         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59188         * resolv/Makefile: Define CFLAGS-libresolv.
59190 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59192         * nss/makedb.c (compute_tables): Make variables used in nested
59193         function static.
59195 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59197         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59198         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59199         if buffer was too small.
59201         * elf/pldd.c (main): Attach to all threads in the process.
59202         Rewrite /proc handling to use *at functions.
59204 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59206         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59207         specifies first scope to show.
59208         (dl_open_worker): Update callers.  Move printing scope of new
59209         object to before the relocation.
59210         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59211         * sysdeps/generic/ldsodefs.h: Update declaration.
59213         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59214         string for the scope number.
59216 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59218         * nscd/servicescache.c (cache_addserv): Make sure written is always
59219         initialized.
59221 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59223         * sysdeps/i386/i486/bits/atomic.h
59224         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59225         statement expression, so as to suppress "set but not used" warning.
59226         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59228         * string/strncat.c (STRNCAT): Use prototype definition.
59230         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59231         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59232         -Iprograms here.
59233         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59234         (localedef-modules): Add localedef.
59235         (locale-modules): Add locale.
59237         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59238         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59239         to avoid a warning.
59241 2011-08-14  David S. Miller  <davem@davemloft.net>
59243         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59244         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59246 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59248         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59249         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59250         * elf/rtld.c (dl_main): Set l_name of vDSO.
59251         Call _dl_show_scope when DL_DEBUG_SCOPES.
59252         (process_dl_debug): Recognize scopes flag and also set it for all.
59253         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59254         Declare _dl_show_scope.
59256         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59257         (do_dlopen): Pass caller_dlopen to dl_open.
59258         (__libc_dlopen_mode): Initialize caller_dlopen.
59260         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59261         of libc.  Make tolower call locale-independent.  Optimize a bit by
59262         using isdigit instead of isalnum.
59263         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59265 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59267         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59268         was a dependency or dynamically loaded.
59270 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59272         * intl/l10nflist.c: Allow architecture-specific pop function.
59273         * sysdeps/x86_64/l10nflist.c: New file.
59275         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59276         classification.
59278 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59280         * include/dirent.h: Add libc_hidden_proto for scandirat and
59281         scandirat64.  Don't declare __scandirat64.
59282         * dirent/scandirat.c: Add libc_hidden_def.
59283         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59284         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59286 2011-08-10  David S. Miller  <davem@davemloft.net>
59288         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59289         enum.
59290         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59291         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59292         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59294 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59296         * Versions.def [libc]: Add GLIBC_2.15.
59297         * dirent/Makefile (routines): Add scandirat and scandirat64.
59298         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59299         GLIBC_2.15.
59300         * dirent/dirent.h: Declare scandirat and scandirat64.
59301         * dirent/scandirat.c: New file.
59302         * dirent/scandirat64.c: New file.
59303         * sysdeps/wordsize-64/scandirat.c: New file.
59304         * sysdeps/wordsize-64/scandirat64.c: New file.
59305         * dirent/opendir.c: Define opendirat.
59306         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59307         using scandirat.
59308         * dirent/scandir64.c: Adjust for scandir.c change.
59309         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59310         __scandirat64, and __scandir_cancel_handler.
59311         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59312         additional parameter and use openat instead of open (outside of ld.so).
59313         Add new __opendir as wrapper around __opendirat.
59314         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59315         here without requiring old scandirat implementation.
59317 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59319         * dirent/scandir.c (cancel_handler): Renamed to
59320         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59321         defined.  Adjust users.
59322         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59323         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59325 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59327         * string/test-string.h (IMPL): Use __STRING to expand name and then
59328         stringify it.
59330         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59331         of cleanups.
59333 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59335         * string/Makefile: Update.
59336         (strop-tests): Append strncat.
59337         * string/test-wcscmp.c: New file.
59338         New comprehensive test for wcscmp.
59339         * string/test-strcmp.c: Update.
59340         (WIDE): New define.
59342 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59344         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59345         line.
59347 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59349         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59350         encoding to ACE if AI_IDN.
59352 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59354         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59355         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59357 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59359         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59360         Fix overflow bug in strncat.
59361         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59363         * string/test-strncat.c: Update.
59364         Add new tests for checking overflow bugs.
59366 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59369         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59370         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59371         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59372         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59373         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59374         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59375         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59376         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59378         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59379         (USE_AS_STRCAT): Define.
59380         Add strcat and strncat support.
59381         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59383 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59385         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59386         __n bigger than INT_MAX+1.
59387         (__strncmp_g): Likewise.
59389 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59391         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59392         * libio/stido.h: Likewise.
59394         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59395         (AF_NFC): Define.
59396         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59397         (AF_NFC): Define.
59399         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59400         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59401         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59402         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59403         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59405         [BZ #13021]
59406         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59407         installed.
59409         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59410         typo.
59411         (_dl_x86_64_save_sse): Likewise.
59413 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59416         OSXSAVE.
59417         (_dl_x86_64_save_sse): Likewise.
59419         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59421         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59423 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59425         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59426         change.
59427         (_dl_x86_64_save_sse): Use correct AVX check.
59429 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59431         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59432         bug in strncpy/strncat.
59433         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59435 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59437         * string/tester.c (test_strcat): Add tests for different alignments
59438         of source and destination.
59439         (test_strncat): Likewise.
59441 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59443         [BZ #12852]
59444         * posix/glob.c (glob): Check passed in values before using them in
59445         expressions to avoid some overflows.
59446         (glob_in_dir): Likewise.
59448         [BZ #13007]
59449         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59450         check for AVX enablement so that we don't crash with old kernels and
59451         new hardware.
59452         * elf/tst-audit4.c: Add same checks here.
59453         * elf/tst-audit6.c: Likewise.
59455         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59457 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59459         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59461 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59463         * po/cs.po: Update from translation team.
59464         * po/bg.po: Likewise.
59466 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59468         * misc/sys/cdefs.h: Add support for const attribute.
59469         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59470         to gnu_dev_{major,minor,makedev} functions.
59472 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59474         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59476 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59478         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59479         strlen results.
59481 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59483         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59484         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59485         register in order to avoid conflicts with the soft frame pointer
59486         being held in r11 when necessary.
59487         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59488         (INTERNAL_VSYSCALL_NCS): Likewise.
59490 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59492         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59493         * elf/dl-fini.c (_dl_fini): Adjust caller.
59494         * elf/dl-close.c (_dl_close_worker): Likewise.
59495         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59497 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59499         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59500         "aux_cache->nlibs < 0".
59502         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59503         in the reload-count case.
59505 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59508         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59509         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59510         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59511         * sysdeps/x86_64/multiarch/strcat.S: New file.
59512         * sysdeps/x86_64/multiarch/strncat.S: New file.
59513         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59514         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59515         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59516         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59517         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59518         (USE_AS_STRCAT): Define.
59519         Add strcat and strncat support.
59520         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59521         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59522         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59523         * string/strncat.c: Update.
59524         (USE_AS_STRNCAT): Define.
59525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59526         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59527         and i7.
59528         * sysdeps/x86_64/multiarch/init-arch.h
59529         (bit_Prefer_PMINUB_for_stringop): New.
59530         (index_Prefer_PMINUB_for_stringop): Likewise.
59531         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59532         bit_Prefer_PMINUB_for_stringop.
59534 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59536         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59537         buffer64.
59538         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59539         of casting of buffer.
59540         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59541         buffer32 and buffer64.
59542         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59543         writes instead of casting of buffer.
59544         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59545         buffer32.
59546         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59547         casting of buffer.
59549 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59551         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59553 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59555         * nscd/nscd.c (termination_handler): Don't do anything for a database
59556         if it has not yet been initialized.
59558 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59560         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59562 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59564         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59566 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59568         * po/nl.po: Update from translation team.
59569         * po/sv.po: Likewise.
59571 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59573         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59574         now disallowed by GCC.
59576         * configure.in (use-default-link): Default to yes if a test -shared
59577         link meets our qualifications.
59578         * configure: Regenerated.
59580         * config.make.in (output-format): New variable.
59581         * configure.in: Check for ld --print-output-format support.
59582         * configure: Regenerated.
59583         * Makerules ($(common-objpfx)format.lds)
59584         [$(output-format) != unknown]: Just use $(output-format),
59585         instead of the linker-script munging.
59587 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59589         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59590         of $(common-objpfx)shlib.lds.
59591         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59593         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59594         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59596         * configure.in (-z relro check): Adjust test code to add a large
59597         writable data section after it.
59598         * configure: Regenerated.
59600 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59602         * configure.in (-z relro check): Fix test code to make the variable
59603         truly const.
59604         * configure: Regenerated.
59606 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59608         * nscd/nscd.h (struct traced_file): Define.
59609         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59610         elements.  Add traced_files.
59611         (inotify_fd): Declare.
59612         (register_traced_file): Declare.
59613         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59614         (inotify_fd): Export.
59615         (resolv_conf_descr): Remove.
59616         (nscd_init): Move inotify descriptor creation to main.
59617         Don't register files for notification here.
59618         (register_traced_file): New function.
59619         (invalidate_cache): Don't use reset_res to determine whether to call
59620         res_init, go through the list of registered files.
59621         (main_loop_poll): The inotify descriptors are now stored in the
59622         structures for the traced files.
59623         (main_loop_epoll): Likewise
59624         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59625         to __nss_disable_nscd.
59626         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59627         for a database anymore.  Check the records for all the registered
59628         files instead.
59629         * nss/Makefile (libnss_files-routines): Add files-init.
59630         (libnss_db-routines): Add db-init.
59631         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59632         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59633         * nss/nss_db/db-init.c: New file.
59634         * nss/nss_files/files-init.c: New file.
59635         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59636         __nss_lookup_function.
59637         (__nss_lookup_function): Call nss_load_library.
59638         (nss_load_all_libraries): New function.
59639         (__nss_disable_nscd): Take parameter with callback function for files
59640         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59641         used for the cached services.
59642         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59643         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59644         options for features to all the files in nscd.
59646         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59648 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59650         * csu/elf-init.c (__libc_csu_init): Comment typo.
59652 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59654         * po/pl.po: Update from translation team.
59655         * po/ja.po: Likewise.
59656         * po/ru.po: Likewise.
59657         * po/ko.po: Likewise.
59658         * po/fr.po: Likewise.
59660 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59662         * configure.in (.ctors/.dtors header and trailer check):
59663         Use an empirical test on a built program.
59664         * configure: Regenerated.
59666         * configure.in (-z relro check): Use an empirical test on a built DSO.
59667         Detect, but do not require, on ia64.
59668         * configure: Regenerated.
59670         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59671         Update tests that use readelf to use $READELF instead.
59672         * configure: Regenerated.
59674 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59676         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59677         if the result is not used.
59679 2011-07-05  Andreas Jaeger  <aj@suse.de>
59681         [BZ#9696]
59682         * stdlib/tst-strtod.c: Add testcase.
59684 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59686         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59687         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59688         The latter has a higher limit.  Take additional parameter to pass to
59689         the new function.
59690         (__pathconf): Pass file to __statfs_link_max.
59691         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59692         __statfs_link_max.
59693         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59694         __statfs_link_max.
59696         [BZ #12868]
59697         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59698         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59699         Handle Lustre.
59700         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59701         (__statfs_filesize_max): Likewise.
59702         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59704 2011-07-05  Andreas Jaeger  <aj@suse.de>
59706         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59708 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59710         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59711         `status' variable.
59712         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59713         Likewise.
59715 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59717         * Makefile (strop-tests): Add strncat.
59718         * string/test-strncat.c: New file.
59720 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59722         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59724 2011-06-21  Andreas Jaeger  <aj@suse.de>
59726         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59727         Copy rule from iconvdata/Makefile.
59729 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59731         [BZ #12922]
59732         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59733         but no long options are defined, just return 'W'.
59735 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59737         [BZ #9696]
59738         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59740 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59742         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59743         netgroups to read.
59744         (innetgr): Likewise.
59746 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59748         * config.make.in (install_root): Default to $(DESTDIR).
59750 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59752         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59754 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59756         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59758         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59759         containing directory rather than embedding absolute directory names.
59761         * scripts/check-local-headers.sh: Rewritten using awk.
59762         Match by word, not by line.  Print error messages for matches.
59763         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59765         * Makerules [shlib-lds-flags empty]:
59766         ($(common-objpfx)libc_pic.opts): New target.
59767         ($(common-objpfx)libc_pic.os.clean): New target.
59768         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59770         * config.make.in (OBJCOPY): New variable.
59771         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59772         * configure: Regenerated.
59774         * config.make.in (use-default-link): New variable.
59775         * configure.in (use_default_link): Grok --with-default-link to set it.
59776         * configure: Regenerated.
59777         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59778         (shlib-lds, shlib-lds-flags): Define to empty.
59780         * Makerules (shlib-lds): New variable.
59781         (shlib-lds-flags): New variable.
59782         (build-shlib, build-moduile, build-module-asneeded): Use it.
59783         ($(common-objpfx)libc.so): Use $(shlib-lds).
59784         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59785         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59787         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59788         DT_FLAGS/DT_FLAGS_1 with zero flags.
59790         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59791         linker script munging.
59793 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59795         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59796         as 128-bit value.
59797         * crypt/sha512.c (sha512_process_block): Perform total addition using
59798         128-bit if possible.
59799         (__sha512_finish_ctx): Likewise.
59800         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59801         as 64-bit value.
59802         * crypt/sha256.c (SWAP64): Define.
59803         (sha256_process_block): Perform total addition using 64-bit if
59804         possible.
59805         (__sha256_finish_ctx): Likewise.
59807 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59809         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59811         * nscd/hstcache.c (cache_addhst): Likewise.
59812         * nscd/grpcache.c (cache_addgr): Likewise.
59813         * nscd/aicache.c (addhstaiX): Likewise
59814         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59816 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59818         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59819         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59820         * nscd/hstcache.c (cache_addhst): Likewise.
59821         * nscd/grpcache.c (cache_addgr): Likewise.
59822         * nscd/aicache.c (addhstaiX): Likewise
59824 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59826         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59827         domain only when needed.
59829 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59831         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59832         is always restored.
59834 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59836         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59837         are re-adding the entry.
59838         * nscd/servicescache.c (cache_addserv): Likewise.
59840 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59842         * sysdeps/generic/dl-irel.h: fix protection against multiple
59843         inclusions.
59844         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59846 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59848         [BZ #12935]
59849         * malloc/memusage.sh: Fix quoting in message.
59850         * debug/xtrace.sh: Likewise.
59852         * configure.in: Remove support for --experimental-malloc option, make
59853         it the default.
59854         * config.make.in: Likewise.
59855         * malloc/Makefile: Likewise.
59857 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59859         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59860         two-byte characters.
59862 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59864         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59865         AC_CACHE_CHECK invocation.
59866         * configure: Regenerated.
59868         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59870 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59872         [BZ #12350]
59873         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59874         bit from old_res_options.
59876         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59878         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59879         value type for setfct.
59881 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59883         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59884         __gettimeofday instead of gettimeofday.
59886 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59888         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59890 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59892         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59894         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59895         info.
59897 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59900         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59901         strcpy-sse2-unaligned strncpy-sse2-unaligned
59902         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59903         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59904         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59905         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59906         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59907         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59908         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59909         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59910         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59911         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59912         (STRCPY): Support SSE2 and SSSE3 versions.
59914 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59916         [BZ #12874]
59917         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59918         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59919         kernels which artificially limit size of requests.
59921 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59923         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59924         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59925         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59926         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59927         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59928         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59929         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59930         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59931         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59932         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59933         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59934         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59935         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59936         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59937         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59939         Enable unaligned load optimization for Intel Core i3, i5 and i7
59940         processors.
59941         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59942         Define.
59943         (index_Fast_Unaligned_Load): Define.
59944         (HAS_FAST_UNALIGNED_LOAD): Define.
59946 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59948         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59950 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59952         [BZ #12907]
59953         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59954         until it is clear that the information is realy needed.
59955         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59957 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59961 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59963         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59964         /sys/devices/system/cpu/online if it is usable.
59966         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59967         reading the information from the /proc filesystem to once a second.
59969 2011-06-21  Andreas Jaeger  <aj@suse.de>
59971         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59972         NULL after inclusion of kernel headers.
59974 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59976         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59977         calls to internal_setent.
59979         [BZ #12885]
59980         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59981         addresses using gethostbyname4_r ignore IPv4 addresses.
59983         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59984         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59986         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59988 2011-06-20  David S. Miller  <davem@davemloft.net>
59990         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59991         inclusions.
59992         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59994         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59995         (elf_irel): Use it.
59996         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59997         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59998         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59999         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60000         * sysdeps/x86_64/dl-irel.h: Likewise.
60002         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60003         * elf/dl-sym.c: Likewise.
60005 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60007         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60008         need to dereference resplen2.
60010 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60012         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60014 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60016         * Makeconfig: Define vardbdir and inst_vardbdir.
60017         * nss/Makefile: Add rules to install db-Makefile.
60019         * nss/nss_db/db-XXX.c: Cleanup.
60021         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60022         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60023         GLIBC_PRIVATE.
60024         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60025         * nss/makedb.c: Implement -g option to specify that value strings
60026         are generated and should not be added to table iterated over for
60027         get*ent calls.
60028         * nss/nss_db/db-initgroups.c: New file.
60030         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60031         interface.
60033         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60034         (internal_getgrouplist): Adjust to name change.
60035         Update use_initgroups_entry if this is not the first call.
60036         * nss/databases.def: Add initgroups entry.
60038         * nss/makedb.c (compute_tables): Check result of multiple hash table
60039         sizes to minimize maximum chain length.
60041 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60043         * Versions.def: Add entry for libnss_db.
60044         * shlib-versions: Likewise.
60045         * nss/Makefile: Add rules to build libnss_db.
60046         * nss/Versions: Add libnss_db information.  Organize libnss_files
60047         entries better.
60048         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60049         makedb progra.  Some minor improvements to generate smaller files.
60050         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60051         here from...
60052         * nss/makedb.c: ...here.
60053         Improve database format to be smaller and require less memory at
60054         runtime.
60055         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60056         db anymore.
60057         * nss/nss_db/db-netgrp.c: Likewise.
60058         * nss/nss_db/db-open.c: Likewise.
60059         * nss/nss_files/flies-XXX.x: Adjust comments.
60060         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60061         * nss/nss_files/files-grp.c: Likewise.
60062         * nss/nss_files/files-hosts.c: Likewise.
60063         * nss/nss_files/files-network.c: Likewise.
60064         * nss/nss_files/files-proto.c: Likewise.
60065         * nss/nss_files/files-pwd.c: Likewise.
60066         * nss/nss_files/files-rpc.c: Likewise.
60067         * nss/nss_files/files-service.c: Likewise.
60068         * nss/nss_files/files-sgrp.c: Likewise.
60069         * nss/nss_files/files-spwd.c: Likewise.
60070         * nss/nss_db/db-alias.c: Removed.
60071         * nss/nss_db/dummy-db.h: Removed.
60073 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60075         * nss/makedb.c: Rewritten to not use database library.
60076         * nss/Makefile: Update to build new makedb program.
60078 2011-06-14  Andreas Jaeger  <aj@suse.de>
60080         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60081         memset declaration.
60083 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60086         tmpbuf.
60088 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60090         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60091         * elf/Makefile ($(objpfx)ld.so): Likewise.
60093         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60094         Don't list ld.so twice in dependencies.
60096         * posix/bug-regex31.c: Include <stdlib.h>.
60098         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60100         * nis/nss_compat/compat-spwd.c
60101         (getspent_next_nss_netgr): Remove unused variable.
60102         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60104         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60105         nonmembers" output to use the right array.
60107         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60109         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60111         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60112         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60113         * catgets/gencat.c (read_input_file): Likewise.
60114         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60116         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60117         variable definition inside #if's controlling its use.
60119         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60121         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60123         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60125         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60126         unreachable code.
60128         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60130         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60131         * configure: Regenerated.
60133         * Makerules: Revert last change.
60134         * elf/Makefile: Likewise.
60136 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60138         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60139         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60140         (reloc-link): Likewise.
60142 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60144         * elf/Makefile: Add rules to build pldd.
60145         * elf/pldd.c: New file.
60146         * elf/pldd-xx.c: New file.
60148 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60150         * version.h: Update for 2.15 development version.
60152 2011-06-07  David S. Miller  <davem@davemloft.net>
60154         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60155         ifuncs.
60156         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60157         elf_machine_lazy_rel): Likewise.
60158         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60159         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60160         elf_machine_lazy_rel): Likewise.
60161         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60162         dl_hwcap via passed in argument.
60163         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60164         Likewise.
60166 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60168         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60170 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60172         [BZ #12849]
60173         * manual/fdl-1.1.texi: New file, verbatim from:
60174         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60175         * manual/lgpl-2.1.texi: New file, verbatim from:
60176         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60177         * manual/Makefile (licenses): New variable, list those new file names.
60178         (texis): Use it.
60179         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60181         * manual/fdl.texi: File removed.
60182         * manual/lesser.texi: File removed.
60183         * manual/libc.texinfo (Copying, Documentation License):
60184         Use new @include file names, put @appendix directive before @include.
60186 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60188         [BZ #12841]
60189         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60190         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60191         (mq_open): Add __NTH.
60193 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60196         Assume Intel Core i3/i5/i7 processor if AVX is available.
60198 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60200         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60201         typo.
60203 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60205         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60206         memory.  Use alloca_account.  Fix memory leak when retrying.
60208 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60210         * version.h (RELEASE): Bump for 2.14 release.
60211         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60213         * config.make.in (RANLIB): Remove entry.
60215 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60217         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60218         (libc.pot): Work around missing support for .ksh extension in xgettext.
60220         [BZ #12684]
60221         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60222         if both request failed.
60223         (send_dg): In case of server errors clear resplen or *resplen2.
60225         [BZ #12454]
60226         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60227         when there are multiple maps.
60228         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60229         (_dl_fini): Remove test here.
60231         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60233 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60235         [BZ #12350]
60236         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60237         bit from old_res_options.
60238         (gaih_inet): Likewise.
60240         [BZ #11099]
60241         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60242         as signed.
60244         * resolv/res_init.c (res_setoptions): Make the code more compact.
60246         [BZ #11558]
60247         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60248         set RES_USEVC.
60250         [BZ #11634]
60251         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60253         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60255         [BZ #11781]
60256         * malloc/malloc.h: Declare malloc hook variables as volatile.
60258         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60259         in last patch.
60261         [BZ #11799]
60262         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60263         raise in the comment.
60264         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60265         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60266         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60268 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60270         [BZ #12811]
60271         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60272         grow the buffers more if it already has to be sufficient.
60273         (build_wcs_upper_buffer): Likewise.
60274         * posix/regexec.c (check_matching): Likewise.
60275         (clean_state_log_if_needed): Likewise.
60276         (extend_buffers): Don't enlarge buffers beyond size of the input
60277         buffer.
60278         Patches mostly by Emil Wojak <emil@wojak.eu>.
60279         * posix/bug-regex32.c: New file.
60280         * posix/Makefile (tests): Add bug-regex32.
60282         * locale/findlocale.c (_nl_find_locale): Return right away if
60283         _nl_explode_name failed.
60284         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60286         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60288         * debug/xtrace.sh: Unify messages.
60289         * malloc/memusage.sh: Likewise.
60291         [BZ #12813]
60292         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60293         time symbol from vDSO.  Substitute with vsyscall if not available.
60294         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60295         __vdso_time.
60297         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60298         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60299         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60300         Add sendmmsg and internal_sendmmsg.
60301         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60302         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60303         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60305         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60306         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60307         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60309 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60311         [BZ #12813]
60312         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60313         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60314         available.
60315         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60316         __vdso_getcpu.
60318         [BZ #12814]
60319         * iconvdata/Makefile (tests): Add bug-iconv9.
60320         * iconvdata/bug-iconv9.c: New file.
60322 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60324         [BZ #12814]
60325         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60327 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60329         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60330         (struct user_regs_struct): Change intcs field back to cs.
60332 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60334         * po/ja.po: Update from translation team.
60336 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60338         [BZ #12795]
60339         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60340         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60342 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60344         * stdlib/longlong.h: Update from GCC.
60346 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60348         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60349         parameter name.
60350         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60351         Add parameter name.
60352         (__sysconf): Pass it down.
60354 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60356         [BZ #12671]
60357         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60358         some situations.
60359         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60360         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60361         add in in __libc_use_alloca calls.  Adjust callers.
60362         (glob): Use malloc in some situations.
60364         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60365         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60366         pltexit.
60368 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60370         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60371         and CLOCK_BOOTTIME_ALARM.
60373         [BZ #12782]
60374         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60375         is returned.
60377         * string/_strerror.c (__strerror_r): Print negative errors as signed
60378         numbers.
60380         [BZ #12777]
60381         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60382         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60383         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60385         * configure.in: Fix typo in redirection and correct removal of test
60386         files in two cases.
60388         [BZ #12788]
60389         * locale/setlocale.c (new_composite_name): Fix test to check for
60390         identical name of all categories.
60392         [BZ #12792]
60393         * libio/filedoalloc.c (local_isatty): New function.
60394         (_IO_file_doallocate): Use local_isatty.
60395         * stdio-common/perror.c (perror): In case a new stream is used
60396         forward the stream error.
60397         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60398         error flag.
60400 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60402         [BZ #11869]
60403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60404         alloca.
60405         * include/alloca.h (extend_alloca_account): Define.
60407         [BZ #11857]
60408         * posix/regex.h: Fix comments with documentation of user-accessible
60409         fields after compilation and describe correct free'ing of pattern
60410         after re_compile_pattern.
60411         Patch by Reuben Thomas <rrt@sc3d.org>.
60413 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60415         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60416         and -mno-altivec to prevent the compiler from using Altivec and/or
60417         VSX instructions when the corresponding registers are not available.
60419 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60421         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60423 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60425         * libio/freopen.c (freopen): Use __dup2, not dup2.
60426         * libio/freopen64.c (freopen64): Likewise.
60428 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60430         [BZ #12775]
60431         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60432         * math/Makefile (tests): Add test-powl.
60433         (CFLAGS-test-powl.c): Define.
60434         * math/test-powl.c: New file.
60436 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60438         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60440 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60442         [BZ #11837]
60443         * iconvdata/gb18030.c: Update to GB18020-2005.
60445 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60447         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60448         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60449         Patch by Aharon Robbins <arnold@skeeve.com>.
60451         [BZ #11892]
60452         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60453         on the stack.
60455         [BZ #11895]
60456         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60457         through underflows.
60459         [BZ #12766]
60460         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60461         point to strings before performing equality test for error_one_per_line
60462         mode.
60464         [BZ #11697]
60465         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60467         [BZ #11820]
60468         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60469         (struct user_fpregs_struct): Avoid __uint*_t types.
60471         [BZ #6420]
60472         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60473         symbol info.  Use it instead of calling _dl_addr locally.
60474         (lock_and_info): New function.
60475         (tr_freehook): Call lock_and_info and pass symbol info as additional
60476         parameter to tr_where.
60477         (tr_mallochook): Likewise.
60478         (tr_reallochook): Likewise.
60479         (tr_memalignhook): Likewise.
60481         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60482         used and couldn't be at all thread-safe.
60484 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60486         * libio/freopen.c (freopen): Don't close old file descriptor
60487         before the new one is opened.  Instead dup the new file descriptor
60488         to the old one after the new stream is created.
60489         * libio/freopen64.c (freopen64): Likewise.
60490         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60491         * libio/fileops.c (_IO_new_file_close_it): Handle new
60492         _IO_FLAGS2_NOCLOSE flag.
60493         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60494         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60495         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60496         _IO_FLAGS2_NOCLOSE flag.
60497         * include/unistd.h: Add hidden_proto for dup3.
60498         Define __have_dup3.
60499         * io/dup3.c: Define hidden symbol.
60500         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60502         [BZ #7101]
60503         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60504         when an incomplete long option is used.
60505         * posix/tst-getopt_long1.c: New file.
60506         * posix/Makefile (tests): Add tst-getopt_long1.
60508         [BZ #10138]
60509         * scripts/config.guess: Update from autoconf-2.68.
60510         * scripts/config.sub: Likewise.
60512         [BZ #10157]
60513         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60514         tests into ...
60515         (has_cpuclock): ...this.  New function.
60516         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60517         macro here based on has_cpuclock code.
60519         [BZ #10149]
60520         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60521         First byte (not low byte) is now always NUL.
60522         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60524         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60525         Use non-cancelable interfaces.
60527         [BZ #9809]
60528         * locale/iso-639.def: Add entry for Sorani.
60530         [BZ #11901]
60531         * include/stdlib.h: Move include protection to the right place.
60532         Define abort_msg_s.  Declare __abort_msg with it.
60533         * stdlib/abort.c (__abort_msg): Adjust type.
60534         * assert/assert.c (__assert_fail_base): New function.  Majority
60535         of code from __assert_fail.  Allocate memory for __abort_msg with
60536         mmap.
60537         (__assert_fail): Now call __assert_fail_base.
60538         * assert/assert-perr.c: Remove bulk of implementation.  Use
60539         __assert_fail_base.
60540         * include/assert.hL Declare __assert_fail_base.
60541         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60542         mmap.
60543         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60545 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60547         [BZ #11952]
60548         [BZ #12453]
60549         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60550         until all modules are registered in the DTV.
60551         * elf/Makefile: Add rules to build and run tst-tls19.
60552         * elf/tst-tls19.c: New file.
60553         * elf/tst-tls19mod1.c: New file.
60554         * elf/tst-tls19mod2.c: New file.
60555         * elf/tst-tls19mod3.c: New file.
60556         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60558         [BZ #12083]
60559         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60560         correctly.
60562         [BZ #12601]
60563         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60564         two-byte sequence errors.
60565         * iconvdata/Makefile (tests): Add bug-iconv8.
60566         * iconvdata/bug-iconv8.c: New file.
60568         [BZ #12626]
60569         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60570         buf2 definition.
60572         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60574         [BZ #12432]
60575         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60576         (dummy_getcfa): New function.
60577         (init): Get _Unwind_GetCFA address, use dummy if not found.
60578         (backtrace_helper): In recursion check, also check whether CFA changes.
60579         (__backtrace): Completely initialize arg.
60581         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60582         storing incomplete byte sequence in state object.  Avoid testing for
60583         guaranteed too small input if we know there is enough data available.
60585 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60587         * Makeconfig (+link-pie): Indent.
60588         * Rules (binaries-pie): Define if $(have-fpie) and
60589         $(build-shared).
60590         (binaries-shared): Also filter out $(binaries-pie).
60591         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60592         * nscd/Makefile (others-pie): Add nscd.
60593         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60594         ($(objpfx)nscd): Remove command override.
60595         * login/Makefile (others-pie): Add pt_chown.
60596         ($(objpfx)pt_chown): Remove command override.
60597         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60598         remove command overrides.
60600 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60602         * libio/tst_putwc.c: Fix error messages.
60604         [BZ #12724]
60605         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60606         currently writing and seek to current position when not.
60607         * libio/Makefile (tests): Add bug-fclose1.
60608         * libio/bug-fclose1.c: New file.
60610 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60612         [BZ #12511]
60613         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60614         don't set DF_1_NODELETE here.
60615         (do_lookup_x): When entering new entry test for copy relocation
60616         and if necessary set DF_1_NODELETE flag.
60617         * elf/tst-unique4.cc: New file.
60618         * elf/tst-unique4.h: New file.
60619         * elf/tst-unique4lib.cc: New file.
60620         * elf/Makefile: Add rules to build and run tst-unique4.
60621         Patch by Piotr Bury <pbury@goahead.com>.
60623 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60625         [BZ #12052]
60626         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60628         [BZ #12625]
60629         * misc/mntent_r.c (addmntent): Flush the stream after the output
60631         [BZ #12393]
60632         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60633         (is_trusted_path_normalize): Skip initial colon.  Append slash
60634         to empty buffer.  Duplicate is_trusted_path code but allow
60635         constructed patch to be prefix.
60636         (is_dst): Allow $ORIGIN followed by /.
60637         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60638         Correct testing of result of is_trusted_path_normalize
60639         (decompose_rpath): Fix warning.
60641 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60643         [BZ #11257]
60644         * grp/initgroups.c (internal_getgrouplist): When we found the service
60645         list through the initgroups entry in nsswitch.conf do not always
60646         continue on a successful lookup.  Don't always use the
60647         __nss_group_database value if it is set.
60648         * nss/nsswitch.conf (initgroups): Change action for successful db
60649         lookup to continue for compatibility.
60651 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60653         [BZ #11532]
60654         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60655         and CP774 modules.
60656         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60657         and CP774 modules.
60658         * iconvdata/tst-tables.sh: Likewise.
60659         * iconvdata/cp770.c: New file.
60660         * iconvdata/cp771.c: New file.
60661         * iconvdata/cp772.c: New file.
60662         * iconvdata/cp773.c: New file.
60663         * iconvdata/cp774.c: New file.
60664         * iconvdata/testdata/CP770: New file.
60665         * iconvdata/testdata/CP770..UTF8: New file.
60666         * iconvdata/testdata/CP771: New file.
60667         * iconvdata/testdata/CP771..UTF8: New file.
60668         * iconvdata/testdata/CP772: New file.
60669         * iconvdata/testdata/CP772..UTF8: New file.
60670         * iconvdata/testdata/CP773: New file.
60671         * iconvdata/testdata/CP773..UTF8: New file.
60672         * iconvdata/testdata/CP774: New file.
60673         * iconvdata/testdata/CP774..UTF8: New file.
60675         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60676         END CHARMAP line.
60677         * iconvdata/gen-8bit-gap.sh: Likewise.
60678         * iconvdata/gen-8bit.sh: Likewise.
60680         * locale/iso-639.def: Add ary entry.
60682         [BZ #11258]
60683         * locale/C-translit.h.in: Add U20A1 transliteration.
60685         [BZ #12178]
60686         * locale/iso-639.def: Add wae entry.
60687         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60689         [BZ #12545]
60690         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60691         for n.
60693         [BZ #12711]
60694         * locale/C-translit.h.in: Add entry for U20B9.
60695         Patch by pravin.d.s@gmail.com.
60697 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60699         [BZ #12713]
60700         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60701         ENAMETOOLONG use generic getcwd.
60702         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60703         in rtld.  Use *stat64.
60704         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60705         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60706         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60707         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60708         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60709         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60710         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60711         __fstatat64 macros.
60712         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60713         * dirent/rewinddir.c: Add libc_hidden_def.
60714         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60715         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60717         * include/dirent.h (__alloc_dir): Add flags parameter.
60718         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60719         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60720         __alloc_dir.
60721         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60722         from fdopendir if O_CLOEXEC is already set.
60724 2011-03-15  Alan Modra  <amodra@gmail.com>
60726         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60727         l_tls_firstbyte_offset non-zero.  Save padding offset in
60728         l_tls_firstbyte_offset for later use.
60729         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60730         freeing static tls block.
60732 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60734         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60735         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60736         being defined by the kernel headers.
60738 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60740         [BZ #12734]
60741         * resolv/resolv.h: Define RES_NOTLDQUERY.
60742         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60743         no-tld-query and set RES_NOTLDQUERY.
60744         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60745         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60746         modern BIND to search name as TLD unless forbidden.
60748 2011-05-07  Petr Baudis  <pasky@suse.cz>
60749             Ulrich Drepper  <drepper@gmail.com>
60751         [BZ #12393]
60752         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60753         (is_trusted_path): ...to here.
60754         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60755         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60756         using is_trusted_path_normalize() in setuid scripts.
60758 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60760         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60761         __BEGIN/__END_DECLS.
60763 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60765         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60766         NSS_STATUS_NOTFOUND if no record was found.
60768 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60770         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60771         (headers-not-in-tirpc): Remove rpc/netdb.h
60772         * resolv/netdb.h: Revert last change.
60774 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60776         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60777         circular dependency between libgcc.a and libc.a.
60779 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60781         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60782         * nis/Makefile: Don't install rpcsvc/*.
60783         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60784         instead of <rpc/types.h>.
60785         (MAXHOSTNAMELEN): Define.
60787 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60789         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60791 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60793         [BZ #12714]
60794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60795         gethostbyname4_r when IPv6 results are possible.
60797 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60799         [BZ #12723]
60800         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60801         _PC_PIPE_BUF handling.
60803 2011-04-30  Bruno Haible  <bruno@clisp.org>
60805         [BZ #12717]
60806         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60807         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60808         to 'int'.
60809         * inet/getnameinfo.c (getnameinfo): Likewise.
60811 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60813         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60814         to groups setting in database lookup.
60815         * nss/nsswitch.conf: Add initgroups entry.
60817 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60819         [BZ #12685]
60820         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60821         mode string.
60822         Patch by Eric Blake <eblake@redhat.com>.
60824 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60826         * sunrpc/Makefile (need-export-routines): Add svc_run.
60827         (routines): Remove svc_run.
60828         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60829         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60830         * sunrpc/svc_run.c (svc_run): Likewise.
60831         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60833 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60835         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60836         problem in reallocation in last patch.
60838 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60840         * sunrpc/Makefile: Move inclusion of Rules.
60842 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60844         * nss/nss_files/files-initgroups.c: New file.
60845         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60846         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60847         _nss_files_initgroups_dyn.
60849 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60851         * elf/elf.h (R_ARM_IRELATIVE): Define.
60853 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60855         * po/ru.po: Update from translation team.
60857 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60859         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60860         dependencies.
60862 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60864         [BZ #12653]
60865         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60866         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60867         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60868         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60869         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60871 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60873         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60874         differing bytes.
60875         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60876         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60877         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60879 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60881         [BZ #12420]
60882         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60883         storing it.
60884         * stdlib/bug-getcontext.c: New file.
60885         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60887 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60889         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60890         instructions into .machine "z9-109".
60891         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60892         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60894 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60896         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60897         between environment variables and auxiliary vector.
60899 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60901         * Makefile: Add rules to build linkobj/libc.so.
60902         * include/libc-symbols.h: Define libc_hidden_nolink.
60903         * include/rpc/auth.h: Mark functions which are to be hidden.
60904         * include/rpc/auth_des.h: Likewise.
60905         * include/rpc/auth_unix.h: Likewise.
60906         * include/rpc/clnt.h: Likewise.
60907         * include/rpc/des_crypt.h: Likewise.
60908         * include/rpc/key_prot.h: Likewise.
60909         * include/rpc/pmap_clnt.h: Likewise.
60910         * include/rpc/pmap_prot.h: Likewise.
60911         * include/rpc/pmap_rmt.h: Likewise.
60912         * include/rpc/rpc_msg.h: Likewise.
60913         * include/rpc/svc.h: Likewise.
60914         * include/rpc/svc_auth.h: Likewise.
60915         * include/rpc/xdr.h: Likewise.
60916         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60917         * nss/Makefile: Likewise.
60918         * sunrpc/Makefile: Don't install headers.  Build library with normal
60919         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60920         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60921         for the compat linking library.  Remove use of INTDEF/INTUSE.
60922         * sunrpc/auth_none.c: Likewise.
60923         * sunrpc/auth_unix.c: Likewise.
60924         * sunrpc/authdes_prot.c: Likewise.
60925         * sunrpc/authuxprot.c: Likewise.
60926         * sunrpc/clnt_gen.c: Likewise.
60927         * sunrpc/clnt_perr.c: Likewise.
60928         * sunrpc/clnt_raw.c: Likewise.
60929         * sunrpc/clnt_simp.c: Likewise.
60930         * sunrpc/clnt_tcp.c: Likewise.
60931         * sunrpc/clnt_udp.c: Likewise.
60932         * sunrpc/clnt_unix.c: Likewise.
60933         * sunrpc/des_crypt.c: Likewise.
60934         * sunrpc/des_soft.c: Likewise.
60935         * sunrpc/get_myaddr.c: Likewise.
60936         * sunrpc/key_call.c: Likewise.
60937         * sunrpc/key_prot.c: Likewise.
60938         * sunrpc/netname.c: Likewise.
60939         * sunrpc/pm_getmaps.c: Likewise.
60940         * sunrpc/pm_getport.c: Likewise.
60941         * sunrpc/pmap_clnt.c: Likewise.
60942         * sunrpc/pmap_prot.c: Likewise.
60943         * sunrpc/pmap_prot2.c: Likewise.
60944         * sunrpc/pmap_rmt.c: Likewise.
60945         * sunrpc/publickey.c: Likewise.
60946         * sunrpc/rpc_cmsg.c: Likewise.
60947         * sunrpc/rpc_common.c: Likewise.
60948         * sunrpc/rpc_dtable.c: Likewise.
60949         * sunrpc/rpc_prot.c: Likewise.
60950         * sunrpc/rpc_thread.c: Likewise.
60951         * sunrpc/rtime.c: Likewise.
60952         * sunrpc/svc.c: Likewise.
60953         * sunrpc/svc_auth.c: Likewise.
60954         * sunrpc/svc_authux.c: Likewise.
60955         * sunrpc/svc_raw.c: Likewise.
60956         * sunrpc/svc_run.c: Likewise.
60957         * sunrpc/svc_simple.c: Likewise.
60958         * sunrpc/svc_tcp.c: Likewise.
60959         * sunrpc/svc_udp.c: Likewise.
60960         * sunrpc/svc_unix.c: Likewise.
60961         * sunrpc/svcauth_des.c: Likewise.
60962         * sunrpc/xcrypt.c: Likewise.
60963         * sunrpc/xdr.c: Likewise.
60964         * sunrpc/xdr_array.c: Likewise.
60965         * sunrpc/xdr_float.c: Likewise.
60966         * sunrpc/xdr_intXX_t.c: Likewise.
60967         * sunrpc/xdr_mem.c: Likewise.
60968         * sunrpc/xdr_rec.c: Likewise.
60969         * sunrpc/xdr_ref.c: Likewise.
60970         * sunrpc/xdr_sizeof.c: Likewise.
60971         * sunrpc/xdr_stdio.c: Likewise.
60973 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60975         [BZ #12650]
60976         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60977         * sysdeps/ia64/dl-tls.h: Likewise.
60978         * sysdeps/powerpc/dl-tls.h: Likewise.
60979         * sysdeps/s390/dl-tls.h: Likewise.
60980         * sysdeps/sh/dl-tls.h: Likewise.
60981         * sysdeps/sparc/dl-tls.h: Likewise.
60982         * sysdeps/x86_64/dl-tls.h: Likewise.
60983         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60985 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60987         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60988         rpath element also skip the following colon.
60989         (expand_dynamic_string_token): Add is_path parameter and pass
60990         down to DL_DST_REQUIRED and _dl_dst_substitute.
60991         (decompose_rpath): Call expand_dynamic_string_token with
60992         non-zero is_path.  Ignore empty rpaths.
60993         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60994         with zero is_path.
60996 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60999         Make cancelable.
61001 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61003         [BZ #12655]
61004         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61005         Patch by Filipe David Manana <fdmanana@apache.org>.
61007 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61009         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61010         Maintain aligned stack.
61011         (CHECK_RSP): Remove unused macro.
61013 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61015         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61016         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61018 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61020         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61022         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61024 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61026         [BZ #12518]
61027         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61028         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61029         * sysdeps/x86_64/memmove.c: New file.
61030         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61031         (memcpy): Renamed to ...
61032         (__new_memcpy): This.
61033         (memcpy): Provide GLIBC_2_14 memcpy.
61034         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61035         (memcpy): Provide GLIBC_2_2_5 memcpy.
61037 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61039         [BZ #12631]
61040         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61042 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61044         * misc/syncfs.c: New file.
61045         * misc/Makefile (routines): Add syncfs.
61046         * posix/unistd.h: Declare syncfs.
61047         * sysdeps/unix/syscalls.list: Add syncfs.
61049 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61051         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61052         open_by_handle_at.
61053         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61054         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61055         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61056         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61057         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61058         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61059         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61061 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61063         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61064         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61065         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61066         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61067         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61068         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61069         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61071         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61072         sync_file_range.c with -fexceptions.
61073         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61074         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61075         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61076         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61077         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61078         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61079         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61080         sync_file_range as cancellation point
61081         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61082         now a wrapper around __call_sync_file_range with cancellation handling.
61083         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61084         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61085         function name to __call_sync_file_range.
61086         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61087         Add call_sync_file_range.
61089 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61092         bits/timex.h.
61094 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61096         * iconv/iconv.h: Fix typo in comment.
61097         * io/fcntl.h: Likewise.
61098         * libio/stdio.h: Likewise.
61099         * posix/spawn.h: Likewise.
61100         * posix/unistd.h: Likewise.
61101         * stdlib/stdlib.h: Likewise.
61102         * time/time.h: Likewise.
61103         * wcsmbs/wchar.h: Likewise.
61105         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61106         open_by_handle): Add.
61107         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61108         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61109         Augment a few comments.
61110         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61111         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61112         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61113         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61114         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61115         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61116         open_by_handle.
61118         * io/fcntl.h (AT_EMPTY_PATH): Define.
61120 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61122         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61123         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61124         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61125         to...
61126         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61127         * Versions.def: Add GLIBC_2.14.
61128         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61129         Export.
61131 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61133         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61134         round counter.
61135         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61137 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61139         [BZ #12597]
61140         * string/test-strncmp.c (do_page_test): New function.
61141         (check2): Likewise.
61142         (test_main): Call check2.
61143         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61145 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61147         [BZ #12587]
61148         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61149         Handle cache information in CPU leaf 4.
61150         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61152 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61154         [BZ #12583]
61155         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61156         character representation.
61157         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61159 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61161         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61162         END(__isnan) to END(__isnanf) to match function entry point/label
61163         EALIGN(__isnanf,...).
61165 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61167         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61169 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61171         [BZ #12510]
61172         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61173         copy from the symbol referenced in the relocation to initialize the
61174         used variable.
61175         Patch by Piotr Bury <pbury@goahead.com>.
61176         * elf/Makefile: Add rules to build and tst-unique3.
61177         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61178         * elf/tst-unique3.cc: New file.
61179         * elf/tst-unique3.h: New file.
61180         * elf/tst-unique3lib.cc: New file.
61181         * elf/tst-unique3lib2.cc: New file.
61183         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61185 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61187         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61188         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61189         to _start.
61191 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61193         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61194         to-be-loaded object along a path to loader is ld.so.
61196 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61197             Ulrich Drepper  <drepper@gmail.com>
61199         * sysdeps/x86_64/memset.S: After aligning destination, code
61200         branches to different locations depending on the value of
61201         misalignment, when multiarch is enabled. Fix this.
61203 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61205         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61206         Set _x86_64_preferred_memory_instruction for AMD processsors.
61207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61208         Set bit_Prefer_SSE_for_memop for AMD processors.
61210 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61212         * libio/fmemopen.c (fmemopen): Optimize a bit.
61214 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61216         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61218 2011-03-03  Roland McGrath  <roland@redhat.com>
61220         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61222 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61224         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61225         __bzero_ultra1 instead of __memset_ultra1.
61227 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61228             Ulrich Drepper  <drepper@gmail.com>
61230         [BZ #12509]
61231         * include/link.h (struct link_map): Add l_orig_initfini.
61232         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61233         returning unsuccessfully.
61234         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61235         close of a file loaded at startup, restore the original l_initfini
61236         list.
61237         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61238         list, store the pointer.
61239         * elf/Makefile ($(objpfx)noload-mem): New rule.
61240         (noload-ENV): Define.
61241         (tests): Add $(objpfx)noload-mem.
61242         * elf/noload.c: Include <memcheck.h>.
61243         (main): Call mtrace.  Close all opened handles.
61245 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61247         [BZ #12454]
61248         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61249         dependencies are missing.
61251 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61253         Fix __if_freereq crash: Unlike the generic version which uses free,
61254         Hurd needs munmap.
61255         * sysdeps/mach/hurd/ifreq.h: New file.
61257 2011-01-27  Petr Baudis  <pasky@suse.cz>
61258             Ulrich Drepper  <drepper@gmail.com>
61260         [BZ 12445]#
61261         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61262         to extend_alloca().
61263         * stdio-common/bug23.c: New file.
61264         * stdio-common/Makefile (tests): Add bug23.
61266 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61267             Ulrich Drepper  <drepper@gmail.com>
61269         [BZ #12489]
61270         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61271         before performing relro protection.  At old place add assertion
61272         to make sure nothing changed.
61274 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61275             Glauber de Oliveira Costa  <glommer@gmail.com>
61277         * elf/elf.h: Add new ARM TLS relocs.
61279 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61282         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61283         cast from r3.
61284         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61285         'tests' variable.
61286         * sysdeps/wordsize-64/tst-writev.c: New file.
61288 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61290         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61291         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61292         insns in _dl_start to prevent a TOC reference before relocs are
61293         resolved.
61295 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61297         [BZ #12469]
61298         * Makeconfig: Remove RANLIB definition.
61299         * Makerules: Don't use RANLIB.
61300         * aclocal.m4: Remove ranlib test.
61301         * configure.in: No need to check for ranlib.
61302         * elf/rtld-Rules: Don't use RANLIB.
61304 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61306         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61307         protection macro.
61308         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61309         inclusion protection macro.
61311         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61312         SIGRTMIN and SIGRTMAX and print information in that case only when
61313         SIGRTMIN is defined.
61315 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61317         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61318         arginfo fn returning -1.
61320         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61321         and thousands string is zero terminated.
61323 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61325         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61326         sysdeps/unix/sysv/linux/bits/socket.h.
61328 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61330         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61331         (__CPU_COUNT): Remove old macros.
61332         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61333         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61334         (__CPU_ALLOC, __CPU_FREE): Add macros.
61335         (__sched_cpualloc, __sched_cpufree): Add declarations.
61337 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61339         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61340         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61341         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61342         (readdhstai): Return value of addhstaiX call.
61343         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61344         (addgrbyX): Return value returned by cache_addgr.
61345         (readdgrbyname): Return value returned by addgrbyX.
61346         (readdgrbygid): Likewise.
61347         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61348         (addpwbyX): Return value returned by cache_addpw.
61349         (readdpwbyname): Return value returned by addhstbyX.
61350         (readdpwbyuid): Likewise.
61351         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61352         (addservbyX): Return value returned by cache_addserv.
61353         (readdservbyname): Return value returned by addservbyX:
61354         (readdservbyport): Likewise.
61355         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61356         (addhstbyX): Return value returned by cache_addhst.
61357         (readdhstbyname): Return value returned by addhstbyX.
61358         (readdhstbyaddr): Likewise.
61359         (readdhstbynamev6): Likewise.
61360         (readdhstbyaddrv6): Likewise.
61361         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61362         (readdinitgroups): Return value returned by addinitgroupsX.
61363         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61364         (prune_cache): Keep track of timeout value of re-added entries.
61365         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61366         * nscd/nscd.h: Adjust prototypes of readd* functions.
61368 2011-02-04  Roland McGrath  <roland@redhat.com>
61370         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61371         (nis_stats): Likewise.
61372         * nis/nis_modify.c (nis_modify): Likewise.
61373         * nis/nis_remove.c (nis_remove): Likewise.
61374         * nis/nis_add.c (nis_add): Likewise.
61376         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61378         * posix/fnmatch_loop.c: Add some consts.
61380         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61382 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61384         [BZ #12460]
61385         * config.make.in (config-cflags-novzeroupper): Define.
61386         * configure.in: Substitute libc_cv_cc_novzeroupper.
61387         * elf/Makefile (AVX-CFLAGS): Define.
61388         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61389         (CFLAGS-tst-auditmod4a.c): Likewise.
61390         (CFLAGS-tst-auditmod4b.c): Likewise.
61391         (CFLAGS-tst-auditmod6b.c): Likewise.
61392         (CFLAGS-tst-auditmod6c.c): Likewise.
61393         (CFLAGS-tst-auditmod7b.c): Likewise.
61394         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61396 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61398         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61399         function to the callback.
61400         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61402 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61404         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61405         of errno.
61407 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61409         [BZ #11724]
61410         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61411         of constructors.
61412         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61413         of destructors.
61414         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61416         [BZ #11724]
61417         * elf/Makefile: Add rules to build and run new test.
61418         * elf/tst-initorder.c: New file.
61419         * elf/tst-initorder.exp: New file.
61420         * elf/tst-initordera1.c: New file.
61421         * elf/tst-initordera2.c: New file.
61422         * elf/tst-initordera3.c: New file.
61423         * elf/tst-initordera4.c: New file.
61424         * elf/tst-initorderb1.c: New file.
61425         * elf/tst-initorderb2.c: New file.
61426         * elf/tst-order-a1.c: New file.
61427         * elf/tst-order-a2.c: New file.
61428         * elf/tst-order-a3.c: New file.
61429         * elf/tst-order-a4.c: New file.
61430         * elf/tst-order-b1.c: New file.
61431         * elf/tst-order-b2.c: New file.
61432         * elf/tst-order-main.c: New file.
61433         New test case by George Gensure <werkt0@gmail.com>.
61435 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61438         decoding ACE if AI_CANONIDN.
61440 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61442         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61444 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61446         * version.h (RELEASE): Bump for 2.13 release.
61447         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61449         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61451         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61452         MADV_NOHUGEPAGE.
61453         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61454         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61455         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61456         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61457         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61458         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61460         * posix/getconf.c: Update copyright year.
61461         * catgets/gencat.c: Likewise.
61462         * csu/version.c: Likewise.
61463         * debug/catchsegv.sh: Likewise.
61464         * debug/xtrace.sh: Likewise.
61465         * elf/ldconfig.c: Likewise.
61466         * elf/ldd.bash.in: Likewise.
61467         * elf/sprof.c (print_version): Likewise.
61468         * iconv/iconv_prog.c: Likewise.
61469         * iconv/iconvconfig.c: Likewise.
61470         * locale/programs/locale.c: Likewise.
61471         * locale/programs/localedef.c: Likewise.
61472         * malloc/memusage.sh: Likewise.
61473         * malloc/mtrace.pl: Likewise.
61474         * nscd/nscd.c (print_version): Likewise.
61475         * nss/getent.c: Likewise.
61477         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61478         PF_CAIF, and PF_ALG.
61479         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61481 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61483         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61484         (modules-names): Use them.
61485         (ifunc-test-modules, ifunc-pie-tests): Define.
61486         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61487         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61488         (test-extras): Likewise.
61489         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61490         $(compile-command.c).
61491         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61492         (all-built-dso): Define.
61493         (check-textrel.out, check-execstack.out): Depend on it.
61495         * configure.in: Don't override --enable-multi-arch.
61497 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61499         [BZ #6812]
61500         * nscd/hstcache.c (tryagain): Define.
61501         (cache_addhst): Return tryagain not notfound for temporary errors.
61502         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61503         failed.
61505 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61507         [BZ #10563]
61508         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61509         to make the syscall.
61510         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61512         [BZ #12378]
61513         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61514         and fall back to matching as normal character if the string ends before
61515         the matching ']' is found.  This is what POSIX requires.
61516         * posix/testfnm.c: Adjust test result.
61517         * posix/globtest.sh: Adjust test result.  Add new test.
61518         * posix/tst-fnmatch.input: Likewise.
61519         * posix/tst-fnmatch2.c: Add new test.
61521 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61523         * elf/Makefile (check-execstack): Revert last change.  Depend on
61524         check-execstack.h.
61525         (check-execstack.h): New target.
61526         (generated): Add check-execstack.h.
61527         * elf/check-execstack.c: Include "check-execstack.h".
61528         (main): Revert last change.
61529         (handle_file): Return zero if GNU_STACK is absent and
61530         DEFAULT_STACK_PERMS doesn't include PF_X.
61532 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61534         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61535         in child fails because the descriptor is already closed.
61536         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61537         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61538         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61540         [BZ #12397]
61541         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61542         syscall.
61544         [BZ #10484]
61545         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61546         temporary buffer used to handle multi lookups locally.
61547         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61549 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61551         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61552         loader is ld.so.
61554 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61556         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61557         alignment for SSE2.
61559 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61561         [BZ #12394]
61562         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61563         characters.  When rounding increased number of integer digits recompute
61564         number of groups.
61565         * stdio-common/tst-grouping.c: New file.
61566         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61568 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61570         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61571         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61573         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61574         void.
61575         * bits/select.h: Likewise.
61577 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61579         * po/ja.po: Update from translation team.
61581 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61583         [BZ #11155]
61584         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61585         implementation just like for lxstat, fxstatat, et al.
61587 2010-12-27  Jim Meyering  <meyering@redhat.com>
61589         [BZ #12348]
61590         * posix/regexec.c (build_trtable): Return failure indication upon
61591         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61593 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61595         [BZ #12201]
61596         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61597         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61598         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61599         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61601         [BZ #12207]
61602         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61604         [BZ #12204]
61605         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61606         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61608 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61610         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61611         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61612         script has SORT_BY_INIT_PRIORITY.
61613         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61614         NO_CTORS_DTORS_SECTIONS is defined.
61615         * elf/soinit.c: Likewise.
61616         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61617         NO_CTORS_DTORS_SECTIONS is defined.
61618         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61619         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61620         * sysdeps/sh/init-first.c: Likewise.
61621         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61623 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61625         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61626         always use the slow path.
61628 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61630         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61631         similar rule which adds the sysdep directories to the header search in
61632         order to pick up the correct platform stackinfo.h.
61633         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61634         perform test if it is, otherwise return successfully without testing.
61635         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61636         DEFAULT_STACK_PERMS define in stackinfo.h.
61637         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61638         defined in stackinfo.h.
61639         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61640         DEFAULT_STACK_PERMS defined in stackinfo.h.
61641         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61642         * sysdeps/ia64/stackinfo.h: Likewise.
61643         * sysdeps/s390/stackinfo.h: Likewise.
61644         * sysdeps/sh/stackinfo.h: Likewise.
61645         * sysdeps/sparc/stackinfo.h: Likewise.
61646         * sysdeps/x86_64/stackinfo.h: Likewise.
61647         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61648         PF_X for powerpc64.  Retain PF_X for powerpc32.
61650 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61652         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61653         accurately.
61654         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61655         GETDENTS_64BIT_ALIGNED.
61657 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61659         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61661 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61663         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61664         _GNU_SOURCE.
61666         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61667         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61668         Remove __restrict.
61669         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61670         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61672 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61674         [BZ #11655]
61675         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61676         are initialized.
61678 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61680         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61682 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61684         * po/it.po: Update from translation team.
61686 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61688         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61689         unused codes.
61691 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61693         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61695 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61697         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61698         specially.
61699         (gaih_getanswer_slice): Likewise.
61701 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61703         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61705 2010-05-31  Petr Baudis  <pasky@suse.cz>
61707         [BZ #11149]
61708         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61709         silently even in the chroot mode.
61711 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61713         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61714         last patch a bit.  Pretty printing
61716 2010-05-31  Petr Baudis <pasky@suse.cz>
61718         [BZ #10085]
61719         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61720         initialization of skip_initgroups_dyn.
61722 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61724         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61725         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61727 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61729         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61731 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61733         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61734         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61735         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61736         ($(objpfx)tst-fnmatch-mem): New rule.
61737         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61738         * posix/tst-fnmatch.c (main): Call mtrace.
61740 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61743         Support Intel processor model 6 and model 0x2c.
61745 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61747         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61748           signed comparison.
61750 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61752         [BZ #12205]
61753         * string/test-strncasecmp.c (check_result): New function.
61754         (do_one_test): Use it.
61755         (check1): New function.
61756         (test_main): Use it.
61757         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61758         Support strcasecmp and strncasecmp.
61760 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61762         [BZ #12194]
61763         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61764         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61766 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61768         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61769         IFUNC support.
61770         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61771         memset-x86-64.
61772         * sysdeps/x86_64/multiarch/bzero.S: New file.
61773         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61774         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61775         * sysdeps/x86_64/multiarch/memset.S: New file.
61776         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61777         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61778         Set bit_Prefer_SSE_for_memop for Intel processors.
61779         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61780         Define.
61781         (index_Prefer_SSE_for_memop): Define.
61782         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61784 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61786         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61787         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61789 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61791         [BZ #12191]
61792         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61793         (__x86_64_raw_data_cache_size_half): Likewise.
61794         (__x86_64_raw_shared_cache_size): Likewise.
61795         (__x86_64_raw_shared_cache_size_half): Likewise.
61797         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61798         (__x86_64_raw_data_cache_size_half): Likewise.
61799         (__x86_64_raw_shared_cache_size): Likewise.
61800         (__x86_64_raw_shared_cache_size_half): Likewise.
61801         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61802         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61803         and __x86_64_raw_shared_cache_size_half.  Round
61804         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61805         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61806         to multiple of 256 bytes.
61808 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61810         [BZ #12167]
61811         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61812         of inacessible symlinks.  Verify result of symlink before returning it.
61813         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61814         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61816 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61818         * math/math.h (isinf): Fix typo in comment.
61820 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61822         * po/da.po: Update from translation team.
61824 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61826         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61827         is added to the list.
61829 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61830             Ulrich Drepper  <drepper@gmail.com>
61832         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61833         the global list here.  Move code to...
61834         (_dl_add_to_namespace_list): ...here.  New function.
61835         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61836         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61837         * elf/dl-load.c (lose): Don't remove the element from the list.
61838         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61839         (_dl_map_object): Likewise.
61841 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61843         [BZ #12159]
61844         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61845         into all bytes of SSE register.
61846         Patch by Richard Li <richardpku@gmail.com>.
61848 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61850         [BZ #12140]
61851         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61852         perturbing.
61854 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61856         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61857         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61858         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61859         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61861         submachine.
61862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61864 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61866         * include/dlfcn.h (__RTLD_SECURE): Define.
61867         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61868         mode & __RTLD_SECURE instead.
61869         (open_path): Rename preloaded parameter to secure.
61870         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61871         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61872         * elf/dl-deps.c (openaux): Likewise.
61873         * elf/rtld.c (struct map_args): Remove is_preloaded.
61874         (map_doit): Don't use it.
61875         (dl_main): Likewise.
61876         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61877         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61879 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61881         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61882         (sysd-rules-targets): Remove duplicates.
61883         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61884         rtld-%.$o dependency.
61886 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61888         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61889         _dl_map_object do it.
61891 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61893         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61894         fast fma builtins, define the macros in the C99 standard.
61895         (FP_FAST_FMAF): Likewise.
61896         (FP_FAST_FMAL): Likewise.
61897         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61899         * bits/mathdef.h: Update copyright year.
61900         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61902 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61904         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61905         builtins, define the macros in the C99 standard.
61906         (FP_FAST_FMAF): Likewise.
61907         (FP_FAST_FMAL): Likewise.
61908         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61909         multiply/add.
61910         (FP_FAST_FMAF): Likewise.
61912 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61914         [BZ #3268]
61915         * math/libm-test.inc (fma_test): Some new testcases.
61916         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61917         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61918         y and infinite z.  Do multiplication by C already in long double.
61919         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61920         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61921         y and infinite z.  Do bitwise or of inexact bit into u.d.
61922         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61923         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61924         * sysdeps/i386/fpu/s_fma.S: Removed.
61925         * sysdeps/i386/fpu/s_fmal.S: Removed.
61927 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61929         [BZ #3268]
61930         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61931         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61932         computation is not scheduled after fetestexcept.  Fix value
61933         of minimum denormal long double.
61935 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61937         [BZ #3268]
61938         * math/libm-test.inc (fma_test): Add some more tests.
61939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61940         correctly.
61942 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61944         * scripts/data/localplt-s390-linux-gnu.data: New file.
61945         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61947 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61949         [BZ #3268]
61950         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61951         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61952         instead of dbl-64.
61953         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61954         inlines.
61955         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61956         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61957         if one of x and y is very large and the other is subnormal.
61958         * sysdeps/s390/fpu/s_fmaf.c: New file.
61959         * sysdeps/s390/fpu/s_fma.c: New file.
61960         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61961         * sysdeps/powerpc/fpu/s_fma.S: New file.
61962         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61963         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61964         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61966 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61968         [BZ #3268]
61969         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61970         fma tests.
61971         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61972         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61973         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61974         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61975         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61976         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61977         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61979 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61981         [BZ #12078]
61982         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61983         * posix/bug-regex31.input: Add test case.
61985 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61987         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61988         * posix/bug-regex31.input: New file.
61990         [BZ #12078]
61991         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61992         (parse_sub_exp): Fix last change, use postorder.
61994         * posix/bug-regex31.c: New file.
61995         * posix/Makefile: Add rules to build and run bug-regex31.
61997         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61999         [BZ #12078]
62000         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62002         [BZ #12108]
62003         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62004         to have entries in sys_siglist.
62006         [BZ #12093]
62007         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62008         be NULL.
62010 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62012         [BZ #3268]
62013         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62014         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62015         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62016         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62017         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62018         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62019         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62020         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62021         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62022         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62023         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62024         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62025         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62026         * math/ftestexcept.c (fetestexcept): Likewise.
62027         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62028         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62029         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62030         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62031         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62032         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62033         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62035 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62037         [BZ #12107]
62038         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62039         newline.
62041 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62043         * string/bug-strstr1.c: New file.
62044         * string/Makefile: Add rules to build and run bug-strstr1.
62046 2010-10-05  Eric Blake  <eblake@redhat.com>
62048         [BZ #12092]
62049         * string/str-two-way.h (two_way_long_needle): Always clear memory
62050         when skipping input due to the shift table.
62052 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62054         [BZ #12005]
62055         * malloc/mcheck.c: Handle large requests.
62057         [BZ #12077]
62058         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62059         for strncmp and strncasecmp.
62060         * string/stratcliff.c: Add tests for strcmp and strncmp.
62061         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62063 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62065         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62066         __set_fpscr.
62068 2010-09-30  Andreas Jaeger  <aj@suse.de>
62070         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62071         (CGROUP_SUPER_MAGIC): Define.
62072         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62073         Handle btrfs and cgroup file systems.
62074         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62075         Likewise.
62077 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62079         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62080         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62082 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62084         [BZ #12067]
62085         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62086         trying to locate the ELF header.
62088 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62090         [BZ #11611]
62091         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62092         Mask out sign-bit copies when constructing f_fsid.
62094 2010-09-24  Petr Baudis <pasky@suse.cz>
62096         * debug/stack_chk_fail_local.c: Add missing licence exception.
62097         * debug/warning-nop.c: Likewise.
62099 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62101         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62102         implementing getdents64 using getdents syscall, set d_type if
62103         __ASSUME_GETDENTS32_D_TYPE.
62105 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62107         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62108         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62110 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62112         [BZ #12037]
62113         * posix/unistd.h: Undo change of feature selection for ftruncate from
62114         2010-01-11.
62116 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62118         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62119         detection.
62121 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62123         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62124         fanotify_mark.
62125         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62127 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62129         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62130         variables after CHECK_SP call.
62131         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62133 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62134             Ulrich Drepper  <drepper@redhat.com>
62136         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62137         re-relocationg ld.so.
62138         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62139         _dl_init_paths call.
62140         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62141         here anymore.
62143 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62145         * resolv/res_init.c (__res_vinit): Count the default server we added.
62147 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62148             Ulrich Drepper  <drepper@redhat.com>
62150         [BZ #11968]
62151         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62152         (____longjmp_chk): Use %ebx for saving value across system call.
62153         Add unwind info.
62155 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62157         * manual/Makefile: Don't mix pattern rules with normal rules.
62159 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62161         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62162         operation.
62163         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62164         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62165         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62166         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62167         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62168         Likewise.
62170 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62172         [BZ #11979]
62173         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62174         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62176 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62178         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62179         * sysdeps/x86_64/addmul_1.S: Likewise.
62180         * sysdeps/x86_64/lshift.S: Likewise.
62181         * sysdeps/x86_64/mul_1.S: Likewise.
62182         * sysdeps/x86_64/rshift.S: Likewise.
62183         * sysdeps/x86_64/sub_n.S: Likewise.
62184         * sysdeps/x86_64/submul_1.S: Likewise.
62186 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62188         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62189         Define __sched_param instead of SCHED_* and sched_param when
62190         <bits/sched.h> is included with __need_schedparam defined.
62191         * bits/sched.h [__need_schedparam]
62192         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62193         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62194         (__defined_schedparam): Define to 1.
62195         (__sched_param): New structure, identical to sched_param.
62196         (__need_schedparam): Undefine.
62198 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62200         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62201         (epoll_create1): Declare.
62203         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62205 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62207         [BZ #7066]
62208         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62209         shifting retval into place.
62211 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62213         * nis/rpcsvc/nis.h: Update copyright notice.
62214         * nis/rpcsvc/nis.x: Likewise.
62215         * nis/rpcsvc/nis_callback.h: Likewise.
62216         * nis/rpcsvc/nis_callback.x: Likewise.
62217         * nis/rpcsvc/nis_object.x: Likewise.
62218         * nis/rpcsvc/nis_tags.h: Likewise.
62219         * nis/rpcsvc/yp.h: Likewise.
62220         * nis/rpcsvc/yp.x: Likewise.
62221         * nis/rpcsvc/ypupd.h: Likewise.
62222         * nis/yp_xdr.c: Likewise.
62223         * nis/ypupdate_xdr.c: Likewise.
62225         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62226         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62227         (pmap_getport): Use __libc_rpc_getport.
62228         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62229         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62230         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62232 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62235         fanotify_mark.
62237 2010-08-27  Roland McGrath  <roland@redhat.com>
62239         * sysdeps/i386/i686/multiarch/Makefile
62240         (CFLAGS-varshift.c): New variable.
62242 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62244         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62245         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62247         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62249         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62251 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62253         * sysdeps/x86_64/strlen.S: Unroll the loop.
62254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62255         strlen-sse2 strlen-sse2-bsf.
62256         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62257         __strlen_no_bsf if bit_Slow_BSF is set.
62258         (__strlen_sse42): Removed.
62259         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62260         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62262 2010-08-25  Roland McGrath  <roland@redhat.com>
62264         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62265         * sysdeps/x86_64/multiarch/varshift.c: New file.
62266         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62267         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62268         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62269         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62271 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62273         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62274         strlen-sse2 strlen-sse2-bsf.
62275         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62276         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62277         (__strlen_sse2): Removed.
62278         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62279         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62281         bit_Slow_BSF for Atom.
62282         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62283         (index_Slow_BSF): Define.
62284         (HAS_SLOW_BSF): Define.
62286 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62288         [BZ #10851]
62289         * resolv/res_init.c (__res_vinit): When no server address at all
62290         is given default to loopback.
62292 2010-08-24  Roland McGrath  <roland@redhat.com>
62294         * configure.in: Remove config-name.h generation.
62295         * configure: Regenerated.
62296         * config-name.in: File removed.
62297         * scripts/config-uname.sh: New file.
62298         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62299         ($(objdir)config-name.h): New target.
62301         * sunrpc/rpc_parse.h: Avoid nested comment.
62303 2010-08-24  Richard Henderson  <rth@redhat.com>
62304             Ulrich Drepper  <drepper@redhat.com>
62305             H.J. Lu  <hongjiu.lu@intel.com>
62307         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62309         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62310         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62311         _mm_alignr_epi8 with _mm_loadu_si128.
62312         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62313         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62314         (__m128i_shift_right): Removed.
62315         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62316         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62317         * sysdeps/x86_64/multiarch/varshift.h: New file.
62318         * sysdeps/x86_64/multiarch/varshift.S: New file.
62320 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62322         * configure.in: Move assembler checks to before sysdep dir checking.
62324 2010-08-20  Petr Baudis  <pasky@suse.cz>
62326         * LICENSES: Sync the sunrpc license.
62328 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62330         * sunrpc/auth_des.c: Update copyright notice once again.
62331         * sunrpc/auth_none.c: Likewise.
62332         * sunrpc/auth_unix.c: Likewise.
62333         * sunrpc/authdes_prot.c: Likewise.
62334         * sunrpc/authuxprot.c: Likewise.
62335         * sunrpc/bindrsvprt.c: Likewise.
62336         * sunrpc/clnt_gen.c: Likewise.
62337         * sunrpc/clnt_perr.c: Likewise.
62338         * sunrpc/clnt_raw.c: Likewise.
62339         * sunrpc/clnt_simp.c: Likewise.
62340         * sunrpc/clnt_tcp.c: Likewise.
62341         * sunrpc/clnt_udp.c: Likewise.
62342         * sunrpc/clnt_unix.c: Likewise.
62343         * sunrpc/des_crypt.c: Likewise.
62344         * sunrpc/des_soft.c: Likewise.
62345         * sunrpc/get_myaddr.c: Likewise.
62346         * sunrpc/getrpcport.c: Likewise.
62347         * sunrpc/key_call.c: Likewise.
62348         * sunrpc/key_prot.c: Likewise.
62349         * sunrpc/openchild.c: Likewise.
62350         * sunrpc/pm_getmaps.c: Likewise.
62351         * sunrpc/pm_getport.c: Likewise.
62352         * sunrpc/pmap_clnt.c: Likewise.
62353         * sunrpc/pmap_prot.c: Likewise.
62354         * sunrpc/pmap_prot2.c: Likewise.
62355         * sunrpc/pmap_rmt.c: Likewise.
62356         * sunrpc/rpc/auth.h: Likewise.
62357         * sunrpc/rpc/auth_unix.h: Likewise.
62358         * sunrpc/rpc/clnt.h: Likewise.
62359         * sunrpc/rpc/des_crypt.h: Likewise.
62360         * sunrpc/rpc/key_prot.h: Likewise.
62361         * sunrpc/rpc/netdb.h: Likewise.
62362         * sunrpc/rpc/pmap_clnt.h: Likewise.
62363         * sunrpc/rpc/pmap_prot.h: Likewise.
62364         * sunrpc/rpc/pmap_rmt.h: Likewise.
62365         * sunrpc/rpc/rpc.h: Likewise.
62366         * sunrpc/rpc/rpc_des.h: Likewise.
62367         * sunrpc/rpc/rpc_msg.h: Likewise.
62368         * sunrpc/rpc/svc.h: Likewise.
62369         * sunrpc/rpc/svc_auth.h: Likewise.
62370         * sunrpc/rpc/types.h: Likewise.
62371         * sunrpc/rpc/xdr.h: Likewise.
62372         * sunrpc/rpc_clntout.c: Likewise.
62373         * sunrpc/rpc_cmsg.c: Likewise.
62374         * sunrpc/rpc_common.c: Likewise.
62375         * sunrpc/rpc_cout.c: Likewise.
62376         * sunrpc/rpc_dtable.c: Likewise.
62377         * sunrpc/rpc_hout.c: Likewise.
62378         * sunrpc/rpc_main.c: Likewise.
62379         * sunrpc/rpc_parse.c: Likewise.
62380         * sunrpc/rpc_parse.h: Likewise.
62381         * sunrpc/rpc_prot.c: Likewise.
62382         * sunrpc/rpc_sample.c: Likewise.
62383         * sunrpc/rpc_scan.c: Likewise.
62384         * sunrpc/rpc_scan.h: Likewise.
62385         * sunrpc/rpc_svcout.c: Likewise.
62386         * sunrpc/rpc_tblout.c: Likewise.
62387         * sunrpc/rpc_util.c: Likewise.
62388         * sunrpc/rpc_util.h: Likewise.
62389         * sunrpc/rpcinfo.c: Likewise.
62390         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62391         * sunrpc/rpcsvc/key_prot.x: Likewise.
62392         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62393         * sunrpc/rpcsvc/mount.x: Likewise.
62394         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62395         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62396         * sunrpc/rpcsvc/rex.x: Likewise.
62397         * sunrpc/rpcsvc/rstat.x: Likewise.
62398         * sunrpc/rpcsvc/rusers.x: Likewise.
62399         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62400         * sunrpc/rpcsvc/spray.x: Likewise.
62401         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62402         * sunrpc/rtime.c: Likewise.
62403         * sunrpc/svc.c: Likewise.
62404         * sunrpc/svc_auth.c: Likewise.
62405         * sunrpc/svc_authux.c: Likewise.
62406         * sunrpc/svc_raw.c: Likewise.
62407         * sunrpc/svc_run.c: Likewise.
62408         * sunrpc/svc_simple.c: Likewise.
62409         * sunrpc/svc_tcp.c: Likewise.
62410         * sunrpc/svc_udp.c: Likewise.
62411         * sunrpc/svc_unix.c: Likewise.
62412         * sunrpc/svcauth_des.c: Likewise.
62413         * sunrpc/xcrypt.c: Likewise.
62414         * sunrpc/xdr.c: Likewise.
62415         * sunrpc/xdr_array.c: Likewise.
62416         * sunrpc/xdr_float.c: Likewise.
62417         * sunrpc/xdr_mem.c: Likewise.
62418         * sunrpc/xdr_rec.c: Likewise.
62419         * sunrpc/xdr_ref.c: Likewise.
62420         * sunrpc/xdr_sizeof.c: Likewise.
62421         * sunrpc/xdr_stdio.c: Likewise.
62423         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62424         handling.
62426 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62428         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62430 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62432         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62433         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62434         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62435         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62436         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62437         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62438         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62439         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62440         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62441         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62442         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62443         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62444         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62445         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62447 2010-07-26  Anton Blanchard  <anton@samba.org>
62449         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62450         * malloc/arena.c (heap_trim): Likewise.
62452 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62454         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62455         here.  Not...
62456         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62457         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62459 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62461         * sysdeps/i386/elf/Makefile: New file.
62463 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62465         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62466         from fanotify_init.
62467         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62468         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62470 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62472         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62473         of strncasecmp_l.
62474         * sysdeps/multiarch/strcmp.S: Likewise.
62476 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62478         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62479         strncase_l-nonascii.
62480         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62481         Add strncase_l-ssse3.
62482         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62483         * sysdeps/x86_64/strcmp.S: Likewise.
62484         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62485         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62486         * sysdeps/x86_64/strncase.S: New file.
62487         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62488         * sysdeps/x86_64/strncase_l.S: New file.
62489         * string/Makefile (strop-tests): Add strncasecmp.
62490         * string/test-strncasecmp.c: New file.
62492         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62493         warning.
62495         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62496         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62498 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62500         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62502 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62504         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62505         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62506         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62508 2010-05-01  Alan Modra  <amodra@gmail.com>
62510         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62511         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62512         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62513         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62514         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62515         tidying.  Don't tail-call __sigjmp_save for static lib.
62516         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62517         save location.
62518         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62519         (CALL_MCOUNT): Add eh info, and nop after bl.
62520         (TAIL_CALL_SYSCALL_ERROR): New macro.
62521         (PSEUDO_RET): Use it.
62522         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62523         Correct save location of integer regs and cr.
62524         (_dl_profile_resolve): Correct cr save location.  Delete nops
62525         after bl when SHARED.  Reduce cfi size a little by better
62526         placement of cfi directives.
62527         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62528         make a stack frame.  Instead use parm save area as a temp.
62529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62530         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62532         Don't make a stack frame for parent, use parm save area.
62533         Increase child stack frame to 112 bytes.  Don't save unused reg,
62534         and adjust reg usage.  Set up cfi on error recovery and
62535         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62537         (__makecontext): Add dummy nop after jump to exit.
62538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62539         Use correct parm save area and cr save, reduce stack frame.
62540         Correct cfi for possible PSEUDO_RET frame setup.
62541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62542         Branch to local label emitted by PSEUDO_RET rather than
62543         __syscall_error.
62545 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62547         [BZ #11904]
62548         * locale/programs/locale.c (print_assignment): New function.
62549         (show_locale_vars): Use it.
62551 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62553         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62554         field.
62555         (struct statfs64): Likewise.
62556         (_STATFS_F_FLAGS): Define.
62557         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62558         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62559         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62560         (ST_VALID): Define locally.
62561         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62562         __statvfs_getflags, use the provided value.
62563         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62564         __ASSUME_STATFS_F_FLAGS.
62566         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62568         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62569         Add sys/fanotify.h.
62570         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62571         fanotify_mask for GLIBC_2.13.
62572         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62573         fanotify_init and fanotify_mark.
62574         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62575         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62577         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62578         Add prlimit.
62579         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62580         prlimit64 for GLIBC_2.13.
62581         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62582         prlimit64.
62583         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62584         syscall.
62585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62586         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62587         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62588         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62589         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62590         add prlimit alias.
62591         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62593         [BZ #11903]
62594         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62595         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62597         * nss/Makefile: Add rules to build and run tst-nss-test1.
62598         * shlib-versions: Add entry for libnss_test1.
62599         * nss/nss_test1.c: New file.
62600         * nss/tst-nss-test1.c: New file.
62602         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62603         (__nss_configure_lookup): Set appropriate entry in
62604         __nss_configure_lookup to true.
62605         * nss/nsswitch.h: Define enum with indeces of databases in
62606         databases and __nss_database_custom arrays.  Declare
62607         __nss_database_custom.
62608         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62609         to avoid using nscd when custom rules are installed.
62610         * nss/getXXbyYY_r.c: Likewise.
62611         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62613         * nss/nss_files/files-parse.c: Whitespace fixes.
62615 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62617         [BZ #11883]
62618         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62619         * posix/fnmatch_loop.c: Likewise.
62621 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62623         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62624         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62625         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62626         * Versions.def [GLIBC_2.13]: Add.
62628 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62630         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62631         Also fail if tpwd after pwuid call is NULL.
62633 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62635         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62636         when converting to ms.
62638 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62640         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62641         EOPNOTSUPP errors with ENOTTY.
62642         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62643         EOPNOTSUPP errors with ENOTTY.
62645 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62647         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62648         Add strcasecmp_l-ssse3.
62649         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62650         strcasecmp.
62651         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62652         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62653         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62655 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62657         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62659         * string/Makefile (strop-tests): Add strcasecmp.
62660         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62661         strcasecmp_l-nonascii.
62662         (gen-as-const-headers): Add locale-defines.sym.
62663         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62664         * sysdeps/x86_64/strcasecmp.S: New file.
62665         * sysdeps/x86_64/strcasecmp_l.S: New file.
62666         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62667         * sysdeps/x86_64/locale-defines.sym: New file.
62668         * string/test-strcasecmp.c: New file.
62670         * string/test-strcasestr.c: Test both ends of the range of characters.
62671         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62673 2010-07-29  Roland McGrath  <roland@redhat.com>
62675         [BZ #11856]
62676         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62678 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62680         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62681         for ld.so.
62683 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62685         * manual/memory.texi (Malloc Tunable Parameters): Document
62686         M_PERTURB.
62688 2010-07-26  Roland McGrath  <roland@redhat.com>
62690         [BZ #11840]
62691         * configure.in (-fgnu89-inline check): Set and substitute
62692         gnu89_inline, not libc_cv_gnu89_inline.
62693         * configure: Regenerated.
62694         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62696 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62698         * string/test-strnlen.c: New file.
62699         * string/Makefile (strop-tests): Add strnlen.
62700         * string/tester.c (test_strnlen): Add a few more test cases.
62701         * string/tst-strlen.c: Better error reporting.
62703         * sysdeps/x86_64/strnlen.S: New file.
62705 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62707         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62708         lower-latency instructions.
62710 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62712         * string/test-strcasestr.c: New file.
62713         * string/test-strstr.c: New file.
62714         * string/Makefile (strop-tests): Add strstr and strcasestr.
62715         * string/str-two-way.h: Don't undefine MAX.
62716         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62718 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62721         strcasestr-nonascii.
62722         (CFLAGS-strcasestr-nonascii.c): Define.
62723         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62724         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62725         Remove unused attribute.
62727 2010-07-20  Roland McGrath  <roland@redhat.com>
62729         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62730         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62731         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62732         like LD_HWCAP_MASK can disable hwcaps.
62734 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62736         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62738 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62740         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62741         call in strcasestr.
62742         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62743         __strcasestr_sse42_nonascii.
62744         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62745         strcasestr-nonascii.c.
62746         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62748 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62750         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62751         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62752         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62753         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62755 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62757         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62758         fcntl.
62760 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62762         [BZ #11577]
62763         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62764         dl_signal_cerror.
62766 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62768         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62769         _PC_PIPE_BUF using F_GETPIPE_SZ.
62771 2010-07-05  Roland McGrath  <roland@redhat.com>
62773         * manual/arith.texi (Rounding Functions): Fix rint description
62774         implicit in round description.
62776 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62778         * elf/Makefile: Fix linking for a few tests to make recent linker
62779         happy.
62781 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62783         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62784         $(common-objpfx)libc_nonshared.a.
62786 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62788         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62789         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62790         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62791         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62792         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62793         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62794         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62795         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62810         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62811         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62812         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62813         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62814         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62815         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62816         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62817         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62818         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62819         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62820         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62821         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62837 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62839         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62840         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62841         * string/memmove.c (memmove): Renamed to ...
62842         (MEMMOVE): ...this.  Default to memmove.
62843         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62844         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62845         (END_CHK): Define.
62846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62847         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62848         mempcpy-ssse3-back memmove-ssse3-back.
62849         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62850         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62851         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62852         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62853         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62854         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62855         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62856         * sysdeps/x86_64/multiarch/memmove.c: New file.
62857         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62858         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62859         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62860         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62861         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62862         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62863         Define.
62864         (index_Fast_Copy_Backward): Define.
62865         (HAS_ARCH_FEATURE): Define.
62866         (HAS_FAST_REP_STRING): Define.
62867         (HAS_FAST_COPY_BACKWARD): Define.
62869 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62871         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62872         Restore proper fallback handling.
62874 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62876         [BZ #11701]
62877         * posix/group_member.c (__group_member): Correct checking loop.
62879         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62880         OOM in getpwuid_r correctly.  Return error number when the caller
62881         should return, otherwise -1.
62882         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62883         call returning > 0 value.
62884         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62886 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62888         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62889         libc_nonshared.a from targets in modules-names.
62891 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62893         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62894         requires it.
62896 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62898         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62899         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62900         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62901         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62903 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62905         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62907 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62909         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62910         and F_GETPIPE_SZ.
62911         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62912         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62913         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62914         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62915         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62916         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62918 2010-06-14  Roland McGrath  <roland@redhat.com>
62920         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62922 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62924         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62925         __REDIRECT followed by __THROW.
62926         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62927         * posix/getopt.h (getopt): Likewise.
62929 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62931         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62932         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62933         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62934         in AT_FLAGS.
62935         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62936         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62938 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62940         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62942 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62944         [BZ #11640]
62945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62946         Properly check family and model.
62948 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62950         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62952 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62954         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62956 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62958         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62959         symbol reference.
62961 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62963         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62964         symbol reference.
62966 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62968         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62969         and internal_recvmmsg.
62970         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62971         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62972         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62973         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62975         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62976         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62977         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62979 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62981         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62983 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62985         POWER7 optimizations.
62986         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62987         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62989 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62991         * version.h: Update for 2.13 development version.
62993 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62995         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62996         exceptions.  Return 0.
62998 2010-05-07  Roland McGrath  <roland@redhat.com>
63000         * elf/ldconfig.c (main): Add a const.
63002 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63004         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63005         (args_options): Add no-idn option.
63006         (ahosts_keys_int): Add idn_flags to ai_flags.
63007         (parse_option): Handle 'i' option to clear idn_flags.
63009         * malloc/malloc.c (_int_free): Possible race in the most recently
63010         added check.  Only act on the data if no current modification
63011         happened.
63013 See ChangeLog.17 for earlier changes.