Add more tests of various libm functions.
[glibc.git] / ChangeLog
blobab060688a9c3f8c82c70f95a9d69a5391064f2c3
1 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
3         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
4         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
5         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
6         * math/auto-libm-test-out: Regenerated.
7         * sysdeps/i386/fpu/libm-test-ulps: Update.
8         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12         [BZ #18790]
13         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14         threshold for returning +/- 1.
15         * math/auto-libm-test-in: Add more tests of tanh.
16         * math/auto-libm-test-out: Regenerated.
17         * sysdeps/i386/fpu/libm-test-ulps: Update.
19 2015-08-10  Andreas Schwab  <schwab@suse.de>
21         [BZ #18781]
22         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
23         MORE_OFLAGS to oflag.
24         * io/test-lfs.c (do_test): Test openat64.
26 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
28         [BZ #18789]
29         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
30         smaller threshold for returning the argument.
31         * math/auto-libm-test-in: Add more tests of sinh.
32         * math/auto-libm-test-out: Regenerated.
33         * sysdeps/i386/fpu/libm-test-ulps: Update.
35 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37         [BZ #18674]
38         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
39         break.
41 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
43         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
44         (generated): Don't add $(addprefix z.,$(tzfiles)).
46 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
48         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
49         * scripts/sysd-rules.awk: Likewise.
51 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
53         * iconvdata/tst-tables.sh: Change echo -n to printf.
54         * nss/db-Makefile: Likewise.
55         * posix/tst-getconf.sh: Likewise.
56         * stdio-common/tst-unbputc.sh: Likewise.
58 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
60         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
61         MADV_*_PAGES defines behind this feature check.
63 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
65         [BZ #18480]
66         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
67         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
68         Define.
69         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
70         LOAD_REGS_5, LOAD_REGS_6): Update.
71         (INTERNAL_SYSCALL): Update using new LOAD defines.
72         (INTERNAL_SYSCALL_NCS): Likewise.
73         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
75 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
77         [BZ #16734]
78         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
80 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
82         [BZ #17905]
83         * catgets/Makefile (tst-catgets-mem): New test.
84         * catgets/catgets.c (catopen): Don't use unbounded alloca.
85         * catgets/open_catalog.c (__open_catalog): Likewise.
86         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
88 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
90         [BZ #18787]
91         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
92         clobber registers.
93         (atomic_compare_and_exchange_val_acq): Use register asms to assign
94         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
95         Cast return to __typeof (oldval).
97 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
99         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
100         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
101         and delete sys/syscall.h include.
103 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
105         [BZ #16517]
106         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
107         (tan): Force underflow exception for arguments with small absolute
108         value.
109         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
110         (__kernel_tanf): Force underflow exception for arguments with
111         small absolute value.
112         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
113         (__kernel_tanl): Force underflow exception for arguments with
114         small absolute value.
115         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
116         (__kernel_tanl): Force underflow exception for arguments with
117         small absolute value.
118         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
119         (__kernel_tanl): Force underflow exception for arguments with
120         small absolute value.
121         * math/auto-libm-test-in: Add more tests of tan.
122         * math/auto-libm-test-out: Regenerated.
124 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
126         Fix sysdeps/i386/fpu/s_scalbn.S build
128         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
130 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
132         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
134 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
136         Fix gcrt0.o compilation
138         When static-start-installed-name is different from
139         start-installed-name, we must not use the shared objects.
141         * csu/Makefile
142         (extra-objs): Add gmon-start.o when building shared library and
143         $(static-start-installed-name) is different from
144         $(start-installed-name).
145         $(objpfx)g$(static-start-installed-name): When building shared
146         library and $(static-start-installed-name) is different from
147         $(static-start-installed-name), revert to non-shared rule,
148         i.e. using $(objpfx)% and gmon-start.o.
150 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
152         [BZ #16519]
153         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
154         (__ieee754_sinh): Force underflow exception for arguments with
155         small absolute value.
156         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
157         (__ieee754_sinhf): Force underflow exception for arguments with
158         small absolute value.
159         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
160         (__ieee754_sinhl): Force underflow exception for arguments with
161         small absolute value.
162         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
163         (__ieee754_sinhl): Force underflow exception for arguments with
164         small absolute value.
165         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
166         (__ieee754_sinhl): Force underflow exception for arguments with
167         small absolute value.
168         * math/auto-libm-test-in: Add more tests of sinh.
169         * math/auto-libm-test-out: Regenerated.
170         * sysdeps/i386/fpu/libm-test-ulps: Update.
172 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
174         * libio/oldfileops.c: Include unistd.h.
176 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
178         * stdlib/isomac.c: Include ctype.h.
180 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
182         * dirent/tst-seekdir.c (main): Converted to ...
183         (do_test): ... this.
184         (TEST_FUNCTION): New macro.
185         Include test-skeleton.c.
186         * elf/tst-dlmodcount.c (main): Converted to ...
187         (do_test): ... this.
188         (TEST_FUNCTION): New macro.
189         Include test-skeleton.c.
190         * elf/tst-order-main.c (main): Converted to ...
191         (do_test): ... this.
192         (TEST_FUNCTION): New macro.
193         Include test-skeleton.c.
194         * elf/tst-pie2.c (main): Converted to ...
195         (do_test): ... this.
196         (TEST_FUNCTION): New macro.
197         Include test-skeleton.c.
198         * inet/tst-ether_aton.c (main): Converted to ...
199         (do_test): ... this.
200         (TEST_FUNCTION): New macro.
201         Include test-skeleton.c.
202         * misc/tst-mntent.c (main): Converted to ...
203         (do_test): ... this.
204         (TEST_FUNCTION): New macro.
205         Include test-skeleton.c.
206         * misc/tst-tsearch.c (main): Converted to ...
207         (do_test): ... this.
208         (TEST_FUNCTION): New macro.
209         Include test-skeleton.c.
210         * posix/tst-regexloc.c (main): Converted to ...
211         (do_test): ... this.
212         (TEST_FUNCTION): New macro.
213         Include test-skeleton.c.
214         * resolv/tst-aton.c (main): Converted to ...
215         (do_test): ... this.
216         (TEST_FUNCTION): New macro.
217         Include test-skeleton.c.
218         * stdio-common/test-fwrite.c (main): Converted to ...
219         (do_test): ... this.
220         (TEST_FUNCTION): New macro.
221         Include test-skeleton.c.
222         * stdio-common/tst-ferror.c (main): Converted to ...
223         (do_test): ... this.
224         (TEST_FUNCTION): New macro.
225         Include test-skeleton.c.
226         * stdio-common/tst-printf.c (main): Converted to ...
227         (do_test): ... this.
228         (TEST_FUNCTION): New macro.
229         Include test-skeleton.c.
230         * stdio-common/tst-printfsz.c (main): Converted to ...
231         (do_test): ... this.
232         (TEST_FUNCTION): New macro.
233         Include test-skeleton.c.
234         * stdlib/tst-strtod.c (main): Converted to ...
235         (do_test): ... this.
236         (TEST_FUNCTION): New macro.
237         Include test-skeleton.c.
238         * string/tst-strlen.c (main): Converted to ...
239         (do_test): ... this.
240         (TEST_FUNCTION): New macro.
241         Include test-skeleton.c.
242         * string/tst-svc.c (main): Converted to ...
243         (do_test): ... this.
244         (TEST_FUNCTION): New macro.
245         Include test-skeleton.c.
246         * time/tst-strptime.c (main): Converted to ...
247         (do_test): ... this.
248         (TEST_FUNCTION): New macro.
249         Include test-skeleton.c.
250         * timezone/tst-timezone.c (main): Converted to ...
251         (do_test): ... this.
252         (TEST_FUNCTION): New macro.
253         Include test-skeleton.c.
255 2015-08-05  Zack Weinberg  <zackw@panix.com>
257         * misc/regexp.h: Update comments.
259 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
261         [BZ #18635]
262         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
263         before return label.
265 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
267         [BZ #18661]
268         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
269         when calling __errno_location.
270         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
271         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
273 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
275         [BZ #18661]
276         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
277         (__lll_timedwait_tid): Align stack to 16 bytes when calling
278         __gettimeofday.
280 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
282         [BZ #18661]
283         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
284         (__start_context): Don't use pop to restore %rdi so that stack
285         is aligned to 16 bytes when calling __setcontext.
287 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
289         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
290         only for libc.
291         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
293 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
295         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
296         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
297         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
299 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
301         * string/memccpy.c (memccpy):
302         Improve performance by using memchr/memcpy/__mempcpy.
304 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
306         * string/strncpy.c (strncpy):
307         Improve performance by using __strnlen/memcpy.
309 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
311         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
312         Optimize to avoid an unnecessary FPCR read.
314 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
316         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
317         Optimize to reduce FPCR/FPSR accesses.
319 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
321         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
322         dead->data[category] != NULL.
324 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
326         [BZ #18647]
327         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
328         and |x| close to 1, use absolute value of x when computing log.
329         * math/auto-libm-test-in: Add more tests of pow.
330         * math/auto-libm-test-out: Regenerated.
332 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
334         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
335         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
336         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
338 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
340         [BZ #18525]
341         * locales/km_KH: Remove timezone definition.
342         * locales/lo_LA: Likewise.
343         * locales/my_MM: Likewise.
344         * locales/nan_TW@latin: Likewise.
345         * locales/th_TH: Likewise.
346         * locales/uk_UA: Likewise.
348 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
350         [BZ #18265]
351         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
352         (wcsncat): Likewise.
353         (wcscmp): Likewise.
354         (wcsncmp): Likewise.
356 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
358         * test-skeleton.c (usage): New function.
359         (main): Call usage when opt is '?'.
361 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
363         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
364         before first use.
366 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
368         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
369         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
370         in there too.
372 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
374         * version.h (RELEASE): Set to "development".
375         (VERSION): Set to "2.22.90"
377         * version.h (RELEASE): Set to "stable".
378         (VERSION): Set to "2.22"
379         * include/features.h (__GLIBC_MINOR__): Set to 22.
381 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
383         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
384         Restructure macro to avoid "value computed is not used" warning.
385         (atomic_compare_and_exchange_val_acq): Likewise.
387 2015-08-04  Andreas Schwab  <schwab@suse.de>
389         [BZ #18635]
390         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
391         ret.
392         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
394 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
396         * po/pl.po: Updated translation.
397         * po/uk.po: Likewise.
398         * po/fi.po: Likewise.
399         * po/ko.po: Likewise.
400         * po/ru.po: Likewise.
401         * po/vi.po: Likewise.
403 2015-07-31  Zack Weinberg  <zackw@panix.com>
405         [BZ #18681]
406         * regexp.h: Add unconditional #warning stating that this header
407         will be removed soon.  Revise banner comment to match.
408         (compile): Consistently use ERROR instead of RETURN to report
409         errors (partial fix for bz#18681).
410         * regexp.c: Don't include regexp.h. Remove some unnecessary
411         declarations.
413 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
415         * po/libc.pot: Regenerated.
417 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
419         [BZ #18740]
420         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
421         float-vlen4-arch-ext-cflags): Removed.
422         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
423         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
425 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
427         [BZ #14113]
428         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
429         aligned to __aligned__.
430         (pthread_cond_t, pthread_rwlock_t): Likewise.
432 2015-07-30  Torvald Riegel  <triegel@redhat.com>
434         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
436 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
438         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
439         (struct sigaction): Change sa_flags from a long to an int, and add
440         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
442 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
444         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
445         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
446         sysdeps/generic/sysdep.h include.
447         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
448         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
449         sysdeps/hppa/sysdep.h.
450         (ENTRY, PSEUDO): Undefine before defining.
452 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
454         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
455         from scratch to use INTERNAL_SYSCALL.
457 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
459         [BZ #18078]
460         * scripts/check-localplt.awk: Support alternate relocations.
461         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
462         sections.
463         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
464         malloc entries with + REL R_386_GLOB_DAT.
465         * sysdeps/x86_64/localplt.data: New file.
467 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
469         [BZ #18731]
470         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
471         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
472         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
474 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
476         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
478 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
480         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
481         directly in terms of __sync_fetch_and_add and delete (int) cast.
483 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
485         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
486         the -D_ASM_IA64_CURRENT_H flag.
488 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
490         [BZ #18641]
491         * pwd/pwd.h (putpwent): Delete __nonnull markings.
493 2015-07-27  Andreas Schwab  <schwab@suse.de>
495         * conform/conformtest.pl (checknamespace): Filter out string
496         literals while tokenizing.
498 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
500         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
501         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
502         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
504 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
506         * nptl/tst-join7mod.c: Add #include <string.h>.
508 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
510         * sysdeps/nios2/libm-test-ulps: Update.
512 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
514         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
515         Fix order of arguments to the rt_sigprocmask syscall.
516         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
517         Likewise.
519 2015-07-24  Roland McGrath  <roland@hack.frob.com>
521         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
523 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
525         [BZ #18457]
526         * nptl/Makefile (tests): New test case tst-join7.
527         (modules-names): New test case module tst-join7mod.
528         * nptl/tst-join7.c: New file.
529         * nptl/tst-join7mod.c: New file.
530         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
531         all translation units in libc.so, libpthread.so and rtld.
533 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
537 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
539         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
540         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
541         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
542         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
543         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
544         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
545         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
546         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
547         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
548         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
549         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
550         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
551         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
552         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
553         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
554         implementation.
556 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
558         [BZ #17711]
559         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
560         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
561         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
562         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
563         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
564         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
566 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
568         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
569         instead of just saying load lock in the comments.
571 2015-07-23  Roland McGrath  <roland@hack.frob.com>
573         * sysdeps/unix/Subdirs: Moved ...
574         * sysdeps/posix/Subdirs: ... here.
575         * login/pty.h (struct termios, struct winsize): Add forward decls.
576         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
577         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
578         * sysdeps/arm/nacl/libc.abilist: Updated.
579         * sysdeps/nacl/libutil.abilist: New file.
581         * bits/signum.h: Update comments to mention 1003.1-2013 too.
582         (SIGWINCH): New macro.
584         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
585         * sysdeps/arm/nacl/libc.abilist: Add it.
587 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
589         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
591 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
593         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
594         Swap __glibc_reserved0 and sa_flags order.
596 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
598         [BZ #18657]
599         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
600         are pending TLS destructor calls.
601         * include/link.h (struct link_map): Add concurrency note for
602         L_TLS_DTOR_COUNT.
603         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
604         Don't touch the link map flag.  Atomically increment
605         l_tls_dtor_count.
606         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
607         Avoid taking the load lock and don't touch the link map flag.
608         * stdlib/tst-tls-atexit-nodelete.c: New test case.
609         * stdlib/Makefile (tests): Use it.
610         * stdlib/tst-tls-atexit.c (do_test): dlopen
611         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
612         to allow tst-tls-atexit-nodelete test case to use it.
614 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
616         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
617         to bits/types.h.
618         (msgqnum_t): New typedef.
619         (msglen_t): Likewise.
620         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
621         and msg_qbytes type to msglen_t.
623 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
625         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
626         pad0 to __glibc_reserved0.
627         (struct stat64): Likewise.
629 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
631         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
632         Change sa_flags from a long to an int and add __glibc_reserved0 before
633         it for padding.
635 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
637         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
638         anonymous by deleting "siginfo" name.
640 2015-07-21  Roland McGrath  <roland@hack.frob.com>
642         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
643         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
644         rather than __nacl_irt_filename.
645         * sysdeps/nacl/xstat.c (__xstat): Likewise.
647         * NEWS: New item for arm-nacl port.
648         * sysdeps/arm/nacl/libc.abilist: New file.
649         * sysdeps/nacl/ld.abilist: New file.
650         * sysdeps/nacl/libBrokenLocale.abilist: New file.
651         * sysdeps/nacl/libanl.abilist: New file.
652         * sysdeps/nacl/libcrypt.abilist: New file.
653         * sysdeps/nacl/libdl.abilist: New file.
654         * sysdeps/nacl/libm.abilist: New file.
655         * sysdeps/nacl/libpthread.abilist: New file.
656         * sysdeps/nacl/libresolv.abilist: New file.
657         * sysdeps/nacl/librt.abilist: New file.
659 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
661         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
662         __startcontext to initialize the new context.
663         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
664         up CFI directive to forbid further backtracing.
666 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
668         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
669         reference.
670         * charmaps/ANSI_X3.4-1968: Likewise.
671         * charmaps/BS_4730: Likewise.
672         * charmaps/BS_VIEWDATA: Likewise.
673         * charmaps/CP1250: Likewise.
674         * charmaps/CP1251: Likewise.
675         * charmaps/CP1252: Likewise.
676         * charmaps/CP1253: Likewise.
677         * charmaps/CP1254: Likewise.
678         * charmaps/CP1255: Likewise.
679         * charmaps/CP1256: Likewise.
680         * charmaps/CSN_369103: Likewise.
681         * charmaps/EBCDIC-DK-NO: Likewise.
682         * charmaps/GB_1988-80: Likewise.
683         * charmaps/GREEK-CCITT: Likewise.
684         * charmaps/GREEK7: Likewise.
685         * charmaps/INIS-8: Likewise.
686         * charmaps/ISIRI-3342: Likewise.
687         * charmaps/ISO_2033-1983: Likewise.
688         * charmaps/ISO_5427-EXT: Likewise.
689         * locales/POSIX: Likewise.
690         * locales/ar_SA: Likewise.
691         * locales/be_BY: Likewise.
692         * locales/be_BY@latin: Likewise.
693         * locales/ca_ES: Likewise.
694         * locales/cs_CZ: Likewise.
695         * locales/da_DK: Likewise.
696         * locales/de_BE: Likewise.
697         * locales/de_CH: Likewise.
698         * locales/de_LU: Likewise.
699         * locales/en_AU: Likewise.
700         * locales/en_BW: Likewise.
701         * locales/en_CA: Likewise.
702         * locales/en_DK: Likewise.
703         * locales/en_GB: Likewise.
704         * locales/en_IE: Likewise.
705         * locales/en_NZ: Likewise.
706         * locales/en_ZA: Likewise.
707         * locales/en_ZW: Likewise.
708         * locales/es_AR: Likewise.
709         * locales/es_BO: Likewise.
710         * locales/es_CL: Likewise.
711         * locales/es_CO: Likewise.
712         * locales/es_DO: Likewise.
713         * locales/es_EC: Likewise.
714         * locales/es_ES: Likewise.
715         * locales/es_HN: Likewise.
716         * locales/es_MX: Likewise.
717         * locales/es_PA: Likewise.
718         * locales/es_PE: Likewise.
719         * locales/es_PY: Likewise.
720         * locales/es_SV: Likewise.
721         * locales/es_US: Likewise.
722         * locales/es_UY: Likewise.
723         * locales/es_VE: Likewise.
724         * locales/et_EE: Likewise.
725         * locales/fa_IR: Likewise.
726         * locales/fo_FO: Likewise.
727         * locales/fr_CA: Likewise.
728         * locales/fr_CH: Likewise.
729         * locales/gv_GB: Likewise.
730         * locales/he_IL: Likewise.
731         * locales/hr_HR: Likewise.
732         * locales/id_ID: Likewise.
733         * locales/is_IS: Likewise.
734         * locales/it_CH: Likewise.
735         * locales/iw_IL: Likewise.
736         * locales/kl_GL: Likewise.
737         * locales/ko_KR: Likewise.
738         * locales/kw_GB: Likewise.
739         * locales/lg_UG: Likewise.
740         * locales/lt_LT: Likewise.
741         * locales/lv_LV: Likewise.
742         * locales/mi_NZ: Likewise.
743         * locales/nhn_MX: Likewise.
744         * locales/nl_BE: Likewise.
745         * locales/pl_PL: Likewise.
746         * locales/sk_SK: Likewise.
747         * locales/sl_SI: Likewise.
748         * locales/sv_FI: Likewise.
749         * locales/tl_PH: Likewise.
750         * locales/tr_TR: Likewise.
751         * locales/vi_VN: Likewise.
753 2015-07-21  Khem Raj  <raj.khem@gmail.com>
755         [BZ #17475]
756         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
757         of tu_IN and bh_IN.
759 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
761         [BZ #18694]
762         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
763         bits/wordsize.h.
764         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
766 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
768         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
769         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
770         (spawn_thread): New function.
771         (load): Rename to reg_dtor_and_close.  Move dlopen to...
772         (do_test): ... here.  Use IS_LOADED to test for its
773         availability.
775 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
777         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
779 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
781         [BZ #18696]
782         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
783         si_addr_bnd.
784         (si_lower): New.
785         (si_upper): Likewise.
787 2015-07-16  David S. Miller  <davem@davemloft.net>
789         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
791 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
793         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
794         buffer.
795         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
796         fail output information.
798 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
801         and strstr-ppc64..
802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
803         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
804         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
805         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
806         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
808 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
810         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
811         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
812         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
813         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
815 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
817         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
818         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
819         rtld_hidden_proto.
820         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
822 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
824         * tst-nodelete-opened.c (do_test): Add comment to clarify how
825         the test can fail.
827         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
829         [BZ #18676]
830         * elf/tst-nodelete-opened.c: New test case.
831         * elf/tst-nodelete-opened-lib.c: New test case module.
832         * elf/Makefile (tests, modules-names): Use them.
833         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
834         early.
836 2015-07-15  David S. Miller  <davem@davemloft.net>
838         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
839         futex-intenal.h
840         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
841         * sysdeps/sparc/sparc64/Makefile: Likewise.
842         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
843         Remove space from macro define.
844         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
846 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
848         [BZ #17475]
849         * locale/iso-639.def: Update Bhili and Tulu language codes as
850         per iso639-3.
852 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
854         * elf/tst-leaks1.c (main): Converted to ...
855         (do_test): ... this.
856         (TEST_FUNCTION): New macro.
857         Include test-skeleton.c.
858         * localedata/tst-langinfo.c (main): Converted to ...
859         (do_test): ... this.
860         (TEST_FUNCTION): New macro.
861         Include test-skeleton.c.
862         * math/test-fpucw.c (main): Converted to ...
863         (do_test): ... this.
864         (TEST_FUNCTION): New macro.
865         Include test-skeleton.c.
866         * math/test-tgmath.c (main): Converted to ...
867         (do_test): ... this.
868         (TEST_FUNCTION): New macro.
869         Include test-skeleton.c.
870         * math/test-tgmath2.c (main): Converted to ...
871         (do_test): ... this.
872         (TEST_FUNCTION): New macro.
873         Include test-skeleton.c.
874         * setjmp/tst-setjmp.c (main): Converted to ...
875         (do_test): ... this.
876         (TEST_FUNCTION): New macro.
877         Include test-skeleton.c.
878         * stdio-common/tst-sscanf.c (main): Converted to ...
879         (do_test): ... this.
880         (TEST_FUNCTION): New macro.
881         Include test-skeleton.c.
882         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
883         (do_test): ... this.
884         (TEST_FUNCTION): New macro.
885         Include test-skeleton.c.
887         * elf/tst-audit9.c (main): Converted to ...
888         (do_test): ... this.
889         (TEST_FUNCTION): New macro.
890         Include test-skeleton.c.
892 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
894         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
896 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
898         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
899         New variable.
901 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
903         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
905 2015-07-14  Roland McGrath  <roland@hack.frob.com>
907         * sysdeps/generic/dl-fileid.h: New file.
908         * sysdeps/posix/dl-fileid.h: New file.
909         * sysdeps/nacl/dl-fileid.h: New file.
910         * include/link.h: Include <dl-fileid.h>.
911         (struct link_map): Replace l_dev and l_ino with l_file_id.
912         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
913         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
914         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
916 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
918         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
920 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
922         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
923         Add iff $CXX is set.
924         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
925         Likewise.
926         (tst-nodelete-zmodiff): Likewise.
927         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
929 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
931         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
933 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
935         * sysdeps/aarch64/fpu/math_private.h
936         (define math_opt_barrier): Add AArch64 version.
937         (math_force_eval): Likewise.
939 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
941         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
943 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
945         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
946         %ld with %jd and cast to intmax_t.
947         (do_test_length_zero): Likewise.
949 2015-07-10  Roland McGrath  <roland@hack.frob.com>
951         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
953 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
955         * sysdeps/tile/libm-test-ulps: Regenerated.
957         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
958         Comment out the whole function, not just its body.
960 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
962         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
963         locks.
965         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
967 2015-07-10  Torvald Riegel  <triegel@redhat.com>
969         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
970         (sem_assume_only_signals_cause_futex_EINTR): Remove.
972 2015-07-10  Torvald Riegel  <triegel@redhat.com>
974         * sysdeps/nptl/futex-internal.h: New file.
975         * sysdeps/nacl/futex-internal.h: New file.
976         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
977         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
978         error checking.
979         (setxid_unmark_thread): Likewise.
980         (__nptl_setxid): Likewise.
981         (__wait_lookup_done): Likewise.
982         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
983         * nptl/nptl-init.c (sighandler_setxid): Likewise.
984         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
985         * nptl/pthread_once.c (clear_once_control): Likewise.
986         (__pthread_once_slow): Likewise.
987         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
988         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
989         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
990         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
991         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
992         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
993         Likewise.
994         (__pthread_rwlock_rdlock): Likewise.
995         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
996         Likewise.
997         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
998         Likewise.
999         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1000         Likewise.
1001         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1002         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1003         Likewise.
1004         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1005         __ASSUME_PRIVATE_FUTEX check.
1006         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1007         Check that shared futexes are supported.
1008         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1009         wrappers with error checking.
1010         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1011         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1012         * nptl/pthread_barrierattr_setpshared.c
1013         (pthread_barrierattr_setpshared): Check that shared futexes are
1014         supported.
1015         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1016         Likewise.
1017         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1018         Likewise.
1019         * nptl/sem_init.c (futex_private_if_supported): Remove.
1020         (__new_sem_init): Adapt and check that shared futexes are supported.
1021         * nptl/sem_open.c (sem_open): Likewise.
1022         * nptl/sem_post.c (futex_wake): Remove.
1023         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1024         (do_futex_wait): Use futex wrappers with error checking.
1025         * nptl/sem_wait.c: Include lowlevellock.h.
1026         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1027         Use futex_supports_pshared.
1028         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1029         Use futex wrappers with error checking.
1030         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1031         Likewise.
1032         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1033         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1034         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1035         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1036         (futex_wake): Likewise.
1037         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1038         (do_futex_wait): Use futex wrappers with error checking.
1039         (__new_sem_wait_slow): Update EINTR handling.
1040         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1042 2015-07-09  Martin Sebor  <msebor@redhat.com>
1044         [BZ #18435]
1045         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1046         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1047         * nptl/Makefile (test-xfail-tst-once5): Define.
1049 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1051         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1052         * elf/dl-minimal.c: For readability, reorder some definitions and
1053         introduce more page breaks.  Include <stdio.h>.
1054         (__libc_fatal): New function.
1056         * include/unistd.h: Add rtld_hidden_proto for _exit.
1057         * posix/_exit.c: Add rtld_hidden_def.
1058         * sysdeps/mach/hurd/_exit.c: Likewise.
1059         * sysdeps/nacl/_exit.c: Likewise.
1060         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1061         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1063 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1065         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1066         bndmov encoding with zero displacement.
1068 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1069             H.J. Lu  <hongjiu.lu@intel.com>
1071         [BZ #18134]
1072         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1073         * sysdeps/i386/configure: Regenerated.
1074         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1075         (_dl_runtime_profile): Save and restore Intel MPX return bound
1076         registers when calling _dl_call_pltexit.  Add
1077         PRESERVE_BND_REGS_PREFIX before return.
1078         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1079         (LRV_BND1_OFFSET): Likewise.
1080         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1081         lrv_bnd1.
1082         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1083         typo in bndmov encoding.
1084         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1085         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1086         branch instructions to preserve bounds.
1088 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1091         [GLIBC_2.22]: Add fmemopen.
1093 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1095         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1096         returns an error, also try to use host port from __mach_host_self for
1097         the __vm_wire call.
1098         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1100 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1102         [BZ #18400]
1103         [BZ #18648]
1104         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1105         Fix pr_uid and pr_gid members.
1106         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1107         definition to elf_greg_t.
1109 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1111         [BZ #18383]
1112         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1113         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1114         * sysdeps/arm/configure: Regenerated.
1115         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1116         (test-xfail-tst-tlsalign-static): Variable removed.
1118         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1119         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1120         rather than explicit 'ln -s'.
1122         * resolv/rpc/netdb.h: New file.
1123         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1125 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1127         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1128         length buffers.
1129         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1130         test-skeleton.c.
1132         [BZ #6544]
1133         [BZ #11216]
1134         [BZ #12836]
1135         [BZ #13151]
1136         [BZ #13152]
1137         [BZ #14292]
1138         * include/stdio.h (fmemopen): Remove hidden prototype.
1139         (__fmemopen): Add new hidden prototype.
1140         * libio/Makefile: Add oldfmemopen object.
1141         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1142         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1143         compliance.
1144         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1145         symbol compatibility.
1146         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1147         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1148         fmemopen.
1149         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1150         on append and read mode.
1151         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1152         fmemopen.
1153         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1154         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1155         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1156         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1157         Likewise.
1158         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1159         [GLIBC_2.22]: Likewise.
1160         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1161         Likewise.
1162         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1163         Likewise.
1164         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1165         [GLIBC_2.22]: Likewise.
1166         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1167         [GLIBC_2.22]: Likewise.
1168         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1169         [GLIBC_2.22]: Likewise.
1170         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1171         [GLIBC_2.22]: Likewise.
1172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1173         [GLIBC_2.22]: Likewise.
1174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1175         [GLIBC_2.22]: Likewise.
1176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1177         [GLIBC_2.22]: Likewise.
1178         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1179         Likewise.
1180         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1181         Likewise.
1182         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1183         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1184         [GLIBC_2.22]: Likewise.
1185         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1186         [GLIBC_2.22]: Likewise.
1187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1188         [GLIBC_2.22]: Likewise.
1189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1190         [GLIBC_2.22]: Likewise.
1191         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1192         Likewise.
1193         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1194         Likewise.
1195         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1196         Likewise.
1197         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1198         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1200 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1202         [BZ #18643]
1203         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1204         IPV6_PATHMTU, and IPV6_DONTFRAG.
1206 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1208         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1209         and _IO_UNBUFFERED.
1210         * libio/oldfileops.c: Likewise.
1211         * libio/wfileops.c: Likewise.
1213 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1215         * nscd/selinux.c: Delete selinux/flask.h include.
1217 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1219         [BZ #18641]
1220         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1221         (putpwent): Likewise.
1222         (getpwnam): Likewise.
1223         (getpwent_r): Likewise.
1224         (getpwuid_r): Likewise.
1225         (getpwnam_r): Likewise.
1226         (fgetpwent_r): Likewise.
1228 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1230         [BZ #18557]
1231         * inet/rcmd.c (__validuser2_sa): Check user first to
1232         short-circuit host check.
1234 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1235             Mikhail Ilin  <m.ilin@samsung.com>
1237         [BZ #17833]
1238         * elf/Makefile (tests): Add tst-nodelete.
1239         (modules-names): Add tst-nodelete-uniquemod.
1240         (tst-nodelete-uniquemod.so-no-z-defs): New.
1241         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1242         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1243         ($(objpfx)tst-nodelete): Likewise.
1244         ($(objpfx)tst-nodelete.out): Likewise.
1245         (LDFLAGS-tst-nodelete): Likewise.
1246         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1247         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1248         implement forced object deletion.
1249         (_dl_close): Pass false to _dl_close_worker.
1250         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1251         * elf/tst-nodelete.cc: New file.
1252         * elf/tst-nodeletelib.cc: Likewise.
1253         * elf/tst-znodeletelib.cc: Likewise.
1254         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1256 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1258         [BZ #18508]
1259         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1260         Depend on $(libdl).
1261         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1262         is not called infinitely times.
1263         (backtrace_helper): New function.
1264         (trace_arg): New struct.
1265         (st1): Enlarge stack size.
1266         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1267         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1268         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1269         Likewise.
1271 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1273         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1275 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1277         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1278         Include sys/types.h instead of bits/types.h.
1279         Remove inclusion of bits/wordsize.h.
1281 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1283         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1284         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1285         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1286         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1287         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1288         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1290 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1292         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1293         link-defines.sym.
1294         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1295         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1296         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1297         and LR_SIZE.
1298         * sysdeps/i386/link-defines.sym: New file.
1300 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1302         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1303         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1304         ($(objpfx)tst-audit3): New rule.
1305         ($(objpfx)tst-audit3.out): Likewise.
1306         * sysdeps/i386/tst-audit3.c: New file.
1307         * sysdeps/i386/tst-audit3.h: Likewise.
1308         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1309         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1311 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1313         [BZ #18633]
1314         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1315         pointer in C code.
1316         (__strcat_c): Likewise.
1317         (__strcat_g): Likewise.
1319 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1321         [BZ #18592]
1322         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1324 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1326         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1327         New function.  (__ieee754_sqrtf): New function.
1328         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1329         New function.
1330         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1331         New function.
1333 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1335         * sysdeps/ieee754/support.c: Remove unused file.
1337 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1339         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1340         registers instead of d ones so the layout is kernel abi compatible.
1341         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1342         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1343         Likewise.
1345 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1347         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1349 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1351         [BZ #18619]
1352         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1353         and return argument in case of subnormal argument.
1355 2015-07-01  Martin Sebor  <msebor@redhat.com>
1357         [BZ #18435]
1358         * nptl/Makefile: Add tst-once5.cc.
1359         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1360         Remove macro redefinitions.
1361         * nptl/tst-once5.cc: New test.
1363 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1365         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1367         * sysdeps/arm/libm-test-ulps: Regenerated.
1369         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1370         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1372 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1374         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1375         lll_lock_wait_private and lll_futex_wake probes.
1377         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1378         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1379         Likewise.
1380         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1381         atomic_spin_nop.
1382         * sysdeps/x86_64/bits/atomic.h: Likewise.
1383         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1384         to atomic_spin_nop and move ...
1385         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1386         ... here and ...
1387         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1388         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1389         atomic_spin_nop instead of BUSY_WAIT_NOP.
1390         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1391         Likewise.
1392         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1393         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1394         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1395         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1396         instead of atomic_delay.
1398 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1400         [BZ #18613]
1401         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1402         X_ADJ not X when adjusting exponent.
1403         (__ieee754_gamma_r): Do intermediate computations in
1404         round-to-nearest then adjust overflowing and underflowing results
1405         as needed.
1406         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1407         of X_ADJ not X when adjusting exponent.
1408         (__ieee754_gammaf_r): Do intermediate computations in
1409         round-to-nearest then adjust overflowing and underflowing results
1410         as needed.
1411         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1412         log of X_ADJ not X when adjusting exponent.
1413         (__ieee754_gammal_r): Do intermediate computations in
1414         round-to-nearest then adjust overflowing and underflowing results
1415         as needed.  Use 1.0L not 1.0f as numerator of division.
1416         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1417         log of X_ADJ not X when adjusting exponent.
1418         (__ieee754_gammal_r): Do intermediate computations in
1419         round-to-nearest then adjust overflowing and underflowing results
1420         as needed.  Use 1.0L not 1.0f as numerator of division.
1421         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1422         of X_ADJ not X when adjusting exponent.
1423         (__ieee754_gammal_r): Do intermediate computations in
1424         round-to-nearest then adjust overflowing and underflowing results
1425         as needed.  Use 1.0L not 1.0f as numerator of division.
1426         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1427         to auto-libm-test-in.
1428         (tgamma_test): Use ALL_RM_TEST.
1429         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1430         tests of tgamma with spurious-overflow.
1431         * math/auto-libm-test-out: Regenerated.
1432         * math/gen-libm-have-vector-test.sh: Do not check for START.
1433         * sysdeps/i386/fpu/libm-test-ulps: Update.
1434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1436         [BZ #18612]
1437         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1438         arguments, just return 0.5 times the argument, with underflow
1439         forced as needed.
1440         * math/auto-libm-test-in: Add more tests of j1.
1441         * math/auto-libm-test-out: Regenerated.
1443         [BZ #16559]
1444         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1445         (__ieee754_j1): Force underflow exception for small results.
1446         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1447         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1448         (__ieee754_j1f): Force underflow exception for small results.
1449         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1450         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1452         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1453         (__ieee754_j1l): Force underflow exception for small results.
1454         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1455         * math/auto-libm-test-in: Add more tests of j1 and jn.
1456         * math/auto-libm-test-out: Regenerated.
1458         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1459         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1460         (PF_MPLS): Likewise.
1461         (AF_IB): Likewise.
1462         (AF_MPLS): Likewise.
1463         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1464         value and macro.
1465         (MS_RMT_MASK): Include MS_LAZYTIME.
1467 2015-06-26  Mel Gorman  <mgorman@suse.de>
1469         [BZ #18502]
1470         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1471         already minimal.
1473 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1475         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1476         (DT_MIPS_NUM): Update.
1477         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1478         DT_MIPS_RLD_MAP_REL.
1480 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1482         [BZ #16559]
1483         [BZ #18602]
1484         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1485         round-to-nearest internally then recompute results that
1486         underflowed to zero in the original rounding mode.
1487         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1488         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1489         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1490         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1491         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1492         * sysdeps/i386/fpu/libm-test-ulps: Update.
1493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1495 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1497         * NEWS: Fixed description of link with vector math library.
1499 2015-06-25  Andreas Schwab  <schwab@suse.de>
1501         [BZ #18549]
1502         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1503         * libio/test-fmemopen.c (do_test): Add test for it.
1505 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1507         [BZ #17841]
1508         * Makeconfig (no-pie-ldflag): New.
1509         (+link): Set to $(+link-pie) if default to PIE.
1510         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1511         * config.make.in (build-pie-default): New.
1512         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1513         is default.  AC_SUBST.
1514         * configure: Regenerated.
1515         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1517 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1519         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1520         to 'unsigned int'.
1522         * resolv/gai_misc.h (struct waitlist): Change type of field
1523         counterp to 'volatile unsigned int *'.
1524         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1525         FUTEXADDR and OLDVAL.
1526         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1527         Give local variable TOTAL type 'volatile unsigned int'.
1528         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1529         * resolv/gai_suspend.c (gai_suspend):
1530         Give local variable CNTR type 'unsigned int'.
1532         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1533         counterp to 'volatile unsigned int *'.
1534         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1535         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1536         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1537         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1538         Give local variable TOTAL type 'volatile unsigned int'.
1539         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1541 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1543         [BZ #18383]
1544         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1545         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1546         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1547         comment for i386/x86-64.
1548         (test-xfail-tst-tlsalign-extern-static): Removed.
1550 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1552         * math/test-double.h: New file.
1553         * math/test-float.h: Likewise.
1554         * math/test-ldouble.h: Likewise.
1555         * math/test-math-inline.h: Likewise.
1556         * math/test-math-no-inline.h: Likewise.
1557         * math/test-math-scalar.h: Likewise.
1558         * math/test-math-vector.h: Likewise.
1559         * math/test-vec-loop.h: Remove file.  Contents moved into
1560         test-math-vector.h.
1561         * math/libm-test.inc (MATHCONST): Do not document macro.
1562         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1563         and test-math-scalar.h.
1564         (FUNC): Remove macro.
1565         (FUNC_TEST): Likewise.
1566         (FLOAT): Likewise.
1567         (MATHCONST): Likewise.
1568         (PRINTF_EXPR): Likewise.
1569         (PRINTF_XEXPR): Likewise.
1570         (PRINTF_NEXPR): Likewise.
1571         (TEST_DOUBLE): Likewise.
1572         (TEST_MATHVEC): Likewise.
1573         (__NO_MATH_INLINES): Likewise.
1574         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1575         and test-math-scalar.h.
1576         (FUNC): Remove macro.
1577         (FUNC_TEST): Likewise.
1578         (FLOAT): Likewise.
1579         (MATHCONST): Likewise.
1580         (PRINTF_EXPR): Likewise.
1581         (PRINTF_XEXPR): Likewise.
1582         (PRINTF_NEXPR): Likewise.
1583         (TEST_FLOAT): Likewise.
1584         (TEST_MATHVEC): Likewise.
1585         (__NO_MATH_INLINES): Likewise.
1586         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1587         and test-math-scalar.h.
1588         (FUNC): Remove macro.
1589         (FUNC_TEST): Likewise.
1590         (FLOAT): Likewise.
1591         (MATHCONST): Likewise.
1592         (PRINTF_EXPR): Likewise.
1593         (PRINTF_XEXPR): Likewise.
1594         (PRINTF_NEXPR): Likewise.
1595         (TEST_DOUBLE): Likewise.
1596         (TEST_MATHVEC): Likewise.
1597         (TEST_INLINE): Likewise.
1598         (__NO_MATH_INLINES): Likewise.
1599         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1600         test-math-scalar.h.
1601         (FUNC): Remove macro.
1602         (FUNC_TEST): Likewise.
1603         (FLOAT): Likewise.
1604         (MATHCONST): Likewise.
1605         (PRINTF_EXPR): Likewise.
1606         (PRINTF_XEXPR): Likewise.
1607         (PRINTF_NEXPR): Likewise.
1608         (TEST_FLOAT): Likewise.
1609         (TEST_MATHVEC): Likewise.
1610         (TEST_INLINE): Likewise.
1611         (__NO_MATH_INLINES): Likewise.
1612         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1613         and test-math-scalar.h.
1614         (FUNC): Remove macro.
1615         (FUNC_TEST): Likewise.
1616         (FLOAT): Likewise.
1617         (MATHCONST): Likewise.
1618         (PRINTF_EXPR): Likewise.
1619         (PRINTF_XEXPR): Likewise.
1620         (PRINTF_NEXPR): Likewise.
1621         (TEST_LDOUBLE): Likewise.
1622         (TEST_MATHVEC): Likewise.
1623         (TEST_INLINE): Likewise.
1624         (__NO_MATH_INLINES): Likewise.
1625         * math/test-ldouble.c: Include test-ldouble.h,
1626         test-math-no-inline.h and test-math-scalar.h.
1627         (FUNC): Remove macro.
1628         (FUNC_TEST): Likewise.
1629         (FLOAT): Likewise.
1630         (MATHCONST): Likewise.
1631         (PRINTF_EXPR): Likewise.
1632         (PRINTF_XEXPR): Likewise.
1633         (PRINTF_NEXPR): Likewise.
1634         (TEST_LDOUBLE): Likewise.
1635         (TEST_MATHVEC): Likewise.
1636         (__NO_MATH_INLINES): Likewise.
1637         * math/test-double-vlen2.h: Include test-double.h,
1638         test-math-no-inline.h and test-math-vector.h.
1639         (FLOAT): Remove macro.
1640         (FUNC): Likewise.
1641         (MATHCONST): Likewise.
1642         (PRINTF_EXPR): Likewise.
1643         (PRINTF_XEXPR): Likewise.
1644         (PRINTF_NEXPR): Likewise.
1645         (TEST_DOUBLE): Likewise.
1646         (TEST_MATHVEC): Likewise.
1647         (__NO_MATH_INLINES): Likewise.
1648         (CNCT): Likewise.
1649         (CONCAT): Likewise.
1650         (WRAPPER_NAME): Likewise.
1651         (WRAPPER_DECL): Likewise.
1652         (WRAPPER_DECL_ff): Likewise.
1653         (WRAPPER_DECL_fFF): Likewise.
1654         (VECTOR_WRAPPER): Likewise.
1655         (VECTOR_WRAPPER_ff): Likewise.
1656         (VECTOR_WRAPPER_fFF): Likewise.
1657         (VEC_LEN): New macro.
1658         * math/test-double-vlen4.h: Include test-double.h,
1659         test-math-no-inline.h and test-math-vector.h.
1660         (FLOAT): Remove macro.
1661         (FUNC): Likewise.
1662         (MATHCONST): Likewise.
1663         (PRINTF_EXPR): Likewise.
1664         (PRINTF_XEXPR): Likewise.
1665         (PRINTF_NEXPR): Likewise.
1666         (TEST_DOUBLE): Likewise.
1667         (TEST_MATHVEC): Likewise.
1668         (__NO_MATH_INLINES): Likewise.
1669         (CNCT): Likewise.
1670         (CONCAT): Likewise.
1671         (WRAPPER_NAME): Likewise.
1672         (WRAPPER_DECL): Likewise.
1673         (WRAPPER_DECL_ff): Likewise.
1674         (WRAPPER_DECL_fFF): Likewise.
1675         (VECTOR_WRAPPER): Likewise.
1676         (VECTOR_WRAPPER_ff): Likewise.
1677         (VECTOR_WRAPPER_fFF): Likewise.
1678         (VEC_LEN): New macro.
1679         * math/test-double-vlen8.h: Include test-double.h,
1680         test-math-no-inline.h and test-math-vector.h.
1681         (FLOAT): Remove macro.
1682         (FUNC): Likewise.
1683         (MATHCONST): Likewise.
1684         (PRINTF_EXPR): Likewise.
1685         (PRINTF_XEXPR): Likewise.
1686         (PRINTF_NEXPR): Likewise.
1687         (TEST_DOUBLE): Likewise.
1688         (TEST_MATHVEC): Likewise.
1689         (__NO_MATH_INLINES): Likewise.
1690         (CNCT): Likewise.
1691         (CONCAT): Likewise.
1692         (WRAPPER_NAME): Likewise.
1693         (WRAPPER_DECL): Likewise.
1694         (WRAPPER_DECL_ff): Likewise.
1695         (WRAPPER_DECL_fFF): Likewise.
1696         (VECTOR_WRAPPER): Likewise.
1697         (VECTOR_WRAPPER_ff): Likewise.
1698         (VECTOR_WRAPPER_fFF): Likewise.
1699         (VEC_LEN): New macro.
1700         * math/test-float-vlen4.h: Include test-float.h,
1701         test-math-no-inline.h and test-math-vector.h.
1702         (FLOAT): Remove macro.
1703         (FUNC): Likewise.
1704         (MATHCONST): Likewise.
1705         (PRINTF_EXPR): Likewise.
1706         (PRINTF_XEXPR): Likewise.
1707         (PRINTF_NEXPR): Likewise.
1708         (TEST_FLOAT): Likewise.
1709         (TEST_MATHVEC): Likewise.
1710         (__NO_MATH_INLINES): Likewise.
1711         (CNCT): Likewise.
1712         (CONCAT): Likewise.
1713         (WRAPPER_NAME): Likewise.
1714         (WRAPPER_DECL): Likewise.
1715         (WRAPPER_DECL_ff): Likewise.
1716         (WRAPPER_DECL_fFF): Likewise.
1717         (VECTOR_WRAPPER): Likewise.
1718         (VECTOR_WRAPPER_ff): Likewise.
1719         (VECTOR_WRAPPER_fFF): Likewise.
1720         (VEC_LEN): New macro.
1721         * math/test-float-vlen8.h: Include test-float.h,
1722         test-math-no-inline.h and test-math-vector.h.
1723         (FLOAT): Remove macro.
1724         (FUNC): Likewise.
1725         (MATHCONST): Likewise.
1726         (PRINTF_EXPR): Likewise.
1727         (PRINTF_XEXPR): Likewise.
1728         (PRINTF_NEXPR): Likewise.
1729         (TEST_FLOAT): Likewise.
1730         (TEST_MATHVEC): Likewise.
1731         (__NO_MATH_INLINES): Likewise.
1732         (CNCT): Likewise.
1733         (CONCAT): Likewise.
1734         (WRAPPER_NAME): Likewise.
1735         (WRAPPER_DECL): Likewise.
1736         (WRAPPER_DECL_ff): Likewise.
1737         (WRAPPER_DECL_fFF): Likewise.
1738         (VECTOR_WRAPPER): Likewise.
1739         (VECTOR_WRAPPER_ff): Likewise.
1740         (VECTOR_WRAPPER_fFF): Likewise.
1741         (VEC_LEN): New macro.
1742         * math/test-float-vlen16.h: Include test-float.h,
1743         test-math-no-inline.h and test-math-vector.h.
1744         (FLOAT): Remove macro.
1745         (FUNC): Likewise.
1746         (MATHCONST): Likewise.
1747         (PRINTF_EXPR): Likewise.
1748         (PRINTF_XEXPR): Likewise.
1749         (PRINTF_NEXPR): Likewise.
1750         (TEST_FLOAT): Likewise.
1751         (TEST_MATHVEC): Likewise.
1752         (__NO_MATH_INLINES): Likewise.
1753         (CNCT): Likewise.
1754         (CONCAT): Likewise.
1755         (WRAPPER_NAME): Likewise.
1756         (WRAPPER_DECL): Likewise.
1757         (WRAPPER_DECL_ff): Likewise.
1758         (WRAPPER_DECL_fFF): Likewise.
1759         (VECTOR_WRAPPER): Likewise.
1760         (VECTOR_WRAPPER_ff): Likewise.
1761         (VECTOR_WRAPPER_fFF): Likewise.
1762         (VEC_LEN): New macro.
1763         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1764         test-vec-loop.h.
1765         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1766         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1767         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1768         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1769         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1770         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1771         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1773 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1775         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1776         (__getlogin_r): ... this.
1778 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1780         [BZ #18594]
1781         * math/s_ccosh.c (__ccosh): Compare with least normal value
1782         instead of comparing class with FP_SUBNORMAL.
1783         * math/s_ccoshf.c (__ccoshf): Likewise.
1784         * math/s_ccoshl.c (__ccoshl): Likewise.
1785         * math/s_cexp.c (__cexp): Likewise.
1786         * math/s_cexpf.c (__cexpf): Likewise.
1787         * math/s_cexpl.c (__cexpl): Likewise.
1788         * math/s_csin.c (__csin): Likewise.
1789         * math/s_csinf.c (__csinf): Likewise.
1790         * math/s_csinh.c (__csinh): Likewise.
1791         * math/s_csinhf.c (__csinhf): Likewise.
1792         * math/s_csinhl.c (__csinhl): Likewise.
1793         * math/s_csinl.c (__csinl): Likewise.
1794         * math/s_ctan.c (__ctan): Likewise.
1795         * math/s_ctanf.c (__ctanf): Likewise.
1796         * math/s_ctanh.c (__ctanh): Likewise.
1797         * math/s_ctanhf.c (__ctanhf): Likewise.
1798         * math/s_ctanhl.c (__ctanhl): Likewise.
1799         * math/s_ctanl.c (__ctanl): Likewise.
1800         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1801         csin, csinh, ctan and ctanh.
1802         * math/auto-libm-test-out: Regenerated.
1803         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1804         * sysdeps/i386/fpu/libm-test-ulps: Update.
1805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1807 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1809         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1810         return value is wrong, print the expected value too.
1812 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1814         [BZ #18585]
1815         * elf/readlib.c (is_gdb_python_file): New.
1816         (process_file): Don't issue errors on filenames with -gdb.py
1817         suffix.
1819 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1821         * math/auto-libm-test-in: Add more tests of csin and csinh.
1822         * math/auto-libm-test-out: Regenerated.
1823         * math/libm-test.inc (csin_test_data): Remove tests moved to
1824         auto-libm-test-in.
1825         (csinh_test_data): Likewise.
1827         [BZ #18593]
1828         * math/s_csin.c (__csin): Negate before rather than after possibly
1829         overflowing multiplication.
1830         * math/s_csinf.c (__csinf): Likewise.
1831         * math/s_csinh.c (__csinh): Likewise.
1832         * math/s_csinhf.c (__csinhf): Likewise.
1833         * math/s_csinhl.c (__csinhl): Likewise.
1834         * math/s_csinl.c (__csinl): Likewise.
1835         * math/auto-libm-test-in: Add some tests of csin and csinh.
1836         * math/auto-libm-test-out: Regenerated.
1837         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1838         (csinh_test_data): Likewise.
1839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1841         [BZ #18586]
1842         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1843         underflow exception for small results.
1845 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1847         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1848         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1849         variable and included header.
1850         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1851         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1852         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1853         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1854         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1855         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1856         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1857         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1858         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1859         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1860         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1861         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1862         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1863         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1864         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1865         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1867 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1869         [BZ #16526]
1870         [BZ #16538]
1871         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1872         (__sin): Force underflow exception for arguments with small
1873         absolute value.
1874         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1875         (__kernel_sinf): Force underflow exception for arguments with
1876         small absolute value.
1877         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1878         (__kernel_sincosl): Force underflow exception for arguments with
1879         small absolute value.
1880         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1881         (__kernel_sinl): Force underflow exception for arguments with
1882         small absolute value.
1883         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1884         (__kernel_sincosl): Force underflow exception for arguments with
1885         small absolute value.
1886         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1887         (__kernel_sinl): Force underflow exception for arguments with
1888         small absolute value.
1889         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1890         (__kernel_sinl): Force underflow exception for arguments with
1891         small absolute value.
1892         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1893         (__kernel_sinf): Force underflow exception for arguments with
1894         small absolute value.
1895         * math/auto-libm-test-in: Add more tests of sin and sincos.
1896         * math/auto-libm-test-out: Regenerated.
1898         [BZ #18245]
1899         [BZ #18583]
1900         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1901         (__kernel_standard_l): Use feholdexcept and fesetenv around
1902         conversion to double instead of special-casing overflow and
1903         underflow.
1904         * math/libm-test.inc (fmod_test_data): Add more tests.
1905         (remainder_test_data): Likewise.
1906         (sqrt_test_data): Likewise.
1908 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1910         [BZ #17403]
1911         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1912         atomic_read_barrier, atomic_write_barrier): Define.
1913         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1914         atomic_read_barrier, atomic_write_barrier): Define.
1916 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1918         * math/Makefile [$(PERL) != no]
1919         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1920         dependency on libm-test.stmp below the inclusion of Rules.
1922 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1924         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1925         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1926         and included header.
1927         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1928         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1929         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1930         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1931         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1932         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1933         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1934         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1935         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1936         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1937         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1938         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1939         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1940         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1941         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1942         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1943         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1944         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1945         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1947 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1949         [BZ #18371]
1950         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1951         intermediate but not final result might underflow.
1952         * math/s_csqrtf.c (__csqrtf): Likewise.
1953         * math/s_csqrtl.c (__csqrtl): Likewise.
1954         * math/auto-libm-test-in: Add more tests of csqrt.
1955         * math/auto-libm-test-out: Regenerated.
1956         * sysdeps/i386/fpu/libm-test-ulps: Update.
1958         [BZ #18219]
1959         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1960         threshold on absolute value of exponent for which scaling is used.
1961         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1962         * math/auto-libm-test-in: Add more tests of exp2.
1963         * math/auto-libm-test-out: Regenerated.
1965 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1967         [BZ #17977]
1968         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1969         when initializing interface list, based on the bug analysis
1970         and the patch proposed by Eric Newton.
1971         * resolv/tst-res_hconf_reorder.c: New test.
1972         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1973         tst-res_hconf_reorder.
1974         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1975         and $(shared-thread-library).
1976         (tst-res_hconf_reorder-ENV): New variable.
1978         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1979         in comment.
1981 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1983         [BZ #16353]
1984         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1985         (__expm1): Force underflow exception for arguments with small
1986         absolute value.
1987         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1988         (__expm1f): Force underflow exception for arguments with small
1989         absolute value.
1990         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1991         (__expm1): Force underflow exception for arguments with small
1992         absolute value.
1993         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1994         (__expm1f): Force underflow exception for arguments with small
1995         absolute value.
1996         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1997         Check for small arguments before calling __expm1.
1998         * math/auto-libm-test-in: Do not mark underflow exceptions as
1999         possibly missing for bug 16353.
2000         * math/auto-libm-test-out: Regenerated.
2002 2015-06-22  Andreas Schwab  <schwab@suse.de>
2004         [BZ #18513]
2005         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2006         PTR queries.
2008 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2010         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2012         * string/strcoll_l.c: Remove unused struct element idxnow.
2014 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2016         [BZ #18569]
2017         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2018         underflow and return argument in case of subnormal argument.
2019         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2020         Likewise.
2021         * math/auto-libm-test-in: Add more tests of expm1.
2022         * math/auto-libm-test-out: Regenerated.
2024         [BZ #16361]
2025         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2026         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2027         tiny results.
2028         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2029         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2030         tiny results.
2031         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2032         mark underflow exceptions as possibly missing for bug 16361.
2033         * math/auto-libm-test-out: Regenerated.
2035 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2037         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2038         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2039         Remove variable.
2040         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2041         (test-xfail-XOPEN2K8/utmpx.h/conform).
2043         * conform/conformtest.pl ($xerrors): New variable.
2044         (note_error): New function.
2045         (compiletest): New argument $xfail.  Use not_error.
2046         (runtest): Likewise.
2047         (top level): Handle xfail- lines.  Update calls to compiletest and
2048         runtest.  Handle xfail- and optional- in headers listed with
2049         allow-header.
2050         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2051         (O_EXEC): Likewise.
2052         (O_SEARCH): Likewise.
2053         * conform/data/stropts.h-data (ioctl): Likewise.
2054         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2055         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2056         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2057         (msghdr.msg_controllen): Likewise.
2058         (cmsghdr.cmsg_len): Likewise.
2059         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2060         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2061         variable.
2062         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2063         (test-xfail-XPG4/stropts.h/conform): Likewise.
2064         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2065         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2066         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2067         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2068         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2069         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2070         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2071         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2072         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2073         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2074         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2075         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2076         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2077         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2078         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2079         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2080         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2081         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2082         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2084 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2086         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2087         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2088         definitions for proper unfolding of __MATHDECL_VEC.
2090 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2092         * benchtests/bench-strcoll.c:
2093         Include string.h.
2094         (main): Remove unused variable res.
2096 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2098         * timezone/Makefile (%/UTC %/Universal):
2099         Generate test-result files for UTC and Universal.
2101 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2103         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2105 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2107         [BZ #16350]
2108         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2109         for arguments with small absolute value.
2110         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2111         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2112         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2113         (__asinh): Force underflow exception for arguments with small
2114         absolute value.
2115         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2116         (__asinhf): Force underflow exception for arguments with small
2117         absolute value.
2118         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2119         (__asinhl): Force underflow exception for arguments with small
2120         absolute value.
2121         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2122         (__asinhl): Force underflow exception for arguments with small
2123         absolute value.
2124         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2125         (__asinhl): Force underflow exception for arguments with small
2126         absolute value.
2127         * math/auto-libm-test-in: Do not mark underflow exceptions as
2128         possibly missing for bug 16350.
2129         * math/auto-libm-test-out: Regenerated.
2131         * include/bits/ipc.h: Remove file.
2132         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2133         variable.
2134         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2135         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2136         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2137         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2138         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2139         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2140         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2141         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2142         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2144         * math/auto-libm-test-in: Remove spurious underflow allowance for
2145         tests of cexp.
2146         * math/auto-libm-test-out: Regenerated.
2148         [BZ #18558]
2149         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2150         unconditional definition.
2151         (MCAST_BLOCK_SOURCE): Likewise.
2152         (MCAST_UNBLOCK_SOURCE): Likewise.
2153         (MCAST_LEAVE_GROUP): Likewise.
2154         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2155         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2156         (MCAST_MSFILTER): Likewise.
2157         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2158         Remove variable.
2159         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2160         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2161         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2162         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2163         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2165 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2167         * NEWS: Mention addition of x86_64 vector sincosf.
2168         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2169         * math/test-float-vlen4.h: Likewise.
2170         * math/test-float-vlen8.h: Likewise.
2171         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2172         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2173         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2174         * sysdeps/x86_64/fpu/Versions: New versions added.
2175         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2176         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2177         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2178         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2180         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2181         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2182         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2183         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2184         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2185         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2186         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2187         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2188         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2189         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2190         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2191         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2192         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2193         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2194         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2195         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2196         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2197         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2198         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2200         * NEWS: Mention addition of x86_64 vector sincos.
2201         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2202         * math/math.h (__MATHDECL_VEC): New macro.
2203         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2204         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2205         declaration under condition.
2206         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2207         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2208         TEST_VEC_LOOP change.
2209         * math/test-double-vlen4.h: Likewise.
2210         * math/test-double-vlen8.h: Likewise.
2211         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2212         * math/test-float-vlen4.h: Likewise.
2213         * math/test-float-vlen8.h: Likewise.
2214         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2215         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2216         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2217         * sysdeps/x86_64/fpu/Versions: New versions added.
2218         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2219         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2220         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2221         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2222         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2223         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2224         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2225         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2226         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2227         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2228         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2229         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2230         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2231         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2232         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2233         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2234         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2235         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2236         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2238         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2239         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2240         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2241         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2243         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2244         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2245         redirections for powf.
2246         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2247         * sysdeps/x86_64/fpu/Versions: New versions added.
2248         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2249         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2250         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2251         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2252         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2253         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2254         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2255         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2256         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2257         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2258         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2259         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2260         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2261         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2262         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2263         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2264         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2265         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2266         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2267         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2268         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2269         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2270         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2271         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2272         * math/test-float-vlen16.h: Fixed 2 argument macro.
2273         * math/test-float-vlen4.h: Likewise.
2274         * math/test-float-vlen8.h: Likewise.
2275         * NEWS: Mention addition of x86_64 vector powf.
2277 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2279         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2280         and redefine.
2281         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2282         and redefine.
2283         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2284         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2285         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2287         [BZ #18553]
2288         * resource/getpriority.c (getpriority): Rename to __getpriority
2289         and define as weak alias of __getpriority.
2290         * resource/setpriority.c (setpriority): Rename to __setpriority
2291         and define as weak alias of __setpriority.
2292         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2293         __getpriority and define as weak alias of __getpriority.
2294         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2295         __setpriority and define as weak alias of __setpriority.
2296         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2297         strong name.
2298         (setpriority): Use __setpriority as strong name.
2299         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2300         __getpriority and define as weak alias of __getpriority.
2301         * include/sys/resource.h (__getpriority): Declare.  Use
2302         libc_hidden_proto.
2303         (__setpriority): Likewise.
2304         (getpriority): Don't use libc_hidden_proto.
2305         (setpriority): Likewise.
2306         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2307         getpriority.  Call __setpriority instead of setpriority.
2308         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2309         Remove variable.
2311         [BZ #18547]
2312         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2313         as weak alias of __getttynam.  Use prototype function definition.
2314         Call __setttyent, __getttyent and __endttyent instead of
2315         setttyent, getttyent and endttyent.
2316         (getttyent): Rename to __getttyent and define as weak alias of
2317         __getttyent.  Call __setttyent instead of setttyent.  Call
2318         __fgets_unlocked instead of fgets_unlocked.
2319         (setttyent): Rename to __setttyent and define as weak alias of
2320         __setttyent.
2321         (endttyent): Rename to __endttyent and define as weak alias of
2322         __endttyent.
2323         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2324         (__setttyent): Likewise.
2325         (__endttyent): Likewise.
2326         (getttyent): Don't use libc_hidden_proto.
2327         (setttyent): Likewise.
2328         (endttyent): Likewise.
2329         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2330         __endttyent instead of setttyent, getttyent and endttyent.
2331         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2332         Remove variable.
2334         [BZ #18546]
2335         * socket/recv.c (__recv): Use libc_hidden_def.
2336         * socket/socket.c (__socket): Likewise.
2337         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2338         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2339         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2340         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2341         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2342         libc_hidden_def.
2343         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2344         libc_hidden_weak.
2345         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2346         Use libc_hidden_proto.
2347         (__recv): Likewise.
2348         * socket/Versions (libc): Export __recv and __socket at version
2349         GLIBC_PRIVATE.
2350         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2351         instead of recv.
2352         (init_mq_netlink): Call __socket instead of socket.
2353         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2354         Remove variable.
2356         [BZ #18545]
2357         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2358         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2359         hidden_weak.
2360         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2361         define as alias of __mq_timedsend.  Use hidden_weak.
2362         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2363         __mq_timedsend as strong name.
2364         (mq_timedreceive): Use __mq_timedreceive as strong name.
2365         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2366         (__mq_timedreceive): Likewise.
2367         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2368         __mq_timedreceive instead of mq_timedreceive.
2369         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2370         instead of mq_timedsend.
2371         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2372         Remove variable.
2374         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2375         hidden_def and hidden_weak instead of libc_hidden_def and
2376         libc_hidden_weak.
2377         (top level): Refer to hidden_def in comment.
2378         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2379         macro.  Use it instead of libc_hidden_def.
2380         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2381         specify __GI_* name explicitly.
2382         (mq_timedreceive): Likewise.
2383         (mq_setattr): Likewise.
2385         [BZ #18544]
2386         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2387         __pthread_barrier_init and define as weak alias of
2388         __pthread_barrier_init.
2389         * sysdeps/sparc/nptl/pthread_barrier_init.c
2390         (pthread_barrier_init): Likewise.
2391         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2392         __pthread_barrier_wait and define as weak alias of
2393         __pthread_barrier_wait.
2394         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2395         (pthread_barrier_wait): Likewise.
2396         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2397         (pthread_barrier_wait): Likewise.
2398         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2399         (pthread_barrier_wait): Likewise.
2400         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2401         (pthread_barrier_wait): Likewise.
2402         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2403         __pthread_barrier_wait at version GLIBC_PRIVATE.
2404         * include/pthread.h (__pthread_barrier_init): Declare.
2405         (__pthread_barrier_wait): Likewise.
2406         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2407         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2408         (helper_thread): Likewise.
2409         (init_mq_netlink): Call __pthread_barrier_init instead of
2410         pthread_barrier_init.
2412         [BZ #18542]
2413         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2414         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2415         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2416         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2417         vswscanf.
2418         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2419         Remove variable.
2421         [BZ #18540]
2422         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2423         strong alias of _IO_fflush.  Use libc_hidden_def.
2424         * libio/iofflush_u.c (fflush_unlocked): Rename to
2425         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2426         Use libc_hidden_weak.
2427         * include/stdio.h (__fflush_unlocked): Declare.  Use
2428         libc_hidden_proto.
2429         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2430         fflush_unlocked.
2431         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2432         Remove variable.
2434         [BZ #18539]
2435         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2436         define as weak alias of __addseverity.
2437         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2438         Remove variable.
2439         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2440         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2441         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2443         [BZ #18536]
2444         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2445         (__tfind): Likewise.
2446         (__tdelete): Likewise.
2447         (__twalk): Likewise.
2448         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2449         __twalk to GLIBC_PRIVATE.
2450         * include/search.h (__tsearch): Use libc_hidden_proto.
2451         (__tfind): Likewise.
2452         (__tdelete): Likewise.
2453         (__twalk): Likewise.
2454         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2455         Call __tdelete instead of tdelete.
2456         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2457         tfind.  Call __tsearch instead of tsearch.
2458         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2459         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2460         Remove variable.
2461         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2463         [BZ #18534]
2464         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2465         (dprintf): Define as a weak alias of __dprintf, not a strong
2466         alias.
2467         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2468         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2469         dprintf.
2470         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2471         Remove variable.
2472         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2473         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2475         [BZ #18533]
2476         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2477         not a strong alias.
2478         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2479         Remove variable.
2481         [BZ #18532]
2482         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2483         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2484         (in6addr_loopback): Rename to __in6addr_loopback and define as
2485         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2486         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2487         libc_hidden_proto.
2488         (__in6addr_any): Likewise.
2489         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2490         in6addr_any.
2491         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2492         variable.
2493         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2495 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2497         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2498         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2499         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2500         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2501         redirections for pow.
2502         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2503         * sysdeps/x86_64/fpu/Versions: New versions added.
2504         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2505         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2506         build of SSE, AVX2 and AVX512 IFUNC versions.
2507         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2508         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2509         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2510         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2511         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2512         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2513         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2514         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2515         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2516         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2517         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2518         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2519         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2520         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2521         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2522         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2523         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2524         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2525         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2526         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2527         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2528         * NEWS: Mention addition of x86_64 vector pow.
2530         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2531         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2532         redirections for expf.
2533         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2534         * sysdeps/x86_64/fpu/Versions: New versions added.
2535         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2536         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2537         build of SSE, AVX2 and AVX512 IFUNC versions.
2538         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2539         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2540         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2541         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2542         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2543         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2544         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2545         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2546         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2547         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2548         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2549         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2550         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2551         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2552         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2553         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2554         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2555         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2556         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2557         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2558         * NEWS: Mention addition of x86_64 vector expf.
2560         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2561         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2562         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2563         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2564         redirections for exp.
2565         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2566         * sysdeps/x86_64/fpu/Versions: New versions added.
2567         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2568         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2569         build of SSE, AVX2 and AVX512 IFUNC versions.
2570         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2571         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2572         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2573         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2574         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2575         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2576         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2577         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2578         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2579         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2580         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2581         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2582         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2583         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2584         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2585         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2586         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2587         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2588         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2589         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2590         * NEWS: Mention addition of x86_64 vector exp.
2592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2593         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2594         redirections for logf.
2595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2596         * sysdeps/x86_64/fpu/Versions: New versions added.
2597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2599         build of SSE, AVX2 and AVX512 IFUNC versions.
2600         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2601         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2602         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2603         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2604         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2605         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2606         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2607         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2608         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2609         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2610         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2611         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2612         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2613         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2614         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2615         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2616         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2617         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2618         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2619         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2620         * NEWS: Mention addition of x86_64 vector logf.
2622         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2623         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2624         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2625         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2626         redirections for log.
2627         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2628         * sysdeps/x86_64/fpu/Versions: New versions added.
2629         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2630         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2631         build of SSE, AVX2 and AVX512 IFUNC versions.
2632         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2633         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2634         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2635         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2636         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2637         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2638         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2639         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2640         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2641         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2642         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2643         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2644         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2645         test.
2646         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2647         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2648         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2649         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2650         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2651         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2652         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2653         * NEWS: Mention addition of x86_64 vector log.
2655 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2657         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2658         cfi_adjust_cfa_offset argument.
2659         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2660         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2662         [BZ #18034]
2663         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2664         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2665         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2666         ordering using ldar.
2667         (_dl_tlsdesc_dynamic): Likewise.
2668         (_dl_tlsdesc_return_lazy): Likewise.
2669         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2670         relaxed atomics instead of volatile and synchronize with release store.
2671         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2672         volatile.
2673         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2675 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2677         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2678         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2679         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2680         * sysdeps/x86_64/fpu/Versions: New versions added.
2681         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2682         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2683         build of SSE, AVX2 and AVX512 IFUNC versions.
2684         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2685         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2686         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2687         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2688         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2689         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2690         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2691         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2692         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2693         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2694         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2695         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2696         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2697         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2698         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2699         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2700         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2701         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2702         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2703         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2704         * NEWS: Mention addition of x86_64 vector sinf.
2706 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2708         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2709         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2710         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2711         Remove variable.
2712         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2713         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2715 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2717         [BZ #18530]
2718         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2719         strong alias of _IO_fputs.  Use libc_hidden_def.
2720         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2721         and define as weak alias of __fputs_unlocked.  Use
2722         libc_hidden_weak.
2723         * include/stdio.h (__fputs_unlocked): Declare.  Use
2724         libc_hidden_proto.
2725         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2726         fputs_unlocked.
2728         [BZ #18529]
2729         * resolv/netdb.h [__USE_POSIX]: Change condition to
2730         [__USE_XOPEN2K].
2731         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2732         not expect.
2733         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2734         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2735         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2736         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2737         [XPG4 || UNIX98] (AI_ALL): Likewise.
2738         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2739         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2740         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2741         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2742         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2743         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2744         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2745         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2746         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2747         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2748         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2749         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2750         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2751         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2752         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2753         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2754         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2755         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2756         [XPG4 || UNIX98] (gai_strerror): Likewise.
2757         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2758         [XPG4 || UNIX98] (getnameinfo): Likewise.
2760         [BZ #18528]
2761         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2762         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2763         __USE_XOPEN2K8].
2764         (getgrent): Likewise.
2765         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2766         expect.
2767         [XPG3 || POSIX2008] (endgrent): Likewise.
2768         [XPG3] (setgrent): Likewise.
2769         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2770         variable.
2771         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2773         [BZ #18527]
2774         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2775         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2776         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2777         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2778         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2779         * include/unistd.h (__getlogin_r): Declare.  Use
2780         libc_hidden_proto.
2781         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2782         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2783         variable.
2784         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2785         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2786         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2788 2015-06-12  Martin Sebor  <msebor@redhat.com>
2790         [BZ #18512]
2791         * Makerules (check-install-supported): New target.
2792         (install): Add check-install-supported as a dependency.
2793         * manual/install.texi (Installing the C Library): Document
2794         that overriding prefix and exec_prefix is not supported.
2795         Mention DESTDIR.
2796         * INSTALL: Regenerate from the above.
2798 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2800         [BZ #18519]
2801         * posix/Versions (libc): Export __libc_pread at version
2802         GLIBC_PRIVATE.
2803         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2804         instead of pread.
2805         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2806         variable.
2808         [BZ #18522]
2809         * misc/efgcvt_r.c
2810         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2811         (cvt_symbol): Use weak_alias instead of strong_alias.
2812         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2813         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2814         Remove variable.
2815         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2816         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2818         [BZ #18520]
2819         * inet/herrno.c (h_errno): Rename to __h_errno.
2820         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2821         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2822         to __h_errno instead of h_errno.
2823         * nptl/herrno.c (h_errno): Rename to __h_errno.
2824         (__h_errno_location): Refer to __h_errno not h_errno.
2825         * resolv/Versions (h_errno): Rename to __h_errno.
2826         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2827         Remove variable.
2828         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2830 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2832         * configure.ac: More strict check for AVX512 assembler support.
2833         * configure: Regenerated.
2835         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2836         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2837         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2838         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2839         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2840         * sysdeps/x86_64/fpu/Versions: New versions added.
2841         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2842         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2843         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2844         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2845         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2846         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2847         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2848         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2850         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2851         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2852         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2853         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2854         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2855         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2856         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2857         test.
2858         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2859         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2860         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2861         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2862         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2863         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2864         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2865         * NEWS: Mention addition of x86_64 vector sin.
2867 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2869         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2870         comment.
2872 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2874         [BZ #18479]
2875         * nptl/pt-interp.c: New file.
2876         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2877         Add pt-interp.
2878         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2879         $(common-objpfx)runtime-linker.h.
2881 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2883         * Makeconfig (+interp): Remove unused variable.
2884         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2885         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2886         $(elf-objpfx)runtime-linker.h.
2887         ($(elf-objpfx)runtime-linker.h): Rename to
2888         $(common-objpfx)runtime-linker.h and move ...
2889         * Makerules [$(build-shared) = yes]: ... here.
2890         * elf/interp.c: Include <runtime-linker.h> instead of
2891         <elf/runtime-linker.h>.
2893 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2895         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2896         (__gettimeofday_syscall): Remove vsyscall fallback.
2897         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2898         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2899         Add syscall fallback function.
2900         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2901         if vDSO is not present.
2902         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2903         fallback function.
2904         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2905         present.
2906         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2907         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2909 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2911         [BZ #18497]
2912         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2913         of wcscmp.
2914         (wcscmp): Define as weak alias of WCSCMP.
2915         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2916         wcscoll.
2917         (USE_HIDDEN_DEF): Define.
2918         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2919         __wcscoll.  Don't use libc_hidden_weak.
2920         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2921         wcscmp.
2922         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2923         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2924         __GI_wcscmp.
2925         (weak_alias): Undefine and redefine.
2926         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2927         __wcscmp and define as weak alias of __wcscmp.
2928         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2929         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2930         (__wcscoll): Likewise.
2931         (wcscmp): Don't use libc_hidden_proto.
2932         (wcscoll): Likewise.
2933         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2934         wcscoll.
2935         * posix/regexec.c (check_node_accept_bytes): Likewise.
2936         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2937         variable.
2938         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2939         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2941         [BZ #18507]
2942         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2943         __fstatvfs and define as weak alias of __fstatvfs.  Use
2944         libc_hidden_weak.
2945         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2946         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2947         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2948         Define as alias of __fstatvfs, not fstatvfs.
2949         (fstatvfs64): Likewise.
2950         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2951         Define as alias of __statvfs, not statvfs.
2952         (statvfs64): Likewise.
2953         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2954         Remove variable.
2956 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2959         (HAVE_GETCPU_VSYSCALL): Define.
2960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2961         (HAVE_GETCPU_VSYSCALL): Likewise.
2962         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2963         * sysdeps/unix/sysv/linux/sched_getcpu.c
2964         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2965         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2966         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2967         prototype.
2968         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2969         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2970         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2971         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2972         Define.
2973         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2974         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2975         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2976         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2978 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2980         * sysdeps/x86_64/fpu/Makefile: New file.
2981         * sysdeps/x86_64/fpu/Versions: New file.
2982         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2983         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2984         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2985         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2986         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2987         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2988         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2989         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2990         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2991         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2992         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2993         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2994         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2995         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2996         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2997         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2998         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2999         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3000         * sysdeps/x86_64/configure: Regenerated.
3001         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3002         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3003         * manual/install.texi (Configuring and compiling): Document
3004         --disable-mathvec.
3005         * INSTALL: Regenerated.
3006         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3008         * math/Makefile: Added rules for vector tests.
3009         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3010         declaration under condition.
3011         * math/test-double-vlen2.h: New file.
3012         * math/test-double-vlen4.h: New file.
3013         * math/test-double-vlen8.h: New file.
3014         * math/test-vec-loop.h: Added initialization macro.
3015         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3017         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3018         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3019         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3020         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3021         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3022         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3023         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3024         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3025         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3027         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3028         * sysdeps/x86_64/fpu/Versions: New versions added.
3029         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3030         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3031         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3032         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3033         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3034         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3035         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3036         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3037         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3038         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3039         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3040         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3041         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3042         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3043         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3044         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3045         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3046         * NEWS: Mention addition of x86_64 vector cosf.
3048         * math/Makefile: Added CFLAGS for new tests.
3049         * math/test-float-vlen16.h: New file.
3050         * math/test-float-vlen4.h: New file.
3051         * math/test-float-vlen8.h: New file.
3052         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3053         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3054         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3055         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3056         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3057         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3058         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3059         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3060         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3061         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3062         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3064 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3066         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3067         * locale/programs/ld-ctype.c: Likewise.
3069 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3071         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3072         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3073         bit_ZMM16_31_state): New macro.
3074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3075         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3077 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3079         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3081 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3083         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3085 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3087         [BZ #18498]
3088         * libio/memstream.c (open_memstream): Rename to __open_memstream
3089         and define as weak alias of __open_memstream.
3090         * include/stdio.h (__open_memstream): Declare.  Use
3091         libc_hidden_proto.
3092         (open_memstream): Don't use libc_hidden_proto.
3093         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3094         open_memstream.
3095         * posix/getopt.c (_getopt_internal_r): Likewise.
3096         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3097         variable.
3098         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3099         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3100         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3102         [BZ #18496]
3103         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3104         instead of wcrtomb.
3106         [BZ #18483]
3107         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3108         [__USE_XOPEN2K8].  Remove redundant #endif.
3109         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3110         Remove redundant #if.
3111         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3112         Remove variable.
3113         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3114         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3116         [BZ #18495]
3117         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3118         (__iswlower): Likewise.
3119         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3120         (__iswlower): Likewise.
3121         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3122         instead of towlower.
3123         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3124         instead of iswlower.  Call __towupper instead of towupper.
3125         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3126         instead of iswalnum.
3128 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3130         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3131         errors to stderr.
3133 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3135         [BZ #15661]
3136         [BZ #17322]
3137         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3138         Check for overflow properly.  Check for O_APPEND.  Ignore large
3139         file system block sizes.  Add comments about problems.
3140         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3141         * manual/filesys.texi (Storage Allocation): New node.
3143 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3145         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3146         cancellable syscalls.
3147         (SYS_ify): Add guard to no redefine it.
3148         (INLINE_SYSCALL): Likewise.
3149         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3150         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3151         SYSCALL_CANCEL instead.
3152         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3153         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3154         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3155         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3156         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3157         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3158         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3159         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3160         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3161         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3162         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3163         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3164         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3165         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3166         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3167         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3168         Likewise.
3169         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3170         (__libc_pread64): Likewise.
3171         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3172         (__libc_preadv): Likewise.
3173         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3174         (__libc_readv64): Likewise.
3175         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3176         (__libc_pwrite): Likewise.
3177         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3178         (__libc_pwrite64): Likewise.
3179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3180         (__libc_pwritev): Likewise.
3181         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3182         (__libc_pwritev64): Likewise.
3183         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3184         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3185         (sync_file_range): Likewise.
3186         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3187         Likewise.
3188         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3189         Likewise.
3190         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3191         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3192         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3193         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3194         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3195         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3196         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3197         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3199         Likewise.
3200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3201         (__libc_read64): Likewise.
3202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3203         Likewise.
3204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3205         Likewise.
3206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3207         Likewise.
3208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3209         Likewise.
3210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3211         (__libc_pread64): Likewise.
3212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3213         Likewise.
3214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3215         (__libc_pwrite64): Likewise.
3216         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3217         (sync_file_range): Likewise.
3218         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3219         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3220         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3221         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3222         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3223         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3224         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3225         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3226         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3227         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3228         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3229         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3230         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3231         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3232         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3233         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3234         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3235         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3236         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3237         Likewise.
3238         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3239         Likewise.
3240         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3241         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3242         Likewise.
3243         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3244         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3245         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3246         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3247         Likewise.
3248         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3249         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3250         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3251         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3252         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3254 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3256         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3257         Include dl-vdso.
3258         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3259         Use VDSO routines for gettimeofday, clock_gettime if
3260         available.
3261         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3262         Declare VDSO symbols.
3263         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3264         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3265         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3266         * sysdeps/unix/sysv/linux/arm/Versions: Add
3267         __vdso_clock_gettime.
3269 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3271         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3272         be an inline implementation regardless of library is built within.
3273         (open_not_cancel_2): Likewise.
3274         (__read_nocancel): Likewise.
3275         (__write_nocancel): Likewise.
3276         (openat_not_cancel): Likewise.
3277         (openat_not_cancel_3): Likewise.
3278         (openat64_not_cancel): Likewise.
3279         (openat64_not_cancel_3): Likewise.
3280         (__close_nocancel): Likewise.
3281         (pause_not_cancel): Likewise.
3282         (nanosleep_not_cancel): Likewise.
3283         (sigsuspend_not_cancel): Likewise.
3285 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3287         [BZ #14958]
3288         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3289         wake-up.
3290         (__pthread_rwlock_rdlock_slow): Likewise.
3291         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3292         Likewise.
3293         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3294         Likewise.
3295         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3296         * nptl/tst-rwlock16.c: New file.
3297         * nptl/Makefile (tests): Add new test.
3299 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3301         [BZ #18324]
3302         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3303         missing wake-up of readers.
3304         * nptl/tst-rwlock15.c: New file.
3305         * nptl/Makefile (tests): Add new test.
3307 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3309         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3310         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3311         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3312         and __nacl_supply_interface_rtld.
3313         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3314         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3315         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3316         Add __nacl_supply_interface_rtld.
3317         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3319 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3321         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3322         isfinite.
3323         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3324         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3326 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3328         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3329         __signbit* with standard C99 macros.
3330         * math/e_exp10l.c: Likewise.
3331         * math/e_exp2l.c: Likewise.
3332         * math/e_scalb.c: Likewise.
3333         * math/e_scalbf.c: Likewise.
3334         * math/e_scalbl.c: Likewise.
3335         * math/s_ldexp.c: Likewise.
3336         * math/s_ldexpf.c: Likewise.
3337         * math/s_ldexpl.c: Likewise.
3338         * math/w_atan2.c: Likewise.
3339         * math/w_atan2f.c: Likewise.
3340         * math/w_atan2l.c: Likewise.
3341         * math/w_cosh.c: Likewise.
3342         * math/w_coshf.c: Likewise.
3343         * math/w_coshl.c: Likewise.
3344         * math/w_exp10.c: Likewise.
3345         * math/w_exp10f.c: Likewise.
3346         * math/w_exp10l.c: Likewise.
3347         * math/w_exp2.c: Likewise.
3348         * math/w_exp2f.c: Likewise.
3349         * math/w_exp2l.c: Likewise.
3350         * math/w_fmod.c: Likewise.
3351         * math/w_fmodf.c: Likewise.
3352         * math/w_fmodl.c: Likewise.
3353         * math/w_hypot.c: Likewise.
3354         * math/w_hypotf.c: Likewise.
3355         * math/w_hypotl.c: Likewise.
3356         * math/w_jnl.c: Likewise.
3357         * math/w_lgamma.c: Likewise.
3358         * math/w_lgamma_r.c: Likewise.
3359         * math/w_lgammaf.c: Likewise.
3360         * math/w_lgammaf_r.c: Likewise.
3361         * math/w_lgammal.c: Likewise.
3362         * math/w_lgammal_r.c: Likewise.
3363         * math/w_pow.c: Likewise.
3364         * math/w_powf.c: Likewise.
3365         * math/w_powl.c: Likewise.
3366         * math/w_remainder.c: Likewise.
3367         * math/w_remainderf.c: Likewise.
3368         * math/w_remainderl.c: Likewise.
3369         * math/w_scalb.c: Likewise.
3370         * math/w_scalbf.c: Likewise.
3371         * math/w_scalbl.c: Likewise.
3372         * math/w_scalbln.c: Likewise.
3373         * math/w_scalblnf.c: Likewise.
3374         * math/w_scalblnl.c: Likewise.
3375         * math/w_sinh.c: Likewise.
3376         * math/w_sinhf.c: Likewise.
3377         * math/w_sinhl.c: Likewise.
3378         * math/w_tgamma.c: Likewise.
3379         * math/w_tgammaf.c: Likewise.
3380         * math/w_tgammal.c: Likewise.
3381         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3382         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3383         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3384         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3385         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3386         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3387         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3388         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3389         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3390         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3391         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3392         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3393         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3394         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3395         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3396         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3397         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3398         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3399         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3400         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3401         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3402         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3403         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3404         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3405         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3406         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3407         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3408         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3409         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3410         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3411         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3412         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3413         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3414         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3415         * stdio-common/printf_fp.c: Likewise.
3416         * stdio-common/printf_fphex.c: Likewise.
3417         * stdio-common/printf_size.c: Likewise.
3419 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3421         [BZ #18470]
3422         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3423         strnlen.
3424         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3425         Remove variable.
3426         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3427         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3428         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3429         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3430         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3431         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3432         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3433         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3434         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3435         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3437         [BZ #18468]
3438         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3439         weak alias of __wmemchr.  Use libc_hidden_weak.
3440         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3441         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3442         instead of wmemchr.
3444 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3446         [BZ #18383]
3447         * elf/tst-tlsalign-extern.c: New file.
3448         * elf/tst-tlsalign-extern-static.c: New file.
3449         * elf/tst-tlsalign-vars.c: New file.
3450         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3451         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3452         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3453         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3454         (test-xfail-tst-tlsalign-extern-static): New variable.
3456 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3458         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3459         Use variable name _sc_err instead of err.
3460         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3461         instead of ret.
3462         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3463         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3464         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3465         (INLINE_SYSCALL): Likewise.
3467         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3468         * include/string.h (__strnlen): Use libc_hidden_proto.
3469         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3470         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3471         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3472         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3473         (libc_hidden_def): Undefine and redefine.
3474         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3475         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3476         __GI_strnlen.
3477         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3478         libc_hidden_def.
3479         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3481         [BZ #18469]
3482         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3483         weak alias of __towlower.  Use libc_hidden_weak.
3484         (towupper): Rename to __towupper and define as weak alias of
3485         __towupper.  Use libc_hidden_weak.
3486         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3487         (__towupper): Likewise.
3488         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3489         __towlower instead of towlower.
3491 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3493         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3494         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3496 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3498         * sysdeps/aarch64/libm-test-ulps: Update.
3500 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3502         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3503         Define.
3504         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3505         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3506         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3507         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3508         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3509         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3510         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3512 2015-06-01  Martin Sebor  <msebor@redhat.com>
3514         [BZ #18116]
3515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3516         (__setcontext): Use extended four-operand version of mtsf whenever
3517         possible.
3518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3519         (__novec_swapcontext): Likewise.
3521 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3523         * benchtests/scripts/compare_bench.py: New file.
3524         * benchtests/scripts/import_bench.py (mean): New function.
3525         (split_list): Likewise.
3526         (do_for_all_timings): Likewise.
3527         (compress_timings): Likewise.
3529         * benchtests/scripts/import_bench.py: New file.
3530         * benchtests/scripts/validate_benchout.py: Import import_bench
3531         instead of jsonschema.
3532         (validate_bench): Remove function.
3533         (main): Use import_bench.
3535 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3537         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3538         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3540 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3544 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3546         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3547         set THREAD_SELF->tid to a magic value and futex-wake it.
3548         Pass its address to the thread_exit system call.
3549         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3550         bit is clear.
3551         * sysdeps/nacl/lowlevellock.h: New file.
3552         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3554         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3555         Add TIMEOUT to current time, don't subtract it.
3557 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3559         [BZ #2981]
3560         [BZ #18422]
3561         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3562         ($(objpfx)tst-audit2.out): Also depend on
3563         $(objpfx)tst-auditmod9b.so.
3564         * elf/tst-audit2.c: Include <dlfcn.h>.
3565         (calloc_called): New.
3566         (calloc): Allow to be called more than once.
3567         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3569 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3571         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3572         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3574 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3576         * stdlib/monetary.h: Fix comment.
3578 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3580         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3581         Avoid using variables in #defines that might cause shadowing.
3582         (INTERNAL_VSYSCALL_CALL): Likewise.
3584 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3586         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3588         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3589         * nptl/lll_timedlock_wait.c: ... to this new file.
3590         * nptl/Makefile (libpthread-routines): Add it.
3591         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3592         * nptl/lll_timedwait_tid.c: ... to this new file.
3593         * nptl/Makefile (libpthread-routines): Add it.
3594         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3595         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3596         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3597         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3598         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3599         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3600         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3601         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3602         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3603         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3605 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3607         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3608         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3609         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3610         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3611         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3612         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3613         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3614         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3615         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3616         * sysdeps/unix/sysv/linux/tile/sysdep.h
3617         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3618         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3619         using vDSO syscall macro.
3621 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3623         [BZ #17293]
3624         * uk_UA: Fix sorting order for Ukrainian locale
3626 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3628         * stdlib/monetary.h: Fix comment.
3630 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3632         [BZ #18234]
3633         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3634         st_mtim and st_ctim members.
3635         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3636         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3637         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3638         (struct stat64): Likewise.
3639         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3640         (struct stat64): Likewise.
3641         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3642         (struct stat64): Likewise.
3644 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3646         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3647         Define and include sysdep-vdso.h.
3648         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3649         Likewise.
3650         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3651         Likewise.
3652         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3653         Define with VDSO_SYMBOL and use PTR_MANGLE.
3654         (__vdso_clock_gettime): Likewise.
3655         (__vdso_clock_getres): Likewise.
3656         (_libc_vdso_platform_setup): Likewise.
3657         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3658         Likewise.
3659         (_libc_vdso_platform_setup): Likewise.
3660         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3661         Likewise.
3662         (__vdso_clock_gettime): Likewise.
3663         (__vdso_clock_getres): Likewise.
3664         (__vdso_get_tbfreq): Likewise.
3665         (__vdso_getcpu): Likewise.
3666         (__vdso_time): Likewise.
3667         (__vdso_sigtramp_rt64): Likewise.
3668         (__vdso_signtramp32): Likewise.
3669         (__vdso_sigtramp_rt32): Likewise.
3670         (_libc_vdso_platform_setup): Likewise.
3671         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3672         Likewise.
3673         (__vdso_clock_gettime): Likewise.
3674         (__vdso_clock_getres): Likewise.
3675         (_libc_vdso_platform_setup): Likewise.
3676         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3677         Likewise.
3678         (__vdso_clock_gettime): Likewise.
3679         (_libc_vdso_platform_setup): Likewise.
3680         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3681         Likewise.
3682         (__vdso_getcpu): Likewise.
3683         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3684         Use VDSO_SYMBOL macro to define.
3685         (__vdso_clock_gettime): Likewise.
3686         (__vdso_clock_getres): Likewise.
3687         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3688         Likewise.
3689         (__vdso_clock_gettime): Likewise.
3690         (__vdso_clock_getres): Likewise.
3691         (__vdso_get_tbfreq): Likewise.
3692         (__vdso_getcpu): Likewise.
3693         (__vdso_time): Likewise.
3694         (__vdso_sigtramp_rt64): Likewise.
3695         (__vdso_signtramp32): Likewise.
3696         (__vdso_sigtramp_rt32): Likewise.
3697         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3698         Likewise.
3699         (__vdso_clock_gettime): Likewise.
3700         (__vdso_clock_getres): Likewise.
3701         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3702         Likewise.
3703         (__vdso_clock_gettime): Likewise.
3704         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3705         Likewise.
3706         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3707         macro.
3708         (INTERNAL_VSYSCALL): Likewise.
3709         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3710         Remove macro.
3711         (INTERNAL_VSYSCALL): Likewise.
3712         (INTERNAL_VSYSCALL_NCS): Likewise.
3713         (INTERNAL_VSYSCALL_CALL): New macro.
3714         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3715         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3716         Likewise.
3717         (INTERNAL_VSYSCALL): Likewise.
3718         (INTERNAL_VSYSCALL_NCS): Likewise.
3719         (INTERNAL_VSYSCALL_CALL): New macro.
3720         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3722         (INLINE_VSYSCALL): Remove macro.
3723         (INTERNAL_VSYSCALL): Remove macro.
3724         (INTERNAL_VSYSCALL_NCS): Remove macro.
3725         (INTERNAL_VSYSCALL_CALL): New macro.
3726         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3727         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3728         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3729         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3730         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3732         (INLINE_VSYSCALL): Remove macro.
3733         (INTERNAL_VSYSCALL): Likewise.
3734         (INTERNAL_VSYSCALL_NCS): Likewise.
3735         (INTERNAL_VSYSCALL_CALL): New macro.
3736         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3737         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3738         PTR_DEMANGLE on vDSO pointer.
3739         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3740         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3741         macro.
3742         (INTERNAL_SYSCALL): Likewise.
3743         (INTERNAL_VSYSCALL_NCS): Remove macro.
3744         (INTERNAL_VSYSCALL_CALL): New macro.
3745         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3746         Remove macro.
3747         (INTERNAL_VSYSCALL): Likewise.
3748         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3749         sysdep-vdso.h instead of libc-vdso.h.
3750         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3751         definition.
3752         (INLINE_VSYSCALL): Likewise.
3753         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3754         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3755         definition.
3756         (INLINE_VSYSCALL): Likewise.
3757         (INTERNAL_VSYSCALL): Likewise.
3758         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3759         * sysdeps/unix/sysv/linux/timespec_get.c
3760         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3761         (timespec_get): Use ANSI prototype.
3762         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3763         and definition for Linux.
3765 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3767         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3768         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3770 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3772         [BZ #2981]
3773         [BZ #18410]
3774         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3775         for missing DT_PLTRELSZ.
3777 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3779         Remove obsolete aliases that broke 'locale -a'
3780         [BZ #18412]
3781         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3782         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3783         breaking some applications that use 'locale -a' output.
3784         Change the encoding of this file from Latin-1 to ASCII to avoid
3785         other potential problems with people grepping this file.
3787 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3789         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3790         -fasynchronous-unwind-tables.
3791         (CFLAGS-sendto.c): Likewise.
3792         (CFLAGS-sendmsg.c): Likewise.
3793         (CFLAGS-connect.c): Likewise.
3794         (CFLAGS-recvmsg.c): Likewise.
3795         (CFLAGS-recvfrom.c): Likewise.
3796         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3797         (SOCKETCALL): New macro: non-cancellable socketcall.
3798         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3799         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3800         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3801         * sysdeps/unix/sysv/linux/accept.c: New file.
3802         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3803         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3804         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3805         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3806         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3807         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3808         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3809         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3810         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3811         * sysdeps/unix/sysv/linux/send.c: Likewise.
3812         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3813         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3814         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3815         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3816         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3817         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3818         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3819         prototype.
3820         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3821         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3822         instead of __internal_xxx function.
3823         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3824         prototype.
3825         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3826         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3827         instead of __internal_xxx function.
3828         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3829         prototype.
3830         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3831         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3832         instead of __internal_xxx function.
3833         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3834         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3835         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3836         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3837         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3838         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3839         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3840         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3841         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3842         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3843         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3844         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3845         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3846         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3847         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3848         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3849         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3850         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3851         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3852         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3855         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3856         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3857         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3858         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3859         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3860         * sysdeps/unix/sysv/linux/send.S: Likewise.
3861         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3862         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3863         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3864         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3865         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3866         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3867         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3868         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3869         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3870         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3871         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3872         socketcall is implemented in GLIBC.
3874 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3876         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3877         (__fma): Ignore uninitialized warnings around packing.
3878         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3879         (__fmaf): Ignore uninitialized warnings around packing.
3880         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3881         (__fmal): Ignore uninitialized warnings around packing.
3883         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3884         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3885         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3886         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3888         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3889         switch statement into default case.
3890         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3892         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3893         a conditional in forcing "inexact".
3894         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3895         Likewise.
3897 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3899         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3900         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3901         for each INTERNAL_SYSCALL use.
3903 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3905         [BZ #438]
3906         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3907         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3908         variable.
3910         [BZ #18444]
3911         * string/basename.c (basename): Rename to __basename and define as
3912         weak alias of __basename.  Use libc_hidden_weak.
3913         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3914         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3915         __basename instead of basename.
3916         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3917         Remove variable.
3918         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3920 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3922         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3923         (_IO_JUMPS_FILE_plus): New.
3924         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3925         _IO_CAST_FIELD_ACCESS.
3926         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3927         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3928         * libio/freopen.c (freopen): Likewise.
3929         * libio/freopen64.c (freopen64): Likewise.
3930         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3931         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3932         * libio/iofwide.c (_IO_fwide): Likewise.
3933         * libio/memstream.c (open_memstream): Likewise.
3934         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3935         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3936         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3938 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3940         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3941         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3942         NADJ.
3943         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3944         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3945         NADJ.
3946         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3947         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3948         NADJ.
3950         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3951         (p == 4) case.
3953         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3954         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3955         Remove variable.
3956         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3957         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3958         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3960 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3962         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3963         Adjust jump table label generation macros.
3965 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3967         * stdio-common/vfprintf.c (vfprintf): Move local variables
3968         args_malloced, specs, specs_malloced, and the code after
3969         do_positional to the printf_positional function.
3970         (printf_positional): New function.
3972 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3974         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3975         function.
3976         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3977         STEP4_TABLE, process_arg): Move macro definitions
3978         out of the vfprintf function.  (Cosmetic change only.)
3980 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3982         * benchtests/Makefile (stdio-common-bench): Define.
3983         (benchset): Add stdio-common-bench.
3984         * sprintf-inputs: New file.
3985         * sprintf-source.c: New file.
3987 2015-05-21  Andreas Schwab  <schwab@suse.de>
3989         [BZ #13028]
3990         [BZ #17053]
3991         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3992         of struct __res_state.
3993         * resolv/res_send.c (__libc_res_nsend): Likewise.
3994         (get_nsaddr): New function.
3995         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3996         statp directly.
3998 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4000         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4001         -D_POSIX_C_SOURCE=199506L.
4003         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4005         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4006         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4007         Do not mention otherwise.
4008         [POSIX] (_XOPEN_VERSION): Do not expect.
4009         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4010         [POSIX] (_POSIX2_C_BIND): Likewise.
4011         [POSIX] (_POSIX2_VERSION): Likewise.
4012         [POSIX] (_XOPEN_XPG2): Likewise.
4013         [POSIX] (_XOPEN_XPG3): Likewise.
4014         [POSIX] (_XOPEN_XPG4): Likewise.
4015         [POSIX] (_XOPEN_UNIX): Likewise.
4016         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4017         [POSIX] (_POSIX_BARRIERS): Likewise.
4018         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4019         [POSIX] (_POSIX_CPUTIME): Likewise.
4020         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4021         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4022         [POSIX] (_POSIX_SHELL): Likewise.
4023         [POSIX] (_POSIX_SPAWN): Likewise.
4024         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4025         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4026         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4027         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4028         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4029         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4030         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4031         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4032         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4033         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4034         [POSIX] (_POSIX2_PBS): Likewise.
4035         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4036         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4037         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4038         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4039         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4040         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4041         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4042         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4043         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4044         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4045         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4046         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4047         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4048         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4049         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4050         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4051         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4052         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4053         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4054         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4055         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4056         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4057         [POSIX] (_SC_2_C_BIND): Likewise.
4058         [POSIX] (_SC_2_C_VERSION): Likewise.
4059         [POSIX] (_SC_2_PBS): Likewise.
4060         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4061         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4062         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4063         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4064         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4065         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4066         [POSIX] (_SC_BARRIERS): Likewise.
4067         [POSIX] (_SC_BASE): Likewise.
4068         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4069         [POSIX] (_SC_DEVICE_IO): Likewise.
4070         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4071         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4072         [POSIX] (_SC_FD_MGMT): Likewise.
4073         [POSIX] (_SC_FIFO): Likewise.
4074         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4075         [POSIX] (_SC_FILE_LOCKING): Likewise.
4076         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4077         [POSIX] (_SC_IOV_MAX): Likewise.
4078         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4079         [POSIX] (_SC_NETWORKING): Likewise.
4080         [POSIX] (_SC_PAGE_SIZE): Likewise.
4081         [POSIX] (_SC_PASS_MAX): Likewise.
4082         [POSIX] (_SC_PIPE): Likewise.
4083         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4084         [POSIX] (_SC_REGEXP): Likewise.
4085         [POSIX] (_SC_SHELL): Likewise.
4086         [POSIX] (_SC_SIGNALS): Likewise.
4087         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4088         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4089         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4090         [POSIX] (_SC_USER_GROUPS): Likewise.
4091         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4092         [POSIX] (_SC_STREAMS): Likewise.
4093         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4094         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4095         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4096         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4097         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4098         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4099         [POSIX] (_PC_FILESIZEBITS): Likewise.
4100         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4101         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4102         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4103         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4104         [POSIX] (uid_t): Likewise.
4105         [POSIX] (gid_t): Likewise.
4106         [POSIX] (off_t): Likewise.
4107         [POSIX] (pid_t): Likewise.
4108         [POSIX] (cuserid): Allow.
4109         (_SC_2_CHAR_TERM): Require constant.
4110         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4111         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4112         variable.
4114 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4116         * sysdeps/nacl/pthread-pids.h: New file.
4117         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4118         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4120         * nptl/pthread-pids.h: New file.
4121         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4122         * nptl/nptl-init.c: Include <pthread-pids.h>.
4123         (__pthread_initialize_minimal_internal):
4124         Call __pthread_initialize_pids instead of set_tid_address syscall.
4126         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4127         * sysdeps/posix/usleep.c: ... here.
4129 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4131         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4132         call_pselect6 object.
4133         [$(subdir) = io]: Remove call_sync_file_range object.
4134         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4135         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4136         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4137         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4139 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4141         * math/s_cproj.c: Add include "math_private.h".
4142         * math/s_cprojf.c: Likewise.
4143         * math/s_cprojl.c: Likewise.
4145 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4147         [BZ #18244]
4148         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4149         high mantissa bit when testing whether P is a NaN.
4150         * math/libm-test.inc (remainder_test_data): Add more tests.
4151         (remquo_test_data): Likewise.
4153         [BZ #18049]
4154         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4155         below -32, return the argument, with underflow if subnormal.
4156         * math/auto-libm-test-in: Add more tests of atanh.
4157         * math/auto-libm-test-out: Regenerated.
4159 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4161         [BZ #18434]
4162         * nptl/tst-sem15.c: New file.
4163         * nptl/Makefile (tests): Add it.
4164         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4165         s/<</>>/ to fix typo in EOVERFLOW check.
4166         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4168 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4170         * manual/strings.texi (envz_remove): Fix typo in safety
4171         annotations.
4173 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4174             Steve Ellcey  <sellcey@imgtec.com>
4176         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4177         in order to avoid strict alias warnings.
4178         (iruserok_af): Ditto for ra.
4180 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4182         [BZ #17581]
4183         * malloc/hooks.c
4184         (magicbyte): Convert to a function and avoid returning 0x01.
4185         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4186         (mem2chunk_check): Fix unsigned comparisons to zero.
4187         Hoist defs of sz and magic.
4189 2015-05-19  Richard Henderson  <rth@redhat.com>
4191         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4193         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4195 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4197         [BZ #16159]
4198         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4199         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4200         (reused_arena): Find a non-corrupt arena.
4201         (heap_trim): Pass arena to unlink.
4202         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4203         malloc_printerr.
4204         (top_check): Likewise.
4205         (free_check): Likewise.
4206         (realloc_check): Likewise.
4207         * malloc/malloc.c (malloc_printerr): Add arena argument.
4208         (unlink): Likewise.
4209         (munmap_chunk): Adjust.
4210         (ARENA_CORRUPTION_BIT): New macro.
4211         (arena_is_corrupt): Likewise.
4212         (set_arena_corrupt): Likewise.
4213         (sysmalloc): Use mmap if there are no usable arenas.
4214         (_int_malloc): Likewise.
4215         (__libc_malloc): Don't fail if arena_get returns NULL.
4216         (_mid_memalign): Likewise.
4217         (__libc_calloc): Likewise.
4218         (__libc_realloc): Adjust for additional argument to
4219         malloc_printerr.
4220         (_int_free): Likewise.
4221         (malloc_consolidate): Likewise.
4222         (_int_realloc): Likewise.
4223         (_int_memalign): Don't touch corrupt arenas.
4224         * malloc/tst-malloc-backtrace.c: New test case.
4226         * Makefile (summarize-tests): Fix return value on success.
4228         * manual/string.texi (Envz Functions): Add envz_remove.
4230 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4232         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4233         (invalid_name): New function, broken out of ...
4234         (__opendirat): ... here.  Call it.
4235         (need_isdir_precheck): New function, broken out of ...
4236         (__opendirat): ... here.  Call it.
4237         Use __fxstatat64, not __xstatat64.
4238         (opendir_oflags): New function, broken out of ...
4239         (__opendirat): ... here.  Call it.
4240         (opendir_tail): New function, broken out of ...
4241         (__opendirat): ... here.  Call it.
4242         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4243         opendir_tail, rather than punting to __opendirat.
4244         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4246 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4248         * .gitignore: Ignore generated *.pyc.
4250 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4252         * include/stdio.h: Define __need_wint_t.
4253         * test-skeleton.c: Avoid `for' loop initial declaration.
4254         * nptl/tst-initializers1.c: Use test-skeleton.c.
4256 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4258         [BZ #18418]
4259         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4261 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4263         [BZ #16352]
4264         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4265         (__ieee754_atanh): Force underflow exception for results with
4266         small absolute value.
4267         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4268         (__ieee754_atanhf): Force underflow exception for results with
4269         small absolute value.
4270         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4271         (__ieee754_atanh): Force underflow exception for results with
4272         small absolute value.
4273         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4274         (__ieee754_atanhf): Force underflow exception for results with
4275         small absolute value.
4276         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4277         (__ieee754_atanhl): Force underflow exception for results with
4278         small absolute value.
4279         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4280         (__ieee754_atanhl): Force underflow exception for results with
4281         small absolute value.
4282         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4283         (__ieee754_atanhl): Force underflow exception for results with
4284         small absolute value.
4285         * math/auto-libm-test-in: Do not allow missing underflow
4286         exceptions from atanh.
4287         * math/auto-libm-test-out: Regenerated.
4289         [BZ #18221]
4290         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4291         2**-28 as threshold for returning x or +/- 1/x.
4292         * math/auto-libm-test-in: Add more tests of tan.
4293         * math/auto-libm-test-out: Regenerated.
4295         [BZ #18220]
4296         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4297         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4298         * math/auto-libm-test-in: Add another test of lgamma.
4299         * math/auto-libm-test-out: Regenerated.
4301 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4303         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4304         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4305         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4306         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4307         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4308         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4309         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4310         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4312         (log1): Use fabs.  (my_log2): Use fabs.
4313         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4314         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4315         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4316         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4317         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4318         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4319         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4320         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4321         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4322         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4323         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4325 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4327         [BZ #18217]
4328         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4329         as threshold for returning 1 - x.
4330         * math/auto-libm-test-in: Add more tests of erfc.
4331         * math/auto-libm-test-out: Regenerated.
4333 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4335         [BZ #18196]
4336         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4337         threshold for large arguments.
4338         * math/auto-libm-test-in: Add another test of atan.
4339         * math/auto-libm-test-out: Regenerated.
4341         [BZ #16339]
4342         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4343         (__log1p): Force underflow exception for results with small
4344         absolute value.
4345         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4346         (__log1pf): Force underflow exception for results with small
4347         absolute value.
4348         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4349         (__log1p): Force underflow exception for results with small
4350         absolute value.
4351         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4352         (__log1pf): Force underflow exception for results with small
4353         absolute value.
4354         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4355         (__log1pl): Force underflow exception for results with small
4356         absolute value.
4357         * math/auto-libm-test-in: Do not allow missing underflow
4358         exceptions from log1p.
4359         * math/auto-libm-test-out: Regenerated.
4361 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4362             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4364         [BZ #16704]
4365         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4367 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4369         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4370         (libmvec): New variable.
4371         * configure.ac: Added option for mathvec build.
4372         * configure: Regenerated.
4373         * mathvec/Depend: New file.
4374         * mathvec/Makefile: New file.
4375         * shlib-versions: Added libmvec.
4376         * math/Makefile: Added rule for libm.so installation.
4378         * bits/math-vector.h: New file.
4379         * bits/libm-simd-decl-stubs.h: New header.
4380         * math/Makefile (headers): Added new header
4381         libm-simd-decl-stubs.h.
4382         * math/math.h (__MATHCALL_VEC): New macro.
4384         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4385         for conditions in testing functions.
4386         * math/Makefile: Added call of libm-have-vector-test.sh.
4387         * math/libm-test.inc (HAVE_VECTOR): New macros.
4389         * math/libm-test.inc: START refactored.
4390         * math/test-double.c (TEST_MATHVEC): Add define.
4391         * math/test-float.c: Likewise.
4392         * math/test-idouble.c: Likewise.
4393         * math/test-ifloat.c: Likewise.
4394         * math/test-ildoubl.c: Likewise.
4395         * math/test-ldouble.c: Likewise.
4396         * sysdeps/generic/math-tests-arch.h
4397         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4398         architecture check.
4400         * math/test-double.c (FUNC_TEST): New macro.
4401         * math/test-float.c: Likewise.
4402         * math/test-idouble.c: Likewise.
4403         * math/test-ifloat.c: Likewise.
4404         * math/test-ildoubl.c: Likewise.
4405         * math/test-ldouble.c: Likewise.
4406         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4408 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4410         * sysdeps/nacl/fdopendir.c: New file.
4412         * dirent/scandir-tail.c: New file.
4413         * dirent/scandir64-tail.c: New file.
4414         * dirent/Makefile (routines): Add them.
4415         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4416         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4417         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4418         [!SCANDIR] (SCANDIR_TAIL): New macro.
4419         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4420         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4421         (SCANDIRAT): Macro removed.
4422         (SCANDIR_TAIL): New macro.
4423         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4424         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4425         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4426         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4427         (READDIR): Macro removed.
4428         (SCANDIR_TAIL): New macro.
4429         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4430         (SCANDIR_TAIL): New macro.
4432         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4433         * dirent/scandir-cancel.c: ... to this new file.
4434         * dirent/Makefile (routines): Add it.
4435         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4436         * sysdeps/unix/sysv/linux/i386/scandir64.c
4437         (SKIP_SCANDIR_CANCEL): Macro removed.
4438         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4440         * dirent/tst-scandir.c: New file.
4441         * dirent/tst-scandir64.c: New file.
4442         * dirent/Makefile (tests): Add them.
4444 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4446         [BZ #18409]
4447         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4449 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4451         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4452         list.
4454 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4456         * benchtests/bench-strcoll.c: New benchmark.
4457         * benchtests/Makefile: Generate locales and run benchmark.
4458         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4459         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4460         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4461         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4462         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4463         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4464         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4465         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4466         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4467         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4468         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4469         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4470         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4471         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4472         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4473         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4474         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4475         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4476         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4477         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4478         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4479         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4480         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4481         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4483 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4485         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4486         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4488 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4490         * posix/uname-values.h: New file.
4491         * posix/uname.c: Include that instead of <config-name.h>.
4492         * sysdeps/nacl/uname-values.h: New file.
4493         * sysdeps/arm/nacl/uname-values.h: New file.
4495 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4497         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4498         splitting into fields.
4500 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4502         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4503         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4504         * locale/localeinfo.h: Add enum collation_encoding_type.
4505         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4506         * programs/ld-collate.c (collate_output): Add encoding type info.
4507         * string/strcoll_l.c (STRDIFF): New function.
4508         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4509         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4511 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4513         [BZ #18397]
4514         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4515         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4516         <fpu_control.h> instead of <math/fpu_control.c>.
4517         * sysdeps/mips/mips32/fpu/Makefile: New file.
4519 2015-05-11  Andreas Schwab  <schwab@suse.de>
4521         [BZ #18007]
4522         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4523         nss_endgrent.
4524         (_nss_compat_endgrent): Call nss_endgrent.
4525         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4526         nss_endpwent.
4527         (_nss_compat_endpwent): Call nss_endpwent.
4528         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4529         needent, call nss_setspent only if non-zero.
4530         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4531         (internal_endspent): Don't call nss_endspent.
4532         (_nss_compat_endspent): Call nss_endspent.
4533         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4534         Remove.  All uses removed.
4535         (internal_setent): Remove parameter stayopen, add parameter
4536         stream.  Use it instead of global variable.
4537         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4538         (internal_endent, internal_getent): Add parameter stream.  Use it
4539         instead of global variable.
4540         (CONCAT(_nss_files_end,ENTNAME))
4541         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4542         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4543         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4544         uses removed.
4545         (internal_setent, internal_endent): Add parameter stream.  Use it
4546         instead of global variable.
4547         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4548         stream.
4549         (get_next_alias): Add parameter stream.
4550         (_nss_files_getaliasent_r): Pass global stream.
4551         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4552         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4553         (_nss_files_gethostbyname4_r): Pass local stream to
4554         internal_setent, internal_getent and internal_endent.  Remove
4555         locking.
4557 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4559         * tst-strfmon1.c (tests): Update expected currency symbol.
4561 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4563         * sysdeps/nacl/gethostname.c: New file.
4565 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4567         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4568         and sinh.
4569         * math/auto-libm-test-out: Regenerated.
4570         * sysdeps/i386/fpu/libm-test-ulps: Update.
4571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4573 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4575         [BZ #18125]
4576         * stdlib/tst-setcontext3.c: New file.
4577         * stdlib/tst-setcontext3.sh: New file.
4578         * stdlib/Makefile (tests): Add tst-setcontext3.
4579         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4580         to verify test program created output file.
4581         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4582         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4583         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4584         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4586 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4588         [BZ #18383]
4589         * elf/tst-tlsalign.c: New file.
4590         * elf/tst-tlsalign-static.c: New file.
4591         * elf/tst-tlsalign-lib.c: New file.
4592         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4593         (tests-static): Add tst-tlsalign-static.
4594         (modules-names): Add tst-tlsalign-lib.
4595         (test-xfail-tst-tlsalign): New variable.
4596         (test-xfail-tst-tlsalign-static): New variable.
4598         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4599         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4601 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4603         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4604         csqrt, erfc, sin and sincos.
4605         * math/auto-libm-test-out: Regenerated.
4606         * sysdeps/i386/fpu/libm-test-ulps: Update.
4607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4609 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4611         * sysdeps/aarch64/libm-test-ulps: Update.
4613 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4615         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4616         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4617         * math/auto-libm-test-out: Regenerated.
4618         * sysdeps/i386/fpu/libm-test-ulps: Update.
4619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4621 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4623         [BZ #18265]
4624         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4625         (wcsncpy): Likewise.
4627 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4629         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4630         Assume __ASSUME_FALLOCATE is always true.
4631         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4632         (__posix_fallocate64_l64): Likweise.
4633         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4634         (posix_fallocate): Likewise.
4635         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4636         (__posix_fallocate64_l64): Likewise.
4637         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4638         [!__ASSUME_FALLOCATE]: Add comment.
4640 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4642         * sysdeps/unix/sysv/linux/i386/Makefile
4643         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4644         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4645         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4646         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4647         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4648         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4649         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4651 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4653         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4654         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4655         tgamma.
4656         * math/auto-libm-test-out: Regenerated.
4657         * sysdeps/i386/fpu/libm-test-ulps: Update.
4658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4660 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4662         * math/auto-libm-test-in: Add more tests of tgamma.
4663         * math/auto-libm-test-out: Regenerated.
4664         * sysdeps/i386/fpu/libm-test-ulps: Update.
4665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4667         * math/auto-libm-test-in: Add more tests of tanh.
4668         * math/auto-libm-test-out: Regenerated.
4669         * sysdeps/i386/fpu/libm-test-ulps: Update.
4670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4672         * math/auto-libm-test-in: Add more tests of tan.
4673         * math/auto-libm-test-out: Regenerated.
4674         * sysdeps/i386/fpu/libm-test-ulps: Update.
4675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4677         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4678         * math/auto-libm-test-out: Regenerated.
4679         * sysdeps/i386/fpu/libm-test-ulps: Update.
4680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4682         * math/auto-libm-test-in: Add another test of pow.
4683         * math/auto-libm-test-out: Regenerated.
4684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4686         * math/auto-libm-test-in: Add more tests of lgamma.
4687         * math/auto-libm-test-out: Regenerated.
4688         * sysdeps/i386/fpu/libm-test-ulps: Update.
4689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4691         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4692         log1p.
4693         * math/auto-libm-test-out: Regenerated.
4694         * sysdeps/i386/fpu/libm-test-ulps: Update.
4695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4697 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4699         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4700         Elf64_Chdr structs and ELFCOMPRESS constants.
4702 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4704         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4705         expm1.
4706         * math/auto-libm-test-out: Regenerated.
4707         * sysdeps/i386/fpu/libm-test-ulps: Update.
4708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4710         * math/auto-libm-test-in: Add more tests of erf and erfc.
4711         * math/auto-libm-test-out: Regenerated.
4712         * sysdeps/i386/fpu/libm-test-ulps: Update.
4713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4715 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4717         * config.h.in (HAVE_AARCH64_BE): Add.
4719 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4721         * math/auto-libm-test-in: Add more tests of csqrt.
4722         * math/auto-libm-test-out: Regenerated.
4723         * sysdeps/i386/fpu/libm-test-ulps: Update.
4724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4726         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4727         * math/auto-libm-test-out: Regenerated.
4728         * sysdeps/i386/fpu/libm-test-ulps: Update.
4729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4731         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4733 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4735         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4736         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4738         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4739         (euidaccess, eaccess): Define as weak aliases.
4741         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4742         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4743         but __suseconds_t is often 'long int' so some sources assume that
4744         type is being used (e.g. they use %ld to print tv_usec).
4746 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4748         [BZ #18007]
4749         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4750         (CVE-2014-8121)
4751         * nss/tst-nss-getpwent.c: New file.
4752         * nss/Makefile (tests): Add new test.
4754 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4756         [BZ #18346]
4757         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4758         exponents less than 48 as cases where high part of mantissa needs
4759         examining to determine whether argument is integral.
4760         * math/libm-test.inc (round_test_data): Add more tests.
4762 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4764         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4766 2015-04-27  David S. Miller  <davem@davemloft.net>
4768         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4769         __tls_get_addr.
4770         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4772 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4774         [BZ#18333]
4775         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4777 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4779         [BZ#18333]
4780         * time/tzset.c (parse_tzname): Return error on memory allocation
4781         failure.
4782         * test-skeleton.c (struct temp_name_list): Change type of name
4783         member to non-const.
4784         (add_temp_file): Create a copy of the file name.
4785         (delete_temp_files): Deallocate memory.
4786         (create_temp_file): Add comment.
4788 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4790         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4791         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4793 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4795         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4796         * sysdeps/arm/configure: Regenerated.
4798 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4800         [BZ #17715]
4801         * time/tzfile.c (__tzfile_read): Check for large values of
4802         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4803         * time/tzset.c (__tzstring_len): New function, based on the old
4804         __tzstring function.
4805         (__tzstring): Call __tzstring_len.
4806         (parse_tzname): New helper function extracted from
4807         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4808         the input string.
4809         (parse_offset): New helper function extracted from
4810         __tzset_parse_tz.  Replace switch with fallthrough with
4811         initialization before sscanf.
4812         (parse_rule): Likewise.
4813         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4814         new-style function definition.
4815         * timezone/Makefile (tests): Add tst-tzset.
4816         (tst-tzset.out): Dependencies on time zone files.
4817         (tst-tzset-ENV): Set TZDIR.
4818         (testdata/XT%): Copy crafted time zone files.
4819         * timezone/README: Mention crafted time zone files.
4820         * timezone/testdata/XT1, timezone/testdata/XT2,
4821         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4822         files.
4823         * timezone/tst-tzset.c: New test.
4825 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4827         * Makeconfig (+gccwarn): Remove -Winline.
4829 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4831         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4833 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4835         * NEWS: Mention sysconf() cache information support for s390.
4836         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4838 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4840         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4841         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4842         (__nearbyint): Likewise.
4843         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4844         (copysignl): Likewise.
4846 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4848         [BZ #18287]
4849         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4850         based on padding.  (CVE-2015-1781)
4852 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4854         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4855         libc-vdso.h.
4856         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4857         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4858         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4859         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4860         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4861         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4862         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4863         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4864         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4865         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4866         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4867         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4868         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4869         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4870         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4871         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4872         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4873         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4874         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4875         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4876         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4877         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4878         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4880 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4882         * stdlib/setenv.c (__add_to_environ):
4883         Dump core quickly if setenv (..., NULL, ...) is called.
4884         This time, do it the right way, and pacify GCC with a pragma.
4886 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4888         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4889         IMAP->l_prev cannot be null, and #if out the code for the contrary
4890         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4891         believe that NS (&_dl_ns[NSID]) could point outside the array.
4893         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4894         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4895         before using NSID as an index.
4897 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4899         [BZ #17825]
4900         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4901         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4902         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4904 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4906         Add preliminary port to Google Native Client on ARM.
4907         * abi-tags (.*-.*-nacl.*): New entry.
4908         * sysdeps/arm/nacl: New directory.
4909         * sysdeps/nacl: New directory.
4911 2015-04-16  David S. Miller  <davem@davemloft.net>
4913         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4914         lowlevellock-futex.h
4916 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4918         * sysdeps/tile/configure.ac: New file.
4919         * sysdeps/tile/configure: Regenerated.
4921 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4923         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4924         conditionals for weak_alias and libc_hidden_weak.
4925         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4926         libc_hidden_weak and weak_alias.
4927         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4928         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4929         and weak_alias for static one.
4931 2015-04-15  David S. Miller  <davem@davemloft.net>
4933         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4935 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4937         [BZ #18206]
4938         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4939           Use signed comparision instead of substraction to avoid
4940           overflow bug.
4941         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4942           Take the sign of ret.
4943         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4944           Do not expect precise return values. Only the sign matters.
4945         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4946         * wcsmbs/test-wcsncmp.c: New File.
4947         * string/test-strncmp.c: Add wcsncmp support.
4949 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4951         [BZ #6792]
4952         * math/w_log1p.c: New file.
4953         * math/w_log1pf.c: Likewise.
4954         * math/w_log1pl.c: Likewise.
4955         * math/Makefile (libm-calls): Add w_log1p.
4956         * math/s_log1pl.c (log1pl): Remove weak_alias.
4957         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4958         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4959         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4960         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4961         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4962         [NO_LONG_DOUBLE] (log1pl): Likewise.
4963         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4964         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4965         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4966         (log1p): Remove long_double_symbol.
4967         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4968         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4969         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4970         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4971         remove weak_alias for corresponding log1p function.
4972         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4973         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4974         * sysdeps/ia64/fpu/w_log1p.c: New file.
4975         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4976         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4977         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4979 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4981         [BZ #18247]
4982         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4983         decimal exponent by 1.
4984         * stdlib/tst-strtod-round-data: Add more tests.
4985         * stdlib/tst-strtod-round.c (tests): Regenerated.
4987 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4989         * math/auto-libm-test-in: Add more tests of clog and clog10.
4990         * math/auto-libm-test-out: Regenerated.
4991         * sysdeps/i386/fpu/libm-test-ulps: Update.
4992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4994 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4996         * Makeconfig (module-cppflags): Exclude all .v.i files.
4997         (skip-module-cppflags): Variable removed.
4999         * configure.ac (libc_config_ok): Initialize before reading
5000         preconfigure scripts, not after.
5001         * configure: Regenerated.
5003         * test-skeleton.c (TIMEOUT): Move #define to top level.
5004         (main): Grok environment variable TEST_DIRECT.  If set, print
5005         test expectation details into that file and then behave as if
5006         given --direct.
5008 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5010         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5011         warning on 32-bit.
5013 2015-04-08  David S. Miller  <davem@davemloft.net>
5015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5017 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5019         * math/auto-libm-test-in: Add more tests of atanh.
5020         * math/auto-libm-test-out: Regenerated.
5021         * sysdeps/i386/fpu/libm-test-ulps: Update.
5022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5024         * math/auto-libm-test-in: Add more tests of atan.
5025         * math/auto-libm-test-out: Regenerated.
5026         * sysdeps/i386/fpu/libm-test-ulps: Update.
5027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5029 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5031         * elf/pldd.c (main): Rewrite to use struct
5032         scratch_buffer instead of extend_alloca.
5033         * elf/pldd-xx.c (find_maps): Likewise.
5034         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5035         <alloca.h>.
5036         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5037         scratch_buffer instead of extend_alloca.
5038         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5039         grp/compat-initgroups.c.
5040         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5041         Rewrite to use struct scratch_buffer instead of extend_alloca.
5042         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5043         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5045 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5047         * math/auto-libm-test-in: Add more tests of cbrt.
5048         * math/auto-libm-test-out: Regenerated.
5049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5051         * math/auto-libm-test-in: Add more tests of cabs.
5052         * math/auto-libm-test-out: Regenerated.
5053         * sysdeps/i386/fpu/libm-test-ulps: Update.
5054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5056         [BZ #18210]
5057         [BZ #18211]
5058         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5059         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5060         computations.
5061         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5062         clog10.
5063         * math/auto-libm-test-out: Regenerated.
5064         * sysdeps/i386/fpu/libm-test-ulps: Update.
5065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5067         [BZ #18197]
5068         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5069         (atan): Set FE_TONEAREST mode for internal computations.
5070         * math/auto-libm-test-in: Add more tests of atan.
5071         * math/auto-libm-test-out: Regenerated.
5073 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5075         [BZ #17930]
5076         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5078 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5080         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5082 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5084         * include/scratch_buffer.h: New file.
5085         * malloc/scratch_buffer_grow.c: Likewise.
5086         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5087         * malloc/scratch_buffer_set_array_size.c: Likewise.
5088         * malloc/tst-scratch_buffer.c: Likewise.
5089         * malloc/Makefile (routines): Add scratch_buffer_grow.
5090         (tests): Add test case.
5091         * malloc/Versions (GLIBC_PRIVATE): Export
5092         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5093         __libc_scratch_buffer_set_array_size.
5095 2015-04-06  Richard Henderson  <rth@redhat.com>
5097         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5098         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5100         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5101         unsigned int before printing.
5103 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5105         [BZ #17596]
5106         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5107         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5109 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5111         * include/libc-internal.h (libc_max_align_t): Define.
5113 2015-04-02  Andreas Schwab  <schwab@suse.de>
5115         [BZ #16850]
5116         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5118 2015-04-02  Mel Gorman  <mgorman@suse.de>
5120         [BZ #17195]
5121         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5122         as well as the main arena.
5124 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5126         [BZ #18185]
5127         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5128         sharing L2 cache to 2 for Silvermont/Knights Landing.
5130 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5132         [BZ #17711]
5133         * config.make.in (have-protected-data): New.
5134         * configure.ac: Check linker support for protected data symbol.
5135         * configure: Regenerated.
5136         * elf/Makefile (modules-names): Add tst-protected1moda and
5137         tst-protected1modb if $(have-protected-data) is yes.
5138         (tests): Add tst-protected1a and tst-protected1b if
5139         $(have-protected-data) is yes.
5140         ($(objpfx)tst-protected1a): New.
5141         ($(objpfx)tst-protected1b): Likewise.
5142         (tst-protected1modb.so-no-z-defs): Likewise.
5143         * elf/tst-protected1a.c: New file.
5144         * elf/tst-protected1b.c: Likewise.
5145         * elf/tst-protected1mod.h: Likewise.
5146         * elf/tst-protected1moda.c: Likewise.
5147         * elf/tst-protected1modb.c: Likewise.
5149 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5151         [BZ #17711]
5152         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5153         indicates it is called from do_lookup_x on relocation against
5154         protected data, skip the data definion in the executable from
5155         copy reloc.
5156         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5157         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5158         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5159         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5160         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5161         otherwise to 0.
5162         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5163         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5164         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5165         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5166         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5167         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5169 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5171         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5172         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5174 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5176         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5177         THREAD_SETMEM_NC.
5178         * sysdeps/x86_64/nptl/tls.h: Ditto.
5180 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5182         * dlfcn/tststatic.c (main): Converted to ...
5183         (do_test): ... this.
5184         (TEST_FUNCTION): New macro.
5185         Include test-skeleton.c.
5187 2015-03-26  Alan Modra  <amodra@gmail.com>
5189         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5190         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5191         zero for undefined weak.
5192         (elf_machine_plt_conflict): Similarly.
5194 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5196         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5197         atanh.
5198         * math/auto-libm-test-out: Regenerated.
5199         * sysdeps/i386/fpu/libm-test-ulps: Update.
5200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5202         * math/auto-libm-test-in: Add another test of asin.
5203         * math/auto-libm-test-out: Regenerated.
5204         * sysdeps/i386/fpu/libm-test-ulps: Update.
5205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5207         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5208         Remove macro.
5209         (LLL_EBX_REG): Likewise.
5210         (LLL_ENTER_KERNEL): Likewise.
5212         * math/auto-libm-test-in: Add more tests of asin.
5213         * math/auto-libm-test-out: Regenerated.
5214         * sysdeps/i386/fpu/libm-test-ulps: Update.
5215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5217         [BZ #18138]
5218         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5219         libc_do_syscall_args): New structure.
5220         (INTERNAL_SYSCALL_MAIN_0): New macro.
5221         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5222         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5223         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5224         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5225         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5226         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5227         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5228         Replace conditional definitions by conditional definitions of ....
5229         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5230         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5231         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5232         (libpthread-sysdep_routines): Add libc-do-syscall.
5233         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5234         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5235         to __NR_futex not 240.
5237 2015-03-25  Alan Modra  <amodra@gmail.com>
5239         * NEWS: Advertise TLS optimization.
5240         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5241         (DT_PPC_NUM): Increment.
5242         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5243         (CHECK_STATIC_TLS): Use here.
5244         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5245         TLS descriptors.
5246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5247         * sysdeps/powerpc/dl-tls.c: New file.
5248         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5249         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5250         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5251         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5256 2015-03-25  Alan Modra  <amodra@gmail.com>
5258         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5259         for overlapping .opd entries" to "support...".
5260         * sysdeps/powerpc/powerpc64/configure: Regenerate
5262 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5264         * math/auto-libm-test-in: Add more tests of acos.
5265         * math/auto-libm-test-out: Regenerated.
5266         * sysdeps/i386/fpu/libm-test-ulps: Update.
5267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5269         * math/auto-libm-test-in: Add more tests of expm1.
5270         * math/auto-libm-test-out: Regenerated.
5271         * sysdeps/i386/fpu/libm-test-ulps: Update.
5272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5274 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5276         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5277         * math/auto-libm-test-out: Regenerated.
5278         * sysdeps/i386/fpu/libm-test-ulps: Update.
5279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5281         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5284         * math/auto-libm-test-in: Add more tests of log2.
5285         * math/auto-libm-test-out: Regenerated.
5286         * sysdeps/i386/fpu/libm-test-ulps: Update.
5287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5289 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5291         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5292         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5293         _IO_IS_APPENDING bit in READ_WRITE instead.
5295 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5297         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5298         (__determine_cpumask_size): Replace extend_alloca with a
5299         variable-length array.  Do not treat res == 0 as an error.
5301 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5303         [BZ #18100]
5304         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5305         and integer overflow.
5306         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5307         (main): Add integer overflow tests.
5308         * manual/pattern.texi (Calling Wordexp): Document additional use
5309         for WRDE_SYNTAX.
5311 2015-03-23  Alan Modra  <amodra@gmail.com>
5313         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5314         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5315         and false branch of conditional.
5316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5317         Likewise.
5319 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5321         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5322         libc-modules.h
5323         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5324         unused declaration of _hurd_intr_rpc_msg_in_trap.
5325         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5326         defined instead of whether it is non-zero.
5327         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5328         input constraint instead of both input and output constraint.  Use ecx
5329         clobber instead of %ecx.
5330         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5331         mutex_unlock): Use a statement expression instead of an expression list.
5332         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5333         type to vm_size_t instead of vm_address_t.
5334         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5335         defined instead of whether it is non-zero.
5336         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5337         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5338         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5339         comparisons with mapaddr.
5340         * nscd/nscd-client.h: Include <time.h>.
5341         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5342         9th parameter to __vm_region instead of int.
5343         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5344         * scripts/check-local-headers.sh (exclude): Add device/,
5345         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5346         cthreads.h.
5348 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5350         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5351         to account for alignment padding.
5352         * sysdeps/arm/memmove.S: Likewise.
5354 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5356         * sysdeps/unix/sysv/linux/generic/README: New file.
5358 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5360         [BZ #18138]
5361         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5362         (futex_abstimed_wait)
5363         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5364         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5365         of lll_futex_timed_wait.
5367 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5369         [BZ #17542]
5370         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5372 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5374         [BZ #17090]
5375         [BZ #17620]
5376         [BZ #17621]
5377         [BZ #17628]
5378         * NEWS: Update.
5379         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5380         entries with Static TLS too.  Skip entries past the end of the
5381         allocated DTV, from Alan Modra.
5382         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5383         Static TLS DTV entry set up from...
5384         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5385         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5386         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5387         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5388         for Static TLS.
5389         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5390         that the slot we find is associated with the given map before
5391         using its generation count.
5392         * nptl_db/db_info.c: Include ldsodefs.h.
5393         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5394         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5395         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5396         (link_map::l_tls_offset): New struct field.
5397         (dtv_t::counter): Likewise.
5398         (rtld_global): New struct.
5399         (_rtld_global): New rtld variable.
5400         (dl_tls_dtv_slotinfo_list): New rtld global field.
5401         (dtv_slotinfo_list): New struct.
5402         (dtv_slotinfo): Likewise.
5403         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5404         (td_lookup): Rename to...
5405         (td_mod_lookup): ... this.  Use new mod parameter instead of
5406         LIBPTHREAD_SO.
5407         * nptl_db/td_thr_tlsbase.c: Include link.h.
5408         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5409         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5410         addresses even if the DTV is out of date or missing them.
5411         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5412         index zero-length arrays.
5413         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5414         (td_lookup): Make it a macro implemented in terms of...
5415         (td_mod_lookup): ... this declaration.
5416         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5417         (DB_MAIN_VARIABLE): Likewise.
5419 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5421         [BZ #18134]
5422         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5424 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5426         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5428 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5430         [BZ #18128]
5431         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5432         (atomic_add, atomic_increment_and_test)
5433         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5435 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5437         * stdlib/setenv.c (__add_to_environ):
5438         Dump core quickly if setenv (..., NULL, ...) is called.
5440 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5442         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5443         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5444         all the necessary asm magic in one place.
5445         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5446         using those.
5448 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5450         [BZ #14906]
5451         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5452         traced file mtime. Use consistent log message.
5453         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5454         (register_traced_file): Call install_watches. Always set mtime.
5455         (invalidate_cache): Iterate over all trace files. Call install_watches.
5456         (inotify_check_files): Don't inline. Handle watching parent
5457         directories and configuration file movement in and out.
5458         (handle_inotify_events): New function.
5459         (main_loop_poll): Call handle_inotify_events.
5460         (main_loop_epoll): Likewise.
5461         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5462         (struct traced_file): Use array of inotify fds. Add parent directory,
5463         and basename.
5464         (struct database_dyn): Remove unused file_mtime.
5465         (init_traced_file): New inline function.
5466         (define_traced_file): New macro.
5467         * nss/nss_db/db-init.c: Use define_traced_file.
5468         (_nss_db_init): Use init_traced_file.
5469         * nss/nss_files/files-init.c: Use define_traced_file.
5470         (_nss_files_init): Use init_traced_file.
5472 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5474         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5475         [_LIBC]: Do not include <stdlib.h>.
5476         [!_LIBC] (abort): Remove declaration.
5477         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5478         _FP_STATIC_ASSERT instead of conditionally calling abort.
5479         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5480         (_FP_EXTEND_CNAN): Likewise.
5481         (FP_TRUNC): Likewise.
5482         (__FP_CLZ): Likewise.
5483         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5485 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5487         * manual/string.texi (XPG basename): Fix prototype.
5489 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5491         [BZ #18080]
5492         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5493         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5494         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5495         (__setcontext): Likewise.
5496         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5497         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5498         Call rt_sigprocmask syscall one time to set new signal mask
5499         and retrieve the current signal mask instead of two calls.
5500         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5501         (__swapcontext): Likewise.
5502         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5503         * stdlib/tst-setcontext2.c: New file.
5505 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5507         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5509 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5511         [BZ #18093]
5512         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5513         the wrong size.
5515 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5517         [BZ #18043]
5518         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5520 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5522         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5523         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5524         Remove define.
5525         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5526         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5527         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5528         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5529         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5530         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5531         define.
5532         * nptl_db/td_symbol_list.c (td_lookup): Remove
5533         HAVE_ASM_GLOBAL_DOT_NAME code.
5534         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5535         HAVE_ASM_GLOBAL_DOT_NAME check.
5536         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5537         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5538         (DOT_LABEL): Remove define.
5539         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5540         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5541         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5542         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5543         (__TLS_GET_ADDR): Likewise.
5544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5545         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5547 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5549         [BZ #18111]
5550         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5551         (_FPU_SETCW): Initialize cw from fpsr before storing.
5552         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5553         (fesetexceptflag): Rewrite using fpu_control.h.
5554         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5556 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5558         [BZ #18110]
5559         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5560         asms.
5561         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5563 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5565         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5566         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5567         abort.
5568         (_FP_FMA): Likewise.
5569         (_FP_DIV): Likewise.
5571 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5573         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5574         with 0 in that case.
5575         * Makefile (summarize-tests): New canned sequence, factored out of
5576         commands for targets tests and xtests.  Display summary lines that
5577         don't start with PASS: or XFAIL: rather than ones that do start with
5578         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5579         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5580         do start with ERROR: or FAIL:.
5581         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5582         (except for [$(build-shared) = yes]).
5583         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5584         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5585         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5586         * nptl/Makefile: Revert 2015-03-04 changes.
5587         [$(CXX) empty] (tests-unsupported): New variable.
5588         * debug/Makefile: Likewise.
5590         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5591         gnulib file.  Replace __attribute with __attribute__ throughout.
5593 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5595         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5597 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5599         [BZ #18104]
5600         * math/auto-libm-test-in: Add another test of pow.
5601         * math/auto-libm-test-out: Regenerated.
5603 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5605         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5606         $(config-cflags-nofma).
5608 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5610         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5611         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5612         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5613         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5614         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5615         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5616         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5617         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5618         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5619         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5620         Add comment on closing #endif.
5622 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5624         * posix/wordexp.c (CHAR_IN_SET): New macro.
5625         (parse_param): Use it.
5627 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5629         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5631 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5633         [BZ #18043]
5634         * posix/wordexp.c (parse_param): Fix buffer overflow.
5635         * posix/wordexp-test.c (test_case): Add test case.
5637 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5639         [BZ #18042]
5640         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5641         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5643 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5645         [BZ #18043]
5646         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5647         (do_bz18043): Delete.
5648         (at_page_end): New.
5649         (testit): Refactor to have words at the edge of unreadable page.
5651 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5653         [BZ #16734]
5654         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5655         Cleanup read-only streams as well.
5656         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5658 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5660         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5661         <bits/libc-lockP.h>
5663 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5665         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5666         on [__KERNEL__].
5667         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5668         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5669         * soft-fp/op-common.h (_FP_DECL): Likewise.
5671 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5673         * elf/ifuncdep2.c (global): Replace
5674         __attribute__((visibility("protected"))) with
5675         asm (".protected global").
5676         * elf/ifuncmod1.c (global): Likewise.
5677         * elf/ifuncmod5.c (global): Likewise.
5679 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5681         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5682         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5684 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5686         * manual/install.texi (Configuring and compiling):
5687         Document test-wrapper-env-only.
5688         * INSTALL: Regenerated.
5690 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5692         [BZ #18043]
5693         * posix/wordexp.c (parse_param): Fix buffer overflow.
5694         * posix/wordexp-test.c (do_bz18043): Add test case.
5696 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5698         * time/tst-strptime2.c (do_test): Ensure failing tests are
5699         reported correctly.
5700         * time/tst-strptime3.c (do_test): Likewise.
5702 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5704         Fix aio_error thread-safety.
5705         * sysdeps/pthread/aio_error.c: New file
5706         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5707         synchronization.
5709 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5711         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5712         (group_number, vfprintf): Use it.
5713         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5714         (JUMP, REF): Use it.
5715         (WORK_BUFFER_SIZE): New enum constant.
5716         (process_arg, vfprintf): Use it.
5718 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5720         * manual/errno.texi (Error Messages): Complete example function
5721         by adding missing #define.
5722         (program_invocation_name): Add statement indicating GNU
5723         extension and reference which header file declares the variable.
5724         (program_invocation_short_name): Likewise.
5726 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5728         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5729         compatibility note.
5731 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5733         * Makeconfig (test-wrapper-env-only): New variable.
5734         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5735         then use that with $(test-wrapper-env-only) rather than using
5736         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5738 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5740         [BZ #18082]
5741         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5742         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5743         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5744         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5745         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5746         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5747         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5748         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5749         Likewise.
5750         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5751         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5752         Likewise.
5753         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5754         Likewise.
5755         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5756         Likewise.
5757         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5758         Likewise.
5759         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5760         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5761         Likewise.
5762         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5763         Likewise.
5764         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5765         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5767 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5769         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5770         (ETH_ALEN): New macro.
5771         (struct ether_addr): Use it for length of ether_addr_octet.
5773         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5774         (setdb): Don't call __nss_configure_lookup for "rpc".
5775         (do_test): Don't call test_rpc.
5776         (output_rpcent, test_rpc): Functions moved ...
5777         * sunrpc/test-rpcent.c: ... to this new file.
5778         * sunrpc/Makefile (tests): Add it.
5780         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5781         __xpg_sigpause.
5782         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5783         * nptl/tst-signal6.c: Likewise.
5784         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5785         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5787         * configure.ac (libc_cv_cxx_link_ok): New check.
5788         Reset CXX to empty if it fails to link.
5789         * configure: Regenerated.
5790         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5791         bug-atexit3-lib only if $(CXX) is nonempty.
5792         * nptl/Makefile (tests): Likewise for tst-cancel24.
5793         (tests, tests-static): Likewise for tst-cancel24-static.
5794         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5795         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5796         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5797         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5799 2015-03-04  Andreas Schwab  <schwab@suse.de>
5801         [BZ #17631]
5802         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5803         for non-GCC compilers.
5804         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5805         Likewise.
5807 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5809         [BZ #17776]
5810         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5811         integer before bitwise and assembly operations.
5812         (feclearexcept): Likewise.
5813         * math/test-fenvinline.c: New file.
5814         * math/Makefile: Add test-fenvinline test.
5816 2015-03-03  Alan Modra  <amodra@gmail.com>
5818         [BZ #16512]
5819         * scripts/localplt.awk: Strip off symbol version.
5820         * NEWS: Mention bug fix.
5822 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5824         * sysdeps/pthread/timer_routines.c
5825         (timer_free_list, thread_free_list, thread_active_list): Make static.
5827 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5829         [BZ #17779]
5830         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5831         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5832         Undefine.
5833         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5834         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5835         Likewise.
5836         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5837         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5838         Likewise.
5840 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5842         [BZ #18036]
5843         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5844         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5846 2015-03-02  Andreas Schwab  <schwab@suse.de>
5848         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5849         variable name.
5851 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5853         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5854         Return error status.
5856 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5858         [BZ #15969]
5859         * locale/findlocale.c (_nl_find_locale): Introduce const
5860         version of loc_name and drop unsafe type casts.
5862 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5864         * dlfcn/tststatic2.c (main): Converted to ...
5865         (do_test): ... this.
5866         (TEST_FUNCTION): New macro.
5867         Include test-skeleton.c.
5869 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5871         [BZ #17711]
5872         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5873         (tests-pie): Add vismain.
5874         (CFLAGS-vismain.c): New.
5875         * elf/vismain.c: Add comments for PIE requirement.
5877 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5879         [BZ #18046]
5880         [BZ #18047]
5881         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5882         0x1p-56L as threshold for just returning the argument.
5883         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5884         0x1p-32L as threshold for just returning the argument.
5885         * math/auto-libm-test-in: Add more tests of atanh.
5886         * math/auto-libm-test-out: Regenerated.
5887         * sysdeps/i386/fpu/libm-test-ulps: Update.
5888         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5890 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5892         * string/bcopy.c (bcopy): Call memmove for performance.
5894 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5896         * string/bzero.c (__bzero): Call memset for performance.
5898 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5900         [BZ #18068]
5901         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5902         to 00100000.
5904 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5906         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5908 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5910         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5911         (__kernel_standard): Use CSTR macro when setting exc.name.
5912         * sysdeps/ieee754/Makefile [$(subdir) = math]
5913         (CFLAGS-k_standard.c): Remove variable.
5915         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5916         setting p and q from "else if" to "else".
5917         (qzero): Likewise.
5918         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5919         (qone): Likewise.
5920         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5921         (qzerof): Likewise.
5922         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5923         (qonef): Likewise.
5924         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5925         (qzero): Likewise.
5926         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5927         (qone): Likewise.
5929         [BZ #18038]
5930         [BZ #18039]
5931         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5932         return pi/2 for arguments below 0x1p-113L.
5933         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5934         return pi/2 for arguments below 0x1p-106L.
5935         * math/auto-libm-test-in: Add more tests of acos.
5936         * math/auto-libm-test-out: Regenerated.
5938         [BZ #16351]
5939         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5940         (MO): New macro.
5941         (__ieee754_asin): Force underflow exception for results with small
5942         absolute value.
5943         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5944         (MO): New macro.
5945         (__ieee754_asinf): Force underflow exception for results with
5946         small absolute value.
5947         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5948         (__ieee754_asin): Force underflow exception for results with small
5949         absolute value.
5950         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5951         (__ieee754_asinf): Force underflow exception for results with
5952         small absolute value.
5953         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5954         (__ieee754_asinl): Force underflow exception for results with
5955         small absolute value.
5956         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5957         (__ieee754_asinl): Force underflow exception for results with
5958         small absolute value.
5959         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5960         (__ieee754_asinl): Force underflow exception for results with
5961         small absolute value.
5962         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5963         Include <math.h>.
5964         * math/auto-libm-test-in: Do not mark underflow exceptions as
5965         possibly missing for bug 16351.
5966         * math/auto-libm-test-out: Regenerated.
5968         [BZ #18030]
5969         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5970         of power of 2 down when low part has opposite sign.
5971         * math/libm-test.inc (logb_test_data): Add more tests.
5973 2015-02-26  Andreas Schwab  <schwab@suse.de>
5975         [BZ #18032]
5976         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5977         over collating symbol inside a bracket expression.  Minor cleanup.
5978         * posix/tst-fnmatch3.c (do_test): Add test case.
5980 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5982         [BZ #18029]
5983         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5984         Adjust exponent of power of 2 down when low part has opposite
5985         sign.
5986         * math/libm-test.inc (ilogb_test_data): Add more tests.
5988 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5990         [BZ #15969]
5991         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5992         the previous change.
5994         [BZ #15969]
5995         * locale/findlocale.c (_nl_find_locale): Retry archive search
5996         after alias expansion.
5998 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6000         * iconv/tst-iconv3.c (main): Converted to ...
6001         (do_test): ... this.
6002         (TEST_FUNCTION): New macro.
6003         Include test-skeleton.c.
6005         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6006         (convert): Make function static.
6007         (test_unalign): Likewise.  Add const to argument pointee types.
6008         (main): Replace with static function do_test.
6009         Print "Succeeded." only if RET is zero.
6010         (TEST_FUNCTION): New macro.
6011         Include test-skeleton.c.
6013         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6014         returns a null pointer.
6016 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6018         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6019         to __memcpy_ppc only for static builds.
6021 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6023         [BZ #18020]
6024         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6025         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6026         * math/auto-libm-test-in: Add more tests of asinh.
6027         * math/auto-libm-test-out: Regenerated.
6028         * sysdeps/i386/fpu/libm-test-ulps: Update.
6029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6031 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6033         [BZ #15850]
6034         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6035         and ip6_mtuinfo definitions here.
6036         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6037         in this define too.  Update comment.
6039 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6041         * elf/sprof.c (load_shobj): Tweak error message to match others.
6043 2015-02-24  Kevin Easton  <kevin@guarana.org>
6045         [BZ #16145] (partial fix)
6046         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6047         to reduce lock contention.
6049 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6051         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6052         (struct timex): Update time comment.
6053         (ADJ_SETOFFSET): Define.
6055 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6057         [BZ #18019]
6058         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6059         2**56 not 2**28 as threshold for log (2x) formula.
6060         * math/auto-libm-test-in: Add more tests of acosh.
6061         * math/auto-libm-test-out: Regenerated.
6062         * sysdeps/i386/fpu/libm-test-ulps: Update.
6063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6065 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6067         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6068         parenthesis around the buf assignment.
6069         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6071 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6073         [BZ #16783]
6074         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6075         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6076         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6077         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6078         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6079         * math/libm-test.inc (scalb_test_data): Add more tests.
6081 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6083         [BZ #17916]
6084         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6085         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6087 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6089         [BZ #17523]
6090         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6091         * io/bits/fcntl2.h (open): Use it.
6092         (openat): Likewise.
6093         * io/open.c (__libc_open): Likewise.
6094         * io/open64.c (__libc_open64): Likewise.
6095         * io/open64_2.c (__open64_2): Likewise.
6096         * io/open_2.c (__open_2): Likewise.
6097         * io/openat.c (__openat): Likewise.
6098         * io/openat64.c (__openat64): Likewise.
6099         * io/openat64_2.c (__openat64_2): Likewise.
6100         * io/openat_2.c (__openat_2): Likewise.
6101         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6102         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6103         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6104         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6105         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6106         (__open_nocancel): Likewise.
6107         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6108         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6109         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6111 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6113         [BZ #14841]
6114         * resolv/gethnamaddr.c (getanswer): Skip logging if
6115         RES_USE_DNSSEC is set.
6116         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6118 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6120         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6122 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6124         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6125         201304L, for Unicode 7.
6127 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6129         [BZ #17836]
6130         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6131         shared library.  Add gmon-start.os otherwise.
6132         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6133         $(objpfx)gmon-start.os if builing shared library.
6134         ($(objpfx)g$(static-start-installed-name)): Likewise.
6136 2015-02-23  Andreas Schwab  <schwab@suse.de>
6138         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6140 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6142         [BZ #17269]
6143         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6144         (enlarge_userbuf): Likewise.
6146 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6148         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6149         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6150         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6151         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6153 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6155         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6156         expression inside statement expression.
6158 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6160         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6161         <sysdeps/nptl/lowlevellock.h> and remove macros and
6162         functions that are now defined there.
6163         (SYS_futex): Remove.
6164         (lll_compare_and_swap): Remove.
6165         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6167 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6169         [BZ #17999]
6170         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6171         instead of scandirat.
6172         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6173         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6174         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6175         __scandirat.
6176         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6177         (__scandirat): Declare.  Use libc_hidden_proto.
6178         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6179         Remove variable.
6180         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6182 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6184         [BZ #15319]
6185         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6186         (MO): New macro.
6187         (__ieee754_atan2): For results with small absolute value, force
6188         underflow exception and remove excess range and precision from
6189         return value.
6190         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6191         (MO): New macro.
6192         (__ieee754_atan2f): For results with small absolute value, force
6193         underflow exception and remove excess range and precision from
6194         return value.
6195         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6196         (MO): New macro.
6197         (__atan): For results with small absolute value, force underflow
6198         exception and remove excess range and precision from return value.
6199         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6200         (MO): New macro.
6201         (__atanf): For results with small absolute value, force underflow
6202         exception and remove excess range and precision from return value.
6203         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6204         <math.h>.
6205         (__ieee754_atan2): Force underflow exception for results with
6206         small absolute value.
6207         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6208         <math_private.h>.
6209         (atan): Force underflow exception for results with small absolute
6210         value.
6211         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6212         (__atanf): Force underflow exception for results with small
6213         absolute value.
6214         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6215         <math.h>.
6216         (__atanl): Force underflow exception for results with small
6217         absolute value.
6218         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6219         (__atanl): Force underflow exception for results with small
6220         absolute value.
6221         * sysdeps/x86/fpu/bits/mathinline.h
6222         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6223         (__ieee754_atan2): Only define inline for long double.
6224         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6225         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6226         * math/auto-libm-test-in: Do not mark underflow exceptions as
6227         possibly missing for bug 15319.  Add more tests of atan2.
6228         * math/auto-libm-test-out: Regenerated.
6229         * math/libm-test.inc (casin_test_data): Do not mark underflow
6230         exceptions as possibly missing for bug 15319.
6231         (casinh_test_data): Likewise.
6232         * sysdeps/i386/fpu/libm-test-ulps: Update.
6234 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6236         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6237         * sysdeps/mips/bits/endian.h: Fix comments.
6239 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6241         [BZ #17996]
6242         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6243         (hdestroy_r): Likewise.
6244         (hsearch_r): Likewise.
6245         (__hcreate_r): Declare and use libc_hidden_proto.
6246         (__hdestroy_r): Likewise.
6247         (__hsearch_r): Likewise.
6248         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6249         (hcreate): Call __hcreate_r instead of hcreate_r.
6250         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6251         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6252         as weak alias of __hcreate_r.
6253         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6254         __hdestroy_r.
6255         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6256         __hsearch_r.
6257         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6258         Remove variable.
6259         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6260         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6261         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6262         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6264 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6266         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6267         arena_lock into a single arena_get.
6269 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6271         * dl-reloc.c: Inlucde libc-internal.h.
6272         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6273         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6274         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6275         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6276         (grow_heap): Likewise.
6277         * malloc/malloc.c: Include libc-internal.h.
6278         (do_check_malloc): Call powerof2.
6279         (sysmalloc): Use pagesize. Call ALIGN_UP.
6280         (systrim): Use pagesize.
6281         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6282         (__libc_valloc): Use pagesize.
6283         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6285 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6287         [BZ #17991]
6288         * include/sys/resource.h (__getrlimit64): Declare.  Use
6289         libc_hidden_proto.
6290         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6291         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6292         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6293         getrlimit64.
6294         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6295         __getrlimit64.
6296         [!getrlimit64] (getrlimit64): Define as weak alias of
6297         __getrlimit64.  Use libc_hidden_weak.
6298         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6299         using __getrlimit64 not __new_getrlimit64.
6300         (__GI_getrlimit64): Likewise.
6301         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6302         Likewise.
6303         (__GI_getrlimit64): Likewise.
6304         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6306         (getrlimit): Add __getrlimit64 alias.
6307         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6308         Likewise.
6309         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6310         Remove variable.
6311         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6312         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6314 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6316         * libio/fileops.c: Add missing sys/mman.h
6317         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6319 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6321         * manual/math.texi (Errors in Math Functions): Clarify goals
6322         regarding inexact and underflow exceptions.
6324 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6326         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6327         * sysdeps/mips/memset.S: Ditto.
6329 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6331         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6333 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6335         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6336         (__v1longjmp): Remove versioned symbol.
6337         (__v1siglongjmp): Remove alias and versioned symbol.
6338         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6339         (__v2siglongjmp): Likewise.
6341 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6343         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6345 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6347         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6349 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6351         [BZ #17987]
6352         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6353         zero result does not depend on the sign resulting from
6354         subtraction.
6355         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6356         Likewise.
6357         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6358         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6359         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6360         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6361         * math/libm-test.inc (remquo_test_data): Add more tests.
6363 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6365         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6366         Problem reported by J William Piggott.
6368 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6370         [BZ #17978]
6371         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6372         products 4 * y and 2 * y where those would overflow.
6373         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6374         Likewise.
6375         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6376         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6377         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6378         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6379         * math/libm-test.inc (remquo_test_data): Add more tests.
6381         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6383         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6384         [defined _COMPILING_NEWLIB].
6385         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6386         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6388         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6389         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6391 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6393         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6394         acquired.
6396 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6398         [BZ #17792]
6399         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6400         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6401         HOST_STACK_END_ADDR): Likewise.
6403 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6405         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6406         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6407         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6409 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6411         * sysdeps/generic/c++-types.data: New file.
6412         * sysdeps/generic/ld.abilist: New file.
6413         * sysdeps/generic/libBrokenLocale.abilist: New file.
6414         * sysdeps/generic/libanl.abilist: New file.
6415         * sysdeps/generic/libc.abilist: New file.
6416         * sysdeps/generic/libcrypt.abilist: New file.
6417         * sysdeps/generic/libdl.abilist: New file.
6418         * sysdeps/generic/libm.abilist: New file.
6419         * sysdeps/generic/libpthread.abilist: New file.
6420         * sysdeps/generic/libresolv.abilist: New file.
6421         * sysdeps/generic/librt.abilist: New file.
6423 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6425         [BZ #17569]
6426         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6427         Compute absolute value of x as modified by fmod, not original
6428         value of x.
6429         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6430         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6431         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6432         RUN_TEST_ffI_f1_mod8.
6433         (remquo_test_data): Add more tests.
6435 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6437         * sysdeps/init_array/pt-crti.S: New file.
6439 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6441         [BZ #17967]
6442         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6443         __builtin_fmaf instead of relying on contraction of a * b + c.
6445 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6447         [BZ #17969]
6448         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6449         node.
6451 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6453         [BZ #17964]
6454         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6455         __builtin_fma instead of relying on contraction of a * b + c.
6457 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6459         * Makeconfig (ASFLAGS): Add -Werror=undef.
6460         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6461         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6462         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6464         * Makeconfig (after-link): New variable.
6465         (+link-pie, +link-pie-tests): Use it.
6466         (+link-static, +link-static-tests): Likewise.
6467         (+link, +link-tests): Likewise.
6468         * Makerules (build-module, build-module-asneeded): Likewise.
6469         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6470         Likewise.
6471         * elf/Makefile ($(objpfx)ld.so): Likewise.
6473 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6475         [BZ #17965]
6476         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6477         both struct timeval and struct timespec.
6479 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6481         [BZ #16560]
6482         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6483         and redefine.
6484         (__ieee754_exp2l): Do not multiply small fractional parts by
6485         M_LN2l.
6486         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6487         small argument.
6488         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6489         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6490         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6491         * math/auto-libm-test-in: Add more tests of exp2.
6492         * math/auto-libm-test-out: Regenerated.
6494 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6496         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6497         unaligned path.
6499 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6501         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6502         little endian.
6504 2015-02-12  Andreas Schwab  <schwab@suse.de>
6506         [BZ #15790]
6507         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6508         Filter out elision flags from value returned in kind.
6509         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6510         * nptl/tst-pthread-mutexattr.c: New file.
6512 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6514         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6515         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6516         into gnu-gnu, and update comment to refer to abi-tags.
6518 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6520         [BZ #15467]
6521         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6522         (__sincos): Set errno to EDOM for infinite argument.
6523         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6524         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6525         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6526         (__sincosl): Set errno to EDOM for infinite argument.
6527         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6528         (__sincosl): Set errno to EDOM for infinite argument.
6529         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6530         (__sincosl): Set errno to EDOM for infinite argument.
6531         * math/libm-test.inc (sincos_test_data): Test errno setting.
6533 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6535         * string/strxfrm_l.c: Remove #define STRCMP.
6536         * string/strcoll_l.c: Remove #define STRLEN.
6537         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6538         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6540 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6542         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6543         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6544         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6545         * sysdeps/mips/mips64/Makefile: ... here.
6546         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6547         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6548         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6549         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6550         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6551         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6552         * sysdeps/mips/mips64/n64/Implies: Likewise.
6554 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6556         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6557         <sys/time.h>, <string.h>, and <errno.h>.
6558         (dest_offset, dest_address, value, zero): Remove unused variables.
6559         (ldouble): Remove typedef.
6560         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6561         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6562         1).  Fix code style.
6563         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6564         (check): Function removed.
6565         (CHECK): New macro.
6566         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6567         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6568         Don't call set_sigaction_FP and remove_sigaction_FP here.
6569         (ldouble_test): Just use 'long double' as macro argument, no need for
6570         the 'ldouble' typedef.
6571         (do_test): Set up SIGFPE handler at start, using plain signal rather
6572         than sigaction.  Fix code style.
6574 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6576         [BZ #17949]
6577         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6578         jump label.
6580 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6582         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6583         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6585         * sysdeps/powerpc/configure.ac: Remove file.
6586         * sysdeps/powerpc/configure: Likewise.
6588         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6589         [sysdep_routines]: Remove wordcopy-power6 object.
6590         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6591         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6592         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6593         (__memmove_ppc32): Likewise.
6594         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6595         file.
6596         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6597         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6598         Remove preprocessor.
6600         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6601         [sysdep_routines]: Remove wide chars objects.
6602         [wcsmbs]: New rule for wide char objects.
6604         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6605         Remove wordcopy-power6 obejct.
6606         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6607         Use local call for wordcopy and memcpy symbols.
6608         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6609         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6610         implementation for loader.
6611         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6613         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6614         Remove wordcopy-power7 object.
6615         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6616         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6617         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6618         (_wordcopy_fwd_dest_aligned): Likewise.
6619         (_wordcopy_bwd_aligned): Likewise.
6620         (_wordcopy_bwd_dest_aligned): Likewise.
6622         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6623         Rewrite to call __memmove_ppc instead of include default
6624         implementation.
6626         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6627         Remove wide chars objects.
6628         [wcsmbs]: New rule for wide char objects.
6630 2015-02-09  Andreas Schwab  <schwab@suse.de>
6632         [BZ #17912]
6633         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6634         in terms of __O_DIRECTORY.
6636 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6638         * time/getdate.c: Include <stdbool.h>.
6639         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6640         call PTR_MANGLE.
6641         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6642         PTR_DEMANGLE.
6644 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6646         Add ersatz _Static_assert on older C hosts
6647         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6648         pre-C11 C platform that is not known to support _Static_assert.
6650 2015-02-07  Richard Braun  <rbraun@sceen.net>
6652         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6653         sigstate.
6654         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6656 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6658         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6659         priority against unexistent AIO_PRIO_DELTA_MAX.
6660         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6661         instead of int.
6662         * misc/fchflags.c (fchflags): Likewise.
6663         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6664         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6665         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6666         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6667         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6668         Declare macros.
6669         [__USE_MISC] (chflags, fchflags): Declare functions.
6670         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6671         EINVAL when nfds is greater than FD_SETSIZE.
6672         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6673         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6674         45.
6675         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6676         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6677         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6678         MACH_RCV_TIMED_OUT.
6679         * hurd/hurd/signal.h (_hurd_self_sigstate,
6680         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6681         Explicit casts from void *.
6682         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6683         * abi-tags: Rename gnu-gnu os into gnu.
6685         [BZ #4719]
6686         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6687         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6688         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6689         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6690         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6691         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6693         [BZ #17944]
6694         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6695         duplicates ADDR->sun_path with sockaddr LEN limitation.
6696         * sysdeps/mach/hurd/connect.c: Include <string.h>
6697         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6698         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6699         * sysdeps/mach/hurd/sendto.c: Likewise.
6700         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6701         implementing it by hand.
6703 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6705         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6706         Use sfi_breg on ldr.
6707         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6708         Likewise.
6710         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6711         it's defined.
6712         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6713         Test SIGSETXID only if it's defined.
6715         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6717         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6718         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6720         * nptl/tst-align2.c: Moved ...
6721         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6722         * nptl/Makefile (tests): Remove tst-align2.
6723         * sysdeps/unix/sysv/linux/Makefile
6724         [$(subdir) = nptl] (tests): Add tst-align-clone.
6725         * nptl/tst-getpid1.c: Moved ...
6726         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6727         * nptl/tst-getpid2.c: Moved ...
6728         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6729         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6730         * sysdeps/unix/sysv/linux/Makefile
6731         [$(subdir) = nptl] (tests): ... here.
6732         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6733         * sysdeps/unix/sysv/linux/Makefile
6734         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6736         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6737         Drop trailing \n from perror argument.  Use return rather than exit.
6739         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6740         on [SA_SIGINFO].
6741         * nptl/tst-cancel21.c (do_test): Likewise.
6742         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6743         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6744         [!SA_SIGINFO]: Make it a stub test.
6746         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6747         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6749         * posix/tst-getlogin.c: Move to ...
6750         * login/tst-getlogin.c: ... here.
6751         * posix/Makefile (tests): Move tst-getlogin to ...
6752         * login/Makefile (tests): ... here.
6754         * libio/tst-atime.c (do_test): Move local variables SV and E
6755         inside [ST_NOATIME] conditional.
6757         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6759         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6761         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6762         (wait_code): New function replaces macro.
6763         Call nanosleep rather than syscall.
6765         * nptl/pt-system.c: Rewritten.  Put everything under
6766         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6767         Use IFUNC to redirect when possible.
6769         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6770         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6771         Use IFUNC to redirect when possible.
6773         * nptl/pt-fork.c: Rewritten.  Put everything under
6774         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6775         Use IFUNC to redirect when possible.
6776         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6778         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6779         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6780         unconditionally nowadays.  This included the only reference to
6781         __vdso_clock_gettime that appears outside libc proper.
6782         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6783         Remove version set (containing only __vdso_clock_gettime).
6784         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6785         Add attribute_hidden.
6786         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6787         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6788         libc_hidden_data_def.
6789         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6790         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6792         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6793         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6794         setrpcent, and getrpcport to ...
6795         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6796         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6797         getrpcbynumber_r, and getrpcent_r to ...
6798         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6799         * inet/getrpcbyname.c: Moved ...
6800         * sunrpc/getrpcbyname.c: ... here.
6801         * inet/getrpcbyname_r.c: Moved ...
6802         * sunrpc/getrpcbyname_r.c: ... here.
6803         * inet/getrpcbynumber.c: Moved ...
6804         * sunrpc/getrpcbynumber.c: ... here.
6805         * inet/getrpcbynumber_r.c: Moved ...
6806         * sunrpc/getrpcbynumber_r.c: ... here.
6807         * inet/getrpcent.c: Moved ...
6808         * sunrpc/getrpcent.c: ... here.
6809         * inet/getrpcent_r.c: Moved ...
6810         * sunrpc/getrpcent_r.c: ... here.
6811         * inet/Makefile (routines): Move those to ...
6812         * sunrpc/Makefile (routines): ... here.
6813         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6814         the $(subdirs) list.
6815         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6816         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6817         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6818         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6820         * elf/Makefile (routines): Include $(all-dl-routines), not just
6821         $(dl-routines).
6822         (rtld-routines): Likewise.  Use = rather than :=.
6823         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6824         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6825         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6826         * sysdeps/arm/Makefile: Likewise.
6827         * sysdeps/i386/Makefile: Likewise.
6828         * sysdeps/x86_64/Makefile: Likewise.
6829         * sysdeps/hppa/Makefile [$(subdir) = elf]
6830         (sysdep_routines, sysdep-rtld-routines): Don't add
6831         $(sysdep-dl-routines) to these.
6832         * sysdeps/ia64/Makefile: Likewise.
6833         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6834         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6835         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6836         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6837         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6838         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6839         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6840         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6841         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6842         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6843         these; sysdep-dl-routines alone is enough.
6845 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6847         [BZ #17932]
6848         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6849         where multiplication results in zero and third argument is finite
6850         and nonzero.
6851         * math/auto-libm-test-in: Add more tests of fma.
6852         * math/auto-libm-test-out: Regenerated.
6854         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6855         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6856         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6857         (_FP_CMP_EQ): Likewise.
6858         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6860         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6861         extra argument CHECK_NAN.  Redefine as wrapper around
6862         _FP_EXTEND_CNAN.
6864 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6866         * version.h (RELEASE): Set to "stable".
6867         (VERSION): Set to "2.21"
6868         * include/features.h (__GLIBC_MINOR__): Set to 21.
6870         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6872 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6873             Paul Eggert  <eggert@cs.ucla.edu>
6875         [BZ #16618]
6876         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6877         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6878         size in bytes. Store needed elements in wpmax. Use needed size
6879         in bytes for extend_alloca.
6881 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6883         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6884         binutls 2.25, and texinfo 5.2.
6885         * INSTALL: Regenerate.
6886         * sysdeps/nios2/configure: Regenerate.
6887         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6888         * manual/contrib.texi: Update.
6889         * po/be.po: Update.
6890         * po/bg.po: Update.
6891         * po/ca.po: Update.
6892         * po/cs.po: Update.
6893         * po/da.po: Update.
6894         * po/de.po: Update.
6895         * po/el.po: Update.
6896         * po/eo.po: Update.
6897         * po/es.po: Update.
6898         * po/fi.po: Update.
6899         * po/fr.po: Update.
6900         * po/gl.po: Update.
6901         * po/hr.po: Update.
6902         * po/hu.po: Update.
6903         * po/ia.po: Update.
6904         * po/id.po: Update.
6905         * po/it.po: Update.
6906         * po/ja.po: Update.
6907         * po/ko.po: Update.
6908         * po/lt.po: Update.
6909         * po/nb.po: Update.
6910         * po/nl.po: Update.
6911         * po/pl.po: Update.
6912         * po/pt_BR.po: Update.
6913         * po/ru.po: Update.
6914         * po/rw.po: Update.
6915         * po/sk.po: Update.
6916         * po/sl.po: Update.
6917         * po/sv.po: Update.
6918         * po/tr.po: Update.
6919         * po/uk.po: Update.
6920         * po/vi.po: Update.
6921         * po/zh_CN.po: Update.
6922         * po/zh_TW.po: Update.
6924         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6925         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6926         * sysdeps/hppa/dl-irel.h: Remove #warning.
6927         * sysdeps/hppa/entry.h: Provide prototype for
6928         __canonicalize_funcptr_for_compare and cast argument.
6929         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6930         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6931         * sysdeps/hppa/sotruss-lib.c: New file.
6932         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6933         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6934         (atomic_compare_and_exchange_bool_acq): Likewise.
6935         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6936         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6938         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6939         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6940         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6942 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6944         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6945         called function in non-PIC case.
6947 2015-01-31  David S. Miller  <davem@davemloft.net>
6949         * sysdeps/sparc/sparc32/bits/atomic.h
6950         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6951         unlock not after it.
6952         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6953         volatile register usage warnings from the compiler.
6955         * sysdeps/sparc/nptl/sem_init.c: Delete.
6956         * sysdeps/sparc/nptl/sem_post.c: Delete.
6957         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6958         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6959         * sysdeps/sparc/sparc32/sem_init.c: New file.
6960         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6961         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6962         padding explicitly initialized.
6963         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6964         padding for in-semaphore spinlock.
6965         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6966         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6967         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6968         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6969         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6970         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6971         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6972         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6973         version.
6974         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6975         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6977 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6979         [BZ #17801]
6980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6981         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6982         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6983         New.
6984         (index_AVX_Fast_Unaligned_Load): Likewise.
6985         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6986         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6987         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6988         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6989         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6990         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6991         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6992         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6993         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6995 2015-01-29  Andreas Schwab  <schwab@suse.de>
6997         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6999 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7001         [BZ #17892]
7002         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7004 2015-01-28  Martin Sebor  <msebor@redhat.com>
7006         * math/README.libm-test: Clarify. Add "How to read the test output."
7008 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7010         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7011         Define to 0.
7013 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7015         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7016         (__HAVE_64B_ATOMICS): Define to 0.
7018 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7020         [BZ #17885]
7021         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7022         value to set as new flag.
7024         [BZ #16576]
7025         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7026         and use _ARCH_PPCSQ instead.
7027         (__ieee754_sqrt): Likewise.
7028         (__ieee754_sqrtf): Likewise.
7029         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7030         _ARCH_PPCSQ is defined.
7031         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7032         fsqrt instruction.
7033         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7034         _ARCH_PPCSQ is defined.
7035         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7036         fsqrts instruction.
7037         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7039 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7041         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7042         bug (GCC BZ #64739).
7044 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7046         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7047         Mark _retval as used.
7048         (lll_futex_wake_unlock): Likewise.
7049         (lll_futex_timed_wait_requeue_pi): Likewise.
7051         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7052         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7053         register variables.
7055         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7056         libm_hidden_def.
7058         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7059         (__bswap_64): Mark as __always_inline.
7061 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7063         [BZ #15378]
7064         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7065         when none of the search directories exist.
7067 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7069         [BZ #17869]
7070         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7071         power8 in .machine directive.
7073         [BZ #17868]
7074         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7075         set dependency from opd value.
7077 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7079         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7080         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7081         architecture.
7083 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7085         [BZ #17870]
7086         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7087         with uint64_t.
7088         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7089         (uint64_t) 1.
7090         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7091         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7092         Replace 1UL with (uint64_t) 1.
7093         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7094         int with uint64_t.
7096 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7098         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7099         (if_freenameindex): Likewise.
7101         * resource/getrlimit64.c: Add missing libc_hidden_def.
7103 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7105         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7106         __label__.
7107         (_FP_FMA): Likewise.
7108         (_FP_TO_INT_ROUND): Likewise.
7109         (_FP_FROM_INT): Likewise.
7111 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7113         [BZ #16418]
7114         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7115         Make code racy and cancel safe.
7117 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7119         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7120         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7121         attribution.
7123         * pwd/tst-getpw.c: Rewrite.
7125         [BZ #17702]
7126         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7127         (modules-names): Add moddummy1 and moddummy2.
7128         ($(objpfx)tst-rec-dlopen): Define.
7129         * dlfcn/moddummy1.c: New file.
7130         * dlfcn/moddummy2.c: New file.
7131         * dlfcn/tst-rec-dlopen.c: New file.
7132         * elf/dl-cache.c (_dl_load_cache_lookup):
7133         Return char*. Copy result with alloca/strcpy/strdup.
7134         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7135         returns char*. Free cached. If not saving realname
7136         free cached.
7137         * elf/dl-open.c (dl_open_worker): Do not assert that
7138         _r_debug->r_state is RT_CONSISTENT.
7139         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7140         returns char*.
7142 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7143             Carlos O'Donell  <carlos@redhat.com>
7145         [BZ #12674]
7146         * nptl/sem_waitcommon.c: New file.
7147         * nptl/sem_wait.c: Include sem_waitcommon.c.
7148         (__sem_wait_cleanup, do_futex_wait): Remove.
7149         (__new_sem_wait): Adapt.
7150         (__new_sem_trywait): New function.
7151         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7152         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7153         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7154         (sem_timedwait): Adapt.
7155         * nptl/sem_post.c (__new_sem_post): Adapt.
7156         (futex_wake): New function.
7157         (__old_sem_post): Add release MO fence.
7158         * nptl/sem_open.c (sem_open): Adapt.
7159         * nptl/sem_init.c (__new_sem_init): Adapt.
7160         (futex_private_if_supported): New function.
7161         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7162         (__old_sem_getvalue): Add using previous code.
7163         * sysdeps/nptl/internaltypes.h: Adapt.
7164         * nptl/tst-sem13.c (do_test): Adapt.
7165         * nptl/tst-sem11.c (main): Adapt.
7166         * nptl/sem_trywait.c: Remove.
7167         * nptl/DESIGN-sem.txt: Remove.
7168         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7169         (gen-as-const-headers): Remove structsem.sym.
7170         * nptl/structsem.sym: Remove.
7171         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7172         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7173         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7174         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7175         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7176         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7177         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7178         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7179         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7180         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7181         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7182         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7183         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7184         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7185         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7186         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7187         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7188         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7189         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7190         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7191         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7192         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7194 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7196         * INSTALL: Regenerated.
7198         * po/libc.pot: Regenerated.
7200 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7201             Sandra Loosemore  <sandra@codesourcery.com>
7202             Andrew Jenner  <andrew@codesourcery.com>
7203             Joseph Myers  <joseph@codesourcery.com>
7204             Nathan Sidwell  <nathan@codesourcery.com>
7206         * NEWS: Mention new Nios II port.
7207         * sysdeps/nios2/Implies: New file.
7208         * sysdeps/nios2/Makefile: New file.
7209         * sysdeps/nios2/Subdirs: New file.
7210         * sysdeps/nios2/Versions: New file.
7211         * sysdeps/nios2/__longjmp.S: New file.
7212         * sysdeps/nios2/abort-instr.h: New file.
7213         * sysdeps/nios2/backtrace.c: New file.
7214         * sysdeps/nios2/bits/endian.h: New file.
7215         * sysdeps/nios2/bits/fenv.h: New file.
7216         * sysdeps/nios2/bits/link.h: New file.
7217         * sysdeps/nios2/bits/setjmp.h: New file.
7218         * sysdeps/nios2/bsd-_setjmp.S: New file.
7219         * sysdeps/nios2/bsd-setjmp.S: New file.
7220         * sysdeps/nios2/configure: New generated file.
7221         * sysdeps/nios2/configure.ac: New file.
7222         * sysdeps/nios2/crti.S: New file.
7223         * sysdeps/nios2/crtn.S: New file.
7224         * sysdeps/nios2/dl-init.c: New file.
7225         * sysdeps/nios2/dl-machine.h: New file.
7226         * sysdeps/nios2/dl-sysdep.h: New file.
7227         * sysdeps/nios2/dl-tls.h: New file.
7228         * sysdeps/nios2/dl-trampoline.S: New file.
7229         * sysdeps/nios2/gccframe.h: New file.
7230         * sysdeps/nios2/gmp-mparam.h: New file.
7231         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7232         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7233         * sysdeps/nios2/ldsodefs.h: New file.
7234         * sysdeps/nios2/libc-tls.c: New file.
7235         * sysdeps/nios2/libm-test-ulps: New file.
7236         * sysdeps/nios2/machine-gmon.h: New file.
7237         * sysdeps/nios2/math-tests.h: New file.
7238         * sysdeps/nios2/math_private.h: New file.
7239         * sysdeps/nios2/memusage.h: New file.
7240         * sysdeps/nios2/nptl/Makefile: New file.
7241         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7242         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7243         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7244         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7245         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7246         * sysdeps/nios2/nptl/tls.h: New file.
7247         * sysdeps/nios2/preconfigure: New file.
7248         * sysdeps/nios2/s_fma.c: New file.
7249         * sysdeps/nios2/s_fmaf.c: New file.
7250         * sysdeps/nios2/setjmp.S: New file.
7251         * sysdeps/nios2/sfp-machine.h: New file.
7252         * sysdeps/nios2/sotruss-lib.c: New file.
7253         * sysdeps/nios2/stackguard-macros.h: New file.
7254         * sysdeps/nios2/stackinfo.h: New file.
7255         * sysdeps/nios2/start.S: New file.
7256         * sysdeps/nios2/sysdep.h: New file.
7257         * sysdeps/nios2/tls-macros.h: New file.
7258         * sysdeps/nios2/tst-audit.h: New file.
7259         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7260         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7261         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7262         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7263         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7264         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7265         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7266         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7267         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7268         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7269         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7270         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7271         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7272         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7273         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7274         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7275         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7276         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7277         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7278         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7279         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7280         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7281         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7282         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7283         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7284         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7285         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7286         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7287         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7288         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7289         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7290         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7291         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7292         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7293         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7294         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7295         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7296         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7297         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7298         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7299         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7300         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7301         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7302         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7304 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7306         [BZ #17844]
7307         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7308         (getutent): Use weak_alias in non SHARED case
7309         and default_symbol_version in SHARED case.
7310         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7311         (getutent_r, pututline): Likewise.
7312         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7313         (getutid): Likewise.
7314         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7315         (getutid_r): Likewise.
7316         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7317         (getutline): Likewise.
7318         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7319         (getutline_r): Likewise.
7320         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7321         (updwtmp): Likewise.
7323 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7325         [BZ #17848]
7326         * sysdeps/s390/s390-32/memcmp.S
7327         (memcmp_g5): Rename to __memcmp_g5.
7328         * sysdeps/s390/s390-32/memcpy.S
7329         (memcpy_g5): Rename to __memcpy_g5.
7330         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7331         (memcpy_mvcle) Rename to __memcpy_mvcle.
7332         * sysdeps/s390/s390-32/memset.S
7333         (memset_g5): Rename to __memset_g5.
7334         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7335         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7336         and use prefixed functions.
7337         * sysdeps/s390/s390-32/multiarch/memcmp.S
7338         (memcmp_z196): Rename to __memcmp_z196.
7339         (memcmp_z10): Rename to __memcmp_z10.
7340         (memcmp): Set alias to __memcmp_g5.
7341         (bcmp): Set alias to __memcmp_g5.
7342         * sysdeps/s390/s390-32/multiarch/memcpy.S
7343         (memcpy_z196): Rename to __memcpy_z196.
7344         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7345         (memcpy_z10): Rename to __memcpy_z10.
7346         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7347         (memcpy): Set alias to __memcpy_g5.
7348         * sysdeps/s390/s390-32/multiarch/memset.S
7349         (memset_z196): Rename to __memset_z196.
7350         Jump to __memset_mvcle instead of memset_mvcle.
7351         (memset_z10): Rename to __memset_z10.
7352         Jump to __memset_mvcle instead of memset_mvcle.
7353         (memset_mvcle) Rename to __memset_mvcle.
7354         (memset): Set alias to __memset_g5.
7355         * sysdeps/s390/s390-64/memcmp.S
7356         (memcmp_z900): Rename to __memcmp_z900.
7357         * sysdeps/s390/s390-64/memcpy.S
7358         (memcpy_z900): Rename to __memcpy_z900.
7359         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7360         (memcpy_mvcle) Rename to __memcpy_mvcle.
7361         * sysdeps/s390/s390-64/memset.S
7362         (memset_z900): Rename to __memset_z900.
7363         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7364         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7365         and use prefixed functions.
7366         * sysdeps/s390/s390-64/multiarch/memcmp.S
7367         (memcmp_z196): Rename to __memcmp_z196.
7368         (memcmp_z10): Rename to __memcmp_z10.
7369         (memcmp): Set alias to __memcmp_z900.
7370         (bcmp): Set alias to __memcmp_z900.
7371         * sysdeps/s390/s390-64/multiarch/memcpy.S
7372         (memcpy_z196): Rename to __memcpy_z196.
7373         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7374         (memcpy_z10): Rename to __memcpy_z10.
7375         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7376         (memcpy): Set alias to __memcpy_z900.
7377         * sysdeps/s390/s390-64/multiarch/memset.S
7378         (memset_z196): Rename to __memset_z196.
7379         Jump to __memset_mvcle instead of memset_mvcle.
7380         (memset_z10): Rename to __memset_z10.
7381         Jump to __memset_mvcle instead of memset_mvcle.
7382         (memset_mvcle) Rename to __memset_mvcle.
7383         (memset): Set alias to __memset_z900.
7385 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7387         [BZ #17748]
7388         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7389         __fesetenv instead of fesetenv.
7391 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7393         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7394         macro.
7396 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7398         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7399         regression on LE.
7401         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7402         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7403         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7404         strncmp-power8 object.
7405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7406         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7407         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7408         * NEWS: Update.
7410 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7411             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7413         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7414         trailing byte check.
7416 2015-01-13  David S. Miller  <davem@davemloft.net>
7418         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7420 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7422         * login/logout.c (logout): Use memset rather than bzero.
7423         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7424         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7425         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7426         (_gethtbyaddr): Likewise.
7427         * locale/programs/simple-hash.c (bcopy): Macro removed.
7429 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7431         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7432         Add strcmp-power8 object.
7433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7434         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7435         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7436         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7437         __strcmp_power8 implementation.
7438         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7439         * NEWS: Update.
7441         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7442         Add strncpy-power8 and stpncpy-power8 objects.
7443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7444         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7445         implementations.
7446         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7447         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7448         __stpncpy_power8 implementation.
7449         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7450         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7451         __strncpy_power8 implementation.
7452         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7453         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7454         * NEWS: Update.
7456         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7457         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7458         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7460         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7461         strncat-power8 object.
7462         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7463         __strcat_power8 implementation.
7464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7465         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7466         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7467         optimized strcat for power8.
7469         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7470         strcpy-power8 and stpcpy-power8 objects.
7471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7472         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7473         implementations.
7474         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7475         multiarch stpcpy implementation for POWER8.
7476         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7477         multiarch strcpy implementation for POWER8.
7478         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7479         __strcpy_power8 function.
7480         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7481         stpcpy for POWER8.
7482         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7483         strcpy for POWER8.
7484         * NEWS: Update.
7486 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7488         [BZ #16009]
7489         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7490         weights and rules. Use do_xfrm_cached if data fits in cache,
7491         do_xfrm otherwise.  Moved former main loop to...
7492         * (do_xfrm_cached): New function.
7493         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7494         find_idx, find_position and stack_push.
7495         * (find_idx): New function.
7496         * (find_position): Likewise.
7497         * localedata/sort-test.sh: Added test run for do_xfrm.
7498         * localedata/xfrm-test.c (main): Added command line option
7499         -nocache to run the test with strings that are too large for
7500         the STRXFRM cache.
7502 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7504         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7505         variable to lll_futex_wake call, not the value itself.
7507 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7509         [BZ #17803]
7510         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7511         twom64.  Adjust value to 0x1p-64L.
7512         (__scalblnl): Only return standard underflowing result for K <=
7513         -64 not K <= -63; adjust exponent for underflowing result by 64
7514         not 63.
7515         * math/libm-test.inc (scalbn_test_data): Add more tests.
7516         (scalbln_test_data): Likewise.
7518         [BZ #17834]
7519         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7520         0x1p63L.
7521         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7522         not HX.
7523         * math/libm-test.inc (scalbn_test_data): Add more tests.
7524         (scalbln_test_data): Likewise.
7526 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7527             Stefani Seibold  <stefani@seibold.net>
7529         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7530         (sysdep_routines): Add dl-vdso here, ...
7531         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7532         (sysdep_routines): ... not here.
7533         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7534         fallback when vDSO is not presented.
7535         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7536         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7537         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7538         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7539         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7540         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7541         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7542         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7543         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7544         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7545         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7546         fallback configurable symbol when vDSO is not available.
7547         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7548         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7549         be able to redefine fallback symbol when vDSO is not available.
7550         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7551         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7553 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7555         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7556         (TLS_INIT_TP): Add tm_capable initialization.
7557         (TLS_DEFINE_INIT_TP): Likewise.
7558         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7559         TCB.
7560         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7561         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7562         calculation.
7563         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7564         transactoion is lock elision is built and TCB tm_capable is set.
7565         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7567         (INTERNAL_SYSCALL_NCS): Likewise.
7568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7569         (INTERNAL_SYSCALL_NCS): Likewise.
7570         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7572         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7573         for powerpc.
7574         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7575         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7576         and remove it for 32 bits case.
7577         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7578         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7579         initialization.
7580         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7581         Disable lock elision with rdlocks if elision is not available.
7583         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7584         (sysdep_routines): Add lock elision objects.
7585         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7586         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7587         [pthread_mutex_t] (__elision): Add field.
7588         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7589         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7590         elision definitions for powerpc.
7591         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7592         implementation of lock elision for powerpc.
7593         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7594         implementation of timed lock elision for powerpc.
7595         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7596         implementation of trylock with lock elision for powerpc.
7597         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7598         implementaion of unlock for lock elision for powerpc.
7599         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7600         automatic enable lock elision for mutexes.
7601         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7602         transaction execution definitions for powerpc.
7603         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7604         definitions.
7605         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7606         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7607         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7608         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7609         * NEWS: Update.
7611 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7613         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7614         for #include of <shm-directory.h>.
7616 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7618         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7619         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7621 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7623         [BZ #17791]
7624         * NEWS: Mention bug fix.
7625         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7626         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7627         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7629 2015-01-09  Torvald Riegel <triegel@redhat.com>
7631         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7633 2015-01-09  Torvald Riegel <triegel@redhat.com>
7635         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7637 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7639         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7640         pointer and cast to uintptr_t.
7642 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7644         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7645         removed.
7646         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7648 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7650         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7651         of 0.
7653 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7655         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7656         <nptl/pthreadP.h> instead.
7657         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7659         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7660         already defined.
7661         [__SIGRTMIN] (init): Function removed.
7662         [__SIGRTMIN] (initialized): Variable removed.
7663         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7664         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7665         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7666         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7667         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7668         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7669         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7670         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7671         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7672         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7673         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7674         * sysdeps/nptl/allocrtsig.c: New file.
7675         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7676         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7677         * sysdeps/generic/testrtsig.h: File removed.
7679         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7680         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7682         * nptl/nptl-init.c (pthread_functions): Conditionalize
7683         .ptr__nptl_setxid initialization on [SIGSETXID].
7685         * sysdeps/nptl/sys/procfs.h: New file.
7686         * nptl_db/Makefile (headers): Add it.
7687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7689         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7690         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7691         * nptl/pthread_attr_setaffinity.c: Include it.
7692         * nptl/pthread_setattr_default_np.c: Likewise.
7693         * nptl/check-cpuset.h: New file.
7695 2015-01-08  Richard Henderson  <rth@redhat.com>
7697         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7698         (CFLAGS-tst-execstack-prog.c): Likewise.
7699         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7701 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7702             Sandra Loosemore  <sandra@codesourcery.com>
7703             Andrew Jenner  <andrew@codesourcery.com>
7704             Joseph Myers  <joseph@codesourcery.com>
7705             Nathan Sidwell  <nathan@codesourcery.com>
7707         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7708         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7709         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7710         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7711         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7712         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7713         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7714         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7715         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7716         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7717         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7718         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7719         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7720         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7721         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7722         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7723         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7725 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7727         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7728         timespec struct member in syscall macro.
7729         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7730         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7731         first timeval struct member in syscall macro.
7732         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7734 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7736         [BZ #17748]
7737         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7738         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7739         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7740         __feupdateenv and define as weak alias of __feupdateenv.  Use
7741         libm_hidden_weak.
7742         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7743         libm_hidden_def.
7744         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7745         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7746         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7747         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7748         libm_hidden_def.
7749         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7750         __feupdateenv and define as weak alias of __feupdateenv.  Use
7751         libm_hidden_weak.
7752         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7753         libm_hidden_def.
7754         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7755         __feupdateenv and define as weak alias of __feupdateenv.  Use
7756         libm_hidden_weak.
7757         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7758         libm_hidden_def.
7759         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7760         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7761         (__feupdateenv): Likewise.
7762         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7763         __feupdateenv and define as weak alias of __feupdateenv.  Use
7764         libm_hidden_weak.
7765         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7766         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7767         libm_hidden_def.
7768         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7769         function.
7770         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7771         libm_hidden_def.
7772         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7773         __feupdateenv instead of feupdateenv.
7774         (default_libc_feupdateenv_test): Likewise.
7775         (libc_feresetround_ctx): Likewise.
7777 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7779         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7780         prototype.
7782 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7784         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7785         COLL_SYM in a couple of places to avoid uninitialized variable
7786         wanings on tilegx gcc 4.8.2.
7788 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7790         * sysdeps/aarch64/strcpy.S: New file.
7791         * sysdeps/aarch64/stpcpy.S: New file.
7792         * NEWS: Updated.
7794 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7796         * sysdeps/aarch64/strrchr.S: New file.
7797         * NEWS: Updated.
7799 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7801         [BZ #17658]
7802         * stdlib/setenv.c: Fix memory leak when setting large,
7803         duplicate string.
7805 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7807         [BZ #17273]
7808         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7809         and tabs from buffer before parsing fstab entry.
7810         * misc/tst-mntent.c (main): Add test for mount entry with
7811         trailing spaces and tabs.
7813 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7815         [BZ #17748]
7816         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7817         * math/fesetround.c (fesetround): Rename to __fesetround and
7818         define as weak alias of __fesetround.  Use libm_hidden_weak.
7819         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7820         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7821         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7822         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7823         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7824         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7825         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7826         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7827         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7828         __fesetround_inline.
7829         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7830         __fesetround_inline instead of __fesetround.
7831         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7832         __fesetround and define as weak alias of __fesetround.  Use
7833         libm_hidden_weak.  Call __fesetround_inline instead of
7834         __fesetround.
7835         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7836         __fesetround and define as weak alias of __fesetround.  Use
7837         libm_hidden_weak.
7838         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7839         Likewise.
7840         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7841         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7842         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7843         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7844         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7845         __fesetround and define as weak alias of __fesetround.  Use
7846         libm_hidden_weak.
7847         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7848         __fesetround instead of fesetround.
7849         (default_libc_feholdexcept_setround): Likewise.
7850         (libc_feholdsetround_ctx): Likewise.
7851         (libc_feholdsetround_noex_ctx): Likewise.
7853         [BZ #17748]
7854         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7855         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7856         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7857         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7858         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7859         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7860         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7861         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7862         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7863         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7864         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7865         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7866         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7867         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7868         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7869         libm_hidden_def.
7870         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7871         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7872         Likewise.
7873         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7874         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7875         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7876         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7877         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7878         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7879         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7880         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7881         __fesetenv instead of fesetenv.
7882         (libc_feresetround_noex_ctx): Likewise.
7883         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7884         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7885         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7886         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7887         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7888         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7889         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7890         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7891         (__feupdateenv): Likewise.
7892         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7893         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7894         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7895         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7897 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7899         [BZ #17806]
7900         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7901         addresses have been freed.
7903 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7905         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7906         and nservall.
7908 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7910         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7911         Clean up check_pf allocation pattern. addresses
7913 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7915         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7916         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7917         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7918         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7919         * nptl/pthread_join.c (pthread_join): Likewise.
7920         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7921         * sysdeps/posix/waitid.c (__waitid): Likewise.
7922         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7923         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7924         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7925         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7926         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7927         Likewise.
7928         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7929         (__libc_pread64): Likewise.
7930         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7931         (__libc_pwrite): Likewise.
7932         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7933         (__libc_pwrite64): Likewsie.
7934         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7935         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7936         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7937         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7938         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7939         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7940         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7942         Likewise.
7943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7944         (__libc_pread64): Likewise.
7945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7946         Likewise.
7947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7948         (__libc_pwrite64): Likewise.
7949         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7950         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7951         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7952         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7953         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7954         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7955         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7956         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7957         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7958         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7959         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7960         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7961         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7962         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7963         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7964         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7965         Likewise.
7967 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7969         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7970         (CFLAGS-test-double.c): Likewise.
7971         (CFLAGS-test-ldouble.c): Likewise.
7972         (CPPFLAGS-test-ifloat.c): Likewise.
7973         (CPPFLAGS-test-idouble.c): Likewise.
7974         (CPPFLAGS-test-ildoubl.c): Likewise.
7975         (CFLAGS-test-test-fenv.c): Remove variable.
7976         (CFLAGS-test-misc.c): Likewise.
7978 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7980         [BZ #17797]
7981         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7982         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7983         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7984         CLOCKS_PER_SEC == 1000000.
7985         * time/clocktest.c (main): Replace %ld with %jd and cast to
7986         intmax_t.
7988 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7990         * sysdeps/generic/unwind-resume.h: New file.
7991         * sysdeps/gnu/unwind-resume.c: Include it.
7992         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7993         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7994         argument list.
7995         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7996         global rather than static.
7997         (_Unwind_Resume): Update user.
7998         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7999         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8000         rather than static.  Add __attribute__ ((cold)).
8001         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8002         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8003         * sysdeps/arm/arm-unwind-resume.S: New file.
8004         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8005         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8006         * sysdeps/arm/Makefile [$(subdir) = csu]
8007         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8008         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8009         Add rt-arm-unwind-resume.
8010         [$(subdir) = nptl]
8011         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8012         Add pt-arm-unwind-resume.
8013         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8014         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8016 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8018         [BZ #17748]
8019         * include/fenv.h (__feholdexcept): Declare.  Use
8020         libm_hidden_proto.
8021         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8022         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8023         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8024         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8025         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8026         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8027         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8028         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8029         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8030         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8031         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8032         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8033         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8034         (feholdexcept): Likewise.
8035         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8036         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8037         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8038         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8039         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8040         __feholdexcept instead of feholdexcept.
8041         (default_libc_feholdexcept_setround): Likewise.
8043 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8045         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8046         to avoid using stl/str to align destination.
8048 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8050         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8052 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8054         [BZ #17796]
8055         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8056         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8057         Define as weak alias not strong alias.
8059 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8061         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8062         bltzal with addiupc.
8063         (RTLD_START): Ditto.
8065 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8067         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8068         for __vdso_* functions in declarations.
8069         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8070         definitions.
8071         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8072         INTERNAL_VSYSCALL): Use struct return types to check for error.
8074         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8075         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8076         function with cast from llround().
8077         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8078         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8079         Define.
8081 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8083         [BZ #17793]
8084         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8085         Define as weak alias not strong alias.
8087         [BZ #17635]
8088         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8089         ...
8090         * ctype/ctype-extn.c: ... here.
8091         (__isblank_l): Move to ...
8092         * ctype/ctype-c99_l.c: ... here.  New file.
8093         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8094         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8095         Remove variable.
8096         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8097         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8098         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8099         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8100         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8102         [BZ #17777]
8103         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8104         (posix_fadvise64): Define as weak alias not strong alias.
8105         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8106         (posix_fallocate64): Likewise.
8107         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8108         Remove variable.
8109         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8110         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8111         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8112         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8113         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8115 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8117         [BZ #16191]
8118         * NEWS: Mention bug fix.
8119         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8120         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8121         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8122         (HOST_STACK_END_ADDR): Likewise.
8124 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8126         [BZ #17748]
8127         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8128         * math/fegetround.c (fegetround): Rename to __fegetround and
8129         define as weak alias of __fegetround.  Use libm_hidden_weak.
8130         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8131         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8132         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8133         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8134         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8135         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8136         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8137         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8138         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8139         Undefine after rather than before function definition; use
8140         parentheses around function name in definition.
8141         (__fegetround): Also undefine macro after function definition.
8142         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8143         __fegetround and define as weak alias of __fegetround.  Use
8144         libm_hidden_weak.  Do not undefine as macro.
8145         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8146         Likewise.
8147         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8148         __fegetround and define as weak alias of __fegetround.  Use
8149         libm_hidden_weak.
8150         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8151         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8152         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8153         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8154         __fegetround and define as weak alias of __fegetround.  Use
8155         libm_hidden_weak.
8156         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8157         __fegetround instead of fegetround.
8159         [BZ #17782]
8160         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8161         Condition macro definition on [__USE_MISC].
8163         [BZ #17781]
8164         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8165         (struct sigaction): Change type of sa_flags field to int.
8167         [BZ #17780]
8168         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8169         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8170         __glibc_reserved0.
8172         * nptl/version.c (banner): Use single year in copyright notice.
8174         * NEWS: Update copyright dates.
8175         * catgets/gencat.c (print_version): Likewise.
8176         * csu/version.c (banner): Likewise.
8177         * debug/catchsegv.sh: Likewise.
8178         * debug/pcprofiledump.c (print_version): Likewise.
8179         * debug/xtrace.sh (do_version): Likewise.
8180         * elf/ldconfig.c (print_version): Likewise.
8181         * elf/ldd.bash.in: Likewise.
8182         * elf/pldd.c (print_version): Likewise.
8183         * elf/sotruss.sh: Likewise.
8184         * elf/sprof.c (print_version): Likewise.
8185         * iconv/iconv_prog.c (print_version): Likewise.
8186         * iconv/iconvconfig.c (print_version): Likewise.
8187         * locale/programs/locale.c (print_version): Likewise.
8188         * locale/programs/localedef.c (print_version): Likewise.
8189         * login/programs/pt_chown.c (print_version): Likewise.
8190         * malloc/memusage.sh (do_version): Likewise.
8191         * malloc/memusagestat.c (print_version): Likewise.
8192         * malloc/mtrace.pl: Likewise.
8193         * manual/libc.texinfo: Likewise.
8194         * nptl/version.c (banner): Likewise.
8195         * nscd/nscd.c (print_version): Likewise.
8196         * nss/getent.c (print_version): Likewise.
8197         * nss/makedb.c (print_version): Likewise.
8198         * posix/getconf.c (main): Likewise.
8199         * scripts/test-installation.pl: Likewise.
8200         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8202 2015-01-02  Will Newton  <will.newton@linaro.org>
8204         * sysdeps/arm/armv7/configure: Removed.
8205         * sysdeps/arm/armv7/configure.ac: Likewise.
8207 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8209         * All files with FSF copyright notices: Update copyright dates
8210         using scripts/update-copyrights.
8211         * intl/plural.c: Regenerated.
8212         * locale/programs/charmap-kw.h: Likewise.
8213         * locale/programs/locfile-kw.h: Likewise.
8215 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8217         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8219 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8221         [BZ #17748]
8222         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8223         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8224         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8225         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8226         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8227         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8228         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8229         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8230         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8231         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8232         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8233         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8234         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8235         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8236         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8237         libm_hidden_def.
8238         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8239         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8240         Likewise.
8241         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8242         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8243         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8244         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8245         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8246         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8247         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8248         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8249         __fegetenv instead of fegetenv.
8250         (libc_feholdsetround_noex_ctx): Likewise.
8252 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8254         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8255         (Elf_MIPS_ABIFlags_v0): New structure.
8256         (EF_MIPS_FP64): Define.
8257         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8258         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8259         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8260         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8261         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8262         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8263         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8264         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8265         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8266         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8267         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8268         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8269         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8270         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8271         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8272         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8273         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8274         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8275         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8276         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8277         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8278         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8279         field.
8280         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8281         EF_MIPS_FP64.
8282         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8283         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8284         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8285         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8286         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8287         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8288         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8289         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8290         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8291         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8292         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8293         record the current FP ABI extension.
8294         (mips-mode-switch): Define to show if kernel headers support mode
8295         switching.
8296         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8297         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8298         supported SYSV ABI version to 3.
8299         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8300         feature.
8302 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8303             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8305         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8306         path.
8307         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8309 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8311         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8312         __fegetround and redefine to call __fegetround.  Remove condition
8313         on [!__NO_MATH_INLINES].
8314         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8315         function.
8316         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8317         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8318         Remove macro.
8319         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8320         instead of <fenv_libc.h>.
8321         (__llrintl): Call fegetround instead of __fegetround.
8322         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8323         instead of <fenv_libc.h>.
8324         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8325         (__lrintl): Call fegetround instead of __fegetround.
8326         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8327         instead of <fenv_libc.h>.
8328         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8329         (__rintl): Call fegetround instead of __fegetround.
8331 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8333         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8334         arrays.
8336 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8338         [BZ #17775]
8339         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8340         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8341         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8343 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8345         * sysdeps/i386/tls-macros.h: Include <features.h>.
8346         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8347         (TLS_IE): Likewise.
8348         (TLS_LD): Likewise.
8349         (TLS_GD): Likewise.
8350         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8351         define for GCC >= 5.0.
8353 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8355         * math/test-fenv.c (test_single_exception, set_single_exc,
8356         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8357         feexcp_mask_test, feenable_test, fe_single_test): Add
8358         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8359         case where they are not used.
8360         * math/libm-test.inc: Likewise.
8361         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8362         unused in the absence of FP rounding/exception support.
8363         * stdio-common/tst-printf-round.c: Likewise.
8364         * stdlib/tst-strtod-round.c: Likewise.
8365         * stdlib/tst-strtod-underflow.c: Likewise.
8367 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8369         [BZ #17723]
8370         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8371         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8372         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8373         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8374         libm_hidden_weak.
8375         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8376         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8377         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8378         libm_hidden_def.
8379         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8380         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8381         libm_hidden_weak.
8382         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8383         Likewise.
8384         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8385         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8386         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8387         libm_hidden_weak.
8388         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8389         libm_hidden_def.
8390         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8391         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8392         (__feraiseexcept): Likewise.
8393         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8394         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8395         libm_hidden_weak.
8396         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8397         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8398         libm_hidden_def.
8399         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8400         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8401         Use libm_hidden_def.
8402         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8403         libm_hidden_def.
8404         (feraiseexcept): Define as weak not strong alias.  Use
8405         libm_hidden_weak.
8406         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8407         New inline function.  Factored out of ...
8408         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8409         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8410         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8411         feraiseexcept.
8412         * math/w_acos.c (__acos): Likewise.
8413         * math/w_asin.c (__asin): Likewise.
8414         * math/w_ilogb.c (__ilogb): Likewise.
8415         * math/w_j0.c (y0): Likewise.
8416         * math/w_j1.c (y1): Likewise.
8417         * math/w_jn.c (yn): Likewise.
8418         * math/w_log.c (__log): Likewise.
8419         * math/w_log10.c (__log10): Likewise.
8420         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8421         * sysdeps/aarch64/fpu/math_private.h
8422         (libc_feupdateenv_test_aarch64): Likewise.
8423         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8424         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8425         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8426         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8427         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8428         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8429         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8430         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8431         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8432         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8434 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8436         [BZ #17732]
8437         * io/test-utime.c (main): Replace %ld with %jd and cast to
8438         intmax_t.
8439         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8440         * nptl/tst-mutex5.c: Include <stdint.h>.
8441         (do_test): Replace %ld with %jd and cast to intmax_t.
8442         * posix/tst-regex.c (run_test): Likewise.
8443         (run_test_backwards): Likewise.
8444         * rt/tst-clock.c: Include <stdint.h>.
8445         (clock_test): Replace %ld with %jd and cast to intmax_t.
8446         * rt/tst-cpuclock1.c: Include <stdint.h>.
8447         (do_test): Replace %lu with %ju and cast to uintmax_t.
8448         * rt/tst-cpuclock2.c: Include <stdint.h>.
8449         (do_test): Replace %lu with %ju and cast to uintmax_t.
8450         * rt/tst-mqueue1.c: Include <stdint.h>.
8451         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8452         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8453         intmax_t.
8454         * rt/tst-mqueue4.c (do_test): Likewise.
8455         * rt/tst-timer4.c: Include <stdint.h>.
8456         (check_ts): Replace %ld with %jd and cast to intmax_t.
8457         (do_test): Likewise.
8458         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8459         and cast to intmax_t.
8460         * sysdeps/pthread/tst-timer.c (main): Likewise.
8461         * time/clocktest.c (main): Likewise.
8462         * time/tst-posixtz.c (do_test): Likewise.
8463         * timezone/tst-timezone.c (main): Likewise.
8465 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8466             H.J. Lu  <hongjiu.lu@intel.com>
8468         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8469         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8470         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8471         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8472         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8473         version if bit_Fast_Unaligned_Load is set.
8474         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8475         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8476         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8477         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8478         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8479         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8481         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8482         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8483         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8484         to 4.
8485         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8486         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8487         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8488         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8490 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8492         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8493         instead of #if to avoid a Wundef warning.
8494         * stdlib/tst-limits.c (do_test): Likewise.
8496         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8497         parallel other exception macros.
8498         (fegetenv): Convert from macro to extern inline so that it applies
8499         retroactively to inline functions already seen by the compiler.
8500         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8502         * posix/Makefile (before-compile): Use $(objpfx) for
8503         posix-conf-vars-def.h.
8505 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8507         * posix/getconf.c (main): Use size_t for type of I.
8508         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8509         NSPEC.
8511         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8512         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8513         * posix/posix-envs.def: Likewise.
8514         * sysdeps/posix/sysconf.c: Likewise.
8515         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8516         (specs): Remove array.
8517         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8518         array.
8520         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8521         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8522         (__sysconf): Use CONF_IS_* macros.
8524         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8525         ($(objpfx)posix-conf-vars-def.h): New target.
8526         * posix/posix-conf-vars.list: New file.
8527         * posix/posix-conf-vars.h: New file.
8528         * posix/confstr.c: Include posix-conf-vars.h.
8529         (confstr): Use CONF_IS_* macros.
8530         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8531         CONF_IS_* macros.
8532         * scripts/gen-posix-conf-vars.awk: New file.
8534 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8536         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8537         fegetround): Add no-op macros to avoid linknamespace issues.
8539         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8540         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8542         * sysdeps/unix/sysv/linux/tile/sysdep.h
8543         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8544         assembly-specific section to avoid a redefinition warning.
8546         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8547         long before casting to pointer to avoid a cast warning.
8549 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8551         * sysdeps/tile/tilegx/Implies: New file.
8553 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8555         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8557 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8559         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8561 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8563         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8564         not define.
8565         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8566         <kernel-features.h>.
8567         (__utimes) [__NR_utimes]: Make code unconditional.
8568         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8569         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8570         (__ASSUME_UTIMES): Do not undefine.
8571         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8572         (__ASSUME_UTIMES): Likewise.
8573         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8574         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8575         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8576         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8578 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8580         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8582 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8584         [BZ #17747]
8585         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8586         alias to weak alias for j0l, y0l.
8587         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8588         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8590         [BZ #17746]
8591         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8592         conversion.
8594 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8596         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8597         to zero if not already defined.
8599 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8601         [BZ #17724]
8602         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8603         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8604         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8605         (char *) casts added.
8606         * sysdeps/ieee754/k_standardf.c: New file.
8607         * sysdeps/ieee754/k_standardl.c: Likewise.
8608         * math/Makefile (libm-support): Remove k_standard.
8609         (libm-calls): Add k_standard.
8611 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8613         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8614         Optimize to avoid an unnecessary FPCR read.
8616 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8618         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8619         Optimize to reduce FPCR/FPSR accesses.
8621 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8623         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8624         Call libc_fetestexcept_aarch64.
8626 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8628         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8629         Call libc_fesetround_aarch64.
8631 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8633         [BZ #17733]
8634         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8635         (__bind): Do not define as weak alias.
8636         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8637         define.
8638         (__getsockname): Do not define as weak alias.
8640 2014-12-22  Will Newton  <will.newton@linaro.org>
8642         * manual/install.texi: Document that we require bison 2.7
8643         or above.
8644         * INSTALL: Regenerate.
8645         * configure.ac: Use AC_CHECK_PROG_VER instead of
8646         AC_PATH_PROG when checking for bison and check for
8647         version 2.7 or above.
8648         * configure: Regenerate.
8650 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8652         [BZ #17745]
8653         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8654         * sysdeps/tile/ffsll.c (ffsll): To here.
8656         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8658 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8660         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8661         if not defined.
8662         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8663         definition.
8664         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8665         hidden ___tls_get_addr.
8666         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8667         hidden __tls_get_addr.
8668         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8669         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8670         Likewise.
8672 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8674         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8675         _dl_init call.
8677 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8679         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8680         from "call _dl_init@PLT".
8681         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8683 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8685         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8686         guarantees.
8688 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8690         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8692 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8694         [BZ #17744]
8695         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8696         strnlen.
8698 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8700         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8701         of multu on MIPSr6.
8702         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8703         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8704         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8705         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8706         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8708 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8710         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8711         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8712         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8713         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8714         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8715         mips32r6/mips64r6.
8716         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8718 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8720         * string/strncat.c (STRNCAT): Simplify implementation.
8722 2014-12-19  David S. Miller  <davem@davemloft.net>
8724         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8725         access the quad as both a long double and as a series of 4 words.
8727         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8728         link_map->l_info array access.
8730 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8732         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8734         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8735         * math/atest-exp2.c (TIMEOUT): Likewise.
8736         * math/atest-sincos.c (TIMEOUT): Likewise.
8738 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8740         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8741         -Wno-error with -fno-builtin-lround.
8743 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8745         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8746         Contains futex constants and functions moved over from ...
8747         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8748         <lowlevellock-futex.h>.
8749         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8750         (lll_timedwait_tid): Add comments and parentheses around macro
8751         arguments.
8753 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8755         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8756         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8757         (__lll_private_flag): Remove.
8758         (lll_futex_wait): Likewise.
8759         (lll_futex_timed_wait): Likewise.
8760         (lll_futex_wake): Likewise.
8761         (lll_futex_requeue): Likewise.
8762         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8763         (__lll_timedwait_tid): Spell out argument names.
8764         (lll_timedwait_tid): Add comments and parentheses around macro
8765         arguments.
8766         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8767         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8769 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8771         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8772         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8773         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8774         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8775         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8776         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8777         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8778         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8779         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8780         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8781         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8782         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8783         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8784         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8785         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8786         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8787         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8788         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8789         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8791 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8793         * sysdeps/x86_64/x32/Makefile: New file.
8795 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8797         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8798         1L with (mp_limb_t) 1.
8800 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8802         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8803         * nptl/libc_pthread_init.c: ... here.
8804         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8805         * nptl/register-atfork.c: ... here.
8807         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8808         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8809         Use assert_perror to check its return value.
8810         (__gai_create_helper_thread): Likewise.
8812         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8814         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8816 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8818         [BZ #17725]
8819         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8820         __profil_counter.
8821         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8822         Likewise.
8823         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8824         Likewise.
8825         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8826         Likewise.
8827         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8828         (profil_counter): Likewise.
8829         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8830         (profil_counter): Likewise.
8831         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8832         Likewise.
8833         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8834         Likewise.
8835         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8836         (profil_counter): Likewise.
8837         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8838         Likewise.
8839         [!__profil_counter] (profil_counter): Define as weak alias of
8840         __profil_counter.
8841         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8842         (profil_counter): Rename to __profil_counter.
8843         [!__profil_counter] (profil_counter): Define as weak alias of
8844         __profil_counter.
8845         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8846         (profil_counter): Rename to __profil_counter.
8847         [!__profil_counter] (profil_counter): Define as weak alias of
8848         __profil_counter.
8849         * sysdeps/posix/profil.c: Update comment referring to
8850         profil_counter.
8851         (__profil): Use __profil_counter instead of profil_counter.
8852         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8853         __profil_counter.  Use __profil_counter_ushort and
8854         __profil_counter_uint in definitions.
8855         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8856         instead of profil_counter_uint and profil_counter_ushort.
8858         [BZ #17722]
8859         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8860         define as weak alias of __inet_makeaddr.
8861         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8862         as weak alias of __inet_addr.
8863         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8864         as weak alias of __inet_pton.  Use libc_hidden_weak.
8865         * include/arpa/inet.h (__inet_pton): Declare.  Use
8866         libc_hidden_proto.
8867         (inet_makeaddr): Don't use libc_hidden_proto.
8868         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8869         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8870         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8871         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8872         Remove variable.
8873         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8874         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8876 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8878         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8880 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8882         * stdio-common/bug-vfprintf-nargs.c (do_test):
8883         Cast value to intptr_t to avoid format warning
8884         for usage with PRIdPTR printing macro.
8886 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8888         * libio/tst-widetext.c (do_test):
8889         Use format type %td instead of %Zd for ptrdiff_t
8890         in order to avoid format warning.
8892 2014-12-17  Andreas Schwab  <schwab@suse.de>
8894         * nscd/mem.c (gc): Add size_t cast to match printf format.
8896 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8898         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8899         (init): Apply PTR_MANGLE to pointers before storing them.
8900         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8901         before using them.
8903 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8905         [BZ #17719]
8906         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8907         define as weak alias of __memrchr.
8908         (__memrchr): Do not define as strong alias of memrchr.
8909         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8910         Remove variable.
8911         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8912         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8913         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8915         [BZ #17717]
8916         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8917         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8918         (if_indextoname): Rename to __if_indextoname and define as weak
8919         alias of __if_indextoname.  Use libc_hidden_weak.
8920         (if_freenameindex): Rename to __if_freenameindex and define as
8921         weak alias of __if_freenameindex.
8922         (if_nameindex): Rename to __if_nameindex and define as weak alias
8923         of __if_nameindex.
8924         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8925         __if_nametoindex and define as weak alias of __if_nametoindex.
8926         Use libc_hidden_weak.
8927         (if_freenameindex): Rename to __if_freenameindex and define as
8928         weak alias of __if_freenameindex.
8929         (if_nameindex): Rename to __if_nameindex and define as weak alias
8930         of __if_nameindex.
8931         (if_indextoname): Rename to __if_indextoname and define as weak
8932         alias of __if_indextoname.  Use libc_hidden_weak.
8933         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8934         __if_nametoindex and define as weak alias of __if_nametoindex.
8935         Use libc_hidden_weak.
8936         (if_freenameindex): Rename to __if_freenameindex and define as
8937         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8938         (if_nameindex_netlink): Use __if_freenameindex instead of
8939         if_freenameindex.
8940         (if_nameindex): Rename to __if_nameindex and define as weak alias
8941         of __if_nameindex.  Use libc_hidden_weak.
8942         (if_indextoname): Rename to __if_indextoname and define as weak
8943         alias of __if_indextoname.  Use libc_hidden_weak.
8944         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8945         libc_hidden_proto.
8946         [!_ISOMAC] (__if_freenameindex): Likewise.
8947         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8948         if_nametoindex.
8949         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8950         variable.
8951         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8952         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8953         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8954         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8955         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8956         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8957         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8959         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8960         Remove variable.
8961         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8962         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8964 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8966         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8967         subscript above bounds'
8969         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8970         bounds.
8972 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8974         * libio/tst-fopenloc.c: Use test-skeleton.c.
8976         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8977         (entry): Rename to ITEM.
8978         (do_test, comp): Adjust.
8980         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8982 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8984         * string/tester.c: Include <libc-internal.h>.
8985         (test_memset): Ignore -Wmemset-transposed-args.
8987 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8989         * misc/tst-mntent2.c (do_test): Fix warning.
8991 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8993         * elf/tst-unique4lib.cc(a): Mark as used.
8995 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8997         [BZ #17630]
8998         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8999         names.
9001 2014-12-16  Allan McRae  <allan@archlinux.org>
9003         * stdio-common/Makefile (tests): Re-add bug26.
9005 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9007         [BZ #17657]
9008         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9009         static array.
9011 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9013         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9014         (__lll_lock_wait): Likewise.
9015         (__lll_timedlock_wait): Likewise.
9016         (__lll_timedwait_tid): Likewise.
9017         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9018         (__lll_robust_timedlock_wait): Likewise.
9019         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9020         (lll_cond_trylock): Likewise.
9021         (__lll_lock): Likewise.
9022         (__lll_robust_lock): Likewise.
9023         (__lll_cond_lock): Likewise.
9024         (lll_robust_cond_lock): Likewise.
9025         (__lll_timedlock): Likewise.
9026         (__lll_robust_timedlock): Likewise.
9027         (__lll_unlock): Likewise.
9028         (__lll_robust_unlock): Likewise.
9029         (lll_wait_tid): Likewise.
9030         (lll_timedwait_tid): Likewise.
9032 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9034         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9036 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9038         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9040 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9042         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9043         * stdio-common/tst-sprintf.c: Likewise.
9045 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9047         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9049 2014-12-15  Jeff Law  <law@redhat.com>
9051         [BZ #16617]
9052         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9053         on the heap.  (CVE-2012-3406)
9054         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9055         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9056         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9058 2014-12-15  Will Newton  <will.newton@linaro.org>
9060         * manual/install.texi: Bump required version of texinfo
9061         to 4.7 from 4.5.
9062         * INSTALL: Regenerated.
9063         * configure.ac: Check for makeinfo version 4.7 and above.
9064         * configure: Regenerated.
9066 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9068         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9069         PREFIX, string constant to insert between directory and name.
9070         * sysdeps/posix/shm_open.c: Update caller.
9071         * sysdeps/posix/shm_unlink.c: Likewise.
9072         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9073         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9074         (SEM_SHM_PREFIX): New macro.
9075         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9076         [$(have-thread-library) = no].
9077         * nptl/Makefile (libpthread-routines): Add shm-directory.
9078         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9079         * sysdeps/nptl/shm-directory.h: New file.
9080         * sysdeps/posix/shm-directory.c
9081         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9082         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9083         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9084         INTERNAL_SYSCALL.
9085         (__where_is_shmfs): Function removed.
9086         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9087         Variables removed.
9088         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9089         Use SHM_GET_NAME.
9090         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9092         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9093         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9094         unconditional for use inside libpthread.
9095         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9097 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9099         * nptl/pthread_getaffinity.c: New file.
9100         * nptl/pthread_setaffinity.c: New file.
9101         * nptl/pthread_getname.c: New file.
9102         * nptl/pthread_setname.c: New file.
9104         * nptl/pthread_create.c (START_THREAD_DEFN)
9105         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9107 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9108             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9110         * resolv/res_send.c (send_vc): Disable warning resplen may
9111         be used uninitialized.
9113 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9115         * nptl/tst-mutex6.c
9116         (ATTR_NULL): New define checks ATTR against NULL.
9117         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9118         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9120 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9122         [BZ #17581]
9123         * malloc/hooks.c
9124         (mem2mem_check): Revert my previous change.
9125         (malloc_check_get_size): Revert my previous change.
9126         (mem2chunk_check): Revert my previous change.
9128 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9130         * sysdeps/posix/shm-directory.c: New file.
9131         * sysdeps/posix/shm-directory.h: New file.
9132         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9133         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9134         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9135         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9136         Transmute EPERM to EACCES.
9137         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9138         from ...
9139         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9140         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9142 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9144         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9145         pointer and cast to uintptr_t.
9146         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9147         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9148         Add cast to avoid warning.
9149         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9151 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9153         * nptl/semaphore.h: Move to ...
9154         * sysdeps/pthread/semaphore.h: ... here.
9155         * Makefile (installed-headers): Change nptl/semaphore.h to
9156         sysdeps/pthread/semaphore.h.
9158 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9160         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9161         generated error format strings.
9163         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9164         -Wformat-extra-args warnings for scanf formats.
9165         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9166         test of zero-length format (duh).
9167         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9168         corner-case scanf format test.
9169         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9170         generated fprintf format string.
9171         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9172         corner-case sprintf format tests.
9173         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9174         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9175         -Wformat-extra-args warnings throughout.
9176         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9177         (CFLAGS-scanf4.c): Likewise.
9178         (CFLAGS-scanf7.c): Likewise.
9179         (CFLAGS-tst-sprintf.c): Likewise.
9180         (CFLAGS-tst-printf.c): Likewise.
9181         (CFLAGS-tst-printfsz.c): Likewise.
9183 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9185         * include/cpio.h: New file.
9186         * include/fmtmsg.h: Likewise.
9188         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9189         corresponding format argument to size_t.
9190         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9191         arguments.
9192         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9193         corresponding format argument to size_t.
9194         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9195         arguments.
9196         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9197         corresponding format argument to size_t.
9198         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9199         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9200         (CFLAGS-tst-mbswcs2.c): Likewise.
9201         (CFLAGS-tst-mbswcs3.c): Likewise.
9202         (CFLAGS-tst-mbswcs4.c): Likewise.
9203         (CFLAGS-tst-mbswcs5.c): Likewise.
9204         (CFLAGS-tst-trans.c): Likewise
9206 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9208         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9209         rather than assuming they won't contain any '%'s.
9211 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9213         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9214         inhibit_loop_to_libcall to avoid recursive calls.
9215         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9216         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9218 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9220         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9221         prototype.
9223 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9225         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9226         integer value instead of boolean.
9228 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9230         * malloc/malloc.c: Fix powerof2 check.
9232 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9234         * locale/programs/locfile.h (maybe_swap_uint32):
9235         Remove inline and add unused attribute.
9237 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9239         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9240         Truncating assembler expression to a .long expression.
9242 2014-12-11  Andreas Schwab  <schwab@suse.de>
9244         * elf/rtld.c (struct map_args): Constify str member.
9245         (do_preload): Constify fname argument.
9247 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9249         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9250         constants definition.
9252 2014-12-11  Andreas Schwab  <schwab@suse.de>
9254         [BZ #16657]
9255         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9256         FORCE_ELISION instead of DO_ELISION.
9257         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9258         Remove.
9259         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9260         Likewise.
9262         * iconvdata/gconv-modules: Remove duplicate entry.
9264 2014-12-11  Will Newton  <will.newton@linaro.org>
9266         Merge gettext 0.19.3 into intl/.
9268         This involves a number of cosmetic changes to comments
9269         and ANSI function definitions and prototypes throughout
9270         all the files. The gettext copyright header is used but
9271         with the date ranges taken from the glibc copy.
9273         * NEWS: Add gettext merge to 2.21.
9274         * intl/bindtextdom.c: Switch to gettext copyright.
9275         Use ANSI definitions and prototypes.
9276         Use gl_* locking primitives rather than __libc_* ones.
9277         Use __builtin_expect rather than __glibc_likely/unlikely.
9278         * intl/dcgettext.c: Switch to gettext copyright.
9279         Use ANSI definitions and prototypes.
9280         * intl/dcigettext.c: Switch to gettext copyright.
9281         Use ANSI definitions and prototypes.
9282         (INTDIV0_RAISES_SIGFPE): New define.
9283         Use gl_* locking primitives rather than __libc_* ones.
9284         Include eval-plural.h instead of plural-eval.c.
9285         Use __builtin_expect rather than __glibc_likely/unlikely.
9286         * intl/dcngettext.c: Switch to gettext copyright.
9287         Use ANSI definitions and prototypes.
9288         * intl/dgettext.c: Likewise.
9289         * intl/dngettext.c: Likewise.
9290         * intl/plural-eval.c: Renamed to...
9291         * intl/eval-plural.h: ...this.
9292         * intl/explodename.c: Switch to gettext copyright.
9293         Use ANSI definitions and prototypes.
9294         (_nl_explode_name): Use strchr instead of __rawmemchr.
9295         * intl/finddomain.c: Switch to gettext copyright.
9296         Use ANSI definitions and prototypes.
9297         Use gl_* locking primitives rather than __libc_* ones.
9298         (_nl_find_domain): Use malloc rather than alloca for
9299         allocation of temporary locale name.
9300         * intl/gettext.c: Switch to gettext copyright.
9301         Use ANSI definitions and prototypes.
9302         * intl/gettextP.h: Switch to gettext copyright.
9303         Use ANSI definitions and prototypes.
9304         Use gl_* locking primitives rather than __libc_* ones.
9305         * intl/gmo.h: Switch to gettext copyright.
9306         (struct sysdep_string): Move struct segment_pair outside of
9307         struct definition.
9308         * intl/hash-string.c: Use ANSI definitions and prototypes.
9309         * intl/hash-string.h: Switch to gettext copyright.
9310         Use ANSI definitions and prototypes.
9311         * intl/l10nflist.c: Switch to gettext copyright.
9312         Use ANSI definitions and prototypes.
9313         (_nl_normalize_codeset): Avoid integer overflow.
9314         * intl/loadinfo.h: Switch to gettext copyright.
9315         Use ANSI definitions and prototypes.
9316         (LIBINTL_DLL_EXPORTED): New define.
9317         (PATH_SEPARATOR): New define.
9318         * intl/loadmsgcat.c: Switch to gettext copyright.
9319         * intl/localealias.c: Switch to gettext copyright.
9320         Use ANSI definitions and prototypes.
9321         (_nl_expand_alias): Use PATH_SEPARATOR.
9322         * intl/ngettext.c: Switch to gettext copyright.
9323         Use ANSI definitions and prototypes.
9324         * intl/plural-exp.c: Likewise.
9325         * intl/plural-exp.h: Switch to gettext copyright.
9326         Use ANSI definitions and prototypes.
9327         (struct expression): Move definition of enum operator outside
9328         of struct definition.
9329         * intl/plural.c: Regenerate.
9330         * intl/plural.y: Switch to gettext copyright.
9331         Use ANSI definitions and prototypes.
9332         Port to bison 3.0.
9333         * intl/textdomain.c: Switch to gettext copyright.
9334         Use ANSI definitions and prototypes.
9335         Use gl_* locking primitives rather than __libc_* ones.
9337 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9339         * debug/warning-nop.c: Add used atrribute.
9341 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9343         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9345         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9346         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9347         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9349 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9350             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9352         [BZ #17634]
9353         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9354         Undefine after defining function.  Define as weak alias of
9355         __wcschr.  Use libc_hidden_weak.
9356         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9357         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9358         (libc_hidden_def): Also define __GI___wcschr alias.
9359         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9360         __wcschr and define as weak alias of __wcschr.
9361         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9362         __wcschr.
9363         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9364         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9365         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9366         libc_hidden_weak.  Do not use libc_hidden_def.
9367         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9368         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9369         __GI___wcschr alias.
9370         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9371         [IS_IN (libc)] (wcschr): Define as macro expanding to
9372         __redirect_wcschr.
9373         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9374         [IS_IN (libc)] (__wcschr_power6): Likewise.
9375         [IS_IN (libc)] (__wcschr_power7): Likewise.
9376         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9377         instead of wcschr.
9378         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9379         __libc_wcschr.
9380         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9381         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9382         __wcschr and define as weak alias of __wcschr.  Use
9383         libc_hidden_builtin_def.
9384         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9385         as weak alias of __wcschr.  Use libc_hidden_weak.
9386         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9387         wcschr.
9388         * time/era.c (_nl_init_era_entries): Likewise.
9389         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9390         variable.
9391         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9392         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9394 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9396         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9397         format for long int variable.
9399 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9401         [BZ #10672]
9402         * manual/search.texi: (Array Sort Function): Remove claim how to make
9403         qsort stable.
9405 2014-12-10  Andreas Schwab  <schwab@suse.de>
9407         [BZ #12847]
9408         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9409         user-controlled locks.
9411 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9413         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9414         register.
9416 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9418         * configure.ac (--disable-werror): New configure option.
9419         (enable_werror): New AC_SUBST.
9420         * configure: Regenerated.
9421         * config.make.in (enable-werror): New variable.
9422         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9423         -Wno-error=undef.
9424         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9425         * manual/install.texi (Configuring and compiling): Document
9426         --disable-werror.
9427         * INSTALL: Regenerated.
9428         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9429         (CFLAGS-tst-chk2.c): Likewise.
9430         (CFLAGS-tst-chk3.c): Likewise.
9431         (CFLAGS-tst-chk4.cc): Likewise.
9432         (CFLAGS-tst-chk5.cc): Likewise.
9433         (CFLAGS-tst-chk6.cc): Likewise.
9434         (CFLAGS-tst-lfschk1.c): Likewise.
9435         (CFLAGS-tst-lfschk2.c): Likewise.
9436         (CFLAGS-tst-lfschk3.c): Likewise.
9437         (CFLAGS-tst-lfschk4.cc): Likewise.
9438         (CFLAGS-tst-lfschk5.cc): Likewise.
9439         (CFLAGS-tst-lfschk6.cc): Likewise.
9441         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9442         (main): Disable -Wdeprecated-declarations around calls to
9443         register_printf_function.
9445         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9446         (do_test): Disable -Wdiv-by-zero around some calls to
9447         fwrite_unlocked and fread_unlocked.
9449         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9450         (DIAG_POP_NEEDS_COMMENT): Likewise.
9451         (_DIAG_STR1): Likewise.
9452         (_DIAG_STR): Likewise.
9453         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9454         * stdio-common/bug21.c: Include <libc-internal.h>.
9455         (do_test): Disable -Wformat around call to sscanf.
9456         * stdio-common/scanf14.c: Include <libc-internal.h>.
9457         (main): Disable -Wformat around some calls to scanf functions.
9459 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9461         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9463 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9465         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9466         stack variable alignment.
9468 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9470         [BZ #17682]
9471         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9472         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9473         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9474         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9475         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9476         __getrlimit instead of getrlimit.
9477         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9478         __gettimeofday instead of gettimeofday.
9479         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9480         Likewise.
9481         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9482         Likewise.
9483         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9484         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9485         Remove variable.
9486         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9487         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9489 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9491         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9492         for wide-character tests.
9494 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9496         * io/openat64.c: #include <libc-internal.h>
9497         (__openat64): Prototypify.  Use ignore_value on MODE.
9498         * io/openat.c: Likewise.
9499         * misc/reboot.c: #include <libc-internal.h>
9500         (reboot): Prototypify.  Use ignore_value on HOWTO.
9501         * misc/ptrace.c: #include <libc-internal.h>
9502         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9504 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9506         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9507         XPG4, UNIX98 and XOPEN2K.
9508         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9509         Remove variable.
9510         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9512 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9514         * libio/fileops.c: Use ISO C style for function definitions.
9515         * libio/iofopen.c: Likewise.
9516         * libio/wfileops.c: Likewise.
9518         [BZ #17653]
9519         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9520         offset on EOF.
9521         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9522         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9523         (fgets_func): Function pointer to fgets and fgetws.
9524         (do_ftell_test): Add test to verify ftell value after read
9525         EOF.
9526         (do_test): Set fgets_func.
9528         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9529         O_TRUNC flag for w and w+ modes.
9530         (do_rewind_test): Likewise.
9531         (do_ftell_test): Likewise.
9532         (do_write_test): Likewise.
9534         [BZ #17647]
9535         * libio/fileops.c (do_ftell): Seek only when there are
9536         unflushed writes.
9537         * libio/wfileops.c (do_ftell_wide): Likewise.
9538         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9539         test case.
9540         (do_one_test): Call it.
9542 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9544         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9545         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9546         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9547         Remove variable.
9548         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9549         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9550         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9552 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9554         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9555         Remove variable.
9556         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9558         [BZ #17668]
9559         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9560         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9561         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9562         __freeifaddrs.  Use libc_hidden_weak.
9563         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9564         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9565         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9566         __freeifaddrs.  Use libc_hidden_weak.
9567         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9568         __getifaddrs and define as weak alias of __getifaddrs.  Use
9569         libc_hidden_weak.
9570         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9571         __freeifaddrs.  Use libc_hidden_weak.
9572         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9573         Remove variable.
9574         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9575         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9577 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9579         [BZ #17601]
9580         * sysdeps/mips/start.S (__start): Use indirect jump to call
9581         __libc_start_main.
9583 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9585         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9587         * nptl/tst-mutex1.c: Include <stdbool.h>.
9588         [!ATTR] (ATTR_NULL): New macro.
9589         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9590         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9591         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9593         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9594         to char *.
9596         [BZ #17665]
9597         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9598         Change conditional to [__USE_MISC].
9600         [BZ #17664]
9601         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9602         fgets_unlocked.
9603         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9604         __fgets_unlocked.
9605         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9606         fgets_unlocked.
9607         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9608         Remove variable.
9609         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9610         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9611         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9612         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9613         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9614         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9615         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9616         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9617         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9619         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9621 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9623         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9624         Remove strpbrk objects.
9625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9626         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9627         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9628         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9629         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9630         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9632         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9633         Remove strcspn objects.
9634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9635         (__libc_ifunc_impl_list): Remove strcspn implementation.
9636         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9637         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9638         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9639         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9641         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9642         Remove strspn objetcs.
9643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9644         (__libc_ifunc_impl_list): Remove strspn implementation.
9645         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9646         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9647         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9648         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9650 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9652         [BZ #17581]
9653         * malloc/hooks.c
9654         (mem2mem_check): Add a terminator to the chain of checking blocks.
9655         (malloc_check_get_size): Use it here.
9656         (mem2chunk_check): Ditto.
9658 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9660         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9661         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9663 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9665         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9667         * nptl/nptl-init.c: Include libc-internal.h.
9668         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9670         * elf/ldconfig.c (search_dir): Expand comment.
9672 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9674         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9675         variable.
9676         (linknamespace-symlist-stdlibs-tests): Likewise.
9677         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9678         instead of $(objpfx)symlist-stdlibs.
9679         (linknamespace-libs-isoc): New variable.
9680         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9681         (linknamespace-libs-ISO): New variable.
9682         (linknamespace-libs-ISO99): Likewise.
9683         (linknamespace-libs-ISO11): Likewise.
9684         (linknamespace-libs-XPG3): Likewise.
9685         (linknamespace-libs-XPG4): Likewise.
9686         (linknamespace-libs-POSIX): Likewise.
9687         (linknamespace-libs-UNIX98): Likewise.
9688         (linknamespace-libs-XOPEN2K): Likewise.
9689         (linknamespace-libs-POSIX2008): Likewise.
9690         (linknamespace-libs-XOPEN2K8): Likewise.
9691         ($(objpfx)symlist-stdlibs): Replace by
9692         $(linknamespace-symlist-stdlibs-tests).  Use
9693         $(linknamespace-libs-$*) as set of libraries.
9694         ($(linknamespace-header-tests)): Update dependencies.  Use
9695         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9696         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9697         * conform/linknamespace.pl: Remove comment about considering
9698         definitions of symbols from irrelevant libraries.
9700 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9702         [BZ #13862]
9703         * elf/dl-tls.c: Include <atomic.h>.
9704         (oom): Remove #ifdef SHARED/#endif.
9705         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9706         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9707         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9708         big enough.
9709         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9710         * nptl/Makefile (tests): Add tst-stack4.
9711         (modules-names): Add tst-stack4mod.
9712         ($(objpfx)tst-stack4): New.
9713         (tst-stack4mod.sos): Likewise.
9714         ($(objpfx)tst-stack4.out): Likewise.
9715         ($(tst-stack4mod.sos)): Likewise.
9716         (clean): Likewise.
9717         * nptl/tst-stack4.c: New file.
9718         * nptl/tst-stack4mod.c: Likewise.
9720 2014-11-27  J. Brown  <jb999@gmx.de>
9722         * sysdeps/x86/bits/string.h: Add recent CPUs.
9724 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9726         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9727         sigblock.
9729         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9730         feof.
9732         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9733         variable.
9735 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9737         * nscd/connections.c: Include libc-internal.h because of macro
9738         usage ignore_value.
9740 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9742         * string/bits/string3.h (__warn_memset_zero_len): Don't
9743         declare for gcc newer than 5.0.
9744         (memset): Don't test for zero-length __LEN for gcc newer than
9745         5.0.
9747 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9749         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9750         size_t for %zu format.
9752         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9753         difference, not %ju.
9755 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9757         * include/libc-internal.h (ignore_value): New macro.
9758         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9759         with ignore_value.
9761         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9762         definition.
9764         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9765         pthread_cleanup_push to void *.
9767         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9768         Undefine.
9770         [BZ #16619]
9771         [BZ #16740]
9772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9773         instead of 1L << 52.
9775         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9776         * libio/bug-rewind2.c (do_test): Likewise.
9778         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9779         * debug/test-strcpy_chk-ifunc.c: Likewise.
9780         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9781         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9782         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9783         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9784         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9785         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9786         * Rules [$(multi-arch) = no] (tests): Do not filter out
9787         $(tests-ifunc).
9788         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9789         * debug/Makefile (tests-ifunc): Remove variable.
9790         (tests): Do not add $(tests-ifunc).
9791         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9792         (tests): Do not add $(tests-ifunc).
9793         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9794         [TEST_IFUNC]: Remove conditionals.
9795         * string/test-string.h (TEST_IFUNC): Remove macro.
9796         [TEST_IFUNC]: Remove conditionals.
9798         * string/test-strchr.c [!WIDE] (L): New macro.
9799         [WIDE] (L): Likewise.
9800         (check1): Use CHAR instead of char.  Use L on string and character
9801         constants.
9803 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9805         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9806         tests.
9807         * sysdeps/powerpc/bits/atomic.h
9808         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9809         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9810         (atomic_exchange_and_add_acq): Likewise.
9811         (atomic_exchange_and_add_rel): Likewise.
9812         * sysdeps/powerpc/powerpc32/bits/atomic.h
9813         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9814         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9815         * sysdeps/powerpc/powerpc64/bits/atomic.h
9816         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9817         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9819 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9821         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9822         Change synchronization of __sched_fifo_min_prio and
9823         __sched_fifo_max_prio.
9824         * nptl/pthread_mutexattr_getprioceiling.c
9825         (pthread_mutexattr_getprioceiling): Likewise.
9826         * nptl/pthread_mutexattr_setprioceiling.c
9827         (pthread_mutexattr_setprioceiling): Likewise.
9828         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9829         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9830         Likewise.
9832 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9834         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9835         void.
9837 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9839         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9840         third argument const.
9842 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9844         fnmatch: work around GCC compiler warning bug with uninit var
9845         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9846         This works around a bug with x86-64 GCC 4.9.2 and earlier
9847         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9848         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9849         used uninitialized in this function [-Wmaybe-uninitialized]".
9851 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9853         * posix/bug-regex31.c (main): Return RES not 0.
9855 2014-11-25  Anton Blanchard <anton@samba.org>
9857         * sysdeps/powerpc/bits/atomic.h
9858         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9860 2014-11-24  Sterling Augustine  <saugustine@google.com>
9862         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9864 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9866         [BZ #17608]
9867         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9869 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9871         [BZ #17633]
9872         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9873         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9874         variable.
9875         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9876         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9878 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9880         * string/strncpy.c (strncpy): Improve performance by using memset.
9882 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9884         * string/strcpy.c (strcpy):
9885         Improve performance by using strlen and memcpy.
9887 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9889         * string/strcoll_l.c (get_next_seq): __always_inline.
9890         * string/strcoll_l.c (do_compare): __always_inline.
9892 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9894         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9895         defined.
9896         * include/mqueue.h: Likewise.
9897         * include/stdlib.h: Likewise.
9899         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9900         (get_null_defines): Adjust.
9901         * sunrpc/Makefile: Adjust comment.
9902         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9903         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9904         (CFLAGS-interp.c): Likewise.
9905         (CFLAGS-ldconfig.c): Likewise.
9906         (CPPFLAGS-.os): Likewise.
9907         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9908         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9909         * extra-modules.mk (extra-modules.mk): Likewise.
9910         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9911         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9912         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9913         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9914         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9915         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9916         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9917         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9918         * iconvdata/Makefile (CPPFLAGS): Likewise.
9919         (cpp-srcs-left): Add libof for all iconvdata routines.
9920         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9921         * include/assert.h: Likewise.
9922         * include/ctype.h: Likewise.
9923         * include/errno.h: Likewise.
9924         * include/libc-symbols.h: Likewise.
9925         * include/math.h: Likewise.
9926         * include/netdb.h: Likewise.
9927         * include/resolv.h: Likewise.
9928         * include/stdio.h: Likewise.
9929         * include/stdlib.h: Likewise.
9930         * include/string.h: Likewise.
9931         * include/sys/stat.h: Likewise.
9932         * include/wctype.h: Likewise.
9933         * intl/l10nflist.c: Likewise.
9934         * libidn/idn-stub.c: Likewise.
9935         * libio/libioP.h: Likewise.
9936         * nptl/libc_multiple_threads.c: Likewise.
9937         * nptl/pthreadP.h: Likewise.
9938         * posix/regex_internal.h: Likewise.
9939         * resolv/res_hconf.c: Likewise.
9940         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9941         * sysdeps/arm/memmove.S: Likewise.
9942         * sysdeps/arm/sysdep.h: Likewise.
9943         * sysdeps/generic/_itoa.h: Likewise.
9944         * sysdeps/generic/symbol-hacks.h: Likewise.
9945         * sysdeps/gnu/errlist.awk: Likewise.
9946         * sysdeps/gnu/errlist.c: Likewise.
9947         * sysdeps/i386/i586/memcpy.S: Likewise.
9948         * sysdeps/i386/i586/memset.S: Likewise.
9949         * sysdeps/i386/i686/memcpy.S: Likewise.
9950         * sysdeps/i386/i686/memmove.S: Likewise.
9951         * sysdeps/i386/i686/mempcpy.S: Likewise.
9952         * sysdeps/i386/i686/memset.S: Likewise.
9953         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9954         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9955         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9956         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9957         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9958         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9959         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9960         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9961         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9962         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9963         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9964         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9965         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9966         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9967         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9968         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9969         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9970         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9971         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9972         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9973         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9974         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9975         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9976         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9977         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9978         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9979         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9980         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9981         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9982         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9983         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9984         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9985         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9986         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9987         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9988         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9989         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9990         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9991         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9992         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9993         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9994         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9995         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9996         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9997         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9998         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9999         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10000         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10001         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10002         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10003         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10004         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10005         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10006         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10007         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10008         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10009         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10010         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10011         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10012         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10013         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10014         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10015         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10016         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10017         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10018         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10019         * sysdeps/posix/closedir.c: Likewise.
10020         * sysdeps/posix/opendir.c: Likewise.
10021         * sysdeps/posix/readdir.c: Likewise.
10022         * sysdeps/posix/rewinddir.c: Likewise.
10023         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10024         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10025         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10026         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10027         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10028         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10029         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10031         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10032         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10033         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10034         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10035         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10036         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10037         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10038         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10039         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10040         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10041         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10042         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10043         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10044         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10045         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10046         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10047         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10048         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10049         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10050         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10051         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10054         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10058         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10059         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10060         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10061         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10062         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10063         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10064         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10065         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10066         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10067         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10068         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10069         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10070         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10071         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10072         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10073         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10074         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10075         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10076         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10077         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10078         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10079         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10080         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10081         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10082         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10083         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10084         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10085         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10086         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10087         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10088         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10089         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10090         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10091         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10092         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10093         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10094         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10095         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10096         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10097         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10098         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10099         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10100         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10101         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10102         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10103         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10104         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10105         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10106         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10107         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10108         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10109         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10110         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10111         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10112         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10113         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10114         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10115         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10116         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10117         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10118         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10119         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10121         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10122         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10123         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10124         * sysdeps/unix/alpha/sysdep.S: Likewise.
10125         * sysdeps/unix/alpha/sysdep.h: Likewise.
10126         * sysdeps/unix/make-syscalls.sh: Likewise.
10127         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10128         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10129         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10130         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10131         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10132         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10133         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10134         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10135         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10136         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10137         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10138         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10139         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10140         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10141         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10142         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10143         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10144         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10145         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10146         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10147         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10148         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10149         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10150         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10151         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10152         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10153         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10156         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10157         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10158         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10159         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10160         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10161         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10162         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10163         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10164         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10165         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10166         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10167         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10168         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10169         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10170         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10171         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10172         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10173         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10174         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10175         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10177         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10178         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10179         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10180         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10181         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10182         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10183         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10184         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10185         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10186         * sysdeps/x86_64/memcpy.S: Likewise.
10187         * sysdeps/x86_64/memmove.c: Likewise.
10188         * sysdeps/x86_64/memset.S: Likewise.
10189         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10190         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10191         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10192         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10193         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10194         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10195         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10196         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10197         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10198         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10199         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10200         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10201         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10202         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10203         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10204         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10205         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10206         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10207         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10208         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10209         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10210         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10211         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10212         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10213         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10214         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10215         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10216         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10217         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10218         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10219         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10220         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10221         * sysdeps/x86_64/strcmp.S: Likewise.
10223         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10225         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10226         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10227         * elf/rtld-Rules: Likewise.
10228         * elf/setup-vdso.h: Likewise.
10229         * include/assert.h: Likewise.
10230         * include/bits/stdlib-float.h: Likewise.
10231         * include/errno.h: Likewise.
10232         * include/sys/stat.h: Likewise.
10233         * include/unistd.h: Likewise.
10234         * sysdeps/aarch64/setjmp.S: Likewise.
10235         * sysdeps/alpha/setjmp.S: Likewise.
10236         * sysdeps/arm/__longjmp.S: Likewise.
10237         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10238         * sysdeps/arm/setjmp.S: Likewise.
10239         * sysdeps/arm/sysdep.h: Likewise.
10240         * sysdeps/generic/_itoa.h: Likewise.
10241         * sysdeps/generic/dl-sysdep.h: Likewise.
10242         * sysdeps/generic/ldsodefs.h: Likewise.
10243         * sysdeps/i386/dl-tls.h: Likewise.
10244         * sysdeps/i386/setjmp.S: Likewise.
10245         * sysdeps/m68k/setjmp.c: Likewise.
10246         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10247         * sysdeps/mach/hurd/opendir.c: Likewise.
10248         * sysdeps/posix/getcwd.c: Likewise.
10249         * sysdeps/posix/opendir.c: Likewise.
10250         * sysdeps/posix/profil.c: Likewise.
10251         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10252         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10253         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10254         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10255         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10256         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10257         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10258         * sysdeps/s390/dl-tls.h: Likewise.
10259         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10260         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10261         * sysdeps/sh/sh3/setjmp.S: Likewise.
10262         * sysdeps/sh/sh4/setjmp.S: Likewise.
10263         * sysdeps/unix/alpha/sysdep.h: Likewise.
10264         * sysdeps/unix/arm/sysdep.S: Likewise.
10265         * sysdeps/unix/i386/sysdep.S: Likewise.
10266         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10267         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10268         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10269         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10270         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10271         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10272         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10273         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10274         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10275         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10276         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10277         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10278         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10281         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10282         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10284         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10285         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10286         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10287         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10288         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10289         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10290         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10291         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10293         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10294         * sysdeps/x86_64/setjmp.S: Likewise.
10296         * include/math.h: Use IS_IN instead of IS_IN_libm.
10297         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10298         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10299         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10300         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10301         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10302         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10303         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10304         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10305         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10306         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10307         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10308         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10309         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10310         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10311         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10312         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10313         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10314         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10315         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10316         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10317         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10318         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10319         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10320         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10321         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10322         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10323         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10324         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10325         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10326         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10327         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10328         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10329         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10331         Likewise.
10332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10333         Likewise.
10334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10335         Likewise.
10336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10337         Likewise.
10338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10339         Likewise.
10340         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10341         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10342         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10343         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10344         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10345         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10351         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10352         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10353         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10354         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10355         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10356         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10357         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10358         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10359         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10360         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10361         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10362         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10363         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10364         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10366         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10368         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10369         * nptl/pthreadP.h: Likewise.
10370         * nptl_db/structs.def: Likewise.
10371         * sysdeps/arm/sysdep.h: Likewise.
10372         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10373         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10374         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10375         * sysdeps/unix/alpha/sysdep.h: Likewise.
10376         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10378         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10379         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10380         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10381         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10382         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10383         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10384         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10385         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10386         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10387         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10388         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10389         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10392         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10393         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10394         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10396         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10397         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10398         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10399         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10400         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10401         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10403         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10404         * nptl/pthreadP.h: Likewise.
10405         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10406         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10407         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10408         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10409         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10410         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10411         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10412         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10413         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10414         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10415         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10416         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10418         Likewise.
10419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10420         Likewise.
10421         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10422         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10423         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10425         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10426         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10427         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10428         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10430         * dlfcn/dladdr.c: Use IS_IN.
10431         * dlfcn/dladdr1.c: Likewise.
10432         * dlfcn/dlclose.c: Likewise.
10433         * dlfcn/dlerror.c: Likewise.
10434         * dlfcn/dlinfo.c: Likewise.
10435         * dlfcn/dlmopen.c: Likewise.
10436         * dlfcn/dlopen.c: Likewise.
10437         * dlfcn/dlsym.c: Likewise.
10438         * dlfcn/dlvsym.c: Likewise.
10440         * include/ifaddrs.h: Use IS_IN.
10441         * inet/check_pf.c: Likewise.
10442         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10443         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10445         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10446         IS_IN_ldconfig.
10447         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10448         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10450         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10451         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10452         IS_IN (libc).
10454         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10456         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10457         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10458         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10459         * include/libc-symbols.h (IS_IN_LIB): New macro.
10460         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10461         * include/netdb.h: Likewise.
10462         * include/stap-probe.h: Remove all uses of IN_LIB.
10464         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10465         instead of IN_MODULE.
10466         * include/libc-symbols.h (IN_MODULE): Define using
10467         MODULE_NAME.
10468         (PASTE_NAME, PASTE_NAME1): New macros.
10469         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10470         of IN_LIB.
10471         (STAP_PROBE_ASM): Likewise.
10473 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10475         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10476         __mach_init in dlopened libc.
10478 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10480         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10481         * sysdeps/arm/preconfigure: Regenerate.
10483 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10485         * nptl/pthread_create.c (__pthread_create_2_1): Set
10486         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10487         when copying values from IATTR into PD.
10489 2014-11-21  Will Newton  <will.newton@linaro.org>
10490             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10492         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10493         Refactor inline-asm.  Also add comment.
10495         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10496         ElfW macro instead of hardcoded Elf64 types.
10497         (la_aarch64_gnu_pltenter): Likewise.
10498         * sysdeps/aarch64/dl-machine.h
10499         (elf_machine_runtime_setup): Use ElfW(Addr).
10501         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10502         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10503         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10504         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10505         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10506         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10507         (R_AARCH64_TLS_DTPMOD): This.
10508         (R_AARCH64_TLS_DTPREL64): Rename to ...
10509         (R_AARCH64_TLS_DTPREL): This.
10510         (R_AARCH64_TLS_TPREL64): Rename to ...
10511         (R_AARCH64_TLS_TPREL): This.
10512         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10513         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10514         R_AARCH64_TLS_TPREL64.
10515         (elf_machine_rela): Likewise.
10517 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10519         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10520         by setting it to 0.  64b atomics are not supported currently.
10522 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10524         [BZ #16469]
10525         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10526         search domain names.
10528 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10530         [BZ #16469]
10531         * NEWS: Update.
10532         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10533         trailing dot.
10534         * posix/tst-getaddrinfo5.c: New.
10535         * posix/Makefile (tests): Add it.
10537 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10539         [BZ #14498]
10540         * NEWS: Fixed.
10541         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10542         after parsing line but before break_if_match.
10543         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10544         if there is a protocol mismatch.
10546 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10548         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10549         because the potential race is on the user-supplied stream.
10551 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10553         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10554         string literal if not passed a buffer.
10555         * manual/job.texi (ctermid): Update reasoning, note deviation
10556         from posix, suggest mtasurace when not passed a buffer, for
10557         future non-preliminary safety notes.
10559 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10561         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10562         of not passing it a buffer.
10563         Reported by Peng Haitao.
10565 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10567         * manual/Makefile ($(objpfx)stamp-summary): Require
10568         check-safety.sh to pass.
10569         * manual/check-safety.sh: Wish for verification that every
10570         @deftypefn and @deftypefun is followed by a @safety remark.
10572 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10574         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10576         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10577         PTHREAD_CANCEL_ASYNCHRONOUS.
10578         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10579         send SIGCANCEL.
10581         * nptl/default-sched.h: New file.
10582         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10583         * nptl/pthread_create.c: Include it.
10584         (__pthread_create_2_1): Use collect_default_sched instead of making
10585         Linux syscalls here directly.
10587 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10589         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10590         __pthread_once): Use C11 atomics.
10592 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10594         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10596 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10598         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10599         atomic_thread_fence_acquire, atomic_thread_fence_release,
10600         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10601         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10602         atomic_compare_exchange_weak_relaxed,
10603         atomic_compare_exchange_weak_acquire,
10604         atomic_compare_exchange_weak_release,
10605         atomic_exchange_acquire, atomic_exchange_release,
10606         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10607         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10608         atomic_fetch_and_acquire,
10609         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10611 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10613         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10614         USE_ATOMIC_COMPILER_BUILTINS): Define.
10615         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10617         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10618         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10619         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10620         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10621         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10622         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10623         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10624         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10625         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10626         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10627         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10628         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10629         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10630         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10631         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10632         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10633         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10634         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10635         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10636         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10637         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10638         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10639         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10640         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10641         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10642         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10643         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10644         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10645         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10646         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10647         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10648         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10649         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10650         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10651         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10652         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10653         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10654         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10656 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10658         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10659         the sched_priority value here.  It was already checked when the user
10660         called pthread_attr_setschedparam.
10662         * nptl/tst-bad-schedattr.c: New file.
10663         * nptl/Makefile (tests): Add it.
10665 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10666             Florian Weimer  <fweimer@redhat.com>
10667             Joseph Myers  <joseph@codesourcery.com>
10668             Adam Conrad  <adconrad@0c3.net>
10669             Andreas Schwab  <schwab@suse.de>
10670             Brooks  <bmoses@google.com>
10672         [BZ #17625]
10673         * wordexp-test.c (__dso_handle): Add prototype.
10674         (__register_atfork): Likewise.
10675         (__app_register_atfork): New function.
10676         (registered_forks): New global.
10677         (register_fork): New function.
10678         (test_case): Add 3 new tests for WRDE_CMDSUB.
10679         (main): Call __app_register_atfork.
10680         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10681         fork count is non-zero fail the test.
10682         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10683         is set.
10684         (parse_dollars): Remove check for WRDE_NOCMD.
10685         (parse_dquote): Likewise.
10687 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10689         * Makeconfig (built-modules): List non-library modules to be
10690         built.
10691         (module-cppflags): Include libc-modules.h for
10692         everything except shlib-versions.v.i.
10693         (CPPFLAGS): Use it.
10694         (before-compile): Add libc-modules.h.
10695         ($(common-objpfx)libc-modules.h,
10696         $(common-objpfx)libc-modules.stmp): New targets.
10697         (common-generated): Add libc-modules.h and libc-modules.stmp.
10698         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10699         * include/libc-symbols.h: Don't include libc-modules.h.
10700         * include/libc-modules.h: Remove file.
10701         * scripts/gen-libc-modules.awk: New script to generate
10702         libc-modules.h.
10703         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10704         Depend on libc-modules.stmp.
10706         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10708         * Makeconfig (in-module): Get value of libof set for the
10709         translation unit.
10710         (CPPFLAGS): Use $(in-module).
10711         * Makerules: Don't suffix routine names for nonlib.
10712         * include/libc-modules.h: New file.
10713         * include/libc-symbols.h: Include libc-modules.h
10714         (IS_IN): New macro to replace IS_IN_* macros.
10715         * elf/Makefile: Set libof-* for each routine.
10716         * elf/rtld-Rules: Likewise.
10717         * extra-modules.mk: Likewise.
10718         * iconv/Makefile: Likewise.
10719         * iconvdata/Makefile: Likewise.
10720         * locale/Makefile: Likewise.
10721         * malloc/Makefile: Likewise.
10722         * nss/Makefile: Likewise.
10723         * sysdeps/gnu/Makefile: Likewise.
10724         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10725         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10726         * sysdeps/s390/s390-64/Makefile: Likewise.
10727         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10728         CPPFLAGS for nscd instead of nonlib.
10730 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10732         * nptl/createthread.c: New file.
10734         * nptl/createthread.c: Moved ...
10735         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10737         * nptl/createthread.c: Add proper top-line comment.
10738         (do_clone): Folded into ...
10739         (create_thread): ... here.  Take new arguments STOPPED_START and
10740         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10741         increment __nptl_threads, do event-reporting logic, do
10742         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10743         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10744         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10745         just send SIGCANCEL.
10746         * nptl/pthread_create.c: Forward-declare create_thread before
10747         including createthread.c.
10748         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10749         declaration, and new macro START_THREAD_SELF to replace argument.
10750         Remove return statement.
10751         (report_thread_creation): New function.
10752         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10753         synchronization logic, and __nptl_nthreads increment here, around
10754         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10755         PD->parent_cancelhandling here, before create_thread.  When
10756         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10757         __deallocate_stack, and ENOMEM translation here.
10759 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10761         [BZ #17616]
10762         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10763         (mptwo): Rename to __mptwo.
10764         (__inv): Use __mptwo instead of mptwo.
10765         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10766         (mptwo): Rename to __mptwo.
10767         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10768         of mpone and __mptwo instead of mptwo.
10769         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10770         instead of mpone.
10771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10772         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10773         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10774         of mpone and __mptwo instead of mptwo.
10775         (__mpranred): Use __mpone instead of mpone.
10776         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10777         variable.
10778         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10779         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10780         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10781         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10782         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10783         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10784         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10785         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10786         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10787         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10788         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10789         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10790         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10791         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10792         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10793         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10794         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10795         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10796         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10798 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10800         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10801         replace BSD Handler xref with BSD Signal Handling.
10803 2014-11-17  Richard Henderson  <rth@redhat.com>
10805         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10806         (_FP_PACK_RAW_2): Remove.
10807         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10808         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10809         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10810         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10811         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10812         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10813         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10814         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10815         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10816         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10817         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10818         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10819         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10820         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10821         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10822         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10824 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10826         * signal/signal.h [__USE_MISC]
10827         (struct sigvec): Remove type.
10828         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10829         (sigvec): Remove declaration.
10830         * sysdeps/posix/sigvec.c: Moved ...
10831         * signal/sigvec.c: ... here, replacing old file.
10832         (struct sigvec): New type, copied from old signal.h definition.
10833         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10834         (__sigvec): Convert definition to prototype.
10835         (sigvec): Replace weak_alias with compat_symbol.
10836         * signal/Versions (libc: GLIBC_2.21): New version set.
10837         * include/signal.h: Remove __sigvec declaration.
10838         * sysdeps/unix/bsd/sigvec.c: Remove file.
10839         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10840         * manual/signal.texi (BSD Handler): Remove subsection.
10841         Move siginterrupt up to ...
10842         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10843         (Blocking in BSD): Fold subsection into its parent.
10844         * NEWS: Mention sigvec removal.
10846 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10848         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10849         (DLA_FMS): Make definition conditional only on [__FMA4__].
10850         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10851         definition.
10853         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10854         Make definition conditional only on [PROF].
10855         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10856         definition.
10857         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10858         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10860         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10861         !__GNUC__].
10862         * include/signal.h (__sigpause): Move declaration above call to
10863         libc_hidden_proto.
10864         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10865         variable.
10866         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10867         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10869 2014-11-14  David S. Miller  <davem@davemloft.net>
10871         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10872         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10874 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10876         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10877         * configure: Regenerated.
10878         * manual/install.texi (Tools for Compilation): Document a
10879         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10880         compiler verified to work.
10881         * INSTALL: Regenerated.
10883         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10884         redeclare with asm name.
10885         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10886         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10887         including <string.h>.
10888         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10889         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10890         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10891         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10892         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10893         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10894         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10896 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10898         * stdlib/strtol.c (__strtol): Use prototype definition.
10900         [BZ #17594]
10901         * stdlib/strtol.c (SYM__): New macro.
10902         (SYM__1): Likewise.
10903         (__strtol): Likewise.
10904         (strtol): Rename to __strtol and define as weak alias of
10905         __strtol.  Use libc_hidden_weak.
10907 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10909         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10910         Use numbered labels in inline assembly.
10912 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10914         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10915         Add setjmp LIBC_PROBE.
10916         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10917         Likewise.
10918         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10919         Add longjmp, longjmp_target LIBC_PROBE.
10920         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10921         Likewise.
10923 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10925         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10926         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10927         to get rid of unused variable warning.
10929 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10931         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10932         Check for unwind_backtrace ==  NULL only in SHARED case.
10933         (__backchain_backtrace): Compile only in SHARED case.
10934         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10935         Likewise.
10936         (__backchain_backtrace): Declare as static.
10938 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10940         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10941         (__libc_multiple_threads_ptr): Variable moved ...
10942         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10944 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10946         * conform/GlibcConform.pm: New file.
10947         * conform/conformtest.pl: Use GlibcConform module.
10948         * conform/linknamespace.pl: New file.
10949         * conform/list-header-symbols.pl: Likewise.
10950         * conform/Makefile (linknamespace-symlists-base): New variable.
10951         (linknamespace-symlists-tests): Likewise.
10952         (linknamespace-header-base): Likewise.
10953         (linknamespace-header-tests): Likewise.
10954         (tests-special): Add new tests.
10955         ($(linknamespace-symlists-tests)): New rule.
10956         (linknamespace-libs): New variable.
10957         ($(objpfx)symlist-stdlibs): New rule.
10958         ($(linknamespace-header-tests)): Likewise.
10959         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10960         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10961         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10962         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10963         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10964         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10965         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10966         (test-xfail-ISO/math.h/linknamespace): Likewise.
10967         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10968         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10969         (test-xfail-ISO/time.h/linknamespace): Likewise.
10970         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10971         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10972         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10973         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10974         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10975         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10976         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10977         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10978         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10979         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10980         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10981         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10982         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10983         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10984         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10985         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10986         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10987         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10988         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10989         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10990         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10991         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10992         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10993         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10994         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10995         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10996         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10997         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10998         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10999         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11000         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11001         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11002         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11003         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11004         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11005         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11006         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11007         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11008         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11009         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11010         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11011         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11012         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11013         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11014         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11015         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11016         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11017         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11018         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11019         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11020         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11021         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11022         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11023         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11024         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11025         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11026         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11027         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11028         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11029         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11030         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11031         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11032         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11033         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11034         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11035         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11036         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11037         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11038         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11039         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11040         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11041         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11042         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11043         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11044         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11045         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11046         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11047         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11048         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11049         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11050         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11051         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11052         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11053         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11054         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11055         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11056         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11057         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11058         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11059         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11060         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11061         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11062         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11063         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11064         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11065         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11066         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11067         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11068         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11069         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11070         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11071         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11072         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11073         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11074         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11075         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11076         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11077         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11078         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11079         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11080         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11081         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11082         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11083         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11084         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11085         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11086         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11087         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11088         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11089         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11090         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11091         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11092         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11093         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11094         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11095         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11096         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11097         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11098         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11099         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11100         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11101         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11102         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11103         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11104         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11105         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11106         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11107         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11108         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11109         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11110         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11111         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11112         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11113         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11114         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11115         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11116         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11117         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11118         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11119         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11121         [BZ #17589]
11122         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11123         of fgets_unlocked.
11125         [BZ #17585]
11126         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11127         (memmem): Rename to __memmem and define as weak alias of
11128         __memmem.  Use libc_hidden_weak.
11129         (__memmem): Use libc_hidden_def.
11130         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11131         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11132         memmem.
11134         [BZ #17582]
11135         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11136         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11137         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11138         and define as weak alias of __fgets_unlocked.  Use
11139         libc_hidden_weak.
11140         (__fgets_unlocked): Use libc_hidden_def.
11141         * include/stdio.h (__fgets_unlocked): Declare.  Use
11142         libc_hidden_proto.
11143         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11144         __fgets_unlocked instead of fgets_unlocked.
11145         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11146         (GET_NPROCS_CONF_PARSER): Likewise.
11147         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11148         (GET_NPROCS_CONF_PARSER): Likewise.
11150         [BZ #17574]
11151         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11152         weak alias of __wmemset.  Use libc_hidden_weak.
11153         (__wmemset): Use libc_hidden_def.
11154         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11155         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11156         of wmemset.
11158         [BZ #17573]
11159         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11160         with asm name __mempcpy.
11161         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11163         [BZ #17572]
11164         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11165         and define as weak alias of __rawmemchr.
11166         (__rawmemchr): Do not define as strong alias of rawmemchr.
11168         [BZ #17571]
11169         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11170         alias of __qsort_r.
11171         (qsort): Call __qsort_r instead of qsort_r.
11172         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11173         (__qsort_r): Declare.  Call libc_hidden_proto.
11174         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11175         instead of qsort_r.
11176         * nscd/gai.c (__qsort_r): Define to qsort_r.
11177         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11178         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11179         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11181         [BZ #17570]
11182         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11183         define as weak alias of __malloc_info.
11185         [BZ #17584]
11186         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11187         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11188         (__rewinddir): Use libc_hidden_def.
11189         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11190         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11191         (__rewinddir): Use libc_hidden_def.
11192         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11193         weak alias of __rewinddir.  Don't use libc_hidden_def.
11194         (__rewinddir): Use libc_hidden_def.
11195         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11196         (__rewinddir): Use libc_hidden_proto.
11197         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11198         rewinddir.
11199         (__getcwd): Use __rewinddir instead of rewinddir.
11201         [BZ #17583]
11202         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11203         alias of __fileno.  Use libc_hidden_weak.
11204         (__fileno): Use libc_hidden_def.
11205         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11206         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11207         alias of __ftello.
11208         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11209         __ftello.
11210         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11211         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11212         libc_hidden_def.
11213         (fread_unlocked): Don't use libc_hidden_ver.
11214         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11215         and define as weak alias of __fread_unlocked.  Don't use
11216         libc_hidden_def.
11217         (__fread_unlocked): Use libc_hidden_def.
11218         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11219         (ftello): Don't use libc_hidden_proto.
11220         (__ftello): Declare.  Use libc_hidden_proto.
11221         (fread_unlocked): Don't use libc_hidden_proto.
11222         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11223         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11224         and __ftello instead of fileno, fread_unlocked and ftello.
11226 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11228         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11229         GOT12.
11230         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11231         Likewise.
11232         (_dl_start_user): Likewise.
11233         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11235 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11236             Siddhesh Poyarekar  <siddhesh@redhat.com>
11238         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11239         Move argv and envp down instead of moving argc up.
11240         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11242 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11244         [BZ #17506]
11245         * test-skeleton.c (main): Return successful if one of
11246         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11247         * string/tst-strcoll-overflow.c: Define expected status.
11249 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11251         [BZ #17475]
11252         * locale/iso-639.def: Define Bhili and Tulu language codes.
11254 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11256         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11258 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11260         [BZ #17555]
11261         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11263 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11265         * configure.ac: Updated check of minimal required version to
11266         2.22.
11267         * manual/install.texi (Tools for Compilation): Updated version
11268         number.
11269         * configure: Regenerated.
11270         * INSTALL: Likewise.
11272 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11274         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11275         __tls_get_addr.
11277 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11279         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11280         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11281         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11282         libc_hidden_weak.
11283         (waitpid): Define as alias of __waitpid.
11284         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11285         __waitpid.
11286         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11287         libc_hidden_weak.
11288         (waitpid): Define as alias of __waitpid.
11289         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11290         __libc_waitpid alias.
11291         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11292         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11293         Likewise.
11294         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11295         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11296         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11297         alias.
11298         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11299         __waitpid.
11300         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11301         libc_hidden_weak.
11302         (waitpid): Define as alias of __waitpid.
11304 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11306         * manual/llio.texi: Add comment that write safety has been
11307         fixed in Linux.
11309         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11310         (localplt-build-dso): Add elf/ld.so.
11311         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11312         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11313         and free for ld.so.
11314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11315         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11317         Likewise.
11318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11319         Likewise.
11320         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11321         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11322         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11323         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11324         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11325         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11326         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11327         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11328         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11329         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11330         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11332 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11334         [BZ #14132]
11335         * include/libc-symbols.h (INTUSE): Remove macro.
11336         (INTDEF): Likewise.
11337         (INTVARDEF): Likewise.
11338         (_INTVARDEF): Likewise.
11339         (INTDEF2): Likewise.
11340         (INTVARDEF2): Likewise.
11341         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11342         rtld_hidden_def instead of INTVARDEF.
11343         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11344         (_dl_starting_up_internal): Remove declaration.
11345         (_dl_starting_up): Use rtld_hidden_proto.
11346         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11347         declaration.
11348         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11349         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11350         _dl_starting_up.
11351         * elf/dl-writev.h (_dl_writev): Likewise.
11352         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11353         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11354         _dl_starting_up_internal.
11356 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11358         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11359         test-skeleton.c.
11361 2014-11-05  Will Newton  <will.newton@linaro.org>
11363         * benchtests/Makefile: (bench-malloc): Add malloc thread
11364         scalability benchmark.
11365         * benchtests/bench-malloc-threads.c: New file.
11367 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11369         * sysdeps/aarch64/strchrnul.S: New file.
11371 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11373         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11374         definition.
11375         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11376         Likwise.
11377         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11378         Likewise.
11379         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11380         Likewise.
11381         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11382         Likewise.
11383         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11384         Likewise.
11386 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11388         * catgets/test-gencat.c: Use test-skeleton.c.
11389         * catgets/tst-catgets.c: Likewise.
11390         * csu/tst-empty.c: Likewise.
11391         * elf/tst-audit2.c: Likewise.
11392         * elf/tst-global1.c: Likewise.
11393         * elf/tst-pathopt.c: Likewise.
11394         * elf/tst-piemod1.c: Likewise.
11395         * elf/tst-tls10.c: Likewise.
11396         * elf/tst-tls11.c: Likewise.
11397         * elf/tst-tls12.c: Likewise.
11398         * gnulib/tst-gcc.c: Likewise.
11399         * iconvdata/tst-e2big.c: Likewise.
11400         * iconvdata/tst-loading.c: Likewise.
11401         * iconv/tst-iconv1.c: Likewise.
11402         * iconv/tst-iconv2.c: Likewise.
11403         * inet/test-inet6_opt.c: Likewise.
11404         * inet/tst-gethnm.c: Likewise.
11405         * inet/tst-network.c: Likewise.
11406         * inet/tst-ntoa.c: Likewise.
11407         * intl/tst-codeset.c: Likewise.
11408         * intl/tst-gettext2.c: Likewise.
11409         * intl/tst-gettext3.c: Likewise.
11410         * intl/tst-ngettext.c: Likewise.
11411         * intl/tst-translit.c: Likewise.
11412         * io/test-stat.c: Likewise.
11413         * libio/test-fmemopen.c: Likewise.
11414         * libio/tst-freopen.c: Likewise.
11415         * libio/tst-sscanf.c: Likewise.
11416         * libio/tst-ungetwc1.c: Likewise.
11417         * libio/tst-ungetwc2.c: Likewise.
11418         * libio/tst-widetext.c: Likewise.
11419         * localedata/tst-ctype.c: Likewise.
11420         * localedata/tst-digits.c: Likewise.
11421         * localedata/tst-leaks.c: Likewise.
11422         * localedata/tst-mbswcs1.c: Likewise.
11423         * localedata/tst-mbswcs2.c: Likewise.
11424         * localedata/tst-mbswcs3.c: Likewise.
11425         * localedata/tst-mbswcs4.c: Likewise.
11426         * localedata/tst-mbswcs5.c: Likewise.
11427         * localedata/tst-setlocale.c: Likewise.
11428         * localedata/tst-trans.c: Likewise.
11429         * localedata/tst-wctype.c: Likewise.
11430         * localedata/tst-xlocale1.c: Likewise.
11431         * login/tst-grantpt.c: Likewise.
11432         * malloc/tst-calloc.c: Likewise.
11433         * malloc/tst-malloc.c: Likewise.
11434         * malloc/tst-mallocstate.c: Likewise.
11435         * malloc/tst-mcheck.c: Likewise.
11436         * malloc/tst-mtrace.c: Likewise.
11437         * malloc/tst-obstack.c: Likewise.
11438         * math/atest-exp2.c: Likewise.
11439         * math/atest-exp.c: Likewise.
11440         * math/atest-sincos.c: Likewise.
11441         * math/test-matherr.c: Likewise.
11442         * math/test-misc.c: Likewise.
11443         * math/test-powl.c: Likewise.
11444         * math/tst-definitions.c: Likewise.
11445         * misc/tst-dirname.c: Likewise.
11446         * misc/tst-efgcvt.c: Likewise.
11447         * misc/tst-fdset.c: Likewise.
11448         * misc/tst-hsearch.c: Likewise.
11449         * misc/tst-mntent2.c: Likewise.
11450         * nptl/tst-sem7.c: Likewise.
11451         * nptl/tst-sem8.c: Likewise.
11452         * nptl/tst-sem9.c: Likewise.
11453         * nss/test-netdb.c: Likewise.
11454         * posix/tst-fnmatch.c: Likewise.
11455         * posix/tst-getlogin.c: Likewise.
11456         * posix/tst-gnuglob.c: Likewise.
11457         * posix/tst-mmap.c: Likewise.
11458         * pwd/tst-getpw.c: Likewise.
11459         * resolv/tst-inet_ntop.c: Likewise.
11460         * rt/tst-timer.c: Likewise.
11461         * stdio-common/test-fseek.c: Likewise.
11462         * stdio-common/test-popen.c: Likewise.
11463         * stdio-common/test-vfprintf.c: Likewise.
11464         * stdio-common/tst-cookie.c: Likewise.
11465         * stdio-common/tst-fileno.c: Likewise.
11466         * stdio-common/tst-gets.c: Likewise.
11467         * stdio-common/tst-obprintf.c: Likewise.
11468         * stdio-common/tst-perror.c: Likewise.
11469         * stdio-common/tst-sprintf2.c: Likewise.
11470         * stdio-common/tst-sprintf3.c: Likewise.
11471         * stdio-common/tst-sprintf.c: Likewise.
11472         * stdio-common/tst-swprintf.c: Likewise.
11473         * stdio-common/tst-tmpnam.c: Likewise.
11474         * stdio-common/tst-unbputc.c: Likewise.
11475         * stdio-common/tst-wc-printf.c: Likewise.
11476         * stdlib/tst-environ.c: Likewise.
11477         * stdlib/tst-fmtmsg.c: Likewise.
11478         * stdlib/tst-limits.c: Likewise.
11479         * stdlib/tst-rand48-2.c: Likewise.
11480         * stdlib/tst-rand48.c: Likewise.
11481         * stdlib/tst-random2.c: Likewise.
11482         * stdlib/tst-random.c: Likewise.
11483         * stdlib/tst-strtol.c: Likewise.
11484         * stdlib/tst-strtoll.c: Likewise.
11485         * stdlib/tst-tls-atexit.c: Likewise.
11486         * stdlib/tst-xpg-basename.c: Likewise.
11487         * string/test-ffs.c: Likewise.
11488         * string/tst-bswap.c: Likewise.
11489         * string/tst-inlcall.c: Likewise.
11490         * string/tst-strtok.c: Likewise.
11491         * string/tst-strxfrm.c: Likewise.
11492         * sysdeps/x86_64/tst-audit10.c: Likewise.
11493         * sysdeps/x86_64/tst-audit3.c: Likewise.
11494         * sysdeps/x86_64/tst-audit4.c: Likewise.
11495         * sysdeps/x86_64/tst-audit5.c: Likewise.
11496         * time/tst-ftime_l.c: Likewise.
11497         * time/tst-getdate.c: Likewise.
11498         * time/tst-mktime3.c: Likewise.
11499         * time/tst-mktime.c: Likewise.
11500         * time/tst-posixtz.c: Likewise.
11501         * time/tst-strptime2.c: Likewise.
11502         * time/tst-strptime3.c: Likewise.
11503         * wcsmbs/tst-btowc.c: Likewise.
11504         * wcsmbs/tst-mbrtowc.c: Likewise.
11505         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11506         * wcsmbs/tst-wchar-h.c: Likewise.
11507         * wcsmbs/tst-wcpncpy.c: Likewise.
11508         * wcsmbs/tst-wcrtomb.c: Likewise.
11509         * wcsmbs/tst-wcsnlen.c: Likewise.
11510         * wcsmbs/tst-wcstof.c: Likewise.
11512 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11514         [BZ #14132]
11515         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11516         INTDEF.
11517         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11518         declaration.
11519         (_dl_mcount): Use rtld_hidden_proto.
11520         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11521         _dl_mcount.
11522         * elf/rtld.c (_rtld_global_ro): Likewise.
11524         [BZ #14132]
11525         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11526         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11527         of _dl_init_internal.
11528         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11529         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11530         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11531         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11532         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11533         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11534         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11535         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11536         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11537         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11538         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11539         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11540         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11541         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11542         * sysdeps/tile/dl-start.S (_start): Likewise.
11543         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11544         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11546         [BZ #14132]
11547         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11548         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11549         (rtld_progname): Make macro definition unconditional.
11550         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11551         INTDEF.
11552         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11553         (dl_main): Likewise.
11554         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11555         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11556         instead of _dl_argv_internal.
11557         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11558         __GI__dl_argv instead of INTUSE(_dl_argv).
11559         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11560         __GI__dl_argv instead of _dl_argv_internal.
11562         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11563         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11564         macro.
11565         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11566         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11567         New macro.
11568         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11569         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11570         macro.
11571         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11572         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11574 2014-11-04  Andreas Schwab  <schwab@suse.de>
11576         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11578 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11580         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11581         mtvsrd instruction in binary form.
11583 2014-11-03  Andreas Schwab  <schwab@suse.de>
11585         [BZ #17522]
11586         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11587         for less than MB_LEN_MAX use a local buffer of that size.
11588         * libio/tst-fputws.c: New file.
11589         * libio/Makefile (tests): Add tst-fputws.
11591 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11593         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11594         the size of the fpu_fr.fpu_dregs[] array.
11596 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11598         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11599         (__nanosleep): Do not define as alias.
11600         (nanosleep): Define as alias of __nanosleep.
11601         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11602         __libc_nanosleep name.
11604 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11606         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11607         install.texi in comment.
11609 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11611         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11612         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11613         ... add here and use lwsync or sync ...
11614         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11615         ... and add here using lwsync.
11617 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11619         * elf/dl-machine-reject-phdr.h: New file.
11620         * elf/dl-load.c: #include that.
11621         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11622         if that returned true.
11624 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11626         [BZ #17496]
11627         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11628         gen-as-const-headers chunk.  Add a big scare comment after the last
11629         safe place to touch before-compile.
11631 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11633         * manual/install.texi (Tools for Compilation): Update autoconf
11634         version requirements.
11635         * INSTALL: Regenerated.
11637         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11638         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11639         (__libc_pselect): Likewise.
11641         [BZ #14138]
11642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11647 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11649         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11650         correct barrier instruction.
11651         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11652         Likewise.
11653         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11654         Likewise.
11656 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11658         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11659         after defining inlines.  Instead, just use parens to defeat macro
11660         expansion of __isctype in its declaration.
11662 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11664         * include/sys/uio.h (__libc_readv): Remove declaration.
11665         (__libc_writev): Likewise.
11666         * misc/readv.c (__libc_readv): Rename to __readv.
11667         (__readv): Do not define as alias.
11668         (readv): Define as alias of __readv.
11669         * misc/writev.c (__libc_writev): Rename to __writev.
11670         (__writev): Do not define as alias.
11671         (writev): Define as alias of __writev.
11672         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11673         (__readv): Do not define as alias.
11674         (readv): Define unconditionally as alias of __readv.
11675         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11676         (__writev): Do not define as alias.
11677         (writev): Define unconditionally as alias of __writev.
11678         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11679         name.
11680         (writev): Do not define __libc_writev name.
11682 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11684         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11685         (convert_charseq): New function, broken out of ...
11686         (use_from_charmap): ... here.  Call it.
11687         (use_to_charmap): Use convert_charseq and free instead of duplicating
11688         its code with a variable-length stack struct.
11690 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11692         * include/fcntl.h (__libc_creat): Remove declaration.
11693         * io/creat.c (__libc_creat): Rename to creat.
11694         (creat): Do not define as alias.
11695         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11696         of creat instead of __libc_creat.
11697         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11698         to creat.
11699         (creat): Do not define as alias.
11700         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11701         __libc_creat.
11702         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11703         __libc_creat name.
11704         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11705         Likewise.
11707 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11709         * manual/llio.texi: Add comments discussing why write() may be
11710         considered MT-unsafe on Linux.
11712 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11714         * dl-load.c (local_strdup): Remove.
11715         (expand_dynamic_string_token): Use __strdup.
11716         (decompose_rpath): Likewise.
11717         (_dl_map_object): Likewise.
11719 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11721         [BZ #14132]
11722         * sysdeps/generic/unwind-dw2-fde.c
11723         (__register_frame_info_bases_internal): Do not declare.
11724         (__register_frame_info_table_bases_internal): Likewise.
11725         (__deregister_frame_info_bases_internal): Likewise.
11726         (__register_frame_info_bases): Declare and use hidden_proto before
11727         definition.  Use hidden_def instead of INTDEF.
11728         (__register_frame_info_table_bases): Likewise.
11729         (__deregister_frame_info_bases): Likewise.
11730         (__register_frame_info): Do not use INTUSE.
11731         (__register_frame): Likewise.
11732         (__register_frame_info_table): Likewise.
11733         (__register_frame_table): Likewise.
11734         (__deregister_frame_info): Likewise.
11735         (__deregister_frame): Likewise.
11737 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11739         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11740         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11741         not undefine.
11742         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11743         Likewise.
11744         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11745         Likewise.
11747 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11749         [BZ #14138]
11750         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11751         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11752         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11753         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11754         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11755         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11756         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11757         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11758         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11759         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11760         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11761         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11762         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11763         syscall.
11764         (setfsuid): Likewise.
11765         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11766         (setfsuid): Likewise.
11767         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11768         (setfsuid): Likewise.
11769         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11770         Likewise.
11771         (setfsuid): Likewise.
11772         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11773         (setfsuid): Likewise.
11774         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11775         Likewise.
11776         (setfsuid): Likewise.
11778 2014-10-27  Andreas Schwab  <schwab@suse.de>
11780         [BZ #17501]
11781         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11782         check for Slow_SSE4_2 feature bit.
11783         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11784         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11785         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11786         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11788 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11790         * configure.ac: Validate compiler version with a empirical test of
11791         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11792         $CC -v output.
11793         * configure: Regenerated.
11795         * inet/htons.c (htons): Prototypify.
11796         * inet/htonl.c (htonl): Likewise.
11798 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11800         * string/strncat.c (strncat): Improve performance by using strlen.
11802 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11804         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11806 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11808         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11809         Call libc_fetestexcept_aarch64.
11811 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11813         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11814         Call libc_feholdexcept_aarch64.
11816 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11818         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11819         Call get_rounding_mode.
11821 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11823         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11824         Simplify logic.
11826 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11828         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11829         Simplify logic.
11831 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11833         [BZ #14138]
11834         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11835         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11836         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11837         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11838         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11839         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11840         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11841         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11842         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11843         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11844         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11845         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11846         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11847         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11848         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11849         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11850         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11851         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11852         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11853         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11854         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11855         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11856         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11857         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11858         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11859         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11860         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11861         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11862         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11863         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11864         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11865         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11866         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11867         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11868         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11869         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11870         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11871         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11872         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11873         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11874         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11875         syscall.
11876         (geteuid): Likewise.
11877         (getgid): Likewise.
11878         (getuid): Likewise.
11879         (getresgid): Likewise.
11880         (getresuid): Likewise.
11881         (getgroups): Likewise.
11882         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11883         (geteuid): Likewise.
11884         (getgid): Likewise.
11885         (getuid): Likewise.
11886         (getresgid): Likewise.
11887         (getresuid): Likewise.
11888         (getgroups): Likewise.
11889         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11890         (geteuid): Likewise.
11891         (getgid): Likewise.
11892         (getuid): Likewise.
11893         (getresgid): Likewise.
11894         (getresuid): Likewise.
11895         (getgroups): Likewise.
11896         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11897         Likewise.
11898         (geteuid): Likewise.
11899         (getgid): Likewise.
11900         (getuid): Likewise.
11901         (getresgid): Likewise.
11902         (getresuid): Likewise.
11903         (getgroups): Likewise.
11904         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11905         (geteuid): Likewise.
11906         (getgid): Likewise.
11907         (getuid): Likewise.
11908         (getresgid): Likewise.
11909         (getresuid): Likewise.
11910         (getgroups): Likewise.
11911         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11912         Likewise.
11913         (geteuid): Likewise.
11914         (getgid): Likewise.
11915         (getuid): Likewise.
11916         (getgroups): Likewise.
11918         [BZ #14138]
11919         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11920         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11921         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11922         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11923         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11924         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11925         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11926         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11927         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11928         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11929         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11930         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11931         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11932         __chown.
11933         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11934         (lchown): Likewise.
11935         (fchown): Likewise.
11936         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11937         Likewise.
11938         (lchown): Likewise.
11939         (fchown): Likewise.
11940         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11941         (lchown): Likewise.
11942         (fchown): Likewise.
11943         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11944         Likewise.
11945         (lchown): Likewise.
11946         (fchown): Likewise.
11948 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11950         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11951         Simplify logic.
11953 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11955         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11956         Cleanup logic.
11958 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11960         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11961         Remove unused include.
11963 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11965         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11966         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11967         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11968         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11970 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11971             Helge Deller <deller@gmx.de>
11973         [BZ #17508]
11974         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11975         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11976         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11978 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11980         [BZ #14132]
11981         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11982         Remove macro definition.
11983         (__ashrdi3_v_glibc20): Likewise.
11984         (__lshrdi3_v_glibc20): Likewise.
11985         (__cmpdi2_v_glibc20): Likewise.
11986         (__ucmpdi2_v_glibc20): Likewise.
11987         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11988         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11989         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11990         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11991         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11992         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11994 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11996         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11997         old GNU extension [0] syntax.
11998         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11999         alloca rather than an array member with variable length.
12000         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12001         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12002         (parse_opt): ... here.  Likewise use alloca there.
12003         Validate the -i argument before checking for rootness.
12004         (send_shutdown): New function, broken out of ...
12005         (parse_opt): ... here.
12007 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12009         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12010         macro to get at the _rt_local_ro field.
12011         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12012         ([PIC] case) or _dl_hwcap ([!PIC] case).
12013         * sysdeps/arm/setjmp.S: Likewise.
12015         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12016         * sysdeps/arm/configure.ac: New check to define it.
12017         * sysdeps/arm/configure: Regenerated.
12018         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12019         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12020         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12021         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12022         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12023         Use move/movt pair instead of a load.
12024         (LDST_GLOBAL): Macro removed.
12025         (LDR_GLOBAL): New macro replaces it.
12026         (LDR_HIDDEN): New macro.
12027         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12028         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12030         * setjmp/tst-setjmp-static.c: New file.
12031         * setjmp/Makefile (tests): Add it.
12032         (tests-static): New variable.
12034 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12036         [BZ #17485]
12037         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12039 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12041         [BZ #14132]
12042         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12044 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12046         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12048 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12050         * io/fts.c (dirent_not_directory): New function.
12051         (fts_build): Call it.
12053 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12055         * nptl/version.c (__nptl_main): Use normal __write rather than
12056         INTERNAL_SYSCALL.
12057         (banner): Update copyright years.
12059         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12060         gettimeofday.
12061         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12062         * nptl/pthread_cond_timedwait.c: Likewise.
12063         * nptl/pthread_mutex_timedlock.c: Likewise.
12064         * nptl/sem_timedwait.c: Likewise.
12066         * sysdeps/nptl/bits/libc-lock.h
12067         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12068         (__libc_lock_init_recursive): Return void, not 0.
12069         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12070         (__libc_rwlock_init): Likewise.
12071         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12073 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12075         [BZ #15215]
12076         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12077         (__pthread_once_slow): ... here.
12078         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12079         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12081 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12083         [BZ #15215]
12084         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12085         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12086         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12087         * nptl/pthread_once.c (__pthread_once): Likewise.
12088         Update comments.
12090 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12092         [BZ #14138]
12093         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12094         name.
12095         (writev): Use __libc_writev as strong name.
12096         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12097         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12099 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12101         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12103         * sysdeps/i386/nptl/tls.h
12104         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12105         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12106         New macros.
12107         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12108         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12109         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12110         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12111         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12112         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12114         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12115         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12116         on [__NR_futex].
12117         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12118         broken out of ...
12119         (__pthread_mutex_init): ... here.  Call it.
12120         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12121         Conditionalize PI cases on [__NR_futex].
12122         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12123         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12124         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12126         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12127         conditional on [SIGSETXID].
12128         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12129         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12130         is defined.  Likewise for SIGSETXID.
12131         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12132         Conditionalize definitions on [SIGSETXID].
12133         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12134         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12135         unblocking on [SIGCANCEL].
12137         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12138         [__NR_set_robust_list].
12140 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12142         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12143         (do_compare): Likewise.
12145 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12147         [BZ #15884]
12148         * string/strcoll_l.c: Don't include stdio.h.
12149         (coll_seq): Remove members idxarr and rulearr.
12150         (get_next_seq_cached): Remove function.
12151         (get_next_seq): Likewise.
12152         (get_next_seq_nocache): Rename to get_next_seq.
12153         (do_compare): Remove function.
12154         (do_compare_nocache): Rename to do_compare.
12155         (STRCOLL): Remove weight and rules cache.
12157 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12159         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12160         * sysdeps/arm/sfp-machine.h: ... to here.
12161         * sysdeps/arm/Implies: Remove arm/soft-fp.
12163 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12165         * conform/data/sys/utsname.h-data (*_t): Allow.
12166         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12167         [POSIX] (WEXITED): Do not expect constant.
12168         [POSIX] (WSTOPPED): Likewise.
12169         [POSIX] (WNOHANG): Likewise.
12170         [POSIX] (WNOWAIT): Likewise.
12171         [POSIX] (siginfo_t): Do not expect type or elements.
12172         [POSIX] (pid_t): Do not expect type.
12173         [POSIX] (signal.h): Do not allow header.
12174         [POSIX] (sys/resource.h): Likewise.
12175         [POSIX] (si_*): Do not allow pattern.
12176         [POSIX] (W*): Likewise.
12177         [POSIX] (P_*): Likewise.
12178         [POSIX] (BUS_*): Likewise.
12179         [POSIX] (CLD_*): Likewise.
12180         [POSIX] (FPE_*): Likewise.
12181         [POSIX] (ILL_*): Likewise.
12182         [POSIX] (POLL_*): Likewise.
12183         [POSIX] (SEGV_*): Likewise.
12184         [POSIX] (SI_*): Likewise.
12185         [POSIX] (TRAP_*): Likewise.
12186         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12187         variable.
12189 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12191         [BZ #12926]
12192         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12193         infinite loop when __recvmsg returns 0.
12195 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12197         * CANCEL-FCT-WAIVE: Remove file.
12198         * CANCEL-FILE-WAIVE: Likewise.
12200         [BZ #14132]
12201         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12202         instead of INTVARDEF.
12203         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12204         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12205         rtld_hidden_data_def instead of INTVARDEF.
12206         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12207         * elf/dl-deps.c (expand_dst): Likewise.
12208         * elf/dl-load.c (_dl_dst_count): Likewise.
12209         (_dl_dst_substitute): Likewise.
12210         (decompose_rpath): Likewise.
12211         (_dl_init_paths): Likewise.
12212         (open_path): Likewise.
12213         (_dl_map_object): Likewise.
12214         * elf/rtld.c (dl_main): Likewise.
12215         (process_dl_audit): Likewise.
12216         (process_envvars): Likewise.
12217         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12218         Remove declaration.
12219         (__libc_enable_secure): Use rtld_hidden_proto.
12221 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12223         * elf/dl-load.c
12224         (add_path): New function broken out of _dl_rtld_di_serinfo.
12225         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12227 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12229         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12230         parentheses around macro arguments.
12231         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12232         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12233         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12234         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12235         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12236         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12237         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12238         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12239         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12240         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12241         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12242         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12243         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12244         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12245         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12246         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12247         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12248         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12249         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12250         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12251         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12253         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12254         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12255         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12256         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12257         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12258         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12259         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12260         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12261         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12262         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12263         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12264         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12265         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12266         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12267         Likewise.
12268         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12269         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12270         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12271         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12272         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12273         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12274         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12275         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12276         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12277         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12278         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12279         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12280         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12281         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12282         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12283         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12284         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12285         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12286         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12287         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12288         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12289         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12290         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12291         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12292         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12293         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12294         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12295         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12296         (_FP_FRAC_SRS_1): Likewise.
12297         (_FP_FRAC_CLZ_1): Likewise.
12298         (_FP_MUL_MEAT_1_imm): Likewise.
12299         (_FP_MUL_MEAT_1_wide): Likewise.
12300         (_FP_MUL_MEAT_1_hard): Likewise.
12301         (_FP_SQRT_MEAT_1): Likewise.
12302         (_FP_FRAC_ASSEMBLE_1): Likewise.
12303         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12304         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12305         (__FP_CLZ_2): Likewise.
12306         (_FP_MUL_MEAT_2_wide): Likewise.
12307         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12308         (_FP_MUL_MEAT_2_gmp): Likewise.
12309         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12310         (_FP_SQRT_MEAT_2): Likewise.
12311         (_FP_FRAC_ASSEMBLE_2): Likewise.
12312         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12313         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12314         (_FP_FRAC_CLZ_4): Likewise.
12315         (_FP_MUL_MEAT_4_wide): Likewise.
12316         (_FP_MUL_MEAT_4_gmp): Likewise.
12317         (_FP_SQRT_MEAT_4): Likewise.
12318         (_FP_FRAC_ASSEMBLE_4): Likewise.
12319         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12320         * soft-fp/op-common.h (_FP_CMP): Likewise.
12321         (_FP_CMP_EQ): Likewise.
12322         (_FP_CMP_UNORD): Likewise.
12323         (_FP_TO_INT): Likewise.
12324         (_FP_FROM_INT): Likewise.
12325         [!__FP_CLZ] (__FP_CLZ): Likewise.
12326         (_FP_DIV_HELP_imm): Likewise.
12327         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12328         Likewise.
12329         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12330         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12331         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12333         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12334         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12335         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12336         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12337         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12338         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12339         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12340         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12341         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12342         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12343         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12344         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12345         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12346         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12348         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12349         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12351         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12352         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12353         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12354         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12355         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12356         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12357         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12358         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12359         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12360         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12361         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12362         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12363         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12364         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12365         (FP_UNPACK_RAW_SP): Likewise.
12366         (FP_PACK_RAW_S): Likewise.
12367         (FP_PACK_RAW_SP): Likewise.
12368         (FP_UNPACK_S): Likewise.
12369         (FP_UNPACK_SP): Likewise.
12370         (FP_UNPACK_SEMIRAW_S): Likewise.
12371         (FP_UNPACK_SEMIRAW_SP): Likewise.
12372         (FP_PACK_S): Likewise.
12373         (FP_PACK_SP): Likewise.
12374         (FP_PACK_SEMIRAW_S): Likewise.
12375         (FP_PACK_SEMIRAW_SP): Likewise.
12376         (_FP_SQRT_MEAT_S): Likewise.
12377         (FP_CMP_S): Likewise.
12378         (FP_CMP_EQ_S): Likewise.
12379         (FP_CMP_UNORD_S): Likewise.
12380         (FP_TO_INT_S): Likewise.
12381         (FP_FROM_INT_S): Likewise.
12383         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12385         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12386         (FP_EX_INVALID_IMZ): Likewise.
12387         (FP_EX_INVALID_IMZ_FMA): Likewise.
12388         (FP_EX_INVALID_ISI): Likewise.
12389         (FP_EX_INVALID_ZDZ): Likewise.
12390         (FP_EX_INVALID_IDI): Likewise.
12391         (FP_EX_INVALID_SQRT): Likewise.
12392         (FP_EX_INVALID_CVI): Likewise.
12393         (FP_EX_INVALID_VC): Likewise.
12394         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12395         "invalid" exceptions.
12396         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12397         (_FP_ADD_INTERNAL): Likewise.
12398         (_FP_MUL): Likewise.
12399         (_FP_FMA): Likewise.
12400         (_FP_DIV): Likewise.
12401         (_FP_CMP_CHECK_NAN): Likewise.
12402         (_FP_SQRT): Likewise.
12403         (_FP_TO_INT): Likewise.
12404         (FP_EXTEND): Likewise.
12406 2014-10-09  Allan McRae  <allan@archlinux.org>
12408         * po/fr.po: Update French translation from translation project.
12410 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12412         [BZ #14132]
12413         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12414         of INTDEF.
12415         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12416         (__cxa_atexit): Use libc_hidden_proto.
12417         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12419         [BZ #14132]
12420         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12421         declaration.
12422         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12423         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12424         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12425         [!_ISOMAC] (__iswctype_internal): Likewise.
12426         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12427         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12428         alias.
12429         (fcntl): Remove __fcntl_internal alias.
12430         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12431         __connect_internal alias.
12432         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12433         Likewise.
12435         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12436         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12437         FP_DENORM_ZERO.
12438         (_FP_CHECK_FLUSH_ZERO): New macro.
12439         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12440         (_FP_CMP): Likewise.
12441         (_FP_CMP_EQ): Likewise.
12442         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12443         FP_DENORM_ZERO.
12444         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12445         (FP_TRUNC): Likewise.
12447         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12448         treated as invalid conversion, not as normal exponent.
12450         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12451         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12452         (_FP_CMP_EQ): Likewise.
12453         (_FP_CMP_UNORD): Likewise.
12454         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12455         (FP_CMP_EQ_D): Likewise.
12456         (FP_CMP_UNORD_D): Likewise.
12457         * soft-fp/extended.h (FP_CMP_E): Likewise.
12458         (FP_CMP_EQ_E): Likewise.
12459         (FP_CMP_UNORD_E): Likewise.
12460         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12461         (FP_CMP_EQ_Q): Likewise.
12462         (FP_CMP_UNORD_Q): Likewise.
12463         * soft-fp/single.h (FP_CMP_S): Likewise.
12464         (FP_CMP_EQ_S): Likewise.
12465         (FP_CMP_UNORD_S): Likewise.
12466         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12467         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12468         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12469         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12470         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12471         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12472         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12473         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12474         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12475         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12476         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12477         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12478         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12479         to FP_CMP_Q.
12480         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12481         FP_CMP_Q.
12482         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12483         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12484         FP_CMP_EQ_Q.
12485         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12486         FP_CMP_Q.
12487         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12488         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12489         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12490         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12491         FP_CMP_EQ_Q.
12492         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12493         FP_CMP_Q.
12494         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12495         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12496         FP_CMP_EQ_Q.
12497         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12498         FP_CMP_Q.
12499         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12500         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12501         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12502         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12503         FP_CMP_EQ_Q.
12505         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12506         a subnormal result, set the underflow exception if trapping on
12507         underflow is enabled.
12508         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12509         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12510         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12511         redefine to 0.
12512         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12513         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12514         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12515         * soft-fp/extendxftf2.c (__extendxftf2): Use
12516         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12518         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12519         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12520         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12521         FP_HANDLE_EXCEPTIONS.
12522         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12523         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12524         FP_HANDLE_EXCEPTIONS.
12525         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12526         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12527         FP_HANDLE_EXCEPTIONS.
12528         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12529         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12530         FP_HANDLE_EXCEPTIONS.
12532 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12534         [BZ #14132]
12535         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12536         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12537         use INTUSE.
12538         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12539         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12540         Remove alias.
12541         (__adjtimex): Define using libc_hidden_ver.
12542         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12543         Remove declaration.
12544         (ntp_gettime): Call __adjtimex directly.
12545         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12546         Remove declaration.
12547         (ntp_gettimex): Call __adjtimex directly.
12548         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12549         __adjtimex_internal alias.
12551 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12553         [BZ #17460]
12554         * nscd/nscd.c (more_help): Rewrite list of tables collection
12555         using xstrdup and asprintf.
12557         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12559 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12560             Roland McGrath  <roland@hack.frob.com>
12562         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12563         (do_lookup_unique): ... local function 'enter' here; update callers.
12565 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12567         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12568         compat_symbol calls on [SHARED].
12569         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12570         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12571         Remove.
12572         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12573         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12574         (oldsetrlimit): Remove.
12575         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12577         (lchown): New syscall entry.
12578         (oldsetrlimit): Remove.
12579         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12580         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12581         (oldsetrlimit): Remove.
12582         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12584         [BZ #14138]
12585         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12586         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12587         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12588         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12589         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12590         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12591         (fchown): Likewise.
12592         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12593         (fchown): Likewise.
12594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12595         Likewise.
12597 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12599         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12600         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12601         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12602         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12603         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12604         Likewise.
12605         (__old_sem_post): Likewise.
12607 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12609         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12610         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12611         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12612         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12613         Use INLINE_VSYSCALL macro.
12614         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12615         __vdso_clock_gettime.
12616         * sysdeps/unix/sysv/linux/tile/init-first.c
12617         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12618         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12619         __vdso_clock_gettime.
12621         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12622         to set up frame more cleanly.
12624         * sysdeps/tile/memcmp.c: New file.
12626         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12628         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12629         * sysdeps/tile/tilegx/strcasestr.c: New file.
12630         * sysdeps/tile/tilegx/strnlen.c: New file.
12631         * sysdeps/tile/tilegx/strstr.c: New file.
12633         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12635 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12637         * nptl/tst-setuid3.c: Write errors to stdout.
12639 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12641         * elf/dl-deps.c
12642         (preload): New functions broken out of _dl_map_object_deps.
12643         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12645 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12647         [BZ #14138]
12648         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12649         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12651 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12653         * sysdeps/mips/strcmp.S: New.
12655 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12657         [BZ #14138]
12658         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12659         (linkat): Likewise.
12660         (mkdirat): Likewise.
12661         (readlinkat): Likewise.
12662         (renameat): Likewise.
12663         (symlinkat): Likewise.
12664         (unlinkat): Likewise.
12665         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12666         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12667         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12668         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12669         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12670         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12671         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12673 2014-09-30  Will Newton  <will.newton@linaro.org>
12675         * math/math.h: Define long double math functions if
12676         _LIBC_TEST is defined.
12677         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12679         * localedata/Makefile: Move assignment to tests-special
12680         into an ifdef testing run-built-tests.
12681         * timezone/Makefile: Likewise.
12683 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12685         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12686         with $(BASH) not $(SHELL).
12688 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12689             Matthew LeGendre  <legendre1@llnl.gov>
12691         [BZ #17411]
12692         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12693         l_reloc_result.
12695 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12697         * stdio-common/printf_fp.c
12698         (hack_digit): New function, broken out of ...
12699         (__printf_fp): ... local function here.  Update call sites.
12700         hack_digit now takes an additional parameter that is a pointer
12701         to a struct of the referenced locals.  Those locals moved inside
12702         the struct and references updated.
12704 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12706         * aclocal.m4: Require autoconf 2.69.
12707         * configure: Regenerated.
12708         * sysdeps/aarch64/configure: Likewise.
12709         * sysdeps/alpha/configure: Likewise.
12710         * sysdeps/arm/armv7/configure: Likewise.
12711         * sysdeps/arm/configure: Likewise.
12712         * sysdeps/ia64/configure: Likewise.
12713         * sysdeps/mach/configure: Likewise.
12714         * sysdeps/mips/configure: Likewise.
12715         * sysdeps/s390/configure: Likewise.
12716         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12719         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12720         file.
12721         * sysdeps/ia64/configure.ac: Likewise.
12723 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12726         specify symbol version for ld.so.  Do not include entry for
12727         libpthread.
12728         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12729         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12730         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12732         [BZ #14171]
12733         * Makeconfig [$(build-shared) = yes]
12734         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12735         makefiles.
12736         [$(build-shared) = yes && $(soversions.mk-done) = t]
12737         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12738         [$(build-shared) = yes && $(soversions.mk-done) = t]
12739         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12740         to Makerules.
12741         [$(build-shared) = yes && $(soversions.mk-done) = t]
12742         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12743         here.
12744         [$(build-shared) = yes && $(soversions.mk-done) = t]
12745         (common-generated): Don't append gnu/lib-names.h and
12746         gnu/lib-names.stmp here.
12747         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12748         (lib-names-h-abi): New variable.
12749         [$(build-shared) = yes && $(soversions.mk-done) = t]
12750         (lib-names-stmp-abi): Likewise.
12751         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12752         abi-variants] (before-compile): Append
12753         $(common-objpfx)$(lib-names-h-abi).
12754         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12755         abi-variants] (common-generated): Append gnu/lib-names.h.
12756         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12757         abi-variants] (install-others-nosubdir): Depend on
12758         $(inst_includedir)/$(lib-names-h-abi).
12759         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12760         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12761         [$(build-shared) = yes && $(soversions.mk-done) = t]
12762         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12763         [$(build-shared) = yes && $(soversions.mk-done) = t]
12764         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12765         [$(build-shared) = yes && $(soversions.mk-done) = t]
12766         (common-generated): Append $(lib-names-h-abi) and
12767         $(lib-names-stmp-abi).
12768         * scripts/lib-names.awk: Do not handle multi being set.
12769         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12770         Remove variable.
12771         (abi-lp64_be-ld-soname): Likewise.
12772         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12773         Likewise.
12774         (abi-hard-ld-soname): Likewise.
12775         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12776         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12777         Remove variable.
12778         (abi-o32_hard-ld-soname): Likewise.
12779         (abi-o32_soft_2008-ld-soname): Likewise.
12780         (abi-o32_hard_2008-ld-soname): Likewise.
12781         (abi-n32_soft-ld-soname): Likewise.
12782         (abi-n32_hard-ld-soname): Likewise.
12783         (abi-n32_soft_2008-ld-soname): Likewise.
12784         (abi-n32_hard_2008-ld-soname): Likewise.
12785         (abi-n64_soft-ld-soname): Likewise.
12786         (abi-n64_hard-ld-soname): Likewise.
12787         (abi-n64_soft_2008-ld-soname): Likewise.
12788         (abi-n64_hard_2008-ld-soname): Likewise.
12789         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12790         Likewise.
12791         (abi-64-v2-ld-soname): Likewise.
12792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12793         ld.so entries.
12794         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12795         variable.
12796         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12797         entry.
12798         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12799         variable.
12800         (abi-64-ld-soname): Likewise.
12801         (abi-x32-ld-soname): Likewise.
12802         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12803         entry.
12804         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12806 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12808         [BZ #14138]
12809         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12810         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12811         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12812         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12813         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12814         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12815         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12816         syscall entry for GLIBC_2.2 symbol version.
12817         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12818         Likewise.
12819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12820         (setrlimit): Likewise.
12821         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12822         Likewise.
12824 2014-09-23  Will Newton  <will.newton@linaro.org>
12826         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12827         _LINUX_ARM_SYSDEP_H include guard too.
12828         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12829         define.
12831 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12833         * sysdeps/unix/sysv/linux/eventfd.c:
12834         Make first argument unsigned.
12835         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12836         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12838 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12840         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12841         * socket/sys/socket.h: Likewise
12842         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12844 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12846         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12848 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12850         * time/tst-ftime.c: New test.
12851         * time/Makefile (tests): Add tst-ftime.
12853 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12855         * soft-fp/extended.h: Fix comment formatting.
12856         * soft-fp/op-1.h: Likewise.
12857         * soft-fp/op-2.h: Likewise.
12858         * soft-fp/op-4.h: Likewise.
12859         * soft-fp/op-8.h: Likewise.
12860         * soft-fp/op-common.h: Likewise.
12861         * soft-fp/soft-fp.h: Likewise.
12863         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12865 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12867         [BZ #6652]
12868         * Makeconfig (soversions-default-setname): Remove variable.
12869         ($(common-objpfx)soversions.i): Don't pass default_setname to
12870         soversions.awk.
12871         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12872         oldest_abi to abi-versions.awk.
12873         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12874         * config.make.in (oldest-abi): Remove variable.
12875         * configure.ac (--enable-oldest-abi): Remove configure option.
12876         * configure: Regenerated.
12877         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12878         text.
12879         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12880         * scripts/soversions.awk: Do not handle default_setname variable.
12881         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12882         variable.
12883         * sysdeps/mach/hurd/configure: Regenerated.
12884         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12885         variable.
12886         * sysdeps/unix/sysv/linux/configure: Regenerated.
12888 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12890         * elf/Makefile (CFLAGS-interp.c): Remove.
12891         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12892         path string.
12893         * elf/interp.c: Include generated runtime-linker.h
12895         * Makerules (lib%.so): Don't include $(+interp) in
12896         prerequisites.
12897         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12898         * dlfcn/eval.c: Remove file.
12900         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12901         macros.
12903         [BZ #17266]
12904         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12905         4.2 and newer.
12907         [BZ #17370]
12908         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12910 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12911             Jakub Jelinek  <jakub@redhat.com>
12913         [BZ #17266]
12914         * libio/stdio.h: Check definition of __fortify_function
12915         instead of __extern_always_inline to include bits/stdio2.h.
12916         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12917         check if __extern_always_inline is defined.
12918         [__USE_MISC || __USE_XOPEN]: Likewise.
12919         [__USE_ISOC99] Likewise.
12920         * misc/sys/cdefs.h (__fortify_function): Define only if
12921         __extern_always_inline is defined.
12922         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12923         __extern_always_inline and __extern_inline only for g++-4.3
12924         and newer or a compatible gcc.
12926 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12928         [BZ #17371]
12929         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12930         last change to handle zero prefix length.
12932 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12934         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12935         _SC_REGEX_VERSION.
12937         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12938         _POSIX_RAW_SOCKETS.
12940 2014-09-13  Allan McRae  <allan@archlinux.org>
12942         * po/ru.po: Update Russian translation from translation project.
12944 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12946         * locale/programs/locale.c (show_locale_vars): Inline local function
12947         into its sole call site.  Clean up some style nits.
12948         (print_item): New function, broken out of ...
12949         (show_info): ... local function here.  Clean up style nits.
12951         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12952         out of ...
12953         (set_class_defaults): ... local function set_default here.
12954         Define set_default as a macro locally to pass constant parameters.
12955         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12956         rather than a shared local.
12958         * stdlib/rpmatch.c (try): New function, broken out of ...
12959         (rpmatch): ... local function here.  Also, prototypify definition.
12961 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12963         * scripts/soversions.awk: Do not handle configuration names.
12964         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12965         vendor and os variables to soversions.awk.
12966         * configure.ac: Do not modify gnu-* host_os.
12967         * configure: Regenerated
12968         * shlib-versions: Remove first column with configuration names.
12969         * nptl/shlib-versions: Likewise.
12970         * nptl_db/shlib-versions: Likewise.
12971         * sysdeps/hppa/shlib-versions: Likewise.
12972         * sysdeps/m68k/shlib-versions: Likewise.
12973         * sysdeps/mach/hurd/shlib-versions: Likewise.
12974         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12975         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12976         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12977         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12978         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12979         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12980         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12981         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12983         Likewise.
12984         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12985         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12986         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12987         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12988         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12989         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12990         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12991         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12994         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12996         Regenerated.
12997         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12999         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13001         * shlib-versions: Remove OS-specific entries.  Moved to files in
13002         sysdeps.
13003         * sysdeps/mach/hurd/shlib-versions: New file.
13004         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13006         * nptl/shlib-versions: Remove architecture-specific entries.
13007         Moved to files in sysdeps.
13008         * shlib-versions: Likewise.
13009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13010         file.
13011         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13012         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13013         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13014         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13016         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13017         (UDP_NO_CHECK6_RX): Likewise.
13019 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13021         * sysdeps/posix/sysconf.c (__sysconf): Spell
13022         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13024 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13026         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13027         loading.
13028         * iconv/Versions (__gconv_transliterate): Export for use from
13029         gconv modules.
13030         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13031         (struct __gconv_trans_data, __gconv_trans_fct,
13032         __gconv_trans_context_fct, __gconv_trans_query_fct,
13033         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13034         definitions.
13035         (struct __gconv_step_data): Remove __trans member.
13036         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13037         longer hidden.  Remove unused trans_data argument.
13038         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13039         (__gconv_translit_find): Remove declaration.
13040         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13041         prototype.
13042         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13043         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13044         trans_data argument.  Add hidden definition.
13045         (__gconv_translit_find): Remove.
13046         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13047         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13048         * iconv/skeleton.c: Remove transliteration initialization.
13049         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13050         __gconv_step_data initialization.
13051         * libio/iofwide.c (__libio_translit_): Remove.
13052         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13053         * wcsmbs/btowc.c (__btowc): Likewise.
13054         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13055         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13056         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13057         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13058         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13059         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13060         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13061         * wcsmbs/wctob.c (wctob): Likewise.
13063 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13065         [BZ #16194]
13066         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13067         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13068         register usage.
13069         * sysdeps/x86/Makefile: Adjust.
13071 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13072             Roland McGrath  <roland@hack.frob.com>
13074         * locale/weight.h: Add include guard.
13075         (findidx): Make static rather than auto; take new parameters
13076         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13077         * locale/weightwc.h: Likewise.
13078         * posix/fnmatch_loop.c
13079         (FCT): Change type of EXTRA from int32_t to wint_t.
13080         Don't include either header inside the function.
13081         Call FINDIDX rather than findidx, and pass new arguments.
13082         #undef FINDIDX at the end of the file.
13083         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13084         FINDIDX before including fnmatch_loop.c for the non-wide version.
13085         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13086         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13087         for the wide version.
13088         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13089         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13090         Pass new arguments to findidx.
13091         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13092         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13093         Don't #include it inside the function.  Pass new arguments to findidx.
13094         * posix/regex_internal.h
13095         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13096         (re_string_elem_size_at): Don't #include it inside the function.
13097         Pass new arguments to findidx.
13098         * string/strcoll_l.c: #include WEIGHT_H at top level.
13099         (get_next_seq): Don't #include it inside the function.
13100         Pass new arguments to findidx.
13101         (get_next_seq_nocache): Likewise.
13102         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13103         (STRXFRM): Don't #include it inside the function.
13104         Pass new arguments to findidx.
13106 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13108         [BZ #17344]
13109         * malloc/malloc.c (unlink): Turn asserts into a call to
13110         malloc_printerr.
13112 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13114         [BZ #17370]
13115         * libio/wfileops (do_ftell_wide): Free OUT.
13117 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13119         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13121 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13123         [BZ #17363]
13124         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13125         group if the current group is empty.
13127 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13129         * benchtests/bench-memset.c (test_main): Add more test from size
13130         from 32 to 512 bytes.
13131         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13132         Add POWER8 memset object.
13133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13134         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13135         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13136         implementation.
13137         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13138         Likewise.
13139         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13140         multiarch POWER8 memset optimization.
13141         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13142         POWER8 memset optimization.
13144         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13145         Remove bzero multiarch objects.
13146         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13147         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13148         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13149         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13150         Remove define.
13151         [__bzero]: Redefine to specific name.
13152         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13153         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13154         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13155         define.
13156         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13157         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13159 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13161         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13162         warnings into errors.
13164         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13165         __cxa_thread_atexit_impl prototype.
13167 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13169         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13170         Fix capitalization of error message.
13172 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13174         * sysdeps/mips/preconfigure: Modify ABI tests.
13176 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13178         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13180 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13181             Carlos O'Donell  <carlos@systemhalted.org>
13183         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13184         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13185         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13186         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13187         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13188         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13189         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13190         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13191         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13192         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13193         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13194         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13195         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13196         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13197         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13198         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13199         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13200         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13201         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13202         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13203         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13204         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13205         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13206         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13207         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13208         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13209         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13210         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13211         Deconditionalize the code that was previously under [RESET_PID].
13212         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13213         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13214         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13215         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13216         include sysdep.h.
13218 2014-09-08  Allan McRae  <allan@archlinux.org>
13220         * version.h (RELEASE): Set to "development".
13221         (VERSION): Set to "2.20.90"
13223 2014-09-07  Allan McRae  <allan@archlinux.org
13225         * version.h (RELEASE): Set to "stable".
13226         (VERSION): Set to "2.20"
13227         * include/features.h (__GLIBC_MINOR__): Set to 20.
13229         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13230         Liebler.
13232         * po/ko.po: Update Korean translation from translation project.
13234 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13236         [BZ #17354]
13237         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13238         macro for handling signed relocations.
13240 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13242         [BZ #17325]
13243         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13244         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13245         assert.
13246         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13247         * iconvdata/ibm935.c (BODY): Likewise.
13248         * iconvdata/ibm937.c (BODY): Likewise.
13249         * iconvdata/ibm939.c (BODY): Likewise.
13250         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13251         assert.
13252         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13253         script.
13254         * iconvdata/run-iconv-test.sh: New test loop for checking for
13255         decoder crashers.
13257 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13259         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13260         libm_hidden_ver.
13262 2014-09-01  Allan McRae  <allan@archlinux.org>
13264         * po/eo.po: Update Esperanto translation from translation project.
13266         * po/ca.po: Update Catalan translation from translation project.
13268 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13270         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13271         __proc_dostop call.
13273 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13275         [BZ #17319]
13276         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13277         to call set_thread_area instead of hand written asm.
13278         (__NR_set_thread_area): Removed define.
13279         (TLS_FLAG_WRITABLE): Likewise.
13280         (__ASSUME_SET_THREAD_AREA): Remove check.
13281         (TLS_EBX_ARG): Remove define.
13282         (TLS_LOAD_EBX): Likewise.
13284 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13286         Simplify atomicity of socket creation in bind.
13288         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13289         looking up the name after linking the file.
13291 2014-08-27  Allan McRae  <allan@archlinux.org>
13293         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13295 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13297         [BZ #17187]
13298         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13299         trans_compare, open_translit, __gconv_translit_find):
13300         Remove module loading code.
13302 2014-08-26  Allan McRae  <allan@archlinux.org>
13304         * po/vi.po: Update Vietnamese translation from translation project.
13306         * po/uk.po: Update Ukrainian translation from translation project.
13308         * po/fr.po: Update French translation from translation project.
13310         * po/ru.po: Update Russian translation from translation project.
13312         * po/pl.po: Update Polish translation from translation project.
13314         * po/cs.po: Update Czech translation from translation project.
13316         * po/de.po: Update German translation from translation project.
13318         * po/bg.po: Update Bulgarian translation from translation project.
13320         * po/sv.po: Update Sweedish translation from translation project.
13322         * po/nl.po: Update Dutch translation from translation project.
13324         * po/es.po: Update Spanish translation from translation project.
13326 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13328         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13330         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13331         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13332         (CPPFLAGS-iconvconfig): Likewise.
13333         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13335         * include/libc-symbols.h: Remove unnecessary check for
13336         NOT_IN_libc.
13337         * nptl/pthreadP.h: Likewise.
13338         * sysdeps/aarch64/setjmp.S: Likewise.
13339         * sysdeps/alpha/setjmp.S: Likewise.
13340         * sysdeps/arm/sysdep.h: Likewise.
13341         * sysdeps/i386/setjmp.S: Likewise.
13342         * sysdeps/m68k/setjmp.c: Likewise.
13343         * sysdeps/posix/getcwd.c: Likewise.
13344         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13345         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13346         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13347         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13348         * sysdeps/sh/sh3/setjmp.S: Likewise.
13349         * sysdeps/sh/sh4/setjmp.S: Likewise.
13350         * sysdeps/unix/alpha/sysdep.h: Likewise.
13351         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13352         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13353         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13354         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13357         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13358         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13359         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13360         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13361         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13362         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13363         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13364         * sysdeps/x86_64/setjmp.S: Likewise.
13366 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13368         [BZ #17263]
13369         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13370         <stdint.h>.
13371         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13372         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13374 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13376         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13378         [BZ #17262]
13379         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13380         and __x86_64__ when disabling x87 inline functions.
13382 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13384         [BZ #17259]
13385         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13386         asm statement with __cpuid_count.
13388 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13390         * configure.ac: Change __ehdr_start code to dereference the struct.
13391         Run readelf on the output to look for relocations.
13392         * configure: Regenerated.
13394 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13396         [BZ #17261]
13397         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13398         value to 0.
13399         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13401 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13403         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13405 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13407         [BZ #16892]
13408         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13409         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13411 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13413         * malloc/malloc.c: Fix typo in comment.
13415 2014-08-09  Allan McRae  <allan@archlinux.org>
13417         * Regenerate libc.po.
13419 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13421         * intl/tst-gettext2.sh: Check every lang file for creation.
13423 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13425         * sysdeps/aarch64/fpu/math_private.h
13426         (libc_feholdsetround_noex_aarch64_ctx): New function.
13428 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13430         * sysdeps/arm/armv6/strcpy.S (strcpy):
13431         Fix performance issue in misaligned cases.
13433 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13435         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13436         Move definition from termios.h.
13437         (struct termio): Likewise.
13438         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13439         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13440         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13441         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13442         Likewise.
13443         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13444         Move definition to ioctl-types.h
13445         (struct termio): Likewise.
13446         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13447         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13448         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13449         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13450         Likewise.
13452 2014-08-05  Richard Henderson  <rth@redhat.com>
13454         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13455         exceptions.
13456         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13457         Add fraiseexcpt.
13458         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13459         Use __feraiseexcept.
13460         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13461         Protect libm symbols with IS_IN_libm.
13463         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13465 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13467         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13469 2014-08-04  Will Newton  <will.newton@linaro.org>
13471         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13472         file.
13474 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13476         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13477         variants for each function.
13479 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13481         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13482         appended ...
13483         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13484         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13485         appended ...
13486         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13487         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13488         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13489         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13490         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13491         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13492         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13493         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13494         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13495         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13496         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13497         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13498         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13499         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13500         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13501         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13502         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13503         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13504         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13505         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13506         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13507         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13508         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13509         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13510         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13511         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13512         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13513         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13514         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13515         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13516         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13517         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13518         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13519         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13520         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13521         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13522         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13523         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13524         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13525         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13526         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13527         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13528         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13529         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13530         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13531         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13532         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13533         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13534         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13535         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13536         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13537         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13538         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13539         Update #include.
13540         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13541         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13543 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13545         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13546         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13547         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13548         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13549         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13550         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13552 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13554         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13555         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13556         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13557         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13559 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13561         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13562         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13563         (__libc_vfork): Define function under this name.
13564         (__vfork): Define as an alias.
13565         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13566         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13568 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13570         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13571         that was previously under [RESET_PID].
13572         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13574 2014-08-04  Andreas Schwab  <schwab@suse.de>
13576         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13578 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13580         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13581         (main): Likewise.
13583 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13585         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13587 2014-08-01  Richard Henderon  <rth@redhat.com>
13589         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13590         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13591         typo in exact zero test.
13592         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13593         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13594         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13596 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13598         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13599         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13600         * sysdeps/arm/sysdep.h: ... here.
13601         [!__ASSEMBLER__]: Include <stdint.h>.
13603 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13605         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13606         (HAVE_WCTYPE_H): Likewise.
13607         (HAVE_ISWCTYPE): Likewise.
13608         (ENABLE_NLS): Likewise.
13609         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13610         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13612         * posix/regex_internal.c: Check if DEBUG is defined and is
13613         set.
13615         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13616         (HAVE_MBSRTOWCS): Likewise.
13617         * posix/fnmatch.c: Include string.h unconditionally.
13619 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13621         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13622         reversal.
13624 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13626         * sysdeps/generic/safe-fatal.h: New file.
13627         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13628         * nptl/forward.c: Include it.
13629         (__pthread_unwind): Use __safe_fatal as default action, rather
13630         than a bogus use of INTERNAL_SYSCALL that could never work.
13632         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13633         * configure.ac (libc_cv_builtin_trap): New test.
13634         * configure: Regenerated.
13635         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13636         (ABORT_INSTRUCTION): Define using __builtin_trap.
13638         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13639         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13640         * sysdeps/nptl/nptl-signals.h: New file.
13641         * nptl/pthreadP.h: Include <nptl-signals.h>.
13643 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13645         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13646         (ONE_DIRECTION): Define.
13647         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13648         (ONE_DIRECTION): Define.
13649         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13650         (ONE_DIRECTION): Define.
13652 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13654         * sysdeps/s390/Makefile: Delete file.
13655         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13656         * sysdeps/s390/__longjmp.c: Delete file.
13657         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13658         Remove fields __flags and __reserved.
13659         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13660         and add versioning.
13661         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13662         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13663         * sysdeps/s390/rtld-setjmp.S: Likewise.
13664         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13665         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13666         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13667         * sysdeps/s390/s390-32/setjmp.S: ... here.
13668         Add versioning.
13669         (__sigsetjmp): Remove setting __flags field.
13670         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13671         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13672         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13673         * sysdeps/s390/s390-64/setjmp.S: ... here.
13674         Add versioning.
13675         (__sigsetjmp): Remove setting __flags field.
13676         * sysdeps/s390/setjmp.S: Delete file.
13677         * sysdeps/s390/sigjmp.c: Likewise.
13678         * sysdeps/s390/v1-longjmp.c: Likewise.
13679         * sysdeps/s390/v1-setjmp.h: Likewise.
13680         * sysdeps/s390/v1-sigjmp.c: Likewise.
13681         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13682         Remove v1-longjmp_chk.
13683         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13684         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13685         Include debug/longjmp_chk.c and add versioning.
13686         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13687         Include nptl/pt-longjmp.c and add versioning.
13688         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13689         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13690         Include __longjmp.c.
13691         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13692         Move to ...
13693         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13694         (__getcontext): Remove setting __flags field.
13695         Add versioning.
13696         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13697         Don't restore upper high grps.
13698         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13699         Likewise.
13700         (__swapcontext): Remove setting uc_flags field.
13701         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13702         Delete file.
13703         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13704         Include __longjmp.c.
13705         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13706         Move to ...
13707         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13708         (__getcontext): Remove setting __flags field.
13709         Add versioning.
13710         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13711         (__swapcontext): Remove setting uc_flags field.
13712         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13713         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13714         Remove fields uc_high_gprs and __reserved.
13715         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13716         New file with reverted content.
13717         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13718         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13719         Regenerated.
13720         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13721         Regenerated.
13723 2014-07-31  Andreas Schwab  <schwab@suse.de>
13725         * config.h.in (HAVE_IFUNC): Define to 0.
13726         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13727         definedness.
13729 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13731         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13732         memmove-avx-unaligned, memcpy-avx-unaligned and
13733         mempcpy-avx-unaligned.
13734         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13735         Add tests for AVX memcpy functions.
13736         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13737         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13738         memcpy_chk.
13739         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13740         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13741         memmove_chk.
13742         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13743         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13744         mempcpy_chk.
13745         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13746         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13747         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13749 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13751         [BZ #17213]
13752         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13753         powerpc64le.
13755 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13757         [BZ #16839]
13758         * manual/llio.texi: Add section about open file description locks.
13759         * manual/examples/ofdlocks.c: Example of open file description
13760         lock usage.
13761         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13762         F_OFD_SETLK, and F_OFD_SETLKW.
13764 2014-07-23  Allan McRae  <allan@archlinux.org>
13766         * po/es.po: Update Spanish translation from translation project.
13768 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13770         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13772 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13774         [BZ #17078]
13775         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13776         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13777         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13779 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13781         [BZ #17088]
13782         * math/fesetenv.c (__fesetenv)
13783         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13784         * math/feupdateenv.c (__feupdateenv)
13785         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13787         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13788         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13789         (__ASSUME_SOCKETCALL): Do not define.
13791         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13792         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13793         (__ASSUME_SOCKETCALL): Do not define.
13794         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13795         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13796         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13797         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13798         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13799         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13800         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13801         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13803         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13804         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13805         (__ASSUME_SOCKETCALL): Do not define.
13806         (__ASSUME_IPC64): Define unconditionally.
13807         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13808         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13809         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13810         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13811         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13812         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13813         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13814         Likewise.
13816         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13817         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13818         (__ASSUME_SOCKETCALL): Do not define.
13819         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13820         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13821         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13822         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13823         (__ASSUME_REQUEUE_PI): Define unconditionally.
13824         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13825         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13826         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13827         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13828         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13829         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13831         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13832         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13833         (__ASSUME_SOCKETCALL): Do not define.
13834         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13835         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13836         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13837         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13838         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13839         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13841         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13842         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13843         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13844         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13845         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13846         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13847         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13848         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13849         (__ASSUME_GETCPU_SYSCALL): Likewise.
13851         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13852         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13853         cases for individual architectures.
13854         * sysdeps/gnu/configure: Regenerated.
13855         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13856         LIBC_SLIBDIR_RTLDDIR.
13857         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13858         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13859         LIBC_SLIBDIR_RTLDDIR.
13860         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13862         LIBC_SLIBDIR_RTLDDIR.
13863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13864         Regenerated.
13865         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13866         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13867         file.
13868         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13869         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13870         file.
13871         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13872         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13873         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13874         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13876         * sysdeps/aarch64/shlib-versions: Move to ...
13877         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13878         * sysdeps/alpha/shlib-versions: Move to ...
13879         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13880         * sysdeps/arm/shlib-versions: Move to ...
13881         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13882         * sysdeps/hppa/shlib-versions: Move all contents except for
13883         libgcc_s entry to ...
13884         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13885         entry from ...
13886         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13887         * sysdeps/ia64/shlib-versions: Move to ...
13888         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13889         entry from ...
13890         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13891         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13892         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13893         * sysdeps/microblaze/shlib-versions: Move to ...
13894         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13895         * sysdeps/mips/shlib-versions: Move to ...
13896         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13897         entry from ...
13898         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13899         * sysdeps/tile/shlib-versions: Move to ...
13900         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13901         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13902         from ...
13903         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13904         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13905         entry from ...
13906         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13908 2014-07-17  Will Newton  <will.newton@linaro.org>
13910         * sysdeps/arm/bits/atomic.h
13911         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13912         (__arch_compare_and_exchange_bool_16_int): Likewise.
13913         (__arch_compare_and_exchange_bool_64_int): Likewise.
13915         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13916         into an #else block.
13918 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13920         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13921         just Linux configurations.  Test empirically that the compiler sets
13922         __ARM_EABI__, rather than using the tuple to decide.
13923         * sysdeps/arm/preconfigure: Regenerated.
13924         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13925         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13926         contents appended ...
13927         * sysdeps/arm/configure.ac: ... here.
13928         * sysdeps/arm/configure: Regenerated.
13930 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13932         * nptl/pthread_kill.c: New file.
13933         * nptl/pthread_sigmask.c: New file.
13934         * nptl/pthread_sigqueue.c: New file.
13936         * sysdeps/nptl/lowlevellock.h: New file.
13937         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13938         * sysdeps/nptl/lowlevellock-futex.h: New file.
13940         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13941         Remove dead declarations.
13943 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13945         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13946         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13947         config-cflags-avx2.
13948         * sysdeps/x86_64/configure.ac: Likewise.
13949         * sysdeps/i386/configure: Regenerated.
13950         * sysdeps/x86_64/configure: Likewise.
13951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13952         memset-avx2 only if config-cflags-avx2 is yes.
13953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13954         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13955         defined.
13956         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13957         only if HAVE_AVX2_SUPPORT is defined.
13958         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13960 2014-07-14  Alan Modra  <amodra@gmail.com>
13962         [BZ #17153]
13963         * elf/elf.h (DT_PPC64_NUM): Correct value.
13964         * NEWS: Add to fixed bug list.
13966 2014-07-13  Jim Meyering  <meyering@fb.com>
13968         [BZ 17150]
13969         regex: don't deref NULL upon heap allocation failure
13970         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13971         failure in one more place.
13972         To trigger the segfault, configure grep -with-included-regex,
13973         build it, and run these commands:
13974         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13976 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13978         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13980 2014-07-11  Richard Henderson  <rth@redhat.com>
13982         * sysdeps/aarch64/libm-test-ulps: Update.
13984 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13986         [BZ #17135]
13987         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13988         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13989         (__nptl_setxid): Initialize error member.  Call
13990         __nptl_setxid_error.
13991         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13992         * nptl/descr.h (struct xid_command): Add error member.
13993         * nptl/tst-setuid3.c: New file.
13994         * nptl/Makefile (tests): Add it.
13996 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13998         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13999         New define.
14000         (__lll_trylock): Use __lll_base_trylock.
14001         (__lll_cond_trylock): Likewise.
14003 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14005         * nptl/pthread_create.c (start_thread): Use atomic_or and
14006         lll_futex_wake directly rather than lll_robust_dead.
14007         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14008         (lll_robust_dead): Macro removed.
14009         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14010         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14011         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14012         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14013         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14014         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14015         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14016         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14017         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14018         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14019         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14020         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14021         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14022         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14023         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14025         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14026         Use atomic_compare_and_exchange_val_acq directly rather than
14027         lll_robust_trylock.
14028         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14029         (__lll_robust_trylock, lll_robust_trylock): Removed.
14030         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14031         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14032         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14033         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14034         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14035         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14036         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14037         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14038         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14039         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14040         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14041         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14042         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14043         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14045 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14047         * manual/locale.texi (Locale Names): New section documenting
14048         locale name syntax.  Adjust menu and node chaining accordingly.
14049         (Choosing Locale): Reference Locale Names, Locale Categories.
14050         Mention setting LC_ALL=C.  Reflect that name syntax is now
14051         documented.
14052         (Locale Categories): New section title.  Reference Locale Names.
14053         LC_ALL is an environment variable, but not a category.
14054         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14055         description, now in Locale Name.  Reference that section.  Locale
14056         name syntax is now documented.
14058 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14060         [BZ #17137]
14061         * locale/findlocale.c (name_present, valid_locale_name): New
14062         functions.
14063         (_nl_find_locale): Use the loc_name variable to store name
14064         candidates.  Call name_present and valid_locale_name to check and
14065         validate locale names.  Return an error if the locale is invalid.
14067 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14069         * locale/setlocale.c (setlocale): Use strdup for allocating
14070         composite name copy.
14072 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14074         Sync up with gnulib.
14075         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14076         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14077         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14078         and _GL_ARG_NONNULL.
14079         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14080         [!_LIBC]: Include code for Windows and Cygwin.
14081         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14082         Include prototype for int strerror_r.
14083         [!_LIBC] (is_open): New function.
14084         (flush_stdout): New function.
14085         (print_errno_message): Use it.
14086         (error): Likewise.
14087         (error_at_line): Likewise.
14088         (error_tail) Add function attribute macros.  Use
14089         __builtin_expect.
14091         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14093         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14095         * io/ftw.c: Include sys/param.h unconditionally.
14097         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14099         [BZ #17125]
14100         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14101         libc_freeres_ptr.
14102         (freecache): New function to free CACHE on exit.
14104         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14105         initialization.
14107 2014-07-09  David S. Miller  <davem@davemloft.net>
14109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14111         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14112         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14113         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14114         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14115         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14116         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14117         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14118         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14119         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14120         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14121         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14122         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14123         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14125 2014-07-09  Andreas Schwab  <schwab@suse.de>
14127         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14128         output.
14129         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14130         (do_test): Likewise.
14132         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14134 2014-07-09  Will Newton  <will.newton@linaro.org>
14136         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14137         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14138         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14139         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14140         * sysdeps/hppa/start.S (_start): Likewise.
14142 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14144         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14146         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14147         defined.
14149 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14151         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14152         after checking that it is non-NULL.
14154         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14156 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14158         * sysdeps/powerpc/memmove.c: Remove file.
14159         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14160         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14161         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14162         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14163         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14164         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14165         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14166         string memmove instead of removed powerpc one.
14168         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14169         [weak_alias]: Fix compiler warning due trailing data.
14170         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14171         [weak_alias]: Likewise.
14172         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14173         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14176         (__libc_ifunc_impl_list): Add memmove functions.
14178 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14180         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14181         Remove code.
14182         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14183         Likewise
14184         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14185         Likewise
14186         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14187         Likewise
14188         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14189         Likewise
14190         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14191         Likewise
14192         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14193         Likewise
14194         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14195         Likewise
14196         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14197         Likewise
14198         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14199         Likewise
14200         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14201         Likewise
14202         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14203         Likewise
14204         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14205         Likewise
14206         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14207         Likewise
14208         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14209         Likewise
14210         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14211         Likewise
14212         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14213         Likewise
14215 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14217         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14218         to avoid alignment traps in non-cacheable memory.
14219         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14222         multiarch objects.
14223         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14224         file: multiarch power7 memmove.
14225         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14226         multiarch default memmove.
14227         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14228         multiarch memove for powerpc32/power4.
14230         * string/bcopy.c: Use full path to include memmove.c.
14231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14232         multiarch objects.
14233         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14234         bcopy for powerpc64.
14235         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14236         bcopy for powerpc64.
14237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14238         and memmove implementations.
14239         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14240         optimized multiarch memmove for POWER7/powerpc64.
14241         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14242         default multiarch memmove for powerpc64.
14243         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14244         multiarch for powerpc64.
14245         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14246         for POWER7/powerpc64.
14247         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14248         memmove for POWER7/powerpc64.
14250         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14251         glibc default one.
14253         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14254         __ELF_NATIVE_CLASS equal to 64.
14256 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14258         * sysdeps/nptl/lowlevellock.h: File removed.
14260         * NEWS: NPTL is no longer an add-on!
14261         * nptl/internaltypes.h: Moved ...
14262         * sysdeps/nptl/internaltypes.h: ... here.
14263         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14264         * sysdeps/nptl/fork.c: Likewise.
14265         * sysdeps/nptl/gai_misc.h: Likewise.
14266         * sysdeps/nptl/librt-cancellation.c: Likewise.
14267         * sysdeps/nptl/jmp-unwind.c: Likewise.
14268         * sysdeps/nptl/setxid.h: Likewise.
14269         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14270         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14271         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14272         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14273         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14274         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14275         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14276         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14277         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14278         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14279         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14280         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14281         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14282         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14283         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14284         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14285         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14286         * nptl/Makeconfig: Moved ...
14287         * sysdeps/nptl/Makeconfig: ... here.
14288         * nptl/configure: File removed.
14289         * nptl/ANNOUNCE: File removed.
14290         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14291         * sysdeps/unix/sysv/linux/configure: Regenerated.
14293         * nptl/Makefile (routines): Add libc_pthread_init,
14294         libc_multiple_threads, register-atfork and unregister-atfork.
14295         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14296         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14297         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14298         pthread-pi-defines.sym, structsem.sym.
14299         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14300         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14301         [$(subdir) = nptl] (tests): Add tst-setgetname.
14302         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14303         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14304         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14305         [!LIBC_SIGACTION]: Remove aliases.
14306         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14307         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14308         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14309         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14310         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14311         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14312         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14313         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14314         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14315         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14316         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14317         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14318         __libc_allocate_rtsig_private.
14319         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14320         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14321         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14322         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14323         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14324         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14325         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14326         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14327         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14328         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14329         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14330         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14331         * nptl/internaltypes.h: ... here.
14332         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14333         * sysdeps/nptl/jmp-unwind.c: ... here.
14334         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14335         * nptl/libc-lowlevellock.c: ... here.
14336         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14337         * nptl/libc_multiple_threads.c: ... here.
14338         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14339         * nptl/libc_pthread_init.c: ... here.
14340         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14341         * nptl/lowlevelbarrier.sym: ... here.
14342         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14343         * nptl/lowlevelcond.sym: ... here.
14344         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14345         * nptl/lowlevellock.c: ... here.
14346         * nptl/lowlevellock.h: Moved ...
14347         * sysdeps/nptl/lowlevellock.h: ... here.
14348         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14349         * nptl/lowlevelrobustlock.c: ... here.
14350         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14351         * nptl/lowlevelrobustlock.sym: ... here.
14352         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14353         * nptl/lowlevelrwlock.sym: ... here.
14354         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14355         * nptl/pt-fork.c: ... here.
14356         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14357         * nptl/pthread-pi-defines.sym: ... here.
14358         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14359         * nptl/pthread_attr_getaffinity.c: ... here.
14360         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14361         * nptl/pthread_attr_setaffinity.c: ... here.
14362         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14363         * nptl/pthread_mutex_cond_lock.c: ... here.
14364         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14365         Update #include.
14366         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14367         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14368         * nptl/pthread_once.c: ... here, replacing old file.
14369         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14370         * nptl/pthread_yield.c: ... here.
14371         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14372         * nptl/register-atfork.c: ... here.
14373         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14374         * nptl/sem_post.c: ... here.
14375         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14376         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14377         * nptl/sem_timedwait.c: ... here.
14378         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14379         * nptl/sem_trywait.c: ... here.
14380         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14381         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14382         * nptl/sem_wait.c: ... here.
14383         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14384         * nptl/structsem.sym: ... here.
14385         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14386         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14387         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14388         * nptl/unregister-atfork.c: ... here.
14389         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14390         * nptl/unwindbuf.sym: ... here.
14391         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14392         * sysdeps/nptl/fork.c: ... here.
14393         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14394         * sysdeps/nptl/fork.h: ... here.
14395         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14396         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14397         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14398         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14399         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14400         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14401         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14402         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14403         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14404         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14405         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14406         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14407         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14408         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14409         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14410         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14411         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14412         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14413         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14414         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14415         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14416         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14417         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14418         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14419         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14420         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14421         * sysdeps/unix/sysv/linux/raise.c: ... here.
14422         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14423         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14424         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14425         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14426         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14427         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14428         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14429         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14430         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14431         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14432         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14433         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14434         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14435         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14436         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14438 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14440         * sysdeps/generic/memcopy.h: Add comment for
14441         MEMCPY_OK_FOR_FWD_MEMMOVE.
14443 2014-07-04  Will Newton  <will.newton@linaro.org>
14445         * string/memchr.c: Merge from gnulib.
14446         [_LIBC]: Remove conditionals.
14447         (__ptr_t): Remove define.
14448         (LONG_MAX_32_BITS): Likewise.
14449         (LONG_MAX): Likewise.
14450         (MEMCHR): Use ANSI prototype and optimize algorithm.
14452         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14454 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14456         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14457         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14459         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14460         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14461         in a bare environment with no <stdlib.h> installed.
14462         * sysdeps/nptl/configure: Regenerated.
14464         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14466         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14467         AC_EGREP_CPP for kernel header checks, so they only succeed if
14468         including <linux/version.h> actually works right.
14469         * sysdeps/unix/sysv/linux/configure: Regenerated.
14471         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14472         value so it's not diagnosed as unused.
14474         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14475         thing) with "ifeq ($(subdir),rt)".
14477 2014-07-03  Richard Henderson  <rth@redhat.com>
14479         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14480         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14481         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14483         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14484         (math_force_eval): New.
14486         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14487         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14489         * sysdeps/alpha/fpu/s_round.c: Remove file.
14490         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14492         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14493         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14494         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14495         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14496         (_dl_start, print_statistics): Likewise.
14497         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14498         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14500         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14501         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14502         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14503         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14504         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14505         (HP_SMALL_TIMING_AVAIL): Define.
14506         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14507         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14508         (HP_SMALL_TIMING_AVAIL): Define.
14509         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14510         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14512         * sysdeps/aarch64/hp-timing.h: New file.
14514         * sysdeps/generic/hp-timing.h: Remove dead comment.
14515         * sysdeps/generic/hp-timing-common.h: New file.
14516         * sysdeps/alpha/hp-timing.h: Include it.
14517         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14518         * sysdeps/i386/i686/hp-timing.h: Likewise.
14519         * sysdeps/ia64/hp-timing.h: Likewise.
14520         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14521         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14522         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14523         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14524         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14525         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14526         (hp_timing_t): New.
14528         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14529         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14530         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14531         * elf/rtld.c (_dl_start_final): Likewise.
14532         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14533         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14534         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14535         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14536         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14537         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14538         (HP_TIMING_DIFF_INIT): Remove.
14539         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14540         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14541         (HP_TIMING_DIFF_INIT): Remove.
14542         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14543         * sysdeps/i386/i686/hp-timing.c: Remove file.
14544         * sysdeps/x86_64/hp-timing.c: Remove file.
14545         * sysdeps/ia64/hp-timing.c: Remove file.
14546         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14547         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14548         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14549         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14551         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14552         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14553         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14554         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14555         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14556         (HP_TIMING_ACCUM): Remove.
14557         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14558         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14559         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14561         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14562         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14563         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14564         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14565         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14566         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14567         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14568         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14570         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14572 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14574         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14576 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14578         Sync up with gettext.
14579         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14580         [_MSC_VER]: Include malloc.h
14581         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14582         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14583         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14584         TEMP_FAILURE_RETRY.  Cast return of alloca.
14585         [!_LIBC] Call gl_rwlock_init.
14586         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14588 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14590         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14591         before checking its value.
14593 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14595         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14597         * debug/memcpy_chk.c: Don't include pagecopy.h.
14598         * debug/mempcpy_chk.c: Likewise.
14599         * string/memcpy.c: Likewise.
14600         * string/memmove.c: Likewise.
14601         * sysdeps/powerpc/memmove.c: Likewise.
14602         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14603         definition of PAGE_COPY_FWD_MAYBE here...
14604         * sysdeps/generic/pagecopy.h: ... from here.
14605         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14607 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14608             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14610         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14612         optimizations.
14613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14614         (__libc_ifunc_impl_list): Likewise.
14615         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14616         multiarch strcat for PPC64.
14617         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14618         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14620 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14622         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14624 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14626         * intl/loadmsgcat.c: Remove declaration of
14627         get_sysdep_segment_value.
14628         (get_sysdep_segment_value): Use ISO C style.
14629         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14630         semicolon.  Fix typo and formatting in comment.
14631         (_nl_unload_domain): Use ISO C style.
14633         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14635 2014-07-02  Will Newton  <will.newton@linaro.org>
14637         * malloc/obstack.c: Merge from gnulib master.
14638         [HAVE_CONFIG_H]: Remove conditional code.
14639         [!_LIBC]: Include config.h.
14640         [!ELIDE_CODE]: Don't include inttypes.h, include
14641         stdint.h unconditionally.
14642         (print_and_abort): Mark as _Noreturn.
14643         (_obstack_allocated_p): Mark as __attribute_pure__.
14644         (obstack_free): Rename to __obstack_free.
14645         [!__attribute__]: Remove conditional code.
14646         * malloc/obstack.h: Merge from gnulib master.
14647         [__cplusplus]: Move conditional down.
14648         [!__attribute_pure__]: Define __attribute_pure__ here
14649         if it is not already defined.
14650         (_obstack_memory_used): Mark as __attribute_pure__.
14651         [!__obstack_free]: Define as obstack_free.
14652         [__GNUC__]: Remove check for ancient NeXT gcc.
14654 2014-07-02  Will Newton  <will.newton@linaro.org>
14655             Paul Eggert  <eggert@cs.ucla.edu>
14657         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14659 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14661         * resolv/gethnamaddr.c: Add comment warning that the file is
14662         not maintained.
14664 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14666         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14667         entries.
14669         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14670         entry for aio_cancel and aio_cancel64.
14671         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14672         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14673         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14674         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14675         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14676         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14677         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14678         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14679         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14680         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14681         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14682         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14683         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14685 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14687         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14688         * nptl/pthread_mutex_lock.c: Likewise.
14689         * nptl/pthread_mutex_timedlock.c: Likewise.
14690         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14692 2014-07-01  Richard henderson  <rth@redhat.com>
14694         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14695         (__isnan, __isnanl): Remove.
14696         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14698         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14700 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14702         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14704 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14706         * resolv/nss_dns/dns-host.c (getanswer_r)
14707         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14709 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14711         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14712         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14713         undefine.
14714         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14715         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14717 2014-07-01  Roland McGrath <roland@hack.frob.com>
14719         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14720         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14722         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14723         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14725         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14726         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14727         ... here.
14728         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14729         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14731         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14732         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14733         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14734         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14736         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14737         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14738         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14739         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14740         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14741         Moved ...
14742         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14743         ... here.
14744         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14745         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14746         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14747         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14748         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14749         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14750         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14751         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14752         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14753         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14754         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14755         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14756         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14757         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14758         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14759         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14760         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14761         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14762         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14763         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14764         ... here.
14765         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14766         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14767         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14768         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14769         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14770         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14771         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14772         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14774 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14776         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14777         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14778         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14779         Add sysdep.
14781 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14785 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14787         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14788         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14790         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14792         * sysdeps/arm/libm-test-ulps: Regenerated.
14794 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14795             Roland McGrath <roland@hack.frob.com>
14797         * test-skeleton.c (signal_handler): Kill the whole process group
14798         before killing the child individually.
14799         (main): Report any failure on `setpgid'.
14801 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14803         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14804         from _TLS_H to _ARM_NPTL_TLS_H.
14805         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14806         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14808 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14810         [BZ #16539]
14811         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14812         (__expm1l): Return argument unchanged when small but not
14813         subnormal.
14815         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14816         include macro name.
14817         (_FP_UNPACK_RAW_1_P): Likewise.
14818         (_FP_PACK_RAW_1): Likewise.
14819         (_FP_PACK_RAW_1_P): Likewise.
14820         (_FP_MUL_MEAT_1_wide): Likewise.
14821         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14822         (_FP_MUL_MEAT_1_hard): Likewise.
14823         (_FP_DIV_MEAT_1_imm): Likewise.
14824         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14825         (_FP_DIV_MEAT_1_udiv): Likewise.
14826         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14827         (_FP_UNPACK_RAW_2): Likewise.
14828         (_FP_UNPACK_RAW_2_P): Likewise.
14829         (_FP_PACK_RAW_2): Likewise.
14830         (_FP_PACK_RAW_2_P): Likewise.
14831         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14832         (_FP_MUL_MEAT_2_wide): Likewise.
14833         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14834         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14835         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14836         (_FP_MUL_MEAT_2_gmp): Likewise.
14837         (_FP_DIV_MEAT_2_udiv): Likewise.
14838         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14839         (_FP_FRAC_SRL_4): Likewise.
14840         (_FP_FRAC_SRST_4): Likewise.
14841         (_FP_FRAC_SRS_4): Likewise.
14842         (_FP_UNPACK_RAW_4): Likewise.
14843         (_FP_UNPACK_RAW_4_P): Likewise.
14844         (_FP_PACK_RAW_4): Likewise.
14845         (_FP_PACK_RAW_4_P): Likewise.
14846         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14847         (_FP_MUL_MEAT_4_wide): Likewise.
14848         (_FP_MUL_MEAT_4_gmp): Likewise.
14849         (umul_ppppmnnn): Likewise.
14850         (_FP_DIV_MEAT_4_udiv): Likewise.
14851         (__FP_FRAC_ADD_4): Likewise.
14852         (__FP_FRAC_SUB_3): Likewise.
14853         (__FP_FRAC_SUB_4): Likewise.
14854         (__FP_FRAC_DEC_3): Likewise.
14855         (__FP_FRAC_DEC_4): Likewise.
14856         (__FP_FRAC_ADDI_4): Likewise.
14857         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14858         (_FP_FRAC_SRL_8): Likewise.
14859         (_FP_FRAC_SRS_8): Likewise.
14861         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14862         include macro name.
14863         (FP_UNPACK_RAW_EP): Likewise.
14864         (FP_PACK_RAW_E): Likewise.
14865         (FP_PACK_RAW_EP): Likewise.
14866         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14867         (_FP_ISSIGNAN): Likewise.
14868         (_FP_ADD_INTERNAL): Likewise.
14869         (_FP_FMA): Likewise.
14870         (_FP_CMP): Likewise.
14871         (_FP_SQRT): Likewise.
14872         (_FP_TO_INT): Likewise.
14873         (_FP_FROM_INT): Likewise.
14874         (FP_EXTEND): Likewise.
14875         (_FP_DIV_MEAT_N_loop): Likewise.
14877 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14879         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14880         throughout.
14882 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14884         [BZ #17097]
14885         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14886         result with correct sign in case of exponents that produce
14887         overflow except for X very close to 1.
14889 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14891         mktime: merge #if/#ifdef usage from glibc
14892         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14893         as that works with both Glibc's and Gnulib's style.
14894         See thread starting at Siddhesh Poyarekar's bug report at:
14895         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14897 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14899         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14900         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14901         * sysdeps/tile/tilegx/memmove.c: Remove file.
14903 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14905         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14906         abi-name definition.
14907         * scripts/soversions.awk: Do not handle or generate ABI lines.
14908         * shlib-versions: Remove ABI entries.
14909         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14910         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14912 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14914         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14915         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14916         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14917         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14919         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14920         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14921         Moved ...
14922         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14923         ... here.
14924         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14925         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14927         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14929         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14931         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14932         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14933         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14934         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14935         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14937         Moved ...
14938         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14940         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14942         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14944         Moved ...
14945         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14946         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14947         Moved ...
14948         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14950         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14952         Moved ...
14953         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14955         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14956         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14957         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14959         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14961         Moved ...
14962         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14963         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14964         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14965         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14966         Moved ...
14967         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14968         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14969         Moved ...
14970         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14972         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14974         Moved ...
14975         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14976         ... here.
14977         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14978         Identical file removed.
14979         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14980         Moved ...
14981         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14982         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14983         Identical file removed.
14984         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14985         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14987         Moved ...
14988         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14989         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14990         Identical file removed.
14991         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14992         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14993         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14994         Identical file removed.
14995         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14996         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14997         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14998         Identical file removed.
14999         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15000         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15001         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15002         Identical file removed.
15003         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15004         Moved ...
15005         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15007         Identical file removed.
15008         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15009         Moved ...
15010         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15011         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15012         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15013         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15014         Identical file removed.
15015         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15016         Moved ...
15017         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15018         ... here.
15019         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15020         Identical file removed.
15021         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15022         Moved ...
15023         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15024         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15025         Identical file removed.
15026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15027         Moved ...
15028         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15029         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15030         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15031         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15032         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15033         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15034         Moved ...
15035         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15036         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15037         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15039         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15040         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15041         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15042         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15043         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15045 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15047         [BZ #17092]
15048         * nscd/nscd.c (monitor_child): Return exit status of child
15049         instead of return value from wait syscall.
15051 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15053         * configure.ac (libc_commonpagesize): Remove variable.
15054         (libc_relro_required): Likewise.
15055         (libc_cv_z_relro): Remove configure test.
15056         * configure: Regenerated.
15057         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15058         variable.
15059         (libc_relro_required): Likewise.
15060         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15061         (libc_relro_required): Likewise.
15062         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15063         (libc_relro_required): Likewise.
15064         * sysdeps/arm/preconfigure: Regenerated.
15065         * sysdeps/ia64/preconfigure: Remove file.
15066         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15067         variable.
15068         (libc_relro_required): Likewise.
15070         [BZ #16561]
15071         [BZ #16562]
15072         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15073         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15074         recompute overflowing results in original rounding mode.
15075         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15076         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15077         recompute overflowing results in original rounding mode.
15078         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15079         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15080         recompute overflowing results in original rounding mode.
15081         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15082         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15083         recompute overflowing results in original rounding mode.
15084         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15085         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15086         recompute overflowing results in original rounding mode.
15087         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15088         (libc_feholdsetround_ctx): New macro.
15089         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15090         * sysdeps/i386/fpu/libm-test-ulps: Update.
15091         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15093 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15095         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15096         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15097         corresponding .cpsetup call.
15099 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15101         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15102         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15103         * sysdeps/arm/Makefile [$(subdir) = csu]
15104         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15105         (static-only-routines): Add aeabi_read_tp here.
15106         (shared-only-routines): Add libc-aeabi_read_tp here.
15107         (CFLAGS-libc-start.c): Add -fexceptions here.
15108         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15109         (sysdep_routines, static-only-routines, shared-only-routines):
15110         Don't add to these here.
15111         (CFLAGS-libc-start.c): Likewise.
15113         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15114         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15115         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15116         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15117         * sysdeps/arm/Makefile [$(subdir) = rt]
15118         (librt-sysdep_routines, librt-shared-only-routines):
15119         Append rt-aeabi_unwind_cpp_pr1 here.
15120         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15121         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15122         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15123         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15124         Append nptl-aeabi_unwind_cpp_pr1 here.
15125         (tests): Filter out tst-cleanupx4 here.
15126         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15127         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15128         Don't do those here.
15130 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15132         * scripts/list-sources.sh: Do not handle ports specially.
15134 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15136         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15137         * sysdeps/arm/feupdateenv.c: Likewise.
15139         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15141 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15143         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15144         trailing whitespace removed.
15145         * scripts/config.guess: Update to version 2014-03-23.
15146         * scripts/config.sub: Update to version 2014-05-01
15147         * scripts/install-sh: Update to version 2013-12-25.23.
15148         * scripts/move-if-change: Update from gnulib.
15150 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15152         * debug/memmove_chk.c: Remove pagecopy.h include.
15154 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15156         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15157         identical to gnulib mktime.
15159 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15161         * configure.ac: Do not test for machine being rs6000.  Do not test
15162         for powerpc*-*soft.
15163         * configure: Regenerated.
15165         [BZ #11505]
15166         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15167         test.
15168         * configure: Regenerated.
15169         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15170         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15171         Remove configure test.
15172         * sysdeps/arm/configure: Regenerated.
15173         * sysdeps/nptl/configure.ac: Do not check
15174         libc_cv_asm_cfi_directives.
15175         * sysdeps/nptl/configure: Regenerated.
15176         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15177         * sysdeps/x86_64/nptl/configure: Remove generated file.
15178         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15179         unconditional.
15180         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15182 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15184         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15185         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15186         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15187         it is defined.
15189         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15190         instead of whether it is defined.
15191         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15192         * sysdeps/hppa/dl-machine.h: Likewise.
15193         * sysdeps/ia64/dl-machine.h: Likewise.
15194         * sysdeps/m68k/dl-machine.h: Likewise.
15195         * sysdeps/microblaze/dl-machine.h: Likewise.
15196         * sysdeps/mips/dl-machine.: Likewise.
15197         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15198         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15199         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15200         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15201         * sysdeps/sh/dl-machine.h: Likewise.
15202         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15203         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15204         * sysdeps/tile/dl-machine.h: Likewise.
15205         * sysdeps/x86_64/dl-machine.h: Likewise.
15207         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15208         code.
15209         (verify_persistent_db): Likewise.
15211 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15214         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15216         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15218         Moved ...
15219         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15220         ... here.
15221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15222         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15224         Identical file removed.
15225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15226         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15228         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15230         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15232         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15234         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15236         Moved ...
15237         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15239         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15241         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15243         Moved ...
15244         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15246         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15248         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15250         Identical file removed.
15251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15252         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15254         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15256         Moved ...
15257         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15258         ... here.
15259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15260         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15262         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15264         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15266         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15268         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15270         Moved ...
15271         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15273         Moved ...
15274         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15276         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15278         Moved ...
15279         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15281         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15283         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15284         folded into ...
15285         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15286         * sysdeps/unix/sysv/linux/s390/Versions
15287         (libpthread: GLIBC_2.19): New version set.
15288         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15289         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15290         (librt: GLIBC_2.3.3): New version set.
15291         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15292         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15293         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15294         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15295         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15296         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15297         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15298         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15299         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15300         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15301         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15302         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15303         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15304         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15305         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15306         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15307         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15308         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15309         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15310         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15311         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15312         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15313         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15314         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15315         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15316         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15317         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15318         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15319         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15320         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15321         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15322         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15323         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15325         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15326         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15327         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15328         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15329         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15330         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15331         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15333         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15334         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15335         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15337         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15338         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15339         (__libc_vfork): Define the function under this name.
15340         [!NOT_IN_libc] (__vfork): Make this an alias.
15341         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15342         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15343         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15344         (__libc_vfork): Define the function under this name.
15345         [!NOT_IN_libc] (__vfork): Make this an alias.
15346         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15347         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15348         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15350         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15351         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15353         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15354         code that was previously under [RESET_PID].
15355         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15356         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15359         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15360         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15361         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15362         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15363         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15364         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15365         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15366         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15367         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15368         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15369         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15370         Moved ...
15371         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15372         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15373         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15374         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15375         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15376         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15377         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15378         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15379         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15380         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15381         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15382         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15383         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15384         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15385         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15386         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15387         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15388         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15389         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15390         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15391         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15392         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15393         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15394         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15395         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15396         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15397         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15398         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15399         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15401 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15403         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15404         that was previously under [RESET_PID].
15405         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15407 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15409         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15410         not undefine and redefine.
15411         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15412         [O_CLOEXEC]: Make code unconditional.
15413         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15414         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15415         <kernel-features.h>.
15416         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15417         conditional variable definition.
15418         (shm_open) [O_CLOEXEC]: Make code unconditional.
15419         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15420         code.
15422         * configure.ac (USE_REGPARMS): Don't define here.
15423         * configure: Regenerated.
15424         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15425         * sysdeps/i386/configure: Regenerated.
15427         * nptl/createthread.c: Don't include kernel-features.h.
15428         * nptl/pthread_cancel.c: Likewise.
15429         * nptl/pthread_condattr_setclock.c: Likewise.
15430         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15431         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15432         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15433         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15434         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15435         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15436         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15437         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15438         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15439         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15440         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15441         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15442         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15443         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15444         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15445         * nscd/gai.c: Likewise.
15446         * nss/nss_db/db-open.c: Likewise.
15447         * sysdeps/generic/ldsodefs.h: Likewise.
15448         * sysdeps/sh/nptl/tls.h: Likewise.
15449         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15450         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15451         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15452         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15453         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15454         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15455         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15456         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15457         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15458         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15459         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15460         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15461         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15462         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15463         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15464         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15465         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15466         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15467         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15468         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15469         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15470         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15471         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15472         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15476         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15477         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15478         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15479         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15480         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15481         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15482         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15483         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15484         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15485         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15486         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15487         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15488         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15489         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15490         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15491         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15492         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15493         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15494         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15495         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15496         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15497         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15498         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15499         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15500         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15501         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15502         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15503         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15504         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15505         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15506         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15529         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15530         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15531         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15532         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15533         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15534         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15535         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15536         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15537         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15538         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15539         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15540         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15541         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15542         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15543         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15544         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15545         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15546         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15547         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15548         * sysdeps/unix/sysv/linux/system.c: Likewise.
15549         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15550         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15551         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15552         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15553         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15554         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15555         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15557         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15558         * configure: Regenerated.
15559         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15561         * configure.ac (base_machine): Do not set specially for particular
15562         machines here.
15563         * configure: Regenerated.
15564         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15565         settings from configure.ac.
15566         * sysdeps/i386/preconfigure: New file.
15567         * sysdeps/s390/preconfigure: Likewise.
15568         * sysdeps/sh/preconfigure: Likewise.
15569         * sysdeps/sparc/preconfigure: Likewise.
15571 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15573         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15574         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15575         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15576         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15577         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15578         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15579         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15580         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15581         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15582         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15583         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15584         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15585         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15586         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15587         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15588         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15589         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15590         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15591         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15593         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15594         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15595         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15596         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15597         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15598         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15599         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15600         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15601         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15602         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15603         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15604         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15605         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15606         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15607         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15608         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15609         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15610         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15611         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15612         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15613         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15614         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15615         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15616         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15617         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15618         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15619         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15620         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15621         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15622         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15623         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15624         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15625         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15626         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15627         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15628         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15629         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15630         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15633         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15635         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15637         Moved ...
15638         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15639         ... here.
15640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15641         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15643         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15645         Moved ...
15646         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15648         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15650         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15652         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15654         Moved ...
15655         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15657         Moved ...
15658         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15660         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15662         Moved ...
15663         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15665         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15667         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15669         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15671         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15673         Moved ...
15674         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15675         ... here.
15676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15677         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15679         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15681         Moved ...
15682         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15684         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15686         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15688         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15690         Moved ...
15691         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15693         Moved ...
15694         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15696         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15698         Moved ...
15699         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15701         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15703         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15705 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15707         * timezone/checktab.awk: Update from tzcode 2014e.
15708         * timezone/private.h: Likewise.
15709         * timezone/tzfile.h: Likewise.
15710         * timezone/zdump.c: Likewise.
15711         * timezone/zic.c: Likewise.
15713         * sysdeps/unix/sysv/linux/kernel-features.h
15714         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15715         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15716         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15717         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15718         Remove conditional code.
15720 2014-06-25  Will Newton  <will.newton@linaro.org>
15722         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15723         (_dl_arm_cap_flags): Add HWCAP2 values.
15724         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15725         (_DL_HWCAP_COUNT): Increase to 37.
15726         (_DL_HWCAP_LAST): New define.
15727         (_DL_HWCAP2_LAST): New define.
15728         (_dl_procinfo): Add support for printing
15729         AT_HWCAP2 entries.
15730         (_dl_string_hwcap): Use _dl_hwcap_string.
15732 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15736 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15738         * README: Do not mention ports directory.
15740         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15741         Remove macro.
15742         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15743         <kernel-features.h>.
15744         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15745         conditional variable definition.
15746         (__futimes): Update comment.
15747         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15748         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15750         [BZ #16560]
15751         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15752         arguments close to 0.
15753         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15754         Likewise.
15755         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15756         Likewise.
15757         * math/auto-libm-test-in: Add more tests of exp10.
15758         * math/auto-libm-test-out: Regenerated.
15759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15761         * sysdeps/unix/sysv/linux/kernel-features.h
15762         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15763         * sysdeps/unix/sysv/linux/readv.c: Do not include
15764         <kernel-features.h>.
15765         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15766         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15767         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15768         unconditional.
15769         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15770         conditional code.
15771         * sysdeps/unix/sysv/linux/writev.c: Do not include
15772         <kernel-features.h>.
15773         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15774         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15775         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15776         unconditional.
15777         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15778         conditional code.
15780 2014-06-25  Will Newton  <will.newton@linaro.org>
15782         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15783         comment changes throughout the file.  Remove checks
15784         for HAVE_*_H definitions that are not required.
15785         (__gen_tempname): Call abort if an unknown kind value is
15786         passed.
15788 2014-06-25  Andreas Schwab  <schwab@suse.de>
15790         [BZ #17086]
15791         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15792         scalbln, scalblnf, scalblnl in libc.
15794 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15796         [BZ #17086]
15797         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15798         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15799         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15801 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15803         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15804         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15805         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15806         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15807         Update #include.
15808         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15809         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15810         Update #include.
15811         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15812         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15813         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15814         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15815         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15816         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15817         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15818         * sysdeps/x86/bits/semaphore.h: ... here.
15819         * sysdeps/x86/nptl/elide.h: Moved ...
15820         * sysdeps/x86/elide.h: ... here.
15821         * sysdeps/x86_64/nptl/Implies: File removed.
15822         * sysdeps/i386/nptl/Implies: File removed.
15824 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15826         [BZ #16539]
15827         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15828         return the argument for normal arguments with exponent below -64.
15829         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15830         Likewise.
15831         * math/auto-libm-test-in: Add another test of expm1.
15832         * math/auto-libm-test-out: Regenerated.
15834         [BZ #16287]
15835         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15836         calling __erfcl for arguments at least 16.
15837         * math/auto-libm-test-in: Add more tests of erf.
15838         * math/auto-libm-test-out: Regenerated.
15840         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15841         individual architectures.
15842         * sysdeps/unix/sysv/linux/configure: Regenerated.
15843         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15844         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15845         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15846         (ldd_rewrite_script): Define variable.
15847         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15849         file.
15850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15851         generated file.
15852         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15853         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15854         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15855         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15856         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15857         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15858         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15859         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15861 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15863         [BZ #17084]
15864         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15865         Rename member __data.d to __data.__elision_data.
15867 2014-06-24  Wilco  <wdijkstr@arm.com>
15869         * NEWS: Add 16918 to fixed bug list.
15871 2014-06-24  Wilco  <wdijkstr@arm.com>
15873         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15875 2014-06-24  Wilco  <wdijkstr@arm.com>
15877         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15878         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15879         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15880         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15881         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15882         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15883         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15884         Use _FPU_MASK_RM.
15886 2014-06-24  Wilco  <wdijkstr@arm.com>
15888         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15890 2014-06-24  Wilco  <wdijkstr@arm.com>
15892         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15893         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15894         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15895         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15897 2014-06-24  Wilco  <wdijkstr@arm.com>
15899         [BZ #16918]
15900         * sysdeps/arm/feupdateenv.c (feupdateenv):
15901         Rewrite to reduce FPSCR accesses and fix return value.
15903 2014-06-24  Wilco  <wdijkstr@arm.com>
15905         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15906         Optimize to avoid unnecessary FPSCR writes.
15907         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15908         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15909         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15910         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15912 2014-06-24  Wilco  <wdijkstr@arm.com>
15914         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15915         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15916         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15917         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15918         Call libc_fetestexcept_vfp.
15919         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15920         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15921         __SOFTFP__ ifdef so that they can be built for softfp.
15923 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15925         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15926         argument type signed char.
15928         * Makerules (check-abi): Dump diff of symlist if the test
15929         fails.
15931 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15933         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15934         using abort.
15936         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15937         Remove unused variable ST.
15939 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15941         [BZ #16354]
15942         [BZ #17061]
15943         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15944         small arguments before calling __expm1.
15945         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15946         small arguments before calling __expm1f.
15947         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15948         small arguments before calling __expm1l.
15949         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15950         Likewise.
15951         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15952         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15953         spurious underflow for some cosh tests.
15954         * math/auto-libm-test-out: Regenerated.
15955         * sysdeps/i386/fpu/libm-test-ulps: Update.
15957         [BZ #17050]
15958         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15959         (__ieee754_y1): Set errno if return value overflows.
15960         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15961         (__ieee754_y1f): Set errno if return value overflows.
15962         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15963         (__ieee754_y1l): Set errno if return value overflows.
15964         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15965         (__ieee754_y1l): Set errno if return value overflows.
15966         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15967         * math/auto-libm-test-out: Regenerated.
15969         * math/gen-auto-libm-tests.c: Document use of
15970         ignore-zero-inf-sign.
15971         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15972         (input_flags): Add ignore-zero-inf-sign.
15973         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15974         * math/gen-libm-test.pl (generate_testfile): Handle
15975         ignore-zero-inf-sign.
15976         * math/auto-libm-test-in: Mark some cpow tests with
15977         ignore-zero-inf-sign and some with xfail-rounding.
15978         * math/auto-libm-test-out: Regenerated.
15979         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15980         * sysdeps/i386/fpu/libm-test-ulps: Update.
15981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15983         [BZ #16315]
15984         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15985         overflowing or underflowing operations take place with sign of
15986         result.
15987         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15988         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15989         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15990         (__ieee754_pow): Recompute overflowing and underflowing results in
15991         original rounding mode.
15992         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15993         (__powl_helper): Allow negative argument X and scale negated value
15994         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15995         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15996         overflowing or underflowing operations take place with sign of
15997         result.
15998         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15999         Include <math.h>.
16000         * math/auto-libm-test-in: Add more tests of pow.
16001         * math/auto-libm-test-out: Regenerated.
16002         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16003         (pow_tonearest_test_data): Remove.
16004         (pow_test_tonearest): Likewise.
16005         (pow_towardzero_test_data): Likewise.
16006         (pow_test_towardzero): Likewise.
16007         (pow_downward_test_data): Likewise.
16008         (pow_test_downward): Likewise.
16009         (pow_upward_test_data): Likewise.
16010         (pow_test_upward): Likewise.
16011         (main): Don't call removed functions.
16012         * sysdeps/i386/fpu/libm-test-ulps: Update.
16013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16015 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16018         Moved ...
16019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16021         Moved ...
16022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16024         Moved ...
16025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16027         Moved ...
16028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16030         File removed.
16031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16032         File removed.
16033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16034         File removed.
16035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16036         File removed.
16037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16038         File removed.
16039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16040         File removed.
16041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16042         File removed.
16043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16044         File removed.
16045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16046         File removed.
16047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16048         File removed.
16049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16050         File removed.
16051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16052         File removed.
16053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16054         Moved ...
16055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16057         Moved ...
16058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16059         ... here.
16060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16061         Moved ...
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16064         Moved ...
16065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16067         Moved ...
16068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16070         Moved ...
16071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16073         Moved ...
16074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16076         Moved ...
16077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16079         Moved ...
16080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16083         ... here.
16084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16085         Moved ...
16086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16088         Moved ...
16089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16090         ... here.
16091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16092         Moved ...
16093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16094         ... here.
16095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16096         Moved ...
16097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16098         ... here.
16099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16100         Moved ...
16101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16103         Moved ...
16104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16108         Moved ...
16109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16110         ... here.
16111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16112         Moved ...
16113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16114         ... here.
16115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16116         Moved ...
16117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16119         Moved ...
16120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16122         Moved ...
16123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16125         Moved ...
16126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16128         Moved ...
16129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16130         ... here.
16131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16132         Moved ...
16133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16135         Moved ...
16136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16138         Moved ...
16139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16141         Moved ...
16142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16146         Moved ...
16147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16149         Moved ...
16150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16152         Moved ...
16153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16154         ... here.
16155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16156         Moved ...
16157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16158         ... here.
16159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16160         Moved ...
16161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16162         ... here.
16163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16164         Moved ...
16165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16167         Moved ...
16168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16170         Moved ...
16171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16173         Moved ...
16174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16175         ... here.
16176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16177         Moved ...
16178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16179         ... here.
16180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16181         Moved ...
16182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16183         ... here.
16184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16185         Moved ...
16186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16188         Moved ...
16189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16191 2014-06-23  Will Newton  <will.newton@linaro.org>
16192             Wilco  <wdijkstr@arm.com>
16194         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16195         implementation.  Include get-rounding-mode.h.
16196         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16197         [!libc_feholdsetround_noex_ctx]: Define
16198         libc_feholdsetround_noex_ctx.
16199         [!libc_feholdsetround_noexf_ctx]: Define
16200         libc_feholdsetround_noexf_ctx.
16201         [!libc_feholdsetround_noexl_ctx]: Define
16202         libc_feholdsetround_noexl_ctx.
16203         (libc_feholdsetround_ctx): New function.
16204         (libc_feresetround_ctx): New function.
16205         (libc_feholdsetround_noex_ctx): New function.
16206         (libc_feresetround_noex_ctx): New function.
16208 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16210         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16211         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16212         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16213         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16214         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16215         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16217         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16218         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16219         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16220         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16221         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16222         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16223         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16224         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16225         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16226         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16227         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16228         Moved ...
16229         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16230         ... here.
16231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16232         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16233         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16234         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16235         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16236         Moved ...
16237         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16238         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16239         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16240         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16241         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16242         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16243         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16244         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16245         Moved ...
16246         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16248         Moved ...
16249         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16251         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16252         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16253         Moved ...
16254         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16255         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16256         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16257         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16258         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16259         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16260         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16261         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16262         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16263         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16264         Moved ...
16265         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16266         ... here.
16267         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16268         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16269         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16270         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16271         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16272         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16273         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16274         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16275         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16276         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16277         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16278         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16279         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16280         Moved ...
16281         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16282         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16283         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16284         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16285         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16286         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16287         Moved ...
16288         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16289         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16290         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16291         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16292         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16294         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16295         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16296         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16297         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16298         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16299         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16300         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16301         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16302         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16303         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16304         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16305         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16306         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16307         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16308         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16309         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16310         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16311         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16312         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16313         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16314         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16315         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16316         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16317         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16318         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16319         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16320         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16321         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16323 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16325         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16326         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16327         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16328         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16329         (IPV6_PMTUDISC_INTERFACE): Likewise.
16330         (IPV6_PMTUDISC_OMIT): Likewise.
16332 2014-06-23  Andreas Schwab  <schwab@suse.de>
16334         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16335         Remove unused errout label.
16337 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16339         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16340         macro: hardware supports Vector Crypto instructions.
16342 2014-06-23  Will Newton  <will.newton@linaro.org>
16344         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16345         rather than __builtin_expect.
16347         * elf/dl-lookup.c (undefined_msg): Remove variable.
16348         (_dl_lookup_symbol_x): Replace undefined_msg with string
16349         literal.
16351         * elf/dl-lookup.c (do_lookup_unique): New function.
16352         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16353         to a separate function.
16355 2014-06-23  Andreas Schwab  <schwab@suse.de>
16357         [BZ #17079]
16358         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16359         before reading the next line.
16361 2014-06-23  Will Newton  <will.newton@linaro.org>
16363         * test-skeleton.c (signal_handler): Use printf and %m
16364         rather than perror.  Use printf rather than fprintf to
16365         stderr.  Use puts rather than fputs to stderr.
16366         (main): Likewise.
16368 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16370         * nscd/nscd.c (thread_info_t): Remove typedef.
16371         (thread_info): Remove variable.
16373 2014-06-21  Allan McRae  <allan@archlinux.org>
16375         * NEWS: Mention CVE-2014-4043.
16377 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16379         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16380         * nptl/smp.h: ... here.
16382         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16384         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16385         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16386         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16387         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16389         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16390         * nptl/stack-aliasing.h: New file.
16391         * sysdeps/i386/i686/stack-aliasing.h: New file.
16392         * sysdeps/i386/i686/nptl/Makefile: File removed.
16393         * sysdeps/x86_64/stack-aliasing.h: New file.
16394         * sysdeps/x86_64/nptl/Makefile
16395         (CFLAGS-pthread_create.c): Variable removed.
16397         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16398         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16399         old file.
16400         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16401         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16402         old file.
16404 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16406         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16407         (__ASSUME_SIGFRAME_V2): Remove macro.
16408         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16409         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16410         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16411         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16412         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16413         Declare as function.  Remove conditional macro definitions.
16414         (__default_rt_sa_restorer): Likewise.
16415         (__default_sa_restorer_v1): Remove declaration.
16416         (__default_sa_restorer_v2): Likewise.
16417         (__default_rt_sa_restorer_v1): Likewise.
16418         (__default_rt_sa_restorer_v2): Likewise.
16419         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16420         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16421         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16423 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16425         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16426         (libpthread-routines): Add sysdep.
16427         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16428         * sysdeps/unix/sysv/linux/sparc/Versions
16429         (libpthread: GLIBC_2.3.3): New version set.
16430         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16431         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16432         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16433         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16434         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16435         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16436         Moved ...
16437         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16438         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16439         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16440         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16441         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16442         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16443         * sysdeps/sparc/nptl/sem_init.c: ... here.
16444         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16445         * sysdeps/sparc/nptl/sem_post.c: ... here.
16446         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16447         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16448         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16449         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16450         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16451         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16452         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16453         (libpthread-routines): Add cpu_relax.
16454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16455         File removed.
16456         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16457         (librt: GLIBC_2.3.3): New version set.
16458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16459         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16460         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16461         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16464         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16466         Moved ...
16467         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16469         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16471         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16473         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16475         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16477         Moved ...
16478         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16479         Update #include.
16480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16481         Moved ...
16482         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16483         Update #include.
16484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16485         Moved ...
16486         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16487         Update #include.
16488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16489         Moved ...
16490         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16491         Update #include.
16492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16493         Moved ...
16494         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16495         Update #include.
16496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16497         Moved ...
16498         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16499         Update #include.
16500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16501         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16505         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16507         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16509         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16511         Moved ...
16512         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16514         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16516         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16518 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16520         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16521         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16522         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16523         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16524         * nscd/nscd.c: Likewise.
16525         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16526         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16527         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16528         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16530         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16531         <kernel-features.h>.
16532         (init_mq_netlink): Remove conditional have_sock_cloexec
16533         definitions.  Remove code conditional on have_sock_cloexec < 0.
16534         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16535         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16536         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16537         <kernel-features.h>.
16538         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16539         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16541 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16543         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16544         Add tests for memset_chk and memset.
16546         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16547         with AVX2_Usable.
16549 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16551         [BZ #16046]
16552         * elf/tst-dl-iter-static.c: New file.
16553         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16555         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16556         error.
16558 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16560         * sysdeps/unix/sysv/linux/kernel-features.h
16561         (__ASSUME_F_GETOWN_EX): Remove macro.
16562         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16563         <kernel-features.h>.
16564         (miss_F_GETOWN_EX): Remove variable or macro.
16565         (do_fcntl): Do not check miss_F_GETOWN_EX.
16566         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16568         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16569         Remove macro.
16570         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16571         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16572         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16574         * sysdeps/unix/sysv/linux/kernel-features.h
16575         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16576         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16577         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16578         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16580 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16582         [BZ #17075]
16583         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16584         Fix calculation of the symbol's value.
16585         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16586         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16587         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16588         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16589         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16590         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16591         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16592         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16593         (modules-names): Add `tst-armtlsdescmod',
16594         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16595         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16596         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16597         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16598         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16599         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16600         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16601         ($(objpfx)tst-armtlsdescloc): New dependency.
16602         ($(objpfx)tst-armtlsdescextnow): Likewise.
16603         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16604         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16605         TLS scheme support.
16606         * sysdeps/arm/configure: Regenerate.
16608 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16610         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16611         (__atfct_seterrno_2): Likewise.
16612         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16613         <kernel-features.h>.
16614         (__ASSUME_ATFCTS): Do not undefine and redefine.
16615         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16616         (__have_atfcts): Remove conditional definition.
16617         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16618         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16619         unreachable if [__ASSUME_ATFCTS].
16620         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16621         not undefine and redefine.
16622         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16623         <kernel-features.h>.
16624         (faccessat) [__NR_faccessat]: Make code unconditional.
16625         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16626         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16627         <kernel-features.h>.
16628         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16629         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16630         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16631         <kernel-features.h>.
16632         (fchownat) [__NR_fchownat]: Make code unconditional.
16633         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16634         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16635         <kernel-features.h>.
16636         (futimesat) [__NR_futimesat]: Make code unconditional.
16637         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16638         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16639         <kernel-features.h>.
16640         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16641         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16642         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16643         <kernel-features.h>.
16644         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16645         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16646         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16647         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16648         <kernel-features.h>.
16649         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16650         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16651         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16652         <kernel-features.h>.
16653         (linkat) [__NR_linkat]: Make code unconditional.
16654         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16655         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16656         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16657         <kernel-features.h>.
16658         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16659         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16660         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16661         <kernel-features.h>.
16662         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16663         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16664         * sysdeps/unix/sysv/linux/openat.c: Do not include
16665         <kernel-features.h>.
16666         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16667         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16668         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16669         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16670         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16671         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16672         <kernel-features.h>.
16673         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16674         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16675         result of INLINE_SYSCALL directly, not via int variable.
16676         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16677         <kernel-features.h>.
16678         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16679         (renameat) [__NR_renameat]: Make code unconditional.
16680         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16681         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16682         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16683         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16684         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16685         (__ASSUME_ATFCTS): Do not undefine and redefine.
16686         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16687         <kernel-features.h>.
16688         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16689         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16690         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16691         <kernel-features.h>.
16692         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16693         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16694         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16695         (__ASSUME_ATFCTS): Do not undefine and redefine.
16696         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16697         <kernel-features.h>.
16698         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16699         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16700         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16701         <kernel-features.h>.
16702         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16703         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16705 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16707         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16709 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16711         [BZ #17069]
16712         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16713         constructed tree before returning error.
16714         * posix/bug-regexp36.c: Expand test case.
16716 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16718         [BZ #6803]
16719         * math/libm-test.inc (scalbln_test_date):
16720         Add errno expectations.
16721         * math/w_scalblnf.c: New File.
16722         Add wrapper which checks for setting errno to ERANGE.
16723         Add weak_alias for corresponding scalbln function.
16724         * math/w_scalbln.c: Likewise.
16725         * math/w_scalblnl.c: Likewise.
16726         * math/Makefile (libm-calls): Add w_scalbln.
16727         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16728         Remove weak_alias for corresponding scalbln function.
16729         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16730         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16731         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16732         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16733         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16734         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16735         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16736         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16737         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16738         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16739         Remove long_double_symbol for scalblnl function in libm, libc.
16740         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16741         Add wrapper which checks for setting errno to ERANGE.
16742         Add long_double_symbol for scalblnl function in libm, libc.
16743         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16744         Remove long_double_symbol for scalblnl in libm.
16745         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16746         Add wrapper which checks for setting errno to ERANGE.
16747         Add long_double_symbol for scalblnl function in libm.
16748         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16749         Do not use wrapper because of own implementation.
16751 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16753         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16754         3 bytes for __pad1 for x32.
16755         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16757 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16758             H.J. Lu  <hongjiu.lu@intel.com>
16760         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16761         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16762         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16763         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16764         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16766 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16768         [BZ #17069]
16769         * posix/regcomp.c (parse_expression): Deallocate partially
16770         constructed tree before returning error.
16771         * posix/Makefile.c (tests): Add bug-regex36.
16772         (generated): Add bug-regex36.mtrace.
16773         (tests-special): Add $(objpfx)bug-regex36-mem.out
16774         (bug-regex36-ENV): New variable.
16775         ($(objpfx)bug-regex36-mem.out): New rule.
16776         * posix/bug-regex36.c: New file.
16778 2014-06-19  Will Newton  <will.newton@linaro.org>
16780         * malloc/malloc.c (systrim): If extra is zero then return
16781         early.
16783 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16785         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16787 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16789         * sysdeps/aarch64/strchr.S: New file.
16791 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16793         [BZ #17022]
16794         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16795         from arguments -2 or below.
16796         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16797         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16799 2014-06-18  Andreas Schwab  <schwab@suse.de>
16801         [BZ #17062]
16802         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16803         of a bracket expr not to run off the end of the string.
16804         * posix/Makefile (tests): Add tst-fnmatch3.
16805         * posix/tst-fnmatch3.c: New file.
16807 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16809         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16810         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16811         [$(cross-compiling) = no]: Likewise.
16812         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16813         [$(cross-compiling) = no]: Likewise.
16815 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16817         [BZ #17031]
16818         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16819         double, adjusted for any remainder from the high double.
16820         * math/libm-test.inc (nearbyint): Add tests.
16821         (rint): Likewise.
16823 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16825         * nptl/sysdeps/powerpc/Makefile: Moved ...
16826         * sysdeps/powerpc/nptl/Makefile: ... here.
16827         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16828         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16829         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16830         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16831         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16832         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16833         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16834         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16835         * nptl/sysdeps/powerpc/tls.h: Moved ...
16836         * sysdeps/powerpc/nptl/tls.h: ... here.
16838 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16840         [BZ #16681]
16841         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16842         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16843         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16844         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16845         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16846         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16847         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16848         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16849         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16851 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16853         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16855 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16857         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16858         defined operator.
16860         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16861         $TIMEOUTFACTOR.
16863 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16865         [BZ #17058]
16866         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16867         non-executed part of the test.
16869 2014-06-16  Andreas Schwab  <schwab@suse.de>
16871         * string/bits/string2.h (strdup, strndup): Update feature guard.
16873 2014-06-14  David S. Miller  <davem@davemloft.net>
16875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16877 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16879         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16880         that was previously under [RESET_PID].
16881         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16883         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16884         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16885         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16886         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16887         (__libc_vfork): New strong alias.
16888         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16890 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16892         * sysdeps/generic/elide.h: New file.
16894 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16896         * Makefile (installed-headers): Adjust path of pthread.h header.
16898 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16900         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16901         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16902         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16903         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16905         * nptl/sysdeps/s390/Makefile: Moved ...
16906         * sysdeps/s390/nptl/Makefile: ... here.
16907         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16908         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16909         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16910         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16911         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16912         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16913         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16914         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16915         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16916         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16917         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16918         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16919         * nptl/sysdeps/s390/tls.h: Moved ...
16920         * sysdeps/s390/nptl/tls.h: ... here.
16922         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16923         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16925 2014-06-13  David S. Miller  <davem@davemloft.net>
16927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16930         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16934         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16935         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16936         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16937         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16938         Remove RESET_PID cpp guards.
16939         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16940         Remove RESET_PID cpp guards.
16941         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16943 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16945         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16946         __sp to uintptr_t.
16948 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16950         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16951         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16952         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16953         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16954         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16955         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16956         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16957         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16958         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16959         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16960         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16961         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16962         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16963         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16964         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16965         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16966         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16967         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16968         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16969         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16971         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16972         (pthread_rwlock_rdlock): Add elision.
16973         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16974         (pthread_rwlock_wrlock): Add elision.
16975         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16976         (pthread_rwlock_trywrlock): Add elision.
16977         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16978         (pthread_rwlock_tryrdlock): Add elision.
16979         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16980         (pthread_rwlock_tryrdlock): Add elision unlock.
16981         * nptl/sysdeps/pthread/pthread.h:
16982         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16983         (PTHREAD_RWLOCK_INITIALIZER,
16984         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16985         Handle new elision field.
16986         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16987         * sysdeps/arm/nptl/bits/pthreadtypes.h
16988         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16989         * sysdeps/sh/nptl/bits/pthreadtypes.h
16990         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16991         * sysdeps/tile/nptl/bits/pthreadtypes.h
16992         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16993         * sysdeps/a/nptl/bits/pthreadtypes.h
16994         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16995         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16996         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16997         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16998         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16999         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17000         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17001         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17003         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17004         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17005         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17007         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17008         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17009         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17011         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17012         (elision_init): Set try_xbegin to zero when no RTM.
17013         * sysdeps/x86/nptl/bits/pthreadtypes.h
17014         (pthread_rwlock_t): Change __pad1 to __rwelision.
17015         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17017 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17019         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17020         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17021         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17022         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17024 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17026         [BZ #16996]
17027         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17028         that the cached result has been set before returning it.
17030 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17032         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17033         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17034         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17035         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17036         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17037         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17039         * nptl/sysdeps/sparc/Makefile: Moved ...
17040         * sysdeps/sparc/nptl/Makefile: ... here.
17041         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17042         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17043         * nptl/sysdeps/sparc/tls.h: Moved ...
17044         * sysdeps/sparc/nptl/tls.h: ... here.
17045         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17046         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17047         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17048         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17049         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17050         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17051         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17052         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17053         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17054         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17055         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17056         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17057         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17058         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17059         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17060         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17061         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17062         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17063         Update #include.
17064         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17065         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17066         Update #include.
17067         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17068         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17069         Update #include.
17070         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17071         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17072         Update #include.
17074         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17076         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17077         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17079         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17080         (struct list_links): Type removed.
17081         (struct thread_node, struct timer_node): Replace struct list_links
17082         with struct list_head.
17083         (list_unlink_ip): Likewise.
17084         * sysdeps/pthread/timer_routines.c
17085         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17086         (list_append, list_insbefore): Likewise.
17087         (list_init): Function removed.
17088         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17089         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17090         * sysdeps/pthread/Makefile: ... here, new file.
17092         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17093         * sysdeps/nptl/Implies: ... here.
17094         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17095         * nptl/sysdeps/pthread/list.h: Moved ...
17096         * include/list.h: ... here.
17097         * nptl/sysdeps/pthread/createthread.c: Moved ...
17098         * nptl/createthread.c: ... here.
17099         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17100         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17101         * nptl/pt-longjmp.c: ... here.
17102         * nptl/sysdeps/pthread/Makefile: Moved ...
17103         * sysdeps/nptl/Makefile: ... here.
17104         * nptl/sysdeps/pthread/Subdirs: Moved ...
17105         * sysdeps/nptl/Subdirs: ... here.
17106         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17107         * sysdeps/nptl/aio_misc.h: ... here.
17108         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17109         * sysdeps/nptl/bits/libc-lock.h: ... here.
17110         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17111         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17112         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17113         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17114         * nptl/sysdeps/pthread/configure: Moved ...
17115         * sysdeps/nptl/configure: ... here.
17116         * nptl/sysdeps/pthread/configure.ac: Moved ...
17117         * sysdeps/nptl/configure.ac: ... here.
17118         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17119         * sysdeps/nptl/gai_misc.h: ... here.
17120         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17121         * sysdeps/nptl/librt-cancellation.c: ... here.
17122         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17123         * sysdeps/nptl/malloc-machine.h: ... here.
17124         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17125         * sysdeps/nptl/pthread-functions.h: ... here.
17126         * nptl/sysdeps/pthread/pthread.h: Moved ...
17127         * sysdeps/nptl/pthread.h: ... here.
17128         * nptl/sysdeps/pthread/setxid.h: Moved ...
17129         * sysdeps/nptl/setxid.h: ... here.
17130         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17131         * sysdeps/nptl/sigfillset.c: ... here.
17132         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17133         * sysdeps/nptl/tcb-offsets.h: ... here.
17134         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17135         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17136         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17137         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17138         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17139         * sysdeps/pthread/allocalim.h: ... here.
17140         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17141         * sysdeps/pthread/bits/sigthread.h: ... here.
17142         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17143         * sysdeps/pthread/flockfile.c: ... here.
17144         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17145         * sysdeps/pthread/ftrylockfile.c: ... here.
17146         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17147         * sysdeps/pthread/funlockfile.c: ... here.
17148         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17149         * sysdeps/pthread/posix-timer.h: ... here.
17150         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17151         * sysdeps/pthread/timer_create.c: ... here.
17152         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17153         * sysdeps/pthread/timer_delete.c: ... here.
17154         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17155         * sysdeps/pthread/timer_getoverr.c: ... here.
17156         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17157         * sysdeps/pthread/timer_gettime.c: ... here.
17158         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17159         * sysdeps/pthread/timer_routines.c: ... here.
17160         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17161         * sysdeps/pthread/timer_settime.c: ... here.
17162         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17163         * sysdeps/pthread/tst-timer.c: ... here.
17164         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17165         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17167         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17168         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17170         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17171         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17172         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17173         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17174         Update #include target.
17175         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17176         * sysdeps/i386/i686/nptl/Makefile: ... here.
17177         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17178         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17179         Update #include target.
17180         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17181         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17182         * nptl/sysdeps/i386/Makefile: Moved ...
17183         * sysdeps/i386/nptl/Makefile: ... here.
17184         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17185         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17186         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17187         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17188         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17189         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17190         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17191         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17192         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17193         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17194         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17195         * nptl/sysdeps/i386/tls.h: Moved ...
17196         * sysdeps/i386/nptl/tls.h: ... here.
17198         * sysdeps/sh/Makefile [$(subdir) = csu]
17199         (gen-as-const-headers): Add tcb-offsets.sym.
17200         * nptl/sysdeps/sh/Makefile: File removed.
17201         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17202         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17203         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17204         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17205         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17206         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17207         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17208         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17209         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17210         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17211         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17212         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17213         * nptl/sysdeps/sh/tls.h: Moved ...
17214         * sysdeps/sh/nptl/tls.h: ... here.
17215         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17216         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17217         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17218         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17219         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17220         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17221         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17222         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17223         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17224         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17225         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17226         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17227         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17228         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17229         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17230         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17231         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17232         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17233         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17234         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17235         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17236         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17237         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17238         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17239         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17240         Moved ...
17241         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17242         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17243         Moved ...
17244         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17245         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17246         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17247         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17248         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17249         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17250         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17251         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17252         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17253         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17254         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17255         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17256         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17257         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17258         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17259         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17260         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17261         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17262         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17264 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17266         * posix/spawn_faction_addopen.c: Include string.h.
17268 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17270         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17271         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17272         * nptl/sysdeps/x86_64/Makefile: Moved ...
17273         * sysdeps/x86_64/nptl/Makefile: ... here.
17274         * nptl/sysdeps/x86_64/configure: Moved ...
17275         * sysdeps/x86_64/nptl/configure: ... here.
17276         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17277         * sysdeps/x86_64/nptl/configure.ac: ... here.
17278         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17279         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17280         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17281         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17282         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17283         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17284         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17285         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17286         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17287         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17288         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17289         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17290         * nptl/sysdeps/x86_64/tls.h: Moved ...
17291         * sysdeps/x86_64/nptl/tls.h: ... here.
17292         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17293         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17294         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17295         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17297         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17299 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17303 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17305         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17306         type.
17307         [POSIX] (off_t): Likewise.
17308         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17309         [POSIX] (S_ISBLK): Require macro.
17310         [POSIX] (S_ISCHR): Likewise.
17311         [POSIX] (S_ISDIR): Likewise.
17312         [POSIX] (S_ISFIFO): Likewise.
17313         [POSIX] (S_ISREG): Likewise.
17314         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17315         optional-macro.
17316         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17317         type.
17318         [POSIX] (time_t): Likewise.
17319         [POSIX] (timer_t): Likewise.
17321 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17323         [BZ #17048]
17324         * posix/spawn_int.h (struct __spawn_action): Make the path string
17325         non-const to support deallocation.
17326         * posix/spawn_faction_addopen.c
17327         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17328         * posix/spawn_faction_destroy.c
17329         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17330         path in all spawn_do_open actions.
17331         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17332         posix_spawn_file_actions_addopen.
17334 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17336         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17337         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17338         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17339         conditional code always true.
17340         (__libc_vfork): New alias.
17342 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17344         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17345         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17347         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17349         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17350         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17352         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17353         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17355         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17356         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17358 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17360         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17361         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17362         multiarch strcmp for PPC64.
17363         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17364         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17366         multiarch optimizations.
17367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17368         (__libc_ifunc_impl_list): Likewise.
17370 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17372         * benchtests/scripts/validate_benchout.py: New script.
17373         * benchtests/Makefile (bench-func): Call it.
17374         * benchtests/scripts/benchout.schema.json: New file.
17376 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17378         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17379         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17380         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17381         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17382         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17383         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17384         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17385         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17386         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17387         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17388         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17389         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17390         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17391         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17392         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17393         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17395         Moved ...
17396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17397         ... here.
17398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17399         Moved ...
17400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17402         Moved ...
17403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17404         ... here.
17405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17406         Moved ...
17407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17408         ... here.
17409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17410         Moved ...
17411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17413         Moved ...
17414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17415         ... here.
17416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17417         Moved ...
17418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17419         ... here.
17420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17421         Moved ...
17422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17424         Moved ...
17425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17426         ... here.
17427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17428         Moved ...
17429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17430         ... here.
17431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17432         Moved ...
17433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17434         ... here.
17435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17436         Moved ...
17437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17439         Moved ...
17440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17441         ... here.
17442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17443         Moved ...
17444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17445         ... here.
17446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17447         Moved ...
17448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17449         ... here.
17450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17451         Moved ...
17452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17454         Moved ...
17455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17456         ... here.
17457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17458         Moved ...
17459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17460         ... here.
17461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17462         Moved ...
17463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17465         Moved ...
17466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17467         ... here.
17468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17469         Moved ...
17470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17472         Moved ...
17473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17475         Moved ...
17476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17477         ... here.
17478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17479         Moved ...
17480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17481         ... here.
17482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17483         Moved ...
17484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17485         ... here.
17486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17487         Moved ...
17488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17490         Moved ...
17491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17492         ... here.
17493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17494         Moved ...
17495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17496         ... here.
17497         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17498         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17499         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17500         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17501         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17502         Moved ...
17503         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17504         ... here.
17505         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17506         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17507         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17508         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17509         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17510         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17511         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17512         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17513         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17514         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17515         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17516         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17517         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17518         Moved ...
17519         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17520         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17521         Moved ...
17522         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17523         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17524         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17525         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17526         Moved ...
17527         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17528         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17529         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17530         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17531         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17532         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17533         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17535 2014-06-10  Wilco  <wdijkstr@arm.com>
17537         * math/test-fenv-return.c: New file.
17538         * math/Makefile: Add new test test-fenv-return.
17540 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17542         [BZ #17042]
17543         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17544         when x - 1 is zero.
17545         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17546         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17547         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17548         0.0L for an argument of 1.0L.
17549         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17550         Likewise.
17551         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17552         value when x - 1 is zero.
17553         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17554         * sysdeps/i386/fpu/libm-test-ulps: Update.
17555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17557 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17559         [BZ #15119]
17560         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17562 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17564         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17565         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17567 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17569         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17570         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17572         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17573         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17575         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17576         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17578         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17579         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17581         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17582         if not already defined.
17583         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17584         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17585         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17586         (TLS_INIT_TP): Use it.
17587         (TLS_DEFINE_INIT_TP): New macro.
17588         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17590 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17592         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17593         constant.
17594         [POSIX] (IXANY): Likewise.
17595         [POSIX] (OLCUC): Likewise.
17596         [POSIX || POSIX2008] (CBAUD): Do not allow.
17597         [POSIX || POSIX2008] (DEFECHO): Likewise.
17598         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17599         [POSIX || POSIX2008] (ECHOKE): Likewise.
17600         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17601         [POSIX || POSIX2008] (EXTA): Likewise.
17602         [POSIX || POSIX2008] (EXTB): Likewise.
17603         [POSIX || POSIX2008] (FLUSHO): Likewise.
17604         [POSIX || POSIX2008] (LOBLK): Likewise.
17605         [POSIX || POSIX2008] (PENDIN): Likewise.
17606         [POSIX || POSIX2008] (SWTCH): Likewise.
17607         [POSIX || POSIX2008] (VDISCARD): Likewise.
17608         [POSIX || POSIX2008] (VDSUSP): Likewise.
17609         [POSIX || POSIX2008] (VLNEXT): Likewise.
17610         [POSIX || POSIX2008] (VREPRINT): Likewise.
17611         [POSIX || POSIX2008] (VSTATUS): Likewise.
17612         [POSIX || POSIX2008] (VWERASE): Likewise.
17613         (B*): Change to B[0123456789]*.
17614         * conform/data/time.h-data [POSIX || UNIX98]
17615         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17616         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17617         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17618         [POSIX] (tm_*): Do not allow.
17620 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17622         * Makefile (install): Don't set LANGUAGE.
17623         * Makefile.in (install): Likewise.
17624         * assert/Makefile (test-assert-ENV): Remove variable.
17625         (test-assert-perr-ENV): Likewise.
17626         * elf/Makefile (neededtest4-ENV): Likewise.
17627         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17628         [$(cross-compiling) = no]: Don't set LANGUAGE.
17629         * io/ftwtest-sh (LANG): Remove variable.
17630         * libio/Makefile (tst-widetext-ENV): Likewise.
17631         * manual/install.texi (Running make install): Don't refer to
17632         environment settings for make install.
17633         * INSTALL: Regenerated.
17634         * nptl/tst-tls6.sh: Don't set LANG.
17635         * posix/globtest.sh (LANG): Remove variable.
17636         * string/Makefile (tester-ENV): Likewise.
17637         (inl-tester-ENV): Likewise.
17638         (noinl-tester-ENV): Likewise.
17639         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17640         [$(cross-compiling) = no]: Don't set LANGUAGE.
17641         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17642         without explicit environment settings.
17644 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17646         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17647         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17648         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17649         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17651 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17653         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17654         other files in the crypt directory.
17655         * crypt/crypt.c: Remove duplicate includes.
17656         * crypt/crypt-entry.c: Likewise.
17657         * crypt/crypt_util.c: Likewise.
17659 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17661         * Makeconfig (run-program-env): New variable.
17662         (run-program-prefix-before-env): Likewise.
17663         (run-program-prefix-after-env): Likewise.
17664         (run-program-prefix): Define in terms of new variables.
17665         (built-program-cmd-before-env): New variable.
17666         (built-program-cmd-after-env): Likewise.
17667         (built-program-cmd): Define in terms of new variables.
17668         (test-program-prefix-before-env): New variable.
17669         (test-program-prefix-after-env): Likewise.
17670         (test-program-prefix): Define in terms of new variables.
17671         (test-program-cmd-before-env): New variable.
17672         (test-program-cmd-after-env): Likewise.
17673         (test-program-cmd): Define in terms of new variables.
17674         * Rules (make-test-out): Use $(run-program-env).
17675         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17676         (help): Do not mention environment variables.  Mention
17677         --timeoutfactor option.
17678         (timeoutfactor): New variable.
17679         (blacklist_exports): Remove function.
17680         (exports): Remove variable.
17681         (command): Do not include ${exports}.
17682         * manual/install.texi (Configuring and compiling): Do not mention
17683         test wrappers preserving environment variables.  Mention that last
17684         assignment to a variable must take precedence.
17685         * INSTALL: Regenerated.
17686         * benchtests/Makefile (run-bench): Use $(run-program-env).
17687         * catgets/Makefile ($(objpfx)test1.cat): Use
17688         $(built-program-cmd-before-env), $(run-program-env) and
17689         $(built-program-cmd-after-env).
17690         ($(objpfx)test2.cat): Do not specify environment variables
17691         explicitly.
17692         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17693         $(run-program-env) and $(built-program-cmd-after-env).
17694         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17695         $(run-program-env) and $(test-program-cmd-after-env).
17696         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17697         explicitly.
17698         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17699         run_program_env and test_program_cmd_after_env arguments.
17700         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17701         * elf/tst-pathopt.sh: Use run_program_env argument.
17702         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17703         $(test-wrapper-env) and $(run-program-env).
17704         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17705         run_program_env arguments.
17706         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17707         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17708         $(test-program-prefix-before-env), $(run-program-env) and
17709         $(test-program-prefix-after-env).
17710         ($(objpfx)tst-gettext2.out): Likewise.
17711         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17712         run_program_env and test_program_prefix_after_env arguments.
17713         * intl/tst-gettext2.sh: Likewise.
17714         * intl/tst-gettext4.sh: Do not set environment variables
17715         explicitly.
17716         * intl/tst-gettext6.sh: Likewise.
17717         * intl/tst-translit.sh: Likewise.
17718         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17719         $(test-program-prefix-before-env), $(run-program-env) and
17720         $(test-program-prefix-after-env).
17721         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17722         run_program_env and test_program_prefix_after_env arguments.
17723         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17724         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17725         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17726         explicitly with each use of ${test_wrapper_env}.
17727         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17728         $(test-program-prefix-before-env), $(run-program-env) and
17729         $(test-program-prefix-after-env).
17730         * posix/tst-getconf.sh: Do not set environment variables
17731         explicitly.
17732         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17733         run_program_env and test_program_prefix_after_env arguments.
17734         * stdio-common/tst-printf.sh: Do not set environment variables
17735         explicitly.
17736         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17737         $(test-program-prefix-before-env), $(run-program-env) and
17738         $(test-program-prefix-after-env).
17739         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17740         run_program_env and test_program_prefix_after_env arguments.
17741         Split $test calls into $test_pre and $test.
17742         * timezone/Makefile (build-testdata): Use
17743         $(built-program-cmd-before-env), $(run-program-env) and
17744         $(built-program-cmd-after-env).
17746 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17748         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17749         strlen for non SHARED builds.
17751 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17753         * nptl/allocatestack.c (check_list): Inlined function...
17754         (__reclaim_stacks): ... here.
17756 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17758         [BZ #15698]
17759         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17760         memory overrun.
17762 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17764         * Rules (make-test-out): Include
17765         LOCPATH=$(common-objpfx)localedata in default environment.
17766         * debug/Makefile (tst-chk1-ENV): Remove variable.
17767         (tst-chk2-ENV): Likewise.
17768         (tst-chk3-ENV): Likewise.
17769         (tst-chk4-ENV): Likewise.
17770         (tst-chk5-ENV): Likewise.
17771         (tst-chk6-ENV): Likewise.
17772         (tst-lfschk1-ENV): Likewise.
17773         (tst-lfschk2-ENV): Likewise.
17774         (tst-lfschk3-ENV): Likewise.
17775         (tst-lfschk4-ENV): Likewise.
17776         (tst-lfschk5-ENV): Likewise.
17777         (tst-lfschk6-ENV): Likewise.
17778         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17779         (tst-iconv7-ENV): Likewise.
17780         * intl/Makefile (LOCPATH-ENV): Likewise.
17781         (tst-codeset-ENV): Likewise.
17782         (tst-gettext3-ENV): Likewise.
17783         (tst-gettext5-ENV): Likewise.
17784         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17785         (tst-fopenloc-ENV): Likewise.
17786         (tst-fgetws-ENV): Remove variable.
17787         (tst-ungetwc1-ENV): Likewise.
17788         (tst-ungetwc2-ENV): Likewise.
17789         (bug-ungetwc2-ENV): Likewise.
17790         (tst-swscanf-ENV): Likewise.
17791         (bug-ftell-ENV): Likewise.
17792         (tst-fgetwc-ENV): Likewise.
17793         (tst-fseek-ENV): Likewise.
17794         (tst-ftell-partial-wide-ENV): Likewise.
17795         (tst-ftell-active-handler-ENV): Likewise.
17796         (tst-ftell-append-ENV): Likewise.
17797         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17798         (tst-regexloc-ENV): Likewise.
17799         (bug-regex1-ENV): Likewise.
17800         (tst-regex-ENV): Likewise.
17801         (tst-regex2-ENV): Likewise.
17802         (bug-regex5-ENV): Likewise.
17803         (bug-regex6-ENV): Likewise.
17804         (bug-regex17-ENV): Likewise.
17805         (bug-regex18-ENV): Likewise.
17806         (bug-regex19-ENV): Likewise.
17807         (bug-regex20-ENV): Likewise.
17808         (bug-regex22-ENV): Likewise.
17809         (bug-regex23-ENV): Likewise.
17810         (bug-regex25-ENV): Likewise.
17811         (bug-regex26-ENV): Likewise.
17812         (bug-regex30-ENV): Likewise.
17813         (bug-regex32-ENV): Likewise.
17814         (bug-regex33-ENV): Likewise.
17815         (bug-regex34-ENV): Likewise.
17816         (bug-regex35-ENV): Likewise.
17817         (tst-rxspencer-ENV): Likewise.
17818         (tst-rxspencer-no-utf8-ENV): Likewise.
17819         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17820         (tst-sscanf-ENV): Likewise.
17821         (tst-swprintf-ENV): Likewise.
17822         (tst-swscanf-ENV): Likewise.
17823         (test-vfprintf-ENV): Likewise.
17824         (scanf13-ENV): Likewise.
17825         (bug14-ENV): Likewise.
17826         (tst-grouping-ENV): Likewise.
17827         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17828         (tst-strtod3-ENV): Likewise.
17829         (tst-strtod4-ENV): Likewise.
17830         (tst-strtod5-ENV): Likewise.
17831         (testmb2-ENV): Likewise./
17832         * string/Makefile (tst-strxfrm-ENV): Likewise.
17833         (tst-strxfrm2-ENV): Likewise.
17834         (bug-strcoll1-ENV): Likewise.
17835         (test-strcasecmp-ENV): Likewise.
17836         (test-strncasecmp-ENV): Likewise.
17837         * time/Makefile (tst-strptime-ENV): Likewise.
17838         (tst-ftime_l-ENV): Likewise.
17839         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17840         (tst-mbrtowc-ENV): Likewise.
17841         (tst-wcrtomb-ENV): Likewise.
17842         (tst-mbrtowc2-ENV): Likewise.
17843         (tst-c16c32-1-ENV): Likewise.
17844         (tst-mbsnrtowcs-ENV): Likewise.
17846 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17848         * manual/resource.texi (How to get information about the memory
17849         subsystem?): Fix typo.
17850         Reported by Peon de la Parra Ivan <peon@keba.com>
17852 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17854         [BZ #16882]
17855         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17856         (pthread_spin_lock): Branch out of spin loop to proper location.
17857         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17858         (pthread_spin_lock): Likewise.
17860         * nptl/tst-spin4.c: New test.
17861         * nptl/Makefile (tests): Add tst-spin4.
17863 2014-06-03  Andreas Schwab  <schwab@suse.de>
17865         [BZ #15946]
17866         * resolv/res_send.c (send_dg): Reload file descriptor after
17867         calling reopen.
17869 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17871         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17873 2014-06-03  Richard Henderson  <rth@redhat.com>
17875         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17876         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17877         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17878         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17879         in the SAVE_PID block.
17880         (__libc_vfork): New alias.
17881         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17883         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17884         child in registers, not on the stack.  Remove RESET_PID conditionals.
17885         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17887 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17889         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17891 2014-06-03  Wilco  <wdijkstr@arm.com>
17893         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17894         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17895         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17896         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17897         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17898         Likewise.
17900 2014-06-03  Wilco  <wdijkstr@arm.com>
17902         * sysdeps/aarch64/fpu/math_private.h
17903         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17904         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17905         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17906         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17907         Fix declarations.
17909 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17911         * crypt/crypt-private.h: Include ufc-crypt.h.
17912         (__b64_from_24bit): Declare extern.
17913         * crypt/crypt_util.c(__b64_from_24bit): New function.
17914         (b64t): New static const variable.
17915         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17916         (b64t): Remove variable.
17917         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17918         * crypt/sha256-crypt.c: Include crypt-private.h.
17919         (b64t): Remove variable.
17920         (__sha256_crypt_r): Remove b64_from_24bit and replace
17921         with __b64_from_24bit.
17922         * crypt/sha512-crypt.c: Likewise.
17924 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17926         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17927         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17928         Label the code __libc_vfork rather than __vfork.
17929         [!NOT_IN_libc] (vfork): Define as weak alias.
17930         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17931         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17932         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17934 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17936         * malloc/malloc.c (malloc_info): Fix format specifier for
17937         n_mmaps.
17939 2014-06-02  Wilco  <wdijkstr@arm.com>
17941         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17942         FPCR write.
17944 2014-06-02  Wilco  <wdijkstr@arm.com>
17946         [BZ #17009]
17947         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17948         Rewrite to reduce FPCR/FPSR accesses.
17950 2014-06-01  David S. Miller  <davem@davemloft.net>
17952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17954 2014-05-31  David S. Miller  <davem@davemloft.net>
17956         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17957         to occur in round to nearest mode when |x| >= 2.0
17959 2014-05-30  Richard Henderson  <rth@twiddle.net>
17961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17962         (PSEUDO_RET_NOERRNO): Remove.
17963         (ret): Don't redefine.
17964         (ret_NOERRNO): Define in terms of ret.
17965         (ret_ERRVAL): Likewise.
17967         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17968         use of PSEUDO_RET; perform the error check directly.
17970 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17972         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17973         with __int128_t.
17975 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17977         * malloc/malloc (malloc_info): Fix formatting.
17979 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17980             Roland McGrath  <roland@hack.frob.com>
17982         * malloc/malloc (malloc_info): Also print mmapped statistics.
17984 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17986         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17987         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17989 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17991         * malloc/malloc.c (malloc_info): Inline mi_arena.
17993 2014-05-29  Richard Henderson  <rth@twiddle.net>
17995         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17996         Remove comma before expanding ASM_ARGS_##nr.
17997         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17998         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17999         of ASM_ARGS_##nr.
18000         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18001         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18002         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18003         (ASM_ARGS_1): Add leading comma.
18005         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18006         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18007         to __errno_location.
18008         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18009         Remove the expected plt for __errno_location.
18011         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18012         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18013         call to __read_tp.
18015         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18016         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18017         it and break it down.
18018         (DOCARGS_0, DOCARGS_1): Do nothing.
18019         (DOCARGS_2): Update to store into the new stack frame.
18020         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18021         (UNDOCARGS_1): Update to restore from the new stack frame.
18022         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18023         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18025         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18026         (SINGLE_THREAD_P): New parameter for result regno.
18027         (PSEUDO): Update to match; use cbz instead of beq.
18029         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18030         Use ENTRY to define the _nocancel entry point.  Share the syscall
18031         and syscall error check paths with the cancel path.
18032         (PSEUDO_END): New.
18034         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18035         whitespace; tabs before and after asm mnemonics.
18037 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18039         [BZ #15132]
18040         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18041         Call fstat64 or stat64 internally, depending on arguments passed.
18042         Replace stat buffer argument with file descriptor argument.
18043         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18044         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18045         Pass fd to __internal_statvfs instead of calling fstat64.
18046         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18047         Pass fd to __internal_statvfs64 instead of calling fstat64.
18048         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18049         Pass -1 to __internal_statvfs instead of calling stat64.
18050         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18051         Pass -1 to __internal_statvfs64 instead of calling stat64.
18053 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18055         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18056         that was previously under [RESET_PID].
18057         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18059         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18060         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18062 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18064         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18066         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18067         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18069 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18071         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18073 2014-05-27  Andreas Schwab  <schwab@suse.de>
18075         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18076         TLS_INIT_TP macro.
18077         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18078         * elf/rtld.c (init_tls, dl_main): Likewise.
18079         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18080         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18081         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18082         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18083         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18084         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18085         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18086         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18087         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18088         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18089         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18090         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18091         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18092         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18093         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18094         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18095         * sysdeps/generic/tls.h: Update description.
18097 2014-05-27  Will Newton  <will.newton@linaro.org>
18099         [BZ #16990]
18100         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18101         and restore r2 rather than just restoring.
18103 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18105         [BZ #16724]
18106         * libio/tst-ftell-append.c: New test case.
18107         * libio/Makefile (tests): Add test case.
18108         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18109         append mode.
18110         * libio/wfileops.c (do_ftell_wide): Likewise.
18112 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18116         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18117         ...
18118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18120         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18121         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18122         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18123         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18124         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18125         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18127         Moved ...
18128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18130         Moved ...
18131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18132         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18133         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18134         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18135         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18136         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18137         ...
18138         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18139         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18140         Moved ...
18141         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18142         here.
18143         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18144         ...
18145         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18146         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18147         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18149         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18150         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18151         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18152         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18155         merge into ...
18156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18158         ...
18159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18161         ...
18162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18164         Moved ...
18165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18166         here.
18167         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18168         Moved ...
18169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18170         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18171         Moved ...
18172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18175         conditional [RESET_PID].
18176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18178         removed.
18179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18180         removed.
18182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18183         <tcb-offsets.h>.
18184         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18185         (__libc_vfork): New strong alias.
18186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18187         removed.
18188         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18189         Removed.
18191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18192         <tcb-offsets.h>.
18193         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18194         (__libc_vfork): New strong alias.
18195         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18196         removed.
18197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18198         removed.
18200 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18202         * malloc/malloc.c (mi_arena): New function.
18203         (malloc_info): Remove nested function mi_arena. Call non-nosted
18204         function mi_arena.
18206 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18208         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18209         by insrwi.
18210         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18211         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18212         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18213         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18214         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18215         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18216         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18218 2014-05-26  Andreas Schwab  <schwab@suse.de>
18220         [BZ #16984]
18221         * locale/programs/repertoire.c (repertoire_read): Add slash
18222         between I18NPATH element and file name.
18223         * locale/programs/locfile.c (locfile_read): Likewise.
18225 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18227         * nptl/pthread_mutexattr_settype.c
18228         (__pthread_mutexattr_settype):
18229         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18231 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18233         * nptl/tst-mutex5 (do_test):
18234         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18236 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18238         * benchtests/README: Document 'init' directive.
18239         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18240         BENCH_INIT.
18241         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18242         (parse_file): Recognize 'init' directive.
18244 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18246         [BZ #16796]
18247         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18248         alignment of struct pthread.
18250 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18252         [BZ #16878]
18253         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18254         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18255         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18256         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18258 2014-05-25  Richard Henderson  <rth@twiddle.net>
18260         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18261         (SINGLE_THREAD_P_PIC): Remove.
18262         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18263         (SINGLE_THREAD_P_PIC): Remove.
18265         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18266         branch to syscall error ...
18267         (PSEUDO): ... here.
18268         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18269         from __local_syscall_error to .Lsyscall_error.
18270         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18271         (SYSCALL_ERROR): Update label name.
18273         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18274         Do not use DOARGS/UNDOARGS.
18275         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18276         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18277         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18278         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18279         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18281         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18282         block comment.
18284         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18285         define if !NOT_IN_libc.
18286         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18287         define with non-default symbol versions.
18289 2014-05-23  Richard Henderson  <rth@twiddle.net>
18291         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18292         (vfork, __vfork): Define via compat_symbol.
18294         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18295         [!HAVE_IFUNC] (vfork_compat): Remove.
18296         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18298 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18300         [BZ #16978]
18301         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18302         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18303         variable.
18305 2014-05-23  Richard Henderson  <rth@twiddle.net>
18307         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18308         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18309         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18310         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18312         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18313         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18314         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18315         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18316         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18317         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18318         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18319         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18320         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18321         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18322         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18323         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18324         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18325         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18326         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18327         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18328         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18329         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18330         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18331         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18332         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18333         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18334         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18335         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18336         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18337         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18338         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18339         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18340         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18341         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18342         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18343         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18344         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18345         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18346         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18347         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18348         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18349         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18350         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18351         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18352         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18353         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18354         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18355         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18356         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18357         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18358         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18359         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18360         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18361         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18362         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18363         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18364         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18365         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18366         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18367         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18369         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18370         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18371         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18372         before exiting on error.
18373         (__libc_vfork): New strong alias.
18374         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18375         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18377         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18378         that was previously under [RESET_PID].
18379         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18381         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18383 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18385         [BZ #16977]
18386         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18387         value when x - 1 is zero.
18388         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18389         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18390         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18391         0.0L for an argument of 1.0L.
18392         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18393         Likewise.
18394         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18395         value when x - 1 is zero.
18396         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18397         * sysdeps/i386/fpu/libm-test-ulps: Update.
18398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18400 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18402         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18403         alphasort and versionsort.
18405 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18407         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18408         macro.
18409         [copysignf]: Likewise.
18411 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18413         * crypt/md5-crypt.c: Fix formatting.
18415 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18417         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18418         (b64_from_24bit): New function.
18420 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18422         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18423         libc_hidden_builtin_def to ifunc.
18424         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18425         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18427 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18429         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18430         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18432 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18434         * nscd/Depend (linuxthreads): Remove.
18435         (nptl): Add.
18436         * resolv/Depend (linuxthreads): Remove.
18437         * rt/Depend (linuxthreads): Remove.
18439         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18440         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18441         $(common-objpfx)elf/.
18442         (link-libc-before-gnulib): Likewise.
18443         (elfobjdir): Remove variable.
18444         * Makefile (install): Use $(elf-objpfx) instead of
18445         $(common-objpfx)elf/.
18446         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18447         $(elfobjdir)/.
18448         (link-libc-deps): Likewise.
18449         ($(common-objpfx)libc.so): Likewise.
18450         ($(common-objpfx)linkobj/libc.so): Likewise.
18451         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18452         instead of $(common-objpfx)elf/.
18453         (symbolic-link-list): Likewise.
18454         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18455         [$(cross-compiling) = no]: Likewise.
18456         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18457         $(elfobjdir)/.
18458         (static-gnulib-arch): Likewise.
18459         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18460         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18461         $(common-objpfx)elf/.
18463 2014-05-21  Richard Henderson  <rth@redhat.com>
18465         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18466         (SINGLE_THREAD_P): Use the correct width load.  Fold
18467         into the ldr offset.
18469         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18470         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18472 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18474         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18475         (libgcc_s_resume): Use __attribute_used__.
18476         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18477         Likewise.
18479 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18481         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18482         optimization when used with float constants.
18484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18486 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18488         [BZ #16915]
18489         * locale/nl_langinfo_l.c: Make direct reference to every
18490         _nl_current_CATEGORY symbol.
18491         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18492         (tests-static): Add tst-langinfo-static.
18493         (tests-special): Add tst-langinfo-static.out.
18494         ($(objpfx)tst-langinfo.out): Redirect output.
18495         ($(objpfx)tst-langinfo-static.out): New.
18496         * localedata/tst-langinfo.sh: Send output to stdout.
18497         * localedata/tst-langinfo-static.c: New file.
18499         [BZ #16965]
18500         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18501         when the shift amount is modulo the limb size.
18503 2014-05-20  Richard Henderson  <rth@redhat.com>
18505         [BZ #16967]
18506         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18507         Change type of sa_flags from unsigned int to int.
18509         [BZ #16966]
18510         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18512         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18514 2014-05-20  Will Newton  <will.newton@linaro.org>
18516         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18517         Test the return value of the system call in the nocancel case.
18519 2014-05-20  Will Newton  <will.newton@linaro.org>
18520             Yvan Roux  <yvan.roux@linaro.org>
18522         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18523         #include of asm/ptrace.h.
18524         (PTRACE_GET_THREAD_AREA): Remove #undef.
18525         (PTRACE_GETHBPREGS): Likewise.
18526         (PTRACE_SETHBPREGS): Likewise.
18527         (struct user_regs_struct): New structure.
18528         (struct user_fpsimd_struct): New structure.
18529         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18530         #include of asm/ptrace.h and second #include of sys/user.h.
18531         (PTRACE_GET_THREAD_AREA): Remove #undef.
18532         (PTRACE_GETHBPREGS): Likewise.
18533         (PTRACE_SETHBPREGS): Likewise.
18534         (ELF_NGREG): Use new struct user_regs_struct.
18535         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18537 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18539         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18540         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18542 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18544         [BZ #16958]
18545         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18546         membar to avoid block loads/stores to overlap previous stores.
18548 2014-05-17  Richard Henderson  <rth@redhat.com>
18550         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18551         Create the __##syscall_name##_nocancel entry point.
18552         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18553         Remove; let the sysdep-cancel.h code create it.
18555 2014-05-17  David S. Miller  <davem@davemloft.net>
18557         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18558         Protect with __USE_GNU.
18559         (TIOCSET_TEMPT): Likewise.
18560         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18561         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18562         these are already provided in bits/ioctl-types.h
18564 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18566         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18567         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18569         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18570         Use wait4 regardless of [__NR_waitpid].
18572 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18574         PR libgcc/60166
18575         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18576         (_FP_NANSIGN_Q): Set the quiet bit.
18578 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18580         * benchtests/Makefile
18581         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18582         not $(common-objpfx)math/libm.so.
18583         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18584         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18585         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18586         $(common-objpfx)dlfcn/libdl.so.
18587         ($(objpfx)tst-audit8): Depend on $(libm), not
18588         $(common-objpfx)math/libm.so.
18589         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18590         not $(common-objpfx)dlfcn/libdl.so.
18591         * math/Makefile
18592         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18593         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18594         [$(build-shared) = yes].
18595         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18596         $(common-objpfx)nptl/libpthread.so.
18597         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18598         $(common-objpfx)math/libm.so$(libm.so-version) or
18599         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18600         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18601         $(common-objpfx)dlfcn/libdl.so.
18602         * setjmp/Makefile (link-libm): Remove variable.
18603         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18604         * stdio-common/Makefile (link-libm): Remove variable.
18605         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18606         * stdlib/Makefile (link-libm): Remove variable.
18607         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18608         ($(objpfx)tst-strtod-round): Likewise.
18609         ($(objpfx)tst-tininess): Likewise.
18610         ($(objpfx)tst-strtod-underflow): Likewise.
18611         ($(objpfx)tst-strtod6): Likewise.
18612         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18613         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18614         $(common-objpfx)dlfcn/libdl.so.
18616 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18618         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18619         BSD terminal modes definitions.
18621 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18623         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18624         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18626         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18627         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18628         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18629         Don't do #include_next.
18630         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18631         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18632         Don't do #include_next.
18633         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18634         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18635         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18636         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18638 2014-05-16  Allan McRae  <allan@archlinux.org>
18640         * po/sv.po: Update Swedish translation from translation project.
18642         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18643         in sed expression.
18645 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18647         [BZ #16917]
18648         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18649         errno if the TIOCGPTN ioctl fails with an error different than
18650         EINVAL.
18651         * login/tst-ptsname.c: New file.
18652         * login/Makefile (tests): Add tst-ptsname.
18654         [BZ #16943]
18655         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18656         and prlimit64.
18658 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18660         [BZ #16849]
18661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18662         herrno to return EAI_AGAIN.
18664 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18666         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18667         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18668         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18669         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18670         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18671         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18672         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18673         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18674         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18675         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18676         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18677         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18678         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18679         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18680         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18681         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18682         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18683         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18684         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18685         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18686         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18687         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18688         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18689         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18690         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18691         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18692         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18693         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18694         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18695         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18697         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18699         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18701         Moved ...
18702         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18704         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18706         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18708         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18710         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18712         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18714         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18716         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18718         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18720         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18722         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18724         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18726         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18728         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18730         Moved ...
18731         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18733         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18735         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18737         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18739         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18741         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18743         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18745         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18747         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18749         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18751         Moved ...
18752         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18754         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18756         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18757         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18758         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18759         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18760         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18761         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18762         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18763         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18764         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18765         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18766         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18767         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18768         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18769         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18770         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18771         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18772         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18773         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18774         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18775         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18776         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18777         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18778         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18779         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18780         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18781         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18782         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18783         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18784         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18785         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18786         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18788         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18789         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18791         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18792         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18793         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18794         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18795         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18796         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18797         Moved ...
18798         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18799         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18800         Moved ...
18801         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18802         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18803         Moved ...
18804         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18805         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18806         Moved ...
18807         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18808         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18809         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18810         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18811         Moved ...
18812         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18813         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18814         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18815         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18816         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18817         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18818         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18819         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18820         Moved ...
18821         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18822         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18823         Moved ...
18824         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18825         ... here.
18826         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18827         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18828         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18829         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18830         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18831         Moved ...
18832         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18833         ... here.
18834         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18835         Moved ...
18836         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18837         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18838         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18839         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18840         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18841         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18842         Moved ...
18843         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18844         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18845         Moved ...
18846         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18847         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18848         Moved ...
18849         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18850         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18851         Moved ...
18852         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18853         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18854         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18855         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18856         Moved ...
18857         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18858         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18859         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18860         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18861         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18862         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18863         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18864         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18865         Moved ...
18866         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18867         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18868         Moved ...
18869         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18870         ... here.
18871         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18872         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18873         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18874         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18875         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18876         Moved ...
18877         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18878         ... here.
18879         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18880         Moved ...
18881         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18882         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18883         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18884         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18885         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18886         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18887         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18888         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18889         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18890         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18891         Moved ...
18892         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18893         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18894         Moved ...
18895         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18896         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18897         Moved ...
18898         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18899         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18900         Moved ...
18901         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18902         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18903         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18904         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18905         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18906         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18907         Moved ...
18908         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18909         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18910         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18911         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18912         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18913         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18914         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18915         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18916         Moved ...
18917         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18918         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18919         Moved ...
18920         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18921         ... here.
18922         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18923         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18924         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18925         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18926         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18927         Moved ...
18928         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18929         ... here.
18930         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18931         Moved ...
18932         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18933         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18934         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18935         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18936         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18937         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18938         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18939         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18940         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18941         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18942         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18944         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18945         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18947         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18948         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18950         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18951         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18952         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18953         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18954         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18955         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18956         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18957         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18958         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18959         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18960         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18961         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18962         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18963         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18964         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18965         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18966         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18967         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18968         Moved ...
18969         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18970         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18971         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18972         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18973         Moved ...
18974         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18975         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18976         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18977         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18978         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18979         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18980         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18981         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18982         Moved ...
18983         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18985         Moved ...
18986         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18988         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18990         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18991         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18992         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18993         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18994         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18995         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18996         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18997         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18998         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18999         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19000         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19001         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19002         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19004         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19005         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19006         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19007         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19008         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19010         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19011         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19012         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19013         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19014         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19015         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19016         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19017         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19018         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19019         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19021         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19022         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19024         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19025         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19026         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19027         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19028         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19029         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19030         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19031         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19032         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19033         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19034         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19035         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19036         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19037         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19039         Update #include.
19040         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19041         Likewise.
19042         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19043         Likewise.
19044         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19045         Likewise.
19046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19047         Likewise.
19048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19049         Likewise.
19050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19051         Likewise.
19052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19053         Likewise.
19054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19055         Likewise.
19056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19057         Likewise.
19058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19059         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19061         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19063         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19064         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19065         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19066         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19067         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19068         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19069         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19070         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19071         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19072         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19074         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19075         that was previously under [RESET_PID].
19076         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19077         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19078         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19080         * sysdeps/i386/nptl/Implies: New file.
19081         * sysdeps/x86_64/nptl/Implies: New file.
19082         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19083         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19084         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19085         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19087         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19088         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19089         (__libc_vfork): New strong alias.
19090         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19091         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19093         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19094         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19095         (__libc_vfork): New strong alias.
19096         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19097         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19099         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19100         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19101         (__libc_vfork): New strong alias.
19102         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19103         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19104         * nptl/pt-vfork.c: New file.
19105         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19106         (libpthread: GLIBC_2.20): New version set (empty).
19108 2014-05-14  Will Newton  <will.newton@linaro.org>
19110         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19111         rather than #if.
19113 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19115         [BZ #16564]
19116         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19117         arguments with exponent 65 or above.
19118         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19119         arguments 0x1p113L or above.
19120         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19121         to arguments 0x1p107L or above.
19122         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19123         positive arguments with exponent 65 or above.
19124         * math/auto-libm-test-in: Add more tests of log1p.
19125         * math/auto-libm-test-out: Regenerated.
19127         [BZ #16928]
19128         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19129         non-finite arguments is +0.
19130         * math/s_cacosf.c (__cacosf): Likewise.
19131         * math/s_cacosl.c (__cacosl): Likewise.
19132         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19133         * sysdeps/i386/fpu/libm-test-ulps: Update.
19134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19136         [BZ #16927]
19137         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19138         value.
19139         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19140         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19141         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19142         for explicit high bit of mantissa when testing for argument equal
19143         to 1.
19144         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19145         * sysdeps/i386/fpu/libm-test-ulps: Update.
19146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19148         [BZ #16516]
19149         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19150         (__erf): Scale by 16 instead of 8 in potentially underflowing
19151         case.  Ensure exception if result actually underflows.
19152         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19153         (__erff): Scale by 16 instead of 8 in potentially underflowing
19154         case.  Ensure exception if result actually underflows.
19155         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19156         (efx8): Remove variable.
19157         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19158         case.  Ensure exception if result actually underflows.
19159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19160         (efx8): Remove variable.
19161         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19162         case.  Ensure exception if result actually underflows.
19163         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19164         (efx8): Remove variable.
19165         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19166         case.  Ensure exception if result actually underflows.
19167         * math/auto-libm-test-in: Add more tests of erf.
19168         * math/auto-libm-test-out: Regenerated.
19170 2014-05-14  Andreas Schwab  <schwab@suse.de>
19172         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19173         Remove code conditionalized on USE___THREAD.
19175         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19176         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19177         not definedness.
19179 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19181         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19182         Define unconditionally.
19183         (__ASSUME_O_CLOEXEC): Likewise.
19184         (__ASSUME_SOCK_CLOEXEC): Likewise.
19185         (__ASSUME_IN_NONBLOCK): Likewise.
19186         (__ASSUME_PIPE2): Likewise.
19187         (__ASSUME_EVENTFD2): Likewise.
19188         (__ASSUME_SIGNALFD4): Likewise.
19189         (__ASSUME_DUP3): Likewise.
19190         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19191         (__ASSUME_DUP3): Do not define.
19192         (__ASSUME_EVENTFD2): Likewise.
19193         (__ASSUME_IN_NONBLOCK): Likewise.
19194         (__ASSUME_O_CLOEXEC): Likewise.
19195         (__ASSUME_PIPE2): Likewise.
19196         (__ASSUME_SIGNALFD4): Likewise.
19197         (__ASSUME_SOCK_CLOEXEC): Likewise.
19198         (__ASSUME_UTIMES): Undefine.
19199         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19200         (__ASSUME_UTIMES): Do not define.
19201         (__ASSUME_O_CLOEXEC): Likewise.
19202         (__ASSUME_SOCK_CLOEXEC): Likewise.
19203         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19204         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19205         0x020621].
19206         (__ASSUME_PIPE2): Likewise.
19207         (__ASSUME_EVENTFD2): Likewise.
19208         (__ASSUME_SIGNALFD4): Likewise.
19209         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19210         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19211         Do not define.
19212         (__ASSUME_EVENTFD2): Likewise.
19213         (__ASSUME_SIGNALFD4): Likewise.
19214         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19215         (__ASSUME_32BITUIDS): Likewise.
19216         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19217         (__ASSUME_IPC64): Likewise.
19218         (__ASSUME_ST_INO_64_BIT): Likewise.
19219         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19220         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19221         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19222         (__ASSUME_UTIMES): Do not define.
19223         (__ASSUME_PSELECT): Likewise.
19224         (__ASSUME_PPOLL): Likewise.
19225         (__ASSUME_O_CLOEXEC): Likewise.
19226         (__ASSUME_SOCK_CLOEXEC): Likewise.
19227         (__ASSUME_IN_NONBLOCK): Likewise.
19228         (__ASSUME_PIPE2): Likewise.
19229         (__ASSUME_EVENTFD2): Likewise.
19230         (__ASSUME_SIGNALFD4): Likewise.
19231         (__ASSUME_DUP3): Likewise.
19232         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19233         (__ASSUME_UTIMES): Likewise.
19234         (__ASSUME_O_CLOEXEC): Likewise.
19235         (__ASSUME_SOCK_CLOEXEC): Likewise.
19236         (__ASSUME_IN_NONBLOCK): Likewise.
19237         (__ASSUME_PIPE2): Likewise.
19238         (__ASSUME_EVENTFD2): Likewise.
19239         (__ASSUME_SIGNALFD4): Likewise.
19240         (__ASSUME_DUP3): Likewise.
19241         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19242         (__ASSUME_UTIMES): Likewise.
19243         (__ASSUME_O_CLOEXEC): Likewise.
19244         (__ASSUME_SOCK_CLOEXEC): Likewise.
19245         (__ASSUME_IN_NONBLOCK): Likewise.
19246         (__ASSUME_PIPE2): Likewise.
19247         (__ASSUME_EVENTFD2): Likewise.
19248         (__ASSUME_SIGNALFD4): Likewise.
19249         (__ASSUME_DUP3): Likewise.
19250         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19251         Likewise.
19252         (__ASSUME_UTIMES): Likewise.
19253         (__ASSUME_EVENTFD2): Likewise.
19254         (__ASSUME_SIGNALFD4): Likewise.
19255         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19256         (__ASSUME_O_CLOEXEC): Likewise.
19257         (__ASSUME_SOCK_CLOEXEC): Likewise.
19258         (__ASSUME_IN_NONBLOCK): Likewise.
19259         (__ASSUME_PIPE2): Likewise.
19260         (__ASSUME_EVENTFD2): Likewise.
19261         (__ASSUME_SIGNALFD4): Likewise.
19262         (__ASSUME_DUP3): Likewise.
19263         (__ASSUME_UTIMES): Undefine.
19265         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19266         feclearexcept.  Remove symbol versioning code.
19267         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19268         symbol versioning code.
19269         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19270         symbol versioning code.
19271         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19272         feupdateenv.  Remove symbol versioning code.
19273         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19274         fegetexceptflag.  Remove symbol versioning code.
19275         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19276         fesetexceptflag.  Remove symbol versioning code.
19277         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19278         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19279         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19280         (__posix_fadvise64_l32): Remove prototype.
19281         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19282         code.
19284 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19286         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19287         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19288         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19289         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19291 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19293         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19294         current working directory
19296 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19298         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19299         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19300         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19301         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19302         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19303         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19304         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19305         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19306         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19307         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19308         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19309         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19310         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19311         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19312         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19313         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19314         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19315         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19316         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19317         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19318         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19319         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19320         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19321         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19322         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19323         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19324         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19325         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19326         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19327         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19328         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19329         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19330         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19331         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19332         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19333         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19334         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19335         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19336         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19337         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19338         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19339         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19341         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19342         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19344         * sysdeps/unix/sysv/linux/arm/Makefile
19345         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19346         Add rt-aeabi_unwind_cpp_pr1.
19347         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19348         Add nptl-aeabi_unwind_cpp_pr1.
19349         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19350         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19351         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19352         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19353         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19354         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19356         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19357         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19358         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19359         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19361         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19362         Deconditionalize the code that was previously under [RESET_PID].
19363         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19365         * sysdeps/generic/exit-thread.h: New file.
19366         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19367         * include/unistd.h (__exit_thread): Remove declaration.
19368         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19369         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19370         * csu/libc-start.c: Include <exit-thread.h>.
19371         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19372         * nptl/pthread_create.c: Include <exit-thread.h>.
19373         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19374         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19375         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19376         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19377         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19378         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19379         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19380         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19381         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19382         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19383         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19384         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19385         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19386         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19387         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19388         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19389         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19391 2014-05-13  Andreas Schwab  <schwab@suse.de>
19393         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19395 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19397         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19398         (__ASSUME_UTIMES): Do not condition on kernel version.
19399         (__ASSUME_PSELECT): Define unconditionally.
19400         (__ASSUME_PPOLL): Likewise.
19401         (__ASSUME_ATFCTS): Likewise.
19402         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19403         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19404         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19405         (__ASSUME_UTIMENSAT): Define unconditionally.
19406         (__ASSUME_PRIVATE_FUTEX): Likewise.
19407         (__ASSUME_FALLOCATE): Likewise.
19408         (__ASSUME_O_CLOEXEC): Likewise.
19409         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19410         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19411         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19412         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19413         (__ASSUME_IN_NONBLOCK): Likewise.
19414         (__ASSUME_PIPE2): Likewise.
19415         (__ASSUME_EVENTFD2): Likewise.
19416         (__ASSUME_SIGNALFD4): Likewise.
19417         (__ASSUME_DUP3): Likewise.
19418         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19419         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19420         (__ASSUME_AT_RANDOM): Likewise.
19421         (__ASSUME_PREADV): Likewise.
19422         (__ASSUME_PWRITEV): Likewise.
19423         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19424         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19425         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19426         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19427         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19428         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19429         (__ASSUME_O_CLOEXEC): Define unconditionally.
19430         (__ASSUME_PSELECT): Do not undefine conditionally.
19431         (__ASSUME_PPOLL): Likewise.
19432         (__ASSUME_ATFCTS): Likewise.
19433         (__ASSUME_SET_ROBUST_LIST): Likewise.
19434         (__ASSUME_UTIMENSAT): Likewise.
19435         (__ASSUME_FDATASYNC): Define unconditionally.
19436         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19437         (__ASSUME_SIGFRAME_V2): Likewise.
19438         )__ASSUME_EVENTFD2): Likewise.
19439         (__ASSUME_SIGNALFD4): Likewise.
19440         (__ASSUME_PSELECT): Do not undefine conditionally.
19441         (__ASSUME_PPOLL): Likewise.
19442         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19443         (__ASSUME_PSELECT): Define unconditionally.
19444         (__ASSUME_PPOLL): Likewise.
19445         (__ASSUME_O_CLOEXEC): Likewise.
19446         (__ASSUME_SOCK_CLOEXEC): Likewise.
19447         (__ASSUME_IN_NONBLOCK): Likewise.
19448         (__ASSUME_PIPE2): Likewise.
19449         (__ASSUME_EVENTFD2): Likewise.
19450         (__ASSUME_SIGNALFD4): Likewise.
19451         (__ASSUME_DUP3): Likewise.
19452         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19453         (__ASSUME_O_CLOEXEC): Likewise.
19454         (__ASSUME_SOCK_CLOEXEC): Likewise.
19455         (__ASSUME_IN_NONBLOCK): Likewise.
19456         (__ASSUME_PIPE2): Likewise.
19457         (__ASSUME_EVENTFD2): Likewise.
19458         (__ASSUME_SIGNALFD4): Likewise.
19459         (__ASSUME_DUP3): Likewise.
19460         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19461         (__ASSUME_EVENTFD2): Likewise.
19462         (__ASSUME_SIGNALFD4): Likewise.
19463         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19465 2014-05-12  Andreas Schwab  <schwab@suse.de>
19467         [BZ #16932]
19468         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19469         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19470         than maximum RPC packet size.
19471         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19472         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19473         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19474         (_nss_nis_getservbyport_r): Likewise.
19476 2014-05-12  Will Newton  <will.newton@linaro.org>
19478         * malloc/Makefile (tests): Add tst-mallopt.
19479         * malloc/tst-mallopt.c: New file.
19481 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19483         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19484         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19486 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19488         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19489         (tst-tlsmod6.so): Likewise.
19491 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19493         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19495 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19497         [BZ #16064]
19498         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19499         and <dl-procinfo.h>.
19500         (__fegetenv): Save SSE state in envp->__eip if supported.
19501         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19502         envp->__eip if supported.
19503         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19504         and <dl-procinfo.h>.
19505         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19506         __data_offset and __data_selector in environment to 0.  Set SSE
19507         state if supported.
19508         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19509         test-fenv-sse.
19510         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19511         -mfpmath=sse.
19512         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19514 2014-05-09  Will Newton  <will.newton@linaro.org>
19516         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19517         and libc_relro_required for ARM.
19518         * sysdeps/arm/preconfigure: Regenerate.
19520 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19521             Stefan Liebler  <stli@linux.vnet.ibm.com>
19523         * config.make.in (enable-lock-elision): New Makefile variable.
19524         * configure.ac: Likewise.
19525         * configure: Regenerate.
19526         * sysdeps/s390/configure.ac:
19527         Add check for gcc transactions support.
19528         * sysdeps/s390/configure: Regenerate.
19529         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19530         Build elision files if enabled.
19531         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19532         Add lock elision support for s390.
19533         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19534         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19535         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19536         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19537         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19538         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19539         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19540         Likewise.
19541         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19542         Likewise.
19543         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19544         Likewise.
19545         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19546         Likewise.
19547         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19548         (__lll_timedlock_elision, __lll_lock_elision)
19549         (__lll_unlock_elision, __lll_trylock_elision)
19550         (lll_timedlock_elision, lll_lock_elision)
19551         (lll_unlock_elision, lll_trylock_elision): Add.
19552         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19553         (pthread_mutex_t): Add lock elision support for s390.
19555 2014-05-14  Wilco  <wdijkstr@arm.com>
19557         * sysdeps/arm/fclrexcpt.c: Cleanup.
19558         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19559         * sysdeps/arm/feenablxcpt.c: Cleanup.
19560         * sysdeps/arm/fegetenv.c: Cleanup.
19561         * sysdeps/arm/fegetexcept.c: Cleanup.
19562         * sysdeps/arm/fegetround.c: Cleanup.
19563         * sysdeps/arm/feholdexcpt.c: Cleanup.
19564         * sysdeps/arm/fesetenv.c: Cleanup.
19565         * sysdeps/arm/fesetround.c: Cleanup.
19566         * sysdeps/arm/feupdateenv.c: Cleanup.
19567         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19568         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19569         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19570         * sysdeps/arm/ftestexcept.c: Cleanup.
19571         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19572         * sysdeps/arm/setfpucw.c: Cleanup.
19574 2014-05-09  Will Newton  <will.newton@linaro.org>
19576         * sysdeps/arm/armv7/strcmp.S: New file.
19577         * NEWS: Mention addition of ARMv7 optimized strcmp.
19579 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19581         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19582         look for %.ac rather than %.in.
19584         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19585         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19586         * sysdeps/mach/hurd/configure: Regenerated.
19587         * sysdeps/unix/sysv/linux/configure: Regenerated.
19589         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19591 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19593         [BZ# 16922]
19594         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19595         (LONG_SUB): Ditto.
19596         (PTR_SUB): Ditto.
19598 2014-05-07  Andreas Schwab  <schwab@suse.de>
19600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19601         when skipping over non-matching result from nscd.
19603 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19605         [BZ #16876]
19606         * nptl/sockperf.c (client): Check socket return value.
19608         [BZ #16877]
19609         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19610         nscd security class.
19612 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19614         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19615         * sysdeps/arm/unwind.h: ... here.
19617 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19619         [BZ# 16916]
19620         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19621         Define.
19623 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19625         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19626         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19627         multiarch strncpy for PPC64.
19628         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19629         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19631         multiarch optimizations.
19632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19633         (__libc_ifunc_impl_list): Likewise.
19634         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19635         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19636         multiarch stpncpy for PPC64.
19637         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19638         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19640 2014-05-06  Andreas Schwab  <schwab@suse.de>
19642         [BZ #16912]
19643         * gmon/mcount.c (_MCOUNT_DECL): Use
19644         atomic_compare_and_exchange_bool_acq instead of
19645         catomic_compare_and_exchange_bool_acq.
19647 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19649         * elf/Makefile (others, install-bin): Remove pldd.
19650         (pldd-modules): Variable removed.
19651         ($(objpfx)pldd): Target removed.
19652         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19653         (others, install-bin): Append pldd here.
19654         ($(objpfx)pldd): New target.
19656         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19657         to 0, so the first #if test emitted later doesn't see it undefined.
19658         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19659         * sysdeps/gnu/errlist.c: Regenerated.
19661 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19663         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19664         [libc_hidden_builtin_def]: Define to empty value.
19665         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19666         [libc_hidden_builtin_def]: Likewise.
19667         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19668         [libc_hidden_builtin_def]: Likewise.
19669         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19670         [libc_hidden_builtin_def]: Likewise.
19671         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19672         __redirect_memcpy and define ifunc as default hidden symbol.
19673         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19674         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19676 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19678         * locale/iso-4217.def: Reintroduce XDR currency.
19680 2014-05-04  Allan McRae  <allan@archlinux.org>
19682         * po/eo.po: Update Esperanto translation from translation project.
19684 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19686         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19687         and FEATURE_INDEX_MAX to 1.
19688         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19690 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19692         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19693         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19694         * iconvdata/big5.c (ONE_DIRECTION): Define.
19695         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19696         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19697         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19698         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19699         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19700         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19701         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19702         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19703         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19704         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19705         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19706         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19707         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19708         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19709         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19710         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19711         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19712         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19713         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19714         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19715         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19716         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19717         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19718         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19719         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19720         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19721         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19722         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19723         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19724         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19725         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19726         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19727         * iconvdata/johab.c (ONE_DIRECTION): Define.
19728         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19729         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19730         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19731         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19732         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19733         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19734         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19735         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19736         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19737         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19739 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19741         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19742         (_IO_JUMPS_OFFSET): Define to 0.
19744         * nptl/sysdeps/pthread/bits/libc-lock.h
19745         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19746         (__libc_lock_define_initialized_recursive): Always define using
19747         initializer.  Modern compilers treat uninitialized (implicit zero) and
19748         explicit zero initializers the same (i.e. put the datum in bss).
19750 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19752         * nscd/nscd-client.h: Include <string.h>.
19754 2014-05-01  David S. Miller  <davem@davemloft.net>
19756         [BZ #16885]
19757         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19758         multiple zero bytes exist at the end of a string.
19759         Reported by Aurelien Jarno <aurelien@aurel32.net>
19761         * string/test-strcmp.c (check): Add explicit test for situations where
19762         there are multiple zero bytes after the first.
19764 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19766         [BZ #16890]
19767         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19768         when compiling wprintf.
19769         * stdio-common/tstdiomisc.c (t3): New function.
19770         (main): Call it.
19772 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19774         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19775         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19776         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19777         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19779 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19781         * stdlib/longlong.h: Updated from GCC.
19783 2014-05-01  Will Newton  <will.newton@linaro.org>
19784             Bernard Ogden  <bernie.ogden@linaro.org>
19786         * NEWS: Update fixed bug list.
19788         [BZ #15119]
19789         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19791 2014-04-30  David S. Miller  <davem@davemloft.net>
19793         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19794         (libc_feholdexcept_setround_sparc_ctx): New function.
19795         (libc_fesetenv_sparc_ctx): Likewise.
19796         (libc_feupdateenv_sparc_ctx): Likewise.
19797         (libc_feholdsetround_sparc_ctx): Likewise.
19798         (libc_feholdexcept_setround_ctx): Define.
19799         (libc_feholdexcept_setroundf_ctx): Likewise.
19800         (libc_feholdexcept_setroundl_ctx): Likewise.
19801         (libc_fesetenv_ctx): Likewise.
19802         (libc_fesetenvf_ctx): Likewise.
19803         (libc_fesetenvl_ctx): Likewise.
19804         (libc_feupdateenv_ctx): Likewise.
19805         (libc_feupdateenvf_ctx): Likewise.
19806         (libc_feupdateenvl_ctx): Likewise.
19807         (libc_feresetround_ctx): Likewise.
19808         (libc_feresetroundf_ctx): Likewise.
19809         (libc_feresetroundl_ctx): Likewise.
19810         (libc_feholdsetround_ctx): Likewise.
19811         (libc_feholdsetroundf_ctx): Likewise.
19812         (libc_feholdsetroundl_ctx): Likewise.
19814         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19815         with __USE_GNU instead of XOPEN cpp guards.
19817         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19818         0.
19820         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19821         with XOPEN cpp guards.
19823 2014-04-30  Julian Brown  <julian@codesourcery.com>
19825         [BZ #16888]
19826         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19827         handling.
19829 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19831         [BZ #9894]
19832         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19833         Change to 2.6.32.
19834         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19835         * sysdeps/unix/sysv/linux/configure: Regenerated.
19836         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19837         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19838         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19839         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19840         * README: Update reference to required Linux kernel version.
19841         * manual/install.texi (Linux): Update reference to required Linux
19842         kernel headers version.
19843         * INSTALL: Regenerated.
19845         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19846         header inclusion.
19847         [POSIX] (limits.h): Likewise.
19848         [POSIX] (math.h): Likewise.
19849         [POSIX] (sys/wait.h): Likewise.
19850         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19851         function.
19852         [POSIX] (stddef.h): Do not allow header inclusion.
19854 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19856         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19858 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19860         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19861         Return immediately after lll_futex_wake.
19863 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19865         [BZ #16791]
19866         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19867         structure.
19868         (datahead_init_pos): Call datahead_init_common early.
19869         (datahead_init_neg): Likewise.
19871         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19872         datahead_init_neg): New functions.
19873         * nscd/aicache.c (addhstaiX): Use them.
19874         * nscd/grpcache.c (cache_addgr): Likewise.
19875         * nscd/hstcache.c (cache_addhst): Likewise.
19876         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19877         * nscd/netgroupcache.c (do_notfound): Likewise.
19878         (addgetnetgrentX): Likewise.
19879         (addinnetgrX): Likewise.
19880         * nscd/pwdcache.c (cache_addpw): Likewise.
19881         * nscd/servicescache.c (cache_addserv): Likewise.
19883 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19884             Atsushi Onoe  <atsushi@onoe.org>
19886         [BZ #14308]
19887         [BZ #12994]
19888         [BZ #13651]
19889         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19890         one response is valid.
19891         * resolv/res_send.c (send_dg): Check for validity of other
19892         response if the current response is a referral.
19894 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19896         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19898 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19900         [BZ #16823]
19901         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19902         Always divide by positive zero when computing -Inf result.
19903         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19904         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19906 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19908         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19909         FPSCR if value do not change.
19910         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19911         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19912         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19913         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19914         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19915         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19916         function.
19918 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19920         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19921         * sysdeps/unix/sysv/linux/hppa: Move directory from
19922         ports/systeps/unix/sysv/linux/hppa.
19923         * README: Update listing for hppa-*-linux-gnu.
19925 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19927         [BZ #16754]
19928         * manual/stdio.texi (Hook functions): Fix types of stream hook
19929         functions.
19930         [BZ #16854]
19931         * socket/sys/socket.h: Fix typo in comment.
19933 2014-04-28  Wilco  <wdijkstr@arm.com>
19935         * sysdeps/arm/fenv_private.h: New file.
19936         * sysdeps/arm/math_private.h: New file.
19937         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19939 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19941         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19942         with __int128_t.
19943         (La_x86_64_retval): Likewise.
19945 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19947         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19948         fpsr if value didn't change.
19949         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19950         to fpcr if value didn't change.
19951         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19952         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19953         fpsr or fpcr if value didn't change.
19954         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19955         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19956         fpcr if value didn't change.
19957         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19958         to fpsr if value didn't change.
19960 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19962         * nptl/tst-sem3.c: Use test-skeleton.c
19963         (main): Rename to do_test.  Use return instead of
19964         exit.
19965         * nptl/tst-sem4.c: Use test-skeleton.c
19966         (main): Rename to do_test.
19968 2014-04-22  David S. Miller  <davem@davemloft.net>
19970         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19971         (struct sigaction): New struct member __glibc_reserved0, change
19972         type of sa_flags to int.
19974 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19976         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19977         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19979 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19981         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19982         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19984 2014-04-22  Will Newton  <will.newton@linaro.org>
19985             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19987         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19988         (__longjmp): Add longjmp and longjmp_target SystemTap
19989         probes.
19990         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19991         (__sigsetjmp): Add setjmp SystemTap probe.
19993 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19995         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19996         match manual order.
19998 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20000         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20002         * sysdeps/powerpc/fpu/fenv_private.h
20003         (libc_feholdexcept_setroundl_ctx): Define to
20004         libc_feholdexcept_setround_ppc_ctx.
20005         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20006         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20007         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20008         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20010 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20012         * sysdeps/aarch64/math-tests.h: New file.
20014 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20016         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20017         New.
20018         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20019         Check and set bit_AVX2_Usable.
20020         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20021         macro.
20022         (bit_AVX2): Likewise.
20023         (index_AVX2_Usable): Likewise.
20024         (CPUID_AVX2): Likewise.
20025         (HAS_AVX2): Likewise.
20027 2014-04-17  Will Newton  <will.newton@linaro.org>
20029         * manual/setjmp.texi (System V contexts): Add note that
20030         calling setcontext on a context created by a call to a
20031         signal handler is undefined.  Update text to note that
20032         setcontext from a signal handler is possible but not
20033         recommended.
20035         [BZ #16629]
20036         * stdlib/tst-setcontext.c: Include signal.h.
20037         (main): Check that the signal stack before and
20038         after swapcontext is the same.
20040         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20041         Re-implement to restore registers in user code and avoid
20042         rt_sigreturn system call.
20044 2014-04-17  Wilco  <wdijkstr@arm.com>
20046         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20047         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20048         * math/test-fenv.c: Skip exception trap tests on targets which only
20049         support non-stop mode.
20051 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20052             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20054         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20055         (libc_feholdsetround_aarch64_ctx)
20056         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20057         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20058         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20059         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20060         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20061         (libc_feresetround_noexl_ctx): Define.
20063 2014-04-16  Richard Henderson  <rth@redhat.com>
20065         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20067         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20068         unwind tables.
20070         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20071         const from the non-libc, non-ldso copy.
20073         * sysdeps/alpha/libm-test-ulps: Regenerate.
20075 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20076             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20078         * sysdeps/aarch64/fpu/math_private.h: New file.
20080 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20082         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20084 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20086         [BZ #16275]
20087         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20088         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20089         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20090         Intel MPX bound registers before _dl_profile_fixup.
20091         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20092         registers after _dl_profile_fixup.  Save and restore bound
20093         registers bnd0/bnd1 when calling _dl_call_pltexit.
20094         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20095         (LR_BND_OFFSET): Likewise.
20096         (LRV_BND0_OFFSET): Likewise.
20097         (LRV_BND1_OFFSET): Likewise.
20099 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20101         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20102         to...
20103         * sysdeps/mach/hurd/i386/tls.h: ... here.
20104         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20105         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20106         fields.
20108 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20110         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20112 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20114         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20116 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20118         [BZ #14770]
20119         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20120         * sysdeps/s390/configure: Regenerate.
20122         [BZ #16824]
20123         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20124         Set round-to-nearest internally to reduce error accumulation.
20126 2014-04-16  Alan Modra  <amodra@gmail.com>
20128         [BZ #16740]
20129         [BZ #16619]
20130         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20131         * math/libm-test.inc (frexp_test_data): Add tests.
20132         * NEWS: Update fixed bug list.
20134 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20136         * benchtests/Makefile: Depend on libraries in build directory.
20137         (bench-math): Separate out math tests.
20138         (bench-pthread): Separate out pthread tests.
20139         (bench): Include math and pthread tests.
20141 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20143         [BZ #16831]
20144         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20145         _dl_debug_initialize.
20147         * configure.ac: Remove SELinux header check.
20148         * configure: Regenerate.
20149         * nscd/selinux.c (perms): Array of const char* to permission names.
20150         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20151         default policy. Call string_to_security_class and string_to_av_perm to
20152         translate strings. Enforce default policy and call avs_has_perm with
20153         results of translated strings.
20155 2014-04-13  David S. Miller  <davem@davemloft.net>
20157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20159 2014-04-12  Allan McRae  <allan@archlinux.org>
20161         [BZ #16838]
20162         * manual/string.texi (Collation Functions): Fix qsort argument
20163         order in example.
20164         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20166 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20168         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20169         Make the test a no-op if there are no exceptions defined.
20171 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20173         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20174         enable-hardcoded-path-in-tests
20176 2014-04-11  Will Newton  <will.newton@linaro.org>
20178         * benchtests/Makefile (extra-objs): Add json-lib.o.
20179         (bench-func): Tidy up JSON output.
20180         * benchtests/bench-skeleton.c: Include json-lib.h.
20181         (main): Use JSON library functions to do output of
20182         benchmark results.
20183         * benchtests/bench-timing-type.c (main): Output the
20184         timing type simply, leaving formatting to the user.
20185         * benchtests/json-lib.c: New file.
20186         * benchtests/json-lib.h: Likewise.
20188 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20190         [BZ #15215]
20191         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20192         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20193         memory barriers.  Add comments.
20194         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20195         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20196         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20197         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20198         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20199         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20201 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20203         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20204         * sysdeps/s390/s390-64/configure.ac: ... this ...
20205         * sysdeps/s390/configure.ac: ... to here.
20206         * sysdeps/s390/s390-32/configure: Delete file.
20207         * sysdeps/s390/s390-64/configure: Delete file.
20208         * sysdeps/s390/configure: Regenerate.
20210 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20212         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20214 2014-04-11  Will Newton  <will.newton@linaro.org>
20216         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20217         to zero if it is not defined elsewhere.  (mtrim): Test
20218         the value of MALLOC_DEBUG with #if rather than #ifdef.
20220 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20222         * benchtests/pthread_once-inputs: New file.
20223         * benchtests/pthread_once-source.c: New file.
20224         * benchtests/README: Update documentation.
20226 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20227             H.J. Lu  <hongjiu.lu@intel.com>
20229         [BZ #16275]
20230         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20231         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20232         * sysdeps/x86_64/configure: Regenerated.
20233         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20234         macro.
20235         (REGISTER_SAVE_RAX): Likewise.
20236         (REGISTER_SAVE_RCX): Likewise.
20237         (REGISTER_SAVE_RDX): Likewise.
20238         (REGISTER_SAVE_RSI): Likewise.
20239         (REGISTER_SAVE_RDI): Likewise.
20240         (REGISTER_SAVE_R8): Likewise.
20241         (REGISTER_SAVE_R9): Likewise.
20242         (REGISTER_SAVE_BND0): Likewise.
20243         (REGISTER_SAVE_BND1): Likewise.
20244         (REGISTER_SAVE_BND2): Likewise.
20245         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20246         bound registers when calling _dl_fixup.
20248 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20250         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20251         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20252         of its definition.
20253         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20254         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20255         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20256         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20257         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20258         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20259         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20261 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20263         [BZ #15514]
20264         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20265         pathconf(_PC_NAME_MAX).
20267 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20269         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20270         Remove macro usage.
20271         (__PTHREAD_SPINS): Move definition to ...
20272         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20273         (__PTHREAD_SPINS): ... here.
20274         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20275         (__PTHREAD_SPIN): Likewise.
20276         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20277         (__PTHREAD_SPIN): Likewise.
20278         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20279         (__PTHREAD_SPIN): Likewise.
20280         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20281         (__PTHREAD_SPIN): Likewise.
20282         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20283         (__PTHREAD_SPIN): Likewise.
20284         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20285         (__PTHREAD_SPIN): Likewise.
20286         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20287         (__PTHREAD_SPIN): Likewise.
20288         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20289         (__PTHREAD_SPIN): Likewise.
20290         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20291         (__PTHREAD_SPIN): Likewise.
20292         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20293         (__PTHREAD_SPIN): Likewise.
20294         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20295         (__PTHREAD_SPIN): Likewise.
20296         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20297         (__PTHREAD_SPIN): Likewise.
20299         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20300         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20301         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20302         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20303         imply folder.
20304         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20305         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20306         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20307         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20308         correct imply path.
20309         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20310         strlen symbol for non multi-arch builds.
20311         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20312         missing hidden_def and weak_alias.
20314 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20316         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20318 2014-04-07  Will Newton  <will.newton@linaro.org>
20320         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20321         and contents.  [!_LIBC] Remove #ifndef and contents.
20322         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20323         * string/memccpy.c (__memccpy): Use ANSI prototype.
20324         * string/memfrob.c (memfrob): Likewise.
20325         * string/strcoll.c (STRCOLL): Likewise.
20326         * string/strlen.c (strlen): Likewise.
20327         * string/strtok.c (STRTOK): Likewise.
20328         * string/strcat.c: Remove unused #include of memcopy.h.
20329         (strcat): Use ANSI prototype.
20330         * string/strchr.c: Remove unused #include of memcopy.h.
20331         (strchr): Use ANSI prototype.
20332         * string/strcmp.c: Remove unused #include of memcopy.h.
20333         (strcmp): Use ANSI prototype.
20334         * string/strcpy.c: Remove unused #include of memcopy.h.
20335         (strcpy): Use ANSI prototype.
20337 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20339         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20340         * config.make.in (config-extra-cppflags): Set it from
20341         libc_extra_cppflags.
20342         * configure.ac (libc_extra_cflags): Make it accumulate over
20343         configure fragments.
20344         (libc_extra_cppflags): New flag.
20345         * configure. Regenerate.
20346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20347         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20348         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20351         [BZ #16815]
20352         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20353         result for FE_DOWNWARD rounding mode.
20354         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20355         Likewise.
20356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20358 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20360         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20361         in function argument name.
20363 2014-04-03  David Svoboda  <svoboda@cert.org>
20365         [BZ #5666]
20366         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20367         explicitly.
20369 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20371         * elf/dl-unmap-segments.h: New file.
20372         * sysdeps/generic/ldsodefs.h
20373         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20374         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20375         * elf/dl-fptr.c: Likewise.
20376         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20377         * sysdeps/aarch64/tlsdesc.c: Likewise.
20378         * sysdeps/arm/tlsdesc.c: Likewise.
20379         * sysdeps/i386/tlsdesc.c: Likewise.
20380         * sysdeps/tile/dl-runtime.c: Likewise.
20381         * sysdeps/x86_64/tlsdesc.c: Likewise.
20382         * elf/dl-load.h: New file.
20383         * elf/dl-load.c: Include it.
20384         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20385         Macros moved to dl-load.h.
20386         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20387         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20388         Use _dl_unmap_segments in place of __munmap.
20389         Break out segment-mapping loop into ...
20390         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20392 2014-04-03  Will Newton  <will.newton@linaro.org>
20394         * elf/dl-lookup.c (do_lookup_x): Remove comment
20395         referring to nested function and move variable
20396         declarations down to before first use.
20398 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20400         [BZ #16799]
20401         [BZ #16800]
20402         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20403         with 0 numerator.
20404         * math/s_catanf.c (__catanf): Likewise.
20405         * math/s_catanh.c (__catanh): Likewise.
20406         * math/s_catanhf.c (__catanhf): Likewise.
20407         * math/s_catanhl.c (__catanhl): Likewise.
20408         * math/s_catanl.c (__catanl): Likewise.
20409         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20410         by positive zero when computing -Inf result.
20411         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20412         (catanh_test): Likewise.
20413         * sysdeps/i386/fpu/libm-test-ulps: Update.
20414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20416         [BZ #16789]
20417         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20418         instead of using underflowing value in computing result.
20419         * math/s_clog10.c (__clog10): Likewise.
20420         * math/s_clog10f.c (__clog10f): Likewise.
20421         * math/s_clog10l.c (__clog10l): Likewise.
20422         * math/s_clogf.c (__clogf): Likewise.
20423         * math/s_clogl.c (__clogl): Likewise.
20424         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20425         (clog10_test): Likewise.
20426         * sysdeps/i386/fpu/libm-test-ulps: Update.
20427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20429 2014-04-02  Alan Modra  <amodra@gmail.com>
20431         [BZ #16739]
20432         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20433         output when value is near a power of two.  Use int64_t for lx and
20434         remove casts.  Use decimal rather than hex exponent constants.
20435         Don't use long double multiplication when double will suffice.
20436         * math/libm-test.inc (nextafter_test_data): Add tests.
20437         * NEWS: Add 16739 and 16786 to bug list.
20439         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20441         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20443 2014-04-01  Will Newton  <will.newton@linaro.org>
20445         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20446         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20448 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20450         [BZ #13347]
20451         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20452         * nptl/tst-setuid2.c: New file.
20453         * nptl/Makefile (xtests): Add tst-setuid2.
20455 2014-04-01  Alan Modra  <amodra@gmail.com>
20457         [BZ #16786]
20458         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20460 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20462         [BZ #6803]
20463         [BZ #6804]
20464         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20465         set errno as appropriate.
20466         * math/w_scalbf.c (__scalbf): Likewise.
20467         * math/w_scalbl.c (__scalbl): Likewise.
20468         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20469         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20470         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20471         Add more NaN tests.
20473         [BZ #16349]
20474         * math/w_atan2.c: Include <errno.h>.
20475         (__atan2): Set errno for result underflowing to zero.
20476         * math/w_atan2f.c: Include <errno.h>.
20477         (__atan2f): Set errno for result underflowing to zero.
20478         * math/w_atan2l.c: Include <errno.h>.
20479         (__atan2l): Set errno for result underflowing to zero.
20480         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20481         tests.
20482         * math/auto-libm-test-out: Regenerated.
20484 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20486         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20487         Encode instruction correctly in little endian.
20488         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20489         Likewise.
20490         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20491         Likewise.
20492         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20493         Likewise.
20494         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20495         Likewise.
20497 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20499         [BZ #9894]
20500         * sysdeps/unix/sysv/linux/kernel-features.h
20501         [__sparc__ && !__arch64__ && !__sparc_v9__]
20502         (__ASSUME_SET_ROBUST_LIST): Do not define.
20503         [__sparc__ && !__arch64__ && !__sparc_v9__]
20504         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20505         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20506         Likewise.
20507         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20508         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20509         (__ASSUME_REQUEUE_PI): Likewise.
20510         (__ASSUME_SET_ROBUST_LIST): Likewise.
20511         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20512         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20513         Undefine.
20514         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20515         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20516         Likewise.
20517         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20518         Likewise.
20519         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20520         Likewise.
20521         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20522         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20523         Undefine.
20524         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20525         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20526         Likewise.
20528         [BZ #16648]
20529         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20530         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20531         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20533 2014-03-31  Will Newton  <will.newton@linaro.org>
20535         * benchtests/Makefile (bench): Add ffs and ffsll to list
20536         of tests.
20537         * benchtests/ffs-inputs: New file.
20538         * benchtests/ffsll-inputs: Likewise.
20540 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20542         [BZ #16770]
20543         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20544         too large before casting to int.
20545         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20546         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20547         * math/libm-test.inc (scalb_test_data): Add more tests.
20549 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20551         * benchtests/Makefile (DETAILED_OPT): New make option.
20552         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20553         set.
20554         * benchtests/bench-skeleton.c: Include stdbool.h.
20555         (main): Store and print timings per input.
20556         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20557         member to each argument value.
20558         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20559         (_print_arg_data): Initialize per-input timing to 0.
20561         * benchtests/Makefile (timing-type): New binary.
20562         (bench-clean): Also remove bench-timing-type.
20563         (bench): New target for timing-type.
20564         (bench-func): Print output in JSON format.
20565         * benchtests/bench-skeleton.c (main): Print output in JSON
20566         format.
20567         * benchtests/bench-timing-type.c: New file.
20568         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20569         (TIMING_PRINT_STATS): Remove.
20570         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20571         name separately.
20573         * benchtests/bench-modf.c: Remove.
20574         * benchtests/modf-inputs: New inputs file.
20576 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20578         [BZ #16362]
20579         * math/s_clog10.c (M_PI_LOG10E): New macro.
20580         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20581         imaginary parts are 0.
20582         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20583         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20584         imaginary parts are 0.
20585         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20586         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20587         imaginary parts are 0.
20588         * math/libm-test.inc (clog10_test_data): Update expected results
20589         for when real and imaginary parts are 0.
20591 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20593         * elf/dl-load.c: Finish conversion of __builtin_expect into
20594         __glibc_{un}likely.
20596 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20598         [BZ #16348]
20599         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20600         1+x for argument with exponent below -67.
20601         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20602         Likewise.
20603         * math/auto-libm-test-in: Add more tests of exp.
20604         * math/auto-libm-test-out: Regenerated.
20606 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20608         [BZ #16759]
20609         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20610         (nscd_getnetgrent): Use it.
20612         [BZ #16760]
20613         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20614         of stpcpy.
20616 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20618         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20619         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20620         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20621         (lll_robust_unlock): Remove out of line section. Use cfi
20622         intrinsics.
20623         (LLL_STUB_UNWIND_INFO*): Remove.
20624         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20625         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20626         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20627         (lll_robust_unlock): Remove out of line section. Use cfi
20628         intrinsics.
20629         (LLL_STUB_UNWIND_INFO*): Remove.
20631 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20633         [BZ #16758]
20634         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20635         blank values.
20637 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20639         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20641 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20643         [BZ #16198]
20644         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20645         fnstenv.
20646         * math/test-fenv-preserve.c: New file.
20647         * math/Makefile (tests): Add test-fenv-preserve.
20649 2014-03-26  Will Newton <will.newton@linaro.org>
20651         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20653 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20655         * scripts/versionlist.awk: Partition the version sets and emit all
20656         GLIBC_* (sorted) before all others (sorted).
20658 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20660         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20661         GLIBC_2.2.5 version.
20663 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20665         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20666         calls.
20668         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20669         previous change.
20671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20673 2014-03-25  Andreas Schwab  <schwab@suse.de>
20675         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20676         label to be used after in6ailist is initialized.
20678 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20680         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20681         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20683 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20685         [BZ #16357]
20686         [BZ #16599]
20687         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20688         min_plus_half.
20689         (fp_formats): Update initializers.
20690         (init_fp_formats): Initialize new field.
20691         (output_for_one_input_case): Allow underflow for results up to
20692         min_plus_half.
20693         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20694         * math/auto-libm-test-in: Don't mark some underflows from asin and
20695         atanh as spurious.
20696         * math/auto-libm-test-out: Regenerated.
20697         * sysdeps/i386/fpu/libm-test-ulps: Update.
20698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20700 2014-03-25  Andreas Schwab  <schwab@suse.de>
20702         * libio/Makefile (tst-ftell-partial-wide-ENV)
20703         (tst-ftell-active-handler-ENV): Define.
20705 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20707         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20709 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20711         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20713 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20715         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20716         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20717         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20719 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20721         [BZ #16634]
20722         * elf/dl-load.c (open_verify): Add mode parameter.
20723         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20724         (open_path): Change from boolean 'secure' to complete flag 'mode'
20725         (_dl_map_object): Adjust.
20726         * elf/Makefile (tests): Add tst-dlopen-aout.
20727         * elf/tst-dlopen-aout.c: New test.
20729 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20731         [BZ #16714]
20732         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20733         (struct stat): Rename member pad0 to __glibc_reserved0.
20735         [BZ #16712]
20736         * sysdeps/s390/s390-32/bits/wordsize.h
20737         (__WORDSIZE32_SIZE_ULONG): New define.
20738         * sysdeps/s390/s390-64/bits/wordsize.h
20739         (__WORDSIZE32_SIZE_ULONG): Likewise.
20740         * sysdeps/generic/stdint.h (SIZE_MAX):
20741         Define as UL if __WORDSIZE32_SIZE_ULONG.
20743         [BZ #16713]
20744         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20745         (__glibc_reserved0): New variable.
20746         (sa_flags): Change type to int.
20748         * posix/Makefile (before-compile): Use += before-compile instead
20749         of a :=.
20751         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20752         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20754 2014-03-20  Andreas Schwab  <schwab@suse.de>
20756         [BZ #16743]
20757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20758         non-matching result from nscd.
20760 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20762         * scripts/bench.py: Moved to ...
20763         * benchtests/scripts/bench.py: ... here.
20764         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20766 2014-03-24  Andreas Schwab  <schwab@suse.de>
20768         [BZ #16002]
20769         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20770         alloca_account and account alloca use for struct in6ailist.
20772 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20774         [BZ #16284]
20775         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20776         rounding mode to recompute results that overflow to infinity or
20777         underflow to zero.
20778         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20779         bug 16284.
20780         * math/auto-libm-test-out: Regenerated.
20781         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20782         (ccosh_test): Likewise.
20783         (csin_test_data): Use plus_oflow.
20784         (csin_test): Use ALL_RM_TEST.
20785         (csinh_test_data): Use plus_oflow.
20786         (csinh_test): Use ALL_RM_TEST.
20787         * sysdeps/i386/fpu/libm-test-ulps: Update.
20788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20790 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20792         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20793         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20794         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20796         [BZ #16731]
20797         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20798         when x - 1 is zero.
20799         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20800         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20801         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20802         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20803         argument is 1.
20804         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20805         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20806         zero.
20807         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20808         * sysdeps/i386/fpu/libm-test-ulps: Update.
20809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20811 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20813         * scripts/bench.pl: Remove file.
20814         * scripts/bench.py: New benchmark script.
20815         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20816         * benchtests/README: Mention python dependency.
20817         * scripts/pylintrc: New file.
20818         * scripts/pylint: New file.
20820         * bits/mathdef.h: Use #ifdef instead of #if.
20821         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20822         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20823         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20824         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20825         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20826         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20828 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20829             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20831         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20833         and strpbrk-ppc64 objects.
20834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20835         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20836         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20837         multiarch strpbrk for POWER7.
20838         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20839         multiarch strpbrk for PPC64.
20840         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20841         ifunc selector.
20842         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20843         strpbrk for POWER7.
20845 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20847         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20848         (atan_test): Likewise.
20849         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20850         (atanh_test): Use ALL_RM_TEST.
20851         (atan2_test_data): Likewise.
20852         (cabs_test): Likewise.
20853         (cacosh_test): Likewise.
20854         (carg_test): Likewise.
20855         (casin_test): Likewise.
20856         (casinh_test): Likewise.
20857         (cbrt_test): Likewise.
20858         (csqrt_test): Likewise.
20859         (erf_test): Likewise.
20860         (erfc_test): Likewise.
20861         (pow10_test): Likewise.
20862         (exp2_test): Likewise.
20863         (hypot_test): Likewise.
20864         (j0_test): Likewise.
20865         (j1_test): Likewise.
20866         (lgamma_test): Likewise.
20867         (gamma_test): Likewise.
20868         (sincos_test): Likewise.
20869         (tanh_test): Likewise.
20870         (y0_test): Likewise.
20871         (y1_test): Likewise.
20872         * sysdeps/i386/fpu/libm-test-ulps: Update.
20873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20875 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20877         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20879         and strcspn-ppc64 objects.
20880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20881         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20882         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20883         multiarch strcspn for POWER7.
20884         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20885         multiarch strcspn for PPC64.
20886         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20887         ifunc selector.
20888         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20889         strcspn for POWER7.
20891 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20893         * math/gen-libm-test.pl (generate_testfile): Expect only function
20894         name as argument to AUTO_TESTS_* and pass results for all rounding
20895         modes to parse_args.
20896         (parse_auto_input): Separate inputs of automatic tests from
20897         outputs before storing in %auto_tests.
20898         * math/libm-test.inc (acos_test_data): Update call to
20899         AUTO_TESTS_f_f.
20900         (acos_test): Use ALL_RM_TEST.
20901         (acos_tonearest_test_data): Remove.
20902         (acos_test_tonearest): Likewise.
20903         (acos_towardzero_test_data): Likewise.
20904         (acos_test_towardzero): Likewise.
20905         (acos_downward_test_data): Likewise.
20906         (acos_test_downward): Likewise.
20907         (acos_upward_test_data): Likewise.
20908         (acos_test_upward): Likewise.
20909         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20910         (asin_test_data): Likewise.
20911         (asin_test): Use ALL_RM_TEST.
20912         (asin_tonearest_test_data): Remove.
20913         (asin_test_tonearest): Likewise.
20914         (asin_towardzero_test_data): Likewise.
20915         (asin_test_towardzero): Likewise.
20916         (asin_downward_test_data): Likewise.
20917         (asin_test_downward): Likewise.
20918         (asin_upward_test_data): Likewise.
20919         (asin_test_upward): Likewise.
20920         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20921         (atan_test_data): Likewise.
20922         (atanh_test_data): Likewise.
20923         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20924         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20925         (carg_test_data): Likewise.
20926         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20927         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20928         (ccosh_test_data): Likewise.
20929         (cexp_test_data): Likewise.
20930         (clog_test_data): Likewise.
20931         (clog10_test_data): Likewise.
20932         (cos_test_data): Update call to AUTO_TESTS_f_f.
20933         (cos_test): Use ALL_RM_TEST.
20934         (cos_tonearest_test_data): Remove.
20935         (cos_test_tonearest): Likewise.
20936         (cos_towardzero_test_data): Likewise.
20937         (cos_test_towardzero): Likewise.
20938         (cos_downward_test_data): Likewise.
20939         (cos_test_downward): Likewise.
20940         (cos_upward_test_data): Likewise.
20941         (cos_test_upward): Likewise.
20942         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20943         (cosh_test): Use ALL_RM_TEST.
20944         (cosh_tonearest_test_data): Remove.
20945         (cosh_test_tonearest): Likewise.
20946         (cosh_towardzero_test_data): Likewise.
20947         (cosh_test_towardzero): Likewise.
20948         (cosh_downward_test_data): Likewise.
20949         (cosh_test_downward): Likewise.
20950         (cosh_upward_test_data): Likewise.
20951         (cosh_test_upward): Likewise.
20952         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20953         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20954         (ctan_test_data): Likewise.
20955         (ctan_test): Use ALL_RM_TEST.
20956         (ctan_tonearest_test_data): Remove.
20957         (ctan_test_tonearest): Likewise.
20958         (ctan_towardzero_test_data): Likewise.
20959         (ctan_test_towardzero): Likewise.
20960         (ctan_downward_test_data): Likewise.
20961         (ctan_test_downward): Likewise.
20962         (ctan_upward_test_data): Likewise.
20963         (ctan_test_upward): Likewise.
20964         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20965         (ctanh_test): Use ALL_RM_TEST.
20966         (ctanh_tonearest_test_data): Remove.
20967         (ctanh_test_tonearest): Likewise.
20968         (ctanh_towardzero_test_data): Likewise.
20969         (ctanh_test_towardzero): Likewise.
20970         (ctanh_downward_test_data): Likewise.
20971         (ctanh_test_downward): Likewise.
20972         (ctanh_upward_test_data): Likewise.
20973         (ctanh_test_upward): Likewise.
20974         (erf_test_data): Update call to AUTO_TESTS_f_f.
20975         (erfc_test_data): Likewise.
20976         (exp_test_data): Likewise.
20977         (exp_test): Use ALL_RM_TEST.
20978         (exp_tonearest_test_data): Remove.
20979         (exp_test_tonearest): Likewise.
20980         (exp_towardzero_test_data): Likewise.
20981         (exp_test_towardzero): Likewise.
20982         (exp_downward_test_data): Likewise.
20983         (exp_test_downward): Likewise.
20984         (exp_upward_test_data): Likewise.
20985         (exp_test_upward): Likewise.
20986         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20987         (exp10_test): Use ALL_RM_TEST.
20988         (exp10_tonearest_test_data): Remove.
20989         (exp10_test_tonearest): Likewise.
20990         (exp10_towardzero_test_data): Likewise.
20991         (exp10_test_towardzero): Likewise.
20992         (exp10_downward_test_data): Likewise.
20993         (exp10_test_downward): Likewise.
20994         (exp10_upward_test_data): Likewise.
20995         (exp10_test_upward): Likewise.
20996         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20997         (expm1_test_data): Likewise.
20998         (expm1_test): Use ALL_RM_TEST.
20999         (expm1_tonearest_test_data): Remove.
21000         (expm1_test_tonearest): Likewise.
21001         (expm1_towardzero_test_data): Likewise.
21002         (expm1_test_towardzero): Likewise.
21003         (expm1_downward_test_data): Likewise.
21004         (expm1_test_downward): Likewise.
21005         (expm1_upward_test_data): Likewise.
21006         (expm1_test_upward): Likewise.
21007         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21008         (fma_test): Use ALL_RM_TEST.
21009         (fma_towardzero_test_data): Remove.
21010         (fma_test_towardzero): Likewise.
21011         (fma_downward_test_data): Likewise.
21012         (fma_test_downward): Likewise.
21013         (fma_upward_test_data): Likewise.
21014         (fma_test_upward): Likewise.
21015         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21016         (j0_test_data): Update call to AUTO_TESTS_f_f.
21017         (j1_test_data): Likewise.
21018         (jn_test_data): Update call to AUTO_TESTS_if_f.
21019         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21020         (log_test_data): Update call to AUTO_TESTS_f_f.
21021         (log10_test_data): Likewise.
21022         (log1p_test_data): Likewise.
21023         (log2_test_data): Likewise.
21024         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21025         (pow_tonearest_test_data): Likewise.
21026         (sin_test_data): Update call to AUTO_TESTS_f_f.
21027         (sin_test): Use ALL_RM_TEST.
21028         (sin_tonearest_test_data): Remove.
21029         (sin_test_tonearest): Likewise.
21030         (sin_towardzero_test_data): Likewise.
21031         (sin_test_towardzero): Likewise.
21032         (sin_downward_test_data): Likewise.
21033         (sin_test_downward): Likewise.
21034         (sin_upward_test_data): Likewise.
21035         (sin_test_upward): Likewise.
21036         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21037         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21038         (sinh_test): Use ALL_RM_TEST.
21039         (sinh_tonearest_test_data): Remove.
21040         (sinh_test_tonearest): Likewise.
21041         (sinh_towardzero_test_data): Likewise.
21042         (sinh_test_towardzero): Likewise.
21043         (sinh_downward_test_data): Likewise.
21044         (sinh_test_downward): Likewise.
21045         (sinh_upward_test_data): Likewise.
21046         (sinh_test_upward): Likewise.
21047         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21048         (sqrt_test): Use ALL_RM_TEST.
21049         (sqrt_tonearest_test_data): Remove.
21050         (sqrt_test_tonearest): Likewise.
21051         (sqrt_towardzero_test_data): Likewise.
21052         (sqrt_test_towardzero): Likewise.
21053         (sqrt_downward_test_data): Likewise.
21054         (sqrt_test_downward): Likewise.
21055         (sqrt_upward_test_data): Likewise.
21056         (sqrt_test_upward): Likewise.
21057         (tan_test_data): Update call to AUTO_TESTS_f_f.
21058         (tan_test): Use ALL_RM_TEST.
21059         (tan_tonearest_test_data): Remove.
21060         (tan_test_tonearest): Likewise.
21061         (tan_towardzero_test_data): Likewise.
21062         (tan_test_towardzero): Likewise.
21063         (tan_downward_test_data): Likewise.
21064         (tan_test_downward): Likewise.
21065         (tan_upward_test_data): Likewise.
21066         (tan_test_upward): Likewise.
21067         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21068         (tgamma_test_data): Likewise.
21069         (y0_test_data): Likewise.
21070         (y1_test_data): Likewise.
21071         (yn_test_data): Update call to AUTO_TESTS_if_f.
21072         (main): Do not call removed functions.
21074 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21076         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21077         (ldexp_test_data): Remove.
21078         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21079         scalbn_test_data.
21080         (scalb_test): Use ALL_RM_TEST.
21082 2014-03-19  Andreas Schwab  <schwab@suse.de>
21084         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21086 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21088         [BZ #16649]
21089         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21090         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21091         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21092         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21093         (__ASSUME_PREADV): Undefine.
21094         (__ASSUME_PWRITEV): Likewise.
21096 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21098         * bits/mman-linux.h: Add comment about non-Linux use.
21099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21100         bits/mman-linux.h resting place.
21102         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21103         * bits/mman-linux.h: ... here.
21105 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21107         * conform/conformtest.pl: Add standard definition when calling C
21108         preprocessor on data files.
21109         (checknamespace): Remove unused variable.
21111 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21113         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21114         minus_oflow, plus_uflow and minus_uflow in expected results.
21115         * math/libm-test.inc (scalbn_test_data): Add more tests of
21116         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21117         minus_uflow.
21118         (scalbn_test): Use ALL_RM_TEST.
21119         (scalbln_test_data): Add more tests of negative arguments.  Use
21120         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21121         (scalbln_test): Use ALL_RM_TEST.
21123 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21125         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21127 2014-03-18  Will Newton  <will.newton@linaro.org>
21129         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21130         inaccurate comment.
21132 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21134         * Makerules [!subdir] (check-abi): Exit with error status if a
21135         test failed.
21137 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21139         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21140         for rint.  Include results for all rounding modes.
21141         (nearbyint_test): Use ALL_RM_TEST.
21142         (rint_test_data): Include all tests used for nearbyint.
21144 2014-03-17  Will Newton  <will.newton@linaro.org>
21146         * nptl/sysdeps/pthread/pthread.h: Revert previous
21147         change.
21149         * sysdeps/generic/ldsodefs.h: Revert previous
21150         change.
21152         * libio/genops.c: Revert previous change.
21153         * libio/libioP.h: Likewise.
21154         * stdio-common/vfprintf.c: Likewise.
21156         * sysdeps/generic/math_private.h: Revert previous
21157         change.
21159         * sysdeps/generic/math_private.h: Check whether
21160         HAVE_RM_CTX is defined with #ifdef rather
21161         than #if.
21163         * argp/argp-fmtstream.h: Check whether
21164         __STRICT_ANSI__ is defined with #ifdef rather
21165         than #if.
21166         * argp/argp.h: Likewise.
21168         * libio/genops.c: Check whether
21169         _IO_JUMPS_OFFSET is defined with #ifdef rather
21170         than #if.
21171         * libio/libioP.h: Likewise.
21172         * stdio-common/vfprintf.c: Likewise.
21174         * sysdeps/generic/ldsodefs.h: Check whether
21175         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21176         than #if.
21178         * nptl/sysdeps/pthread/pthread.h: Check
21179         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21180         its value.
21182 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21184         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21185         setting O_APPEND.
21186         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21187         test case.
21189         [BZ #16680]
21190         * libio/fileops.c (_IO_file_open): Seek to end of file but
21191         don't cache the offset.
21192         (get_file_offset): Remove function.
21193         (do_ftell): Use cached offset when available.
21194         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21195         don't cache the offset.
21196         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21197         case.
21198         (do_one_test): Call it.
21199         (do_ftell_test): Fix up expected old offset for a+ mode.
21200         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21201         available.
21203         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21204         up test status with function return status.
21205         (do_write_test): Likewise.
21206         (do_append_test): Likewise.
21208         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21209         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21210         Remove.
21212 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21214         * math/gen-libm-test.pl (parse_args): Handle results specified for
21215         each rounding mode separately.
21216         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21217         tests and results from lrint_tonearest_test_data,
21218         lrint_towardzero_test_data, lrint_downward_test_data and
21219         lrint_upward_test_data.
21220         (lrint_test): Use ALL_RM_TEST.
21221         (lrint_tonearest_test_data): Remove.
21222         (lrint_test_tonearest): Likewise.
21223         (lrint_towardzero_test_data): Likewise.
21224         (lrint_test_towardzero): Likewise.
21225         (lrint_downward_test_data): Likewise.
21226         (lrint_test_downward): Likewise.
21227         (lrint_upward_test_data): Likewise.
21228         (lrint_test_upward): Likewise.
21229         (llrint_test_data): Merge in per-rounding-mode tests and results
21230         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21231         llrint_downward_test_data and llrint_upward_test_data.
21232         (llrint_test): Use ALL_RM_TEST.
21233         (llrint_tonearest_test_data): Remove.
21234         (llrint_test_tonearest): Likewise.
21235         (llrint_towardzero_test_data): Likewise.
21236         (llrint_test_towardzero): Likewise.
21237         (llrint_downward_test_data): Likewise.
21238         (llrint_test_downward): Likewise.
21239         (llrint_upward_test_data): Likewise.
21240         (llrint_test_upward): Likewise.
21241         (rint_test_data): Merge in per-rounding-mode tests and results
21242         from rint_tonearest_test_data, rint_towardzero_test_data,
21243         rint_downward_test_data and rint_upward_test_data.  Add
21244         per-rounding-mode results for tests not in those arrays.
21245         (rint_test): Use ALL_RM_TEST.
21246         (rint_tonearest_test_data): Remove.
21247         (rint_test_tonearest): Likewise.
21248         (rint_towardzero_test_data): Likewise.
21249         (rint_test_towardzero): Likewise.
21250         (rint_downward_test_data): Likewise.
21251         (rint_test_downward): Likewise.
21252         (rint_upward_test_data): Likewise.
21253         (rint_test_upward): Likewise.
21254         (main): Don't call removed functions.
21256 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21258         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21259         "Compiled on ..." crapola.  It is anti-useful.
21261 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21263         * scripts/evaluate-test.sh: Handle fourth argument to determine
21264         whether test run should stop on failure.
21265         * Makeconfig (stop-on-test-failure): New variable.
21266         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21267         $(stop-on-test-failure).
21268         * Makefile (tests): Give a summary of results from testing and
21269         exit with failure status if they include an ERROR or FAIL.
21270         (xtests): Likewise.
21271         * manual/install.texi (Configuring and compiling): Mention
21272         stop-on-test-failure=y.
21273         * INSTALL: Regenerated.
21275 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21277         * scripts/versionlist.awk: New file.
21278         * Makerules [$(build-shared) = yes]
21279         (postclean-generated): Add Versions.def, not Versions.def.v and
21280         Versions.def.v.i.
21281         ($(common-objpfx)Versions.def.v.i): Target removed.
21282         ($(common-objpfx)Versions.def): New target.
21283         ($(common-objpfx)Versions.all): Depend on that rather that
21284         $(common-objpfx)Versions.def.v.
21285         * Versions.def: File removed.
21287         * Makeconfig (+gccwarn): Add -Wundef.
21288         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21289         a dl-sysdep.h breaking its contract.
21290         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21291         * include/stackinfo.h: New file.
21292         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21293         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21294         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21295         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21296         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21297         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21298         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21299         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21300         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21301         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21302         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21303         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21304         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21305         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21306         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21308 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21310         [BZ #16707]
21311         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21312         implementation.
21313         * math/libm-test.inc (round_test_data): Add more tests.
21315         [BZ #16706]
21316         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21317         implementation.
21318         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21320         [BZ #16701]
21321         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21322         implementation.
21323         * math/libm-test.inc (ceil_test_data): Add more tests.
21325         * math/libm-test.inc (trunc_test_data): Add more tests related to
21326         BZ#16414.
21328 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21330         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21331         with #if rather than #ifdef.
21332         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21334 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21336         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21337         first.  Disable AVX-512 GCC support if assembler doesn't support
21338         it.
21339         * sysdeps/x86_64/configure: Regenerated.
21341 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21343         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21344         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21345         (__old_pthread_attr_setstack): Likewise.
21346         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21347         [!_STACK_GROWS_DOWN]: Likewise.
21349 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21351         * config.make.in (have-bash2): Delete.
21352         * configure.ac (libc_cv_have_bash2): Delete.
21353         * configure: Regenerate.
21354         * elf/Makefile (common-ldd-rewrite): Rename to ...
21355         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21356         (sh-ldd-rewrite): Delete.
21357         (bash-ldd-rewrite): Delete.
21358         (have-bash2): Delete checks.
21359         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21360         ldd-rewrite.
21362         * config.make.in (have-ksh): Delete.
21363         (KSH): Delete.
21364         * configure.ac (libc_cv_have_ksh): Delete.
21365         * configure: Regenerate.
21367         * elf/Makefile: Delete $(have-ksh) check.
21368         ($(objpfx)sotruss): Change KSH to BASH.
21369         * elf/sotruss.ksh: Rename to ...
21370         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21371         function style to match POSIX.  Drop ksh vim mode setting.
21373         * manual/time.texi (Specifying the Time Zone with TZ): Change
21374         Tuesday to Thursday.
21376         * debug/tst-longjmp_chk2.c: Update header comment.
21377         (stackoverflow_handler): Add comment.  Call assert on pass value.
21379 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21381         [BZ #16194]
21382         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21383         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21384         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21385         (La_x86_64_vector): Add zmm.
21386         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21387         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21388         ($(objpfx)tst-audit10): New target.
21389         ($(objpfx)tst-audit10.out): Likewise.
21390         (tst-audit10-ENV): New.
21391         (AVX512-CFLAGS): Likewise.
21392         (CFLAGS-tst-audit10.c): Likewise.
21393         (CFLAGS-tst-auditmod10a.c): Likewise.
21394         (CFLAGS-tst-auditmod10b.c): Likewise.
21395         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21396         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21397         * sysdeps/x86_64/configure: Regenerated.
21398         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21399         AVX-512 zmm register support.
21400         (_dl_x86_64_save_sse): Likewise.
21401         (_dl_x86_64_restore_sse): Likewise.
21402         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21403         size vector registers.
21404         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21405         (ZMM_SIZE): Likewise.
21406         * sysdeps/x86_64/tst-audit10.c: New file.
21407         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21408         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21410 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21412         * configure.ac (HAVE_EHDR_START): New check.
21413         * configure: Regenerated.
21414         * config.h.in (HAVE_EHDR_START): New #undef.
21415         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21416         assuming the lowest-addressed segment maps the start of the file.
21418 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21420         * INSTALL: Regenerated.
21422 2014-03-13  Will Newton  <will.newton@linaro.org>
21424         * manual/setjmp.texi (System V contexts): Improve
21425         clarity and grammar of documentation.
21427 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21429         [BZ #16381]
21430         * elf/Makefile (tests): Add tst-pie2.
21431         (tests-pie): Add tst-pie2.
21432         * elf/tst-pie2.c: New file.
21433         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21434         for ET_EXEC.
21435         * elf/rtld.c (map_doit): Load executable as lt_executable.
21436         (dl_main): Likewise.
21438 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21440         [BZ #16642]
21441         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21442         (__ASSUME_PSELECT): Undefine.
21444 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21446         [BZ #16689]
21447         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21448         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21449         static build.
21450         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21451         selector for static builds.
21453 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21455         [BZ #16695]
21456         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21457         key in the buffer.
21459 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21461         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21462         IFUNC selector for static builds.
21464 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21466         * sysdeps/mips/math_private.h [__mips_hard_float]
21467         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21468         libc_feresetround_mips_ctx.
21469         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21470         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21471         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21473         [BZ #16677]
21474         * math/s_nextafter.c (__nextafter): Do not return value from
21475         overflowing computation.
21476         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21477         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21478         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21479         Likewise.
21480         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21481         Likewise.
21482         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21483         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21485 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21487         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21488         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21489         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21490         the new mov targetting sp.
21492 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21494         [BZ #16683]
21495         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21496         Define it for static builds as well.
21497         (NO_BZERO_IMPL): Likewise.
21499 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21501         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21502         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21503         multiarch strspn for PPC64.
21504         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21505         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21507         (__libc_ifunc_impl_list): Likewise.
21508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21509         multiarch optimizations
21510         * string/strspn.c (strspn): Using macro to redefine symbol name.
21512 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21513             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21515         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21516         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21517         multiarch strncat for PPC64.
21518         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21519         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21521         (__libc_ifunc_impl_list): Likewise.
21522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21523         multiarch optimizations
21525 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21527         [BZ #16639]
21528         * nscd/nscd.service: Make service type forking.
21530 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21532         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21533         sign in non default rounding modes.
21534         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21536 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21538         * math/libm-test.inc (ALL_RM_TEST): New macro.
21539         (ceil_test): Use ALL_RM_TEST.
21540         (cimag_test): Likewise.
21541         (conj_test): Likewise.
21542         (copysign_test): Likewise.
21543         (cproj_test): Likewise.
21544         (creal_test): Likewise.
21545         (fabs_test): Likewise.
21546         (floor_test): Likewise.
21547         (fmax_test): Likewise.
21548         (fmin_test): Likewise.
21549         (fmod_test): Likewise.
21550         (fpclassify_test): Likewise.
21551         (frexp_test): Likewise.
21552         (ilogb_test): Likewise.
21553         (isfinite_test): Likewise.
21554         (finite_test): Likewise.
21555         (isgreater_test): Likewise.
21556         (isgreaterequal_test): Likewise.
21557         (isinf_test): Likewise.
21558         (isless_test): Likewise.
21559         (islessequal_test): Likewise.
21560         (islessgreater_test): Likewise.
21561         (isnan_test): Likewise.
21562         (isnormal_test): Likewise.
21563         (issignaling_test): Likewise.
21564         (isunordered_test): Likewise.
21565         (logb_test): Likewise.
21566         (logb_downward_test_data): Remove.
21567         (logb_test_downward): Likewise.
21568         (lround_test): Use ALL_RM_TEST.
21569         (llround_test): Likewise.
21570         (modf_test): Likewise.
21571         (nexttoward_test): Likewise.
21572         (remainder_test): Likewise.
21573         (drem_test): Likewise.
21574         (remainder_tonearest_test_data): Likewise.
21575         (remainder_test_tonearest): Likewise.
21576         (drem_test_tonearest): Likewise.
21577         (remainder_towardzero_test_data): Likewise.
21578         (remainder_test_towardzero): Likewise.
21579         (drem_test_towardzero): Likewise.
21580         (remainder_downward_test_data): Likewise.
21581         (remainder_test_downward): Likewise.
21582         (drem_test_downward): Likewise.
21583         (remainder_upward_test_data): Likewise.
21584         (remainder_test_upward): Likewise.
21585         (drem_test_upward): Likewise.
21586         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21587         (round_test): Use ALL_RM_TEST.
21588         (signbit_test): Likewise.
21589         (trunc_test): Likewise.
21590         (significand_test): Likewise.
21591         (main): Don't call removed functions.
21593 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21595         [BZ #16674]
21596         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21597         || __USE_XOPEN2K8].
21598         (ILL_ILLOPN): Likewise.
21599         (ILL_ILLADR): Likewise.
21600         (ILL_ILLTRP): Likewise.
21601         (ILL_PRVOPC): Likewise.
21602         (ILL_PRVREG): Likewise.
21603         (ILL_COPROC): Likewise.
21604         (ILL_BADSTK): Likewise.
21605         (FPE_INTDIV): Likewise.
21606         (FPE_INTOVF): Likewise.
21607         (FPE_FLTDIV): Likewise.
21608         (FPE_FLTOVF): Likewise.
21609         (FPE_FLTUND): Likewise.
21610         (FPE_FLTRES): Likewise.
21611         (FPE_FLTINV): Likewise.
21612         (FPE_FLTSUB): Likewise.
21613         (SEGV_MAPERR): Likewise.
21614         (SEGV_ACCERR): Likewise.
21615         (BUS_ADRALN): Likewise.
21616         (BUS_ADRERR): Likewise.
21617         (BUS_OBJERR): Likewise.
21618         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21619         (TRAP_TRACE): Likewise.
21620         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21621         __USE_XOPEN2K8].
21622         (CLD_KILLED): Likewise.
21623         (CLD_DUMPED): Likewise.
21624         (CLD_TRAPPED): Likewise.
21625         (CLD_STOPPED): Likewise.
21626         (CLD_CONTINUED): Likewise.
21627         (POLL_IN): Likewise.
21628         (POLL_OUT): Likewise.
21629         (POLL_MSG): Likewise.
21630         (POLL_ERR): Likewise.
21631         (POLL_PRI): Likewise.
21632         (POLL_HUP): Likewise.
21633         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21634         Likewise.
21635         (ILL_ILLOPN): Likewise.
21636         (ILL_ILLADR): Likewise.
21637         (ILL_ILLTRP): Likewise.
21638         (ILL_PRVOPC): Likewise.
21639         (ILL_PRVREG): Likewise.
21640         (ILL_COPROC): Likewise.
21641         (ILL_BADSTK): Likewise.
21642         (FPE_INTDIV): Likewise.
21643         (FPE_INTOVF): Likewise.
21644         (FPE_FLTDIV): Likewise.
21645         (FPE_FLTOVF): Likewise.
21646         (FPE_FLTUND): Likewise.
21647         (FPE_FLTRES): Likewise.
21648         (FPE_FLTINV): Likewise.
21649         (FPE_FLTSUB): Likewise.
21650         (SEGV_MAPERR): Likewise.
21651         (SEGV_ACCERR): Likewise.
21652         (BUS_ADRALN): Likewise.
21653         (BUS_ADRERR): Likewise.
21654         (BUS_OBJERR): Likewise.
21655         (BUS_MCEERR_AR): Likewise.
21656         (BUS_MCEERR_AO): Likewise.
21657         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21658         (TRAP_TRACE): Likewise.
21659         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21660         __USE_XOPEN2K8].
21661         (CLD_KILLED): Likewise.
21662         (CLD_DUMPED): Likewise.
21663         (CLD_TRAPPED): Likewise.
21664         (CLD_STOPPED): Likewise.
21665         (CLD_CONTINUED): Likewise.
21666         (POLL_IN): Likewise.
21667         (POLL_OUT): Likewise.
21668         (POLL_MSG): Likewise.
21669         (POLL_ERR): Likewise.
21670         (POLL_PRI): Likewise.
21671         (POLL_HUP): Likewise.
21672         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21673         (ILL_ILLOPN): Likewise.
21674         (ILL_ILLADR): Likewise.
21675         (ILL_ILLTRP): Likewise.
21676         (ILL_PRVOPC): Likewise.
21677         (ILL_PRVREG): Likewise.
21678         (ILL_COPROC): Likewise.
21679         (ILL_BADSTK): Likewise.
21680         (FPE_INTDIV): Likewise.
21681         (FPE_INTOVF): Likewise.
21682         (FPE_FLTDIV): Likewise.
21683         (FPE_FLTOVF): Likewise.
21684         (FPE_FLTUND): Likewise.
21685         (FPE_FLTRES): Likewise.
21686         (FPE_FLTINV): Likewise.
21687         (FPE_FLTSUB): Likewise.
21688         (SEGV_MAPERR): Likewise.
21689         (SEGV_ACCERR): Likewise.
21690         (BUS_ADRALN): Likewise.
21691         (BUS_ADRERR): Likewise.
21692         (BUS_OBJERR): Likewise.
21693         (BUS_MCEERR_AR): Likewise.
21694         (BUS_MCEERR_AO): Likewise.
21695         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21696         (TRAP_TRACE): Likewise.
21697         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21698         __USE_XOPEN2K8].
21699         (CLD_KILLED): Likewise.
21700         (CLD_DUMPED): Likewise.
21701         (CLD_TRAPPED): Likewise.
21702         (CLD_STOPPED): Likewise.
21703         (CLD_CONTINUED): Likewise.
21704         (POLL_IN): Likewise.
21705         (POLL_OUT): Likewise.
21706         (POLL_MSG): Likewise.
21707         (POLL_ERR): Likewise.
21708         (POLL_PRI): Likewise.
21709         (POLL_HUP): Likewise.
21710         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21711         Likewise.
21712         (ILL_ILLOPN): Likewise.
21713         (ILL_ILLADR): Likewise.
21714         (ILL_ILLTRP): Likewise.
21715         (ILL_PRVOPC): Likewise.
21716         (ILL_PRVREG): Likewise.
21717         (ILL_COPROC): Likewise.
21718         (ILL_BADSTK): Likewise.
21719         (ILL_BADIADDR): Likewise.
21720         (ILL_BREAK): Likewise.
21721         (FPE_INTDIV): Likewise.
21722         (FPE_INTOVF): Likewise.
21723         (FPE_FLTDIV): Likewise.
21724         (FPE_FLTOVF): Likewise.
21725         (FPE_FLTUND): Likewise.
21726         (FPE_FLTRES): Likewise.
21727         (FPE_FLTINV): Likewise.
21728         (FPE_FLTSUB): Likewise.
21729         (FPE_DECOVF): Likewise.
21730         (FPE_DECDIV): Likewise.
21731         (FPE_DECERR): Likewise.
21732         (FPE_INVASC): Likewise.
21733         (FPE_INVDEC): Likewise.
21734         (SEGV_MAPERR): Likewise.
21735         (SEGV_ACCERR): Likewise.
21736         (SEGV_PSTKOVF): Likewise.
21737         (BUS_ADRALN): Likewise.
21738         (BUS_ADRERR): Likewise.
21739         (BUS_OBJERR): Likewise.
21740         (BUS_MCEERR_AR): Likewise.
21741         (BUS_MCEERR_AO): Likewise.
21742         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21743         (TRAP_TRACE): Likewise.
21744         (TRAP_BRANCH): Likewise.
21745         (TRAP_HWBKPT): Likewise.
21746         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21747         __USE_XOPEN2K8].
21748         (CLD_KILLED): Likewise.
21749         (CLD_DUMPED): Likewise.
21750         (CLD_TRAPPED): Likewise.
21751         (CLD_STOPPED): Likewise.
21752         (CLD_CONTINUED): Likewise.
21753         (POLL_IN): Likewise.
21754         (POLL_OUT): Likewise.
21755         (POLL_MSG): Likewise.
21756         (POLL_ERR): Likewise.
21757         (POLL_PRI): Likewise.
21758         (POLL_HUP): Likewise.
21759         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21760         (ILL_ILLOPN): Likewise.
21761         (ILL_ILLADR): Likewise.
21762         (ILL_ILLTRP): Likewise.
21763         (ILL_PRVOPC): Likewise.
21764         (ILL_PRVREG): Likewise.
21765         (ILL_COPROC): Likewise.
21766         (ILL_BADSTK): Likewise.
21767         (FPE_INTDIV): Likewise.
21768         (FPE_INTOVF): Likewise.
21769         (FPE_FLTDIV): Likewise.
21770         (FPE_FLTOVF): Likewise.
21771         (FPE_FLTUND): Likewise.
21772         (FPE_FLTRES): Likewise.
21773         (FPE_FLTINV): Likewise.
21774         (FPE_FLTSUB): Likewise.
21775         (SEGV_MAPERR): Likewise.
21776         (SEGV_ACCERR): Likewise.
21777         (BUS_ADRALN): Likewise.
21778         (BUS_ADRERR): Likewise.
21779         (BUS_OBJERR): Likewise.
21780         (BUS_MCEERR_AR): Likewise.
21781         (BUS_MCEERR_AO): Likewise.
21782         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21783         (TRAP_TRACE): Likewise.
21784         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21785         __USE_XOPEN2K8].
21786         (CLD_KILLED): Likewise.
21787         (CLD_DUMPED): Likewise.
21788         (CLD_TRAPPED): Likewise.
21789         (CLD_STOPPED): Likewise.
21790         (CLD_CONTINUED): Likewise.
21791         (POLL_IN): Likewise.
21792         (POLL_OUT): Likewise.
21793         (POLL_MSG): Likewise.
21794         (POLL_ERR): Likewise.
21795         (POLL_PRI): Likewise.
21796         (POLL_HUP): Likewise.
21797         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21798         (ILL_ILLOPN): Likewise.
21799         (ILL_ILLADR): Likewise.
21800         (ILL_ILLTRP): Likewise.
21801         (ILL_PRVOPC): Likewise.
21802         (ILL_PRVREG): Likewise.
21803         (ILL_COPROC): Likewise.
21804         (ILL_BADSTK): Likewise.
21805         (FPE_INTDIV): Likewise.
21806         (FPE_INTOVF): Likewise.
21807         (FPE_FLTDIV): Likewise.
21808         (FPE_FLTOVF): Likewise.
21809         (FPE_FLTUND): Likewise.
21810         (FPE_FLTRES): Likewise.
21811         (FPE_FLTINV): Likewise.
21812         (FPE_FLTSUB): Likewise.
21813         (SEGV_MAPERR): Likewise.
21814         (SEGV_ACCERR): Likewise.
21815         (BUS_ADRALN): Likewise.
21816         (BUS_ADRERR): Likewise.
21817         (BUS_OBJERR): Likewise.
21818         (BUS_MCEERR_AR): Likewise.
21819         (BUS_MCEERR_AO): Likewise.
21820         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21821         (TRAP_TRACE): Likewise.
21822         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21823         __USE_XOPEN2K8].
21824         (CLD_KILLED): Likewise.
21825         (CLD_DUMPED): Likewise.
21826         (CLD_TRAPPED): Likewise.
21827         (CLD_STOPPED): Likewise.
21828         (CLD_CONTINUED): Likewise.
21829         (POLL_IN): Likewise.
21830         (POLL_OUT): Likewise.
21831         (POLL_MSG): Likewise.
21832         (POLL_ERR): Likewise.
21833         (POLL_PRI): Likewise.
21834         (POLL_HUP): Likewise.
21835         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21836         (ILL_ILLOPN): Likewise.
21837         (ILL_ILLADR): Likewise.
21838         (ILL_ILLTRP): Likewise.
21839         (ILL_PRVOPC): Likewise.
21840         (ILL_PRVREG): Likewise.
21841         (ILL_COPROC): Likewise.
21842         (ILL_BADSTK): Likewise.
21843         (FPE_INTDIV): Likewise.
21844         (FPE_INTOVF): Likewise.
21845         (FPE_FLTDIV): Likewise.
21846         (FPE_FLTOVF): Likewise.
21847         (FPE_FLTUND): Likewise.
21848         (FPE_FLTRES): Likewise.
21849         (FPE_FLTINV): Likewise.
21850         (FPE_FLTSUB): Likewise.
21851         (SEGV_MAPERR): Likewise.
21852         (SEGV_ACCERR): Likewise.
21853         (BUS_ADRALN): Likewise.
21854         (BUS_ADRERR): Likewise.
21855         (BUS_OBJERR): Likewise.
21856         (BUS_MCEERR_AR): Likewise.
21857         (BUS_MCEERR_AO): Likewise.
21858         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21859         (TRAP_TRACE): Likewise.
21860         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21861         __USE_XOPEN2K8].
21862         (CLD_KILLED): Likewise.
21863         (CLD_DUMPED): Likewise.
21864         (CLD_TRAPPED): Likewise.
21865         (CLD_STOPPED): Likewise.
21866         (CLD_CONTINUED): Likewise.
21867         (POLL_IN): Likewise.
21868         (POLL_OUT): Likewise.
21869         (POLL_MSG): Likewise.
21870         (POLL_ERR): Likewise.
21871         (POLL_PRI): Likewise.
21872         (POLL_HUP): Likewise.
21873         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21874         (ILL_ILLOPN): Likewise.
21875         (ILL_ILLADR): Likewise.
21876         (ILL_ILLTRP): Likewise.
21877         (ILL_PRVOPC): Likewise.
21878         (ILL_PRVREG): Likewise.
21879         (ILL_COPROC): Likewise.
21880         (ILL_BADSTK): Likewise.
21881         (ILL_DBLFLT): Likewise.
21882         (ILL_HARDWALL): Likewise.
21883         (FPE_INTDIV): Likewise.
21884         (FPE_INTOVF): Likewise.
21885         (FPE_FLTDIV): Likewise.
21886         (FPE_FLTOVF): Likewise.
21887         (FPE_FLTUND): Likewise.
21888         (FPE_FLTRES): Likewise.
21889         (FPE_FLTINV): Likewise.
21890         (FPE_FLTSUB): Likewise.
21891         (SEGV_MAPERR): Likewise.
21892         (SEGV_ACCERR): Likewise.
21893         (BUS_ADRALN): Likewise.
21894         (BUS_ADRERR): Likewise.
21895         (BUS_OBJERR): Likewise.
21896         (BUS_MCEERR_AR): Likewise.
21897         (BUS_MCEERR_AO): Likewise.
21898         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21899         (TRAP_TRACE): Likewise.
21900         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21901         __USE_XOPEN2K8].
21902         (CLD_KILLED): Likewise.
21903         (CLD_DUMPED): Likewise.
21904         (CLD_TRAPPED): Likewise.
21905         (CLD_STOPPED): Likewise.
21906         (CLD_CONTINUED): Likewise.
21907         (POLL_IN): Likewise.
21908         (POLL_OUT): Likewise.
21909         (POLL_MSG): Likewise.
21910         (POLL_ERR): Likewise.
21911         (POLL_PRI): Likewise.
21912         (POLL_HUP): Likewise.
21913         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21914         (ILL_ILLOPN): Likewise.
21915         (ILL_ILLADR): Likewise.
21916         (ILL_ILLTRP): Likewise.
21917         (ILL_PRVOPC): Likewise.
21918         (ILL_PRVREG): Likewise.
21919         (ILL_COPROC): Likewise.
21920         (ILL_BADSTK): Likewise.
21921         (FPE_INTDIV): Likewise.
21922         (FPE_INTOVF): Likewise.
21923         (FPE_FLTDIV): Likewise.
21924         (FPE_FLTOVF): Likewise.
21925         (FPE_FLTUND): Likewise.
21926         (FPE_FLTRES): Likewise.
21927         (FPE_FLTINV): Likewise.
21928         (FPE_FLTSUB): Likewise.
21929         (SEGV_MAPERR): Likewise.
21930         (SEGV_ACCERR): Likewise.
21931         (BUS_ADRALN): Likewise.
21932         (BUS_ADRERR): Likewise.
21933         (BUS_OBJERR): Likewise.
21934         (BUS_MCEERR_AR): Likewise.
21935         (BUS_MCEERR_AO): Likewise.
21936         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21937         (TRAP_TRACE): Likewise.
21938         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21939         __USE_XOPEN2K8].
21940         (CLD_KILLED): Likewise.
21941         (CLD_DUMPED): Likewise.
21942         (CLD_TRAPPED): Likewise.
21943         (CLD_STOPPED): Likewise.
21944         (CLD_CONTINUED): Likewise.
21945         (POLL_IN): Likewise.
21946         (POLL_OUT): Likewise.
21947         (POLL_MSG): Likewise.
21948         (POLL_ERR): Likewise.
21949         (POLL_PRI): Likewise.
21950         (POLL_HUP): Likewise.
21951         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21952         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21954         [BZ #16670]
21955         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21956         before #include of <time.h>.
21957         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21958         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21959         (test-xfail-UNIX98/sched.h/conform): Likewise.
21961 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21963         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21964         error absence of trapping exception support.
21965         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21967 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21969         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21970         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21971         * timezone/Makefile (testdata): Move definition above include of
21972         Rules.
21973         (test-zones): New variable.
21974         (tests-special): Add zone files.
21975         (build-testdata): Use $(evaluate-test).
21977         * elf/Makefile (tests-special): Rename tests to end with .out.
21978         ($(objpfx)noload-mem): Likewise.
21979         ($(objpfx)tst-leaks1-mem): Likewise.
21980         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21981         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21982         $(objpfx)test-iconvconfig.out.
21983         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21984         set -e inside subshell and redirect output to file.
21985         * iconvdata/Makefile (generated): Rename tests to end with .out.
21986         Correct type.
21987         (tests-special): Rename tests to end with .out.
21988         ($(objpfx)mtrace-tst-loading): Likewise.
21989         * intl/Makefile (generated): Likewise.
21990         (tests-special): Likewise.
21991         ($(objpfx)mtrace-tst-gettext): Likewise.
21992         * misc/Makefile (generated): Likewise.
21993         (tests-special): Likewise.
21994         ($(objpfx)tst-error1-mem): Likewise.
21995         * nptl/Makefile (tests-special): Likewise.
21996         ($(objpfx)tst-stack3-mem): Likewise.
21997         (generated): Likewise.
21998         * posix/Makefile (generated): Likewise.
21999         (tests-special): Likewise.
22000         (xtests-special): Likewise.
22001         ($(objpfx)tst-fnmatch-mem): Likewise.
22002         ($(objpfx)bug-regex2-mem): Likewise.
22003         ($(objpfx)bug-regex14-mem): Likewise.
22004         ($(objpfx)bug-regex21-mem): Likewise.
22005         ($(objpfx)bug-regex31-mem): Likewise.
22006         ($(objpfx)tst-vfork3-mem): Likewise.
22007         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22008         ($(objpfx)tst-pcre-mem): Likewise.
22009         ($(objpfx)tst-boost-mem): Likewise.
22010         ($(objpfx)bug-ga2-mem): Likewise.
22011         ($(objpfx)bug-glob2-mem): Likewise.
22012         * resolv/Makefile (generate): Likewise.
22013         (tests-special): Likewise.
22014         (xtests-special): Likewise.
22015         (generated): Likewise.
22016         ($(objpfx)mtrace-tst-leaks): Likewise.
22017         ($(objpfx)mtrace-tst-leaks2): Likewise.
22019         * scripts/merge-test-results.sh: New file.
22020         * Makefile (tests-special-notdir): New variable.
22021         (tests): Run merge-test-results.sh.
22022         (xtests): Likewise.
22023         * Rules (tests-special-notdir): New variable.
22024         (xtests-special-notdir): Likewise.
22025         (tests): Run merge-test-results.sh
22026         (xtests): Likewise.
22028         * Makeconfig (test-xfail-name): New variable.
22029         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22030         compute variable name for expected failures.
22031         * conform/Makefile (conformtest-headers-data): New variable.
22032         (conformtest-standards): Likewise.
22033         (conformtest-headers-ISO): Likewise.
22034         (conformtest-headers-ISO99): Likewise.
22035         (conformtest-headers-ISO11): Likewise.
22036         (conformtest-headers-POSIX): Likewise.
22037         (conformtest-headers-XPG3): Likewise.
22038         (conformtest-headers-XPG4): Likewise.
22039         (conformtest-headers-UNIX98): Likewise.
22040         (conformtest-headers-XOPEN2K): Likewise.
22041         (conformtest-headers-POSIX2008): Likewise.
22042         (conformtest-headers-XOPEN2K8): Likewise.
22043         (conformtest-header-list-base): Likewise.
22044         (conformtest-header-list-tests): Likewise.
22045         (conformtest-header-base): Likewise.
22046         (conformtest-header-tests): Likewise.
22047         (tests-special): Add $(conformtest-header-list-tests).  If
22048         [$(fast-check) && !$(cross-compiling)], add
22049         $(conformtest-header-tests) instead of
22050         $(objpfx)run-conformtest.out.
22051         (generated): Add $(conformtest-header-list-base).  If
22052         [$(fast-check) && !$(cross-compiling)], add
22053         $(conformtest-header-base).  Remove previous setting.
22054         ($(conformtest-header-list-tests)): New target.
22055         (test-xfail-run-conformtest): Remove variable.
22056         ($(objpfx)run-conformtest.out): Remove target.
22057         (test-xfail-ISO11/complex.h/conform): New variable.
22058         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22059         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22060         (test-xfail-XPG3/varargs.h/conform): Likewise.
22061         (test-xfail-XPG4/varargs.h/conform): Likewise.
22062         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22063         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22064         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22065         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22066         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22067         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22068         (test-xfail-XPG3/ftw.h/conform): Likewise.
22069         (test-xfail-XPG3/grp.h/conform): Likewise.
22070         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22071         (test-xfail-XPG3/limits.h/conform): Likewise.
22072         (test-xfail-XPG3/pwd.h/conform): Likewise.
22073         (test-xfail-XPG3/search.h/conform): Likewise.
22074         (test-xfail-XPG3/signal.h/conform): Likewise.
22075         (test-xfail-XPG3/stdio.h/conform): Likewise.
22076         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22077         (test-xfail-XPG3/string.h/conform): Likewise.
22078         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22079         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22080         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22081         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22082         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22083         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22084         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22085         (test-xfail-XPG3/termios.h/conform): Likewise.
22086         (test-xfail-XPG3/time.h/conform): Likewise.
22087         (test-xfail-XPG3/unistd.h/conform): Likewise.
22088         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22089         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22090         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22091         (test-xfail-XPG4/netdb.h/conform): Likewise.
22092         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22093         (test-xfail-XPG4/signal.h/conform): Likewise.
22094         (test-xfail-XPG4/stdio.h/conform): Likewise.
22095         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22096         (test-xfail-XPG4/stropts.h/conform): Likewise.
22097         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22098         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22099         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22100         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22101         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22102         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22103         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22104         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22105         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22106         (test-xfail-XPG4/termios.h/conform): Likewise.
22107         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22108         (test-xfail-XPG4/unistd.h/conform): Likewise.
22109         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22110         (test-xfail-POSIX/sched.h/conform): Likewise.
22111         (test-xfail-POSIX/signal.h/conform): Likewise.
22112         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22113         (test-xfail-POSIX/tar.h/conform): Likewise.
22114         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22115         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22116         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22117         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22118         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22119         (test-xfail-UNIX98/sched.h/conform): Likewise.
22120         (test-xfail-UNIX98/signal.h/conform): Likewise.
22121         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22122         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22123         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22124         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22125         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22126         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22127         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22128         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22129         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22130         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22131         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22132         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22133         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22134         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22135         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22136         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22137         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22138         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22139         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22140         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22141         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22142         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22143         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22144         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22145         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22146         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22147         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22148         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22149         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22150         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22151         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22152         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22153         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22154         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22155         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22156         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22157         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22158         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22159         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22160         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22161         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22162         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22163         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22164         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22165         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22166         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22167         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22168         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22169         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22170         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22171         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22172         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22173         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22174         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22175         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22176         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22177         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22178         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22179         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22180         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22181         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22182         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22183         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22184         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22185         (conformtest-cc-flags): Likewise.
22186         ($(conformtest-header-tests): New target.
22187         * conform/check-header-lists.sh: New file.
22188         * conform/run-conformtest.sh: Remove.
22190         * conform/conformtest.pl: Allow ' and \ in values given for
22191         constants.
22192         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22193         inclusion.
22194         [POSIX] (sys/types.h): Likewise.
22195         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22196         inclusion.
22197         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22198         inclusion.
22199         * conform/data/signal.h-data (SIGIO): Remove expectation.
22200         [XPG3] (SIGBUS): Do not expect.
22201         [POSIX || XPG3] (SIGPOLL): Likewise.
22202         [POSIX || XPG3] (SIGPROF): Likewise.
22203         [POSIX || XPG3] (SIGSYS): Likewise.
22204         [XPG3] (SIGTRAP): Likewise.
22205         [POSIX || XPG3] (SIGURG): Likewise.
22206         [POSIX || XPG3] (SIGVTALRM): Likewise.
22207         [POSIX || XPG3] (SIGXCPU): Likewise.
22208         [POSIX || XPG3] (SIGXFSZ): Likewise.
22209         [POSIX] (SA_SIGINFO): Expect.
22210         [XPG3] (siginfo_t): Do not expect type or contents.
22211         [POSIX] (si_pid): Do not expect element.
22212         [POSIX] (si_uid): Likewise.
22213         [POSIX] (si_addr): Likewise.
22214         [POSIX] (si_status): Likewise.
22215         [POSIX] (si_band): Likewise.
22216         [XPG4] (si_value): Likewise.
22217         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22218         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22219         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22220         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22221         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22222         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22223         [POSIX || XPG3] (ILL_COPROC): Likewise.
22224         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22225         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22226         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22227         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22228         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22229         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22230         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22231         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22232         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22233         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22234         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22235         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22236         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22237         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22238         [POSIX || XPG3] (CLD_EXITED): Likewise.
22239         [POSIX || XPG3] (CLD_KILLED): Likewise.
22240         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22241         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22242         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22243         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22244         [POSIX || XPG3] (POLL_IN): Likewise.
22245         [POSIX || XPG3] (POLL_OUT): Likewise.
22246         [POSIX || XPG3] (POLL_MSG): Likewise.
22247         [POSIX || XPG3] (POLL_ERR): Likewise.
22248         [POSIX || XPG3] (POLL_PRI): Likewise.
22249         [POSIX || XPG3] (POLL_HUP): Likewise.
22250         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22251         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22252         (SIG*): Do not allow.
22253         [XPG3] (si_*): Likewise.
22254         [XPG3] (SI_*): Likewise.
22255         [XPG3 || XPG4] (sigev_*): Likewise.
22256         [XPG3 || XPG4] (SIGEV_*): Likewise.
22257         [XPG3 || XPG4] (sival_*): Likewise.
22258         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22259         [POSIX || XPG3] (BUS_*): Likewise.
22260         [POSIX || XPG3] (CLD_*): Likewise.
22261         [POSIX || XPG3] (FPE_*): Likewise.
22262         [POSIX || XPG3] (ILL_*): Likewise.
22263         [POSIX || XPG3] (POLL_*): Likewise.
22264         [POSIX || XPG3] (SEGV_*): Likewise.
22265         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22266         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22267         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22268         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22269         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22270         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22271         Specify type and value.
22272         (TVERSLEN): Likewise.
22273         (REGTYPE): Likewise.
22274         (AREGTYPE): Likewise.
22275         (LNKTYPE): Likewise.
22276         (SYMTYPE): Likewise.
22277         (CHRTYPE): Likewise.
22278         (BLKTYPE): Likewise.
22279         (DIRTYPE): Likewise.
22280         (FIFOTYPE): Likewise.
22281         (CONTTYPE): Likewise.
22282         (TSUID): Likewise.
22283         (TSGID): Likewise.
22284         (TSVTX): Likewise.
22285         (TUREAD): Likewise.
22286         (TUWRITE): Likewise.
22287         (TUEXEC): Likewise.
22288         (TGREAD): Likewise.
22289         (TGWRITE): Likewise.
22290         (TGEXEC): Likewise.
22291         (TOREAD): Likewise.
22292         (TOWRITE): Likewise.
22293         (TOEXEC): Likewise.
22294         [POSIX] (TSVTX): Expect constant.
22296 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22298         * Makefile (tests): Change dependencies to ....
22299         (tests-special): ... additions to this variable.
22300         (tests): Depend on $(tests-special).
22301         * Makerules (check-abi-list): New variable.
22302         (check-abi): Depend on $(check-abi-list).
22303         [$(subdir) = elf] (tests-special): Add
22304         $(objpfx)check-abi-libc.out.
22305         [$(build-shared) = yes && subdir] (tests-special): Add
22306         $(check-abi-list).
22307         [$(build-shared) = yes && subdir] (tests): Do not depend on
22308         check-abi.
22309         * Rules (tests): Depend on $(tests-special).
22310         (xtests): Depend on $(xtests-special).
22311         * catgets/Makefile (tests): Change dependencies to ....
22312         (tests-special): ... additions to this variable.
22313         * conform/Makefile (tests): Change dependencies to ....
22314         (tests-special): ... additions to this variable.
22315         * elf/Makefile (tests): Change dependencies to ....
22316         (tests-special): ... additions to this variable.
22317         * grp/Makefile (tests): Change dependencies to ....
22318         (tests-special): ... additions to this variable.
22319         * iconv/Makefile (xtests): Change dependencies to ....
22320         (xtests-special): ... additions to this variable.
22321         * iconvdata/Makefile (tests): Change dependencies to ....
22322         (tests-special): ... additions to this variable.
22323         * intl/Makefile (tests): Change dependencies to ....
22324         (tests-special): ... additions to this variable.  Also add
22325         $(objpfx)tst-gettext.out.
22326         * io/Makefile (tests): Change dependencies to ....
22327         (tests-special): ... additions to this variable.
22328         * libio/Makefile (tests): Change dependencies to ....
22329         (tests-special): ... additions to this variable.
22330         * malloc/Makefile (tests): Change dependencies to ....
22331         (tests-special): ... additions to this variable.
22332         * misc/Makefile (tests): Change dependencies to ....
22333         (tests-special): ... additions to this variable.
22334         * nptl/Makefile (tests): Change dependencies to ....
22335         (tests-special): ... additions to this variable.
22336         * nptl_db/Makefile (tests): Change dependencies to ....
22337         (tests-special): ... additions to this variable.
22338         * posix/Makefile (tests): Change dependencies to ....
22339         (tests-special): ... additions to this variable.
22340         (xtests): Change dependencies to ....
22341         (xtests-special): ... additions to this variable.
22342         * resolv/Makefile (tests): Change dependencies to ....
22343         (tests-special): ... additions to this variable.
22344         (xtests): Change dependencies to ....
22345         (xtests-special): ... additions to this variable.
22346         * stdio-common/Makefile (tests): Change dependencies to ....
22347         (tests-special): ... additions to this variable.
22348         (do-tst-unbputc): Remove target.
22349         (do-tst-printf): Likewise.
22350         * stdlib/Makefile (tests): Change dependencies to ....
22351         (tests-special): ... additions to this variable.
22352         * string/Makefile (tests): Change dependencies to ....
22353         (tests-special): ... additions to this variable.
22354         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22355         (tests-special): ... additions to this variable.
22357         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22358         whole file.
22359         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22360         whole file.
22361         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22362         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22364         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22365         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22366         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22367         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22368         * conform/data/libgen.h-data [XPG3]: Likewise.
22369         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22370         * conform/data/ndbm.h-data [XPG3]: Likewise.
22371         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22372         * conform/data/netdb.h-data [XPG3]: Likewise.
22373         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22374         * conform/data/poll.h-data [XPG3]: Likewise.
22375         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22376         * conform/data/strings.h-data [XPG3]: Likewise.
22377         * conform/data/stropts.h-data [XPG3]: Likewise.
22378         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22379         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22380         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22381         Likewise.
22382         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22383         * conform/data/sys/time.h-data [XPG3]: Likewise.
22384         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22385         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22386         * conform/data/sys/un.h-data [XPG3]: Likewise.
22387         * conform/data/syslog.h-data [XPG3]: Likewise.
22388         * conform/data/ucontext.h-data [XPG3]: Likewise.
22389         * conform/data/utmpx.h-data [XPG3]: Likewise.
22390         * conform/data/varargs.h-data [UNIX98]: Enable file.
22392         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22394         * math/libm-test.inc (struct test_f_f_data): Move expected results
22395         into structure for each rounding mode.
22396         (struct test_ff_f_data): Likewise.
22397         (struct test_ff_f_data_nexttoward): Likewise.
22398         (struct test_fi_f_data): Likewise.
22399         (struct test_fl_f_data): Likewise.
22400         (struct test_if_f_data): Likewise.
22401         (struct test_fff_f_data): Likewise.
22402         (struct test_c_f_data): Likewise.
22403         (struct test_f_f1_data): Likewise.
22404         (struct test_fF_f1_data): Likewise.
22405         (struct test_ffI_f1_data): Likewise.
22406         (struct test_c_c_data): Likewise.
22407         (struct test_cc_c_data): Likewise.
22408         (struct test_f_i_data): Likewise.
22409         (struct test_ff_i_data): Likewise.
22410         (struct test_f_l_data): Likewise.
22411         (struct test_f_L_data): Likewise.
22412         (struct test_fFF_11_data): Likewise.
22413         (RM_): New macro.
22414         (RM_FE_DOWNWARD): Likewise.
22415         (RM_FE_TONEAREST): Likewise.
22416         (RM_FE_TOWARDZERO): Likewise.
22417         (RM_FE_UPWARD): Likewise.
22418         (RUN_TEST_LOOP_f_f): Update references to expected results.
22419         (RUN_TEST_LOOP_2_f): Likewise.
22420         (RUN_TEST_LOOP_fff_f): Likewise.
22421         (RUN_TEST_LOOP_c_f): Likewise.
22422         (RUN_TEST_LOOP_f_f1): Likewise.
22423         (RUN_TEST_LOOP_fF_f1): Likewise.
22424         (RUN_TEST_LOOP_fI_f1): Likewise.
22425         (RUN_TEST_LOOP_ffI_f1): Likewise.
22426         (RUN_TEST_LOOP_c_c): Likewise.
22427         (RUN_TEST_LOOP_cc_c): Likewise.
22428         (RUN_TEST_LOOP_f_i): Likewise.
22429         (RUN_TEST_LOOP_f_i_tg): Likewise.
22430         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22431         (RUN_TEST_LOOP_f_b): Likewise.
22432         (RUN_TEST_LOOP_f_b_tg): Likewise.
22433         (RUN_TEST_LOOP_f_l): Likewise.
22434         (RUN_TEST_LOOP_f_L): Likewise.
22435         (RUN_TEST_LOOP_fFF_11): Likewise.
22436         * math/gen-libm-test.pl (parse_args): Output four copies of
22437         expected results for each test.
22439         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22440         (__ASSUME_UTIMES): Remove.
22441         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22442         (__ASSUME_UTIMES): Likewise.
22444         * math/gen-auto-libm-tests.c: Update comment on output format.
22445         (output_for_one_input_case): Generate before-rounding and
22446         after-rounding information as conditions on output flags not
22447         floating-point format.
22448         * math/auto-libm-test-out: Regenerated.
22449         * math/gen-libm-test.pl (cond_value): New function.
22450         (or_cond_value): Use cond_value.
22451         (generate_testfile): Handle conditional exceptions.
22453 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22455         * math/libm-test.inc (max_valid_error): New variable.
22456         (init_max_error): Take new argument specifying whether function
22457         results are exactly determined.  Set max_valid_error and bound
22458         other variables for errors based on this argument.
22459         (set_max_error): Do not record results above max_valid_error.
22460         (check_float_internal): Only accept errors of up to 0.5ulps if
22461         also at most max_valid_error.
22462         (START): Take new argument EXACT and pass it to init_max_error.
22463         (acos_test): Update call to START.
22464         (acos_test_tonearest): Likewise.
22465         (acos_test_towardzero): Likewise.
22466         (acos_test_downward): Likewise.
22467         (acos_test_upward): Likewise.
22468         (acosh_test): Likewise.
22469         (asin_test): Likewise.
22470         (asin_test_tonearest): Likewise.
22471         (asin_test_towardzero): Likewise.
22472         (asin_test_downward): Likewise.
22473         (asin_test_upward): Likewise.
22474         (asinh_test): Likewise.
22475         (atan_test): Likewise.
22476         (atanh_test): Likewise.
22477         (atan2_test): Likewise.
22478         (cabs_test): Likewise.
22479         (cacos_test): Likewise.
22480         (cacosh_test): Likewise.
22481         (carg_test): Likewise.
22482         (casin_test): Likewise.
22483         (casinh_test): Likewise.
22484         (catan_test): Likewise.
22485         (catanh_test): Likewise.
22486         (cbrt_test): Likewise.
22487         (ccos_test): Likewise.
22488         (ccosh_test): Likewise.
22489         (ceil_test): Likewise.
22490         (cexp_test): Likewise.
22491         (cimag_test): Likewise.
22492         (clog_test): Likewise.
22493         (clog10_test): Likewise.
22494         (conj_test): Likewise.
22495         (copysign_test): Likewise.
22496         (cos_test): Likewise.
22497         (cos_test_tonearest): Likewise.
22498         (cos_test_towardzero): Likewise.
22499         (cos_test_downward): Likewise.
22500         (cos_test_upward): Likewise.
22501         (cosh_test): Likewise.
22502         (cosh_test_tonearest): Likewise.
22503         (cosh_test_towardzero): Likewise.
22504         (cosh_test_downward): Likewise.
22505         (cosh_test_upward): Likewise.
22506         (cpow_test): Likewise.
22507         (cproj_test): Likewise.
22508         (creal_test): Likewise.
22509         (csin_test): Likewise.
22510         (csinh_test): Likewise.
22511         (csqrt_test): Likewise.
22512         (ctan_test): Likewise.
22513         (ctan_test_tonearest): Likewise.
22514         (ctan_test_towardzero): Likewise.
22515         (ctan_test_downward): Likewise.
22516         (ctan_test_upward): Likewise.
22517         (ctanh_test): Likewise.
22518         (ctanh_test_tonearest): Likewise.
22519         (ctanh_test_towardzero): Likewise.
22520         (ctanh_test_downward): Likewise.
22521         (ctanh_test_upward): Likewise.
22522         (erf_test): Likewise.
22523         (erfc_test): Likewise.
22524         (exp_test): Likewise.
22525         (exp_test_tonearest): Likewise.
22526         (exp_test_towardzero): Likewise.
22527         (exp_test_downward): Likewise.
22528         (exp_test_upward): Likewise.
22529         (exp10_test): Likewise.
22530         (exp10_test_tonearest): Likewise.
22531         (exp10_test_towardzero): Likewise.
22532         (exp10_test_downward): Likewise.
22533         (exp10_test_upward): Likewise.
22534         (pow10_test): Likewise.
22535         (exp2_test): Likewise.
22536         (expm1_test): Likewise.
22537         (expm1_test_tonearest): Likewise.
22538         (expm1_test_towardzero): Likewise.
22539         (expm1_test_downward): Likewise.
22540         (expm1_test_upward): Likewise.
22541         (fabs_test): Likewise.
22542         (fdim_test): Likewise.
22543         (floor_test): Likewise.
22544         (fma_test): Likewise.
22545         (fma_test_towardzero): Likewise.
22546         (fma_test_downward): Likewise.
22547         (fma_test_upward): Likewise.
22548         (fmax_test): Likewise.
22549         (fmin_test): Likewise.
22550         (fmod_test): Likewise.
22551         (fpclassify_test): Likewise.
22552         (frexp_test): Likewise.
22553         (hypot_test): Likewise.
22554         (ilogb_test): Likewise.
22555         (isfinite_test): Likewise.
22556         (finite_test): Likewise.
22557         (isgreater_test): Likewise.
22558         (isgreaterequal_test): Likewise.
22559         (isinf_test): Likewise.
22560         (isless_test): Likewise.
22561         (islessequal_test): Likewise.
22562         (islessgreater_test): Likewise.
22563         (isnan_test): Likewise.
22564         (isnormal_test): Likewise.
22565         (issignaling_test): Likewise.
22566         (isunordered_test): Likewise.
22567         (j0_test): Likewise.
22568         (j1_test): Likewise.
22569         (jn_test): Likewise.
22570         (ldexp_test): Likewise.
22571         (lgamma_test): Likewise.
22572         (gamma_test): Likewise.
22573         (lrint_test): Likewise.
22574         (lrint_test_tonearest): Likewise.
22575         (lrint_test_towardzero): Likewise.
22576         (lrint_test_downward): Likewise.
22577         (lrint_test_upward): Likewise.
22578         (llrint_test): Likewise.
22579         (llrint_test_tonearest): Likewise.
22580         (llrint_test_towardzero): Likewise.
22581         (llrint_test_downward): Likewise.
22582         (llrint_test_upward): Likewise.
22583         (log_test): Likewise.
22584         (log10_test): Likewise.
22585         (log1p_test): Likewise.
22586         (log2_test): Likewise.
22587         (logb_test): Likewise.
22588         (logb_test_downward): Likewise.
22589         (lround_test): Likewise.
22590         (llround_test): Likewise.
22591         (modf_test): Likewise.
22592         (nearbyint_test): Likewise.
22593         (nextafter_test): Likewise.
22594         (nexttoward_test): Likewise.
22595         (pow_test): Likewise.
22596         (pow_test_tonearest): Likewise.
22597         (pow_test_towardzero): Likewise.
22598         (pow_test_downward): Likewise.
22599         (pow_test_upward): Likewise.
22600         (remainder_test): Likewise.
22601         (drem_test): Likewise.
22602         (remainder_test_tonearest): Likewise.
22603         (drem_test_tonearest): Likewise.
22604         (remainder_test_towardzero): Likewise.
22605         (drem_test_towardzero): Likewise.
22606         (remainder_test_downward): Likewise.
22607         (drem_test_downward): Likewise.
22608         (remainder_test_upward): Likewise.
22609         (drem_test_upward): Likewise.
22610         (remquo_test): Likewise.
22611         (rint_test): Likewise.
22612         (rint_test_tonearest): Likewise.
22613         (rint_test_towardzero): Likewise.
22614         (rint_test_downward): Likewise.
22615         (rint_test_upward): Likewise.
22616         (round_test): Likewise.
22617         (scalb_test): Likewise.
22618         (scalbn_test): Likewise.
22619         (scalbln_test): Likewise.
22620         (signbit_test): Likewise.
22621         (sin_test): Likewise.
22622         (sin_test_tonearest): Likewise.
22623         (sin_test_towardzero): Likewise.
22624         (sin_test_downward): Likewise.
22625         (sin_test_upward): Likewise.
22626         (sincos_test): Likewise.
22627         (sinh_test): Likewise.
22628         (sinh_test_tonearest): Likewise.
22629         (sinh_test_towardzero): Likewise.
22630         (sinh_test_downward): Likewise.
22631         (sinh_test_upward): Likewise.
22632         (sqrt_test): Likewise.
22633         (sqrt_test_tonearest): Likewise.
22634         (sqrt_test_towardzero): Likewise.
22635         (sqrt_test_downward): Likewise.
22636         (sqrt_test_upward): Likewise.
22637         (tan_test): Likewise.
22638         (tan_test_tonearest): Likewise.
22639         (tan_test_towardzero): Likewise.
22640         (tan_test_downward): Likewise.
22641         (tan_test_upward): Likewise.
22642         (tanh_test): Likewise.
22643         (tgamma_test): Likewise.
22644         (trunc_test): Likewise.
22645         (y0_test): Likewise.
22646         (y1_test): Likewise.
22647         (yn_test): Likewise.
22648         (significand_test): Likewise.
22650         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22651         individual tests in comment.
22652         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22653         (prev_max_error): New variable.
22654         (prev_real_max_error): Likewise.
22655         (prev_imag_max_error): Likewise.
22656         (compare_ulp_data): Don't refer to test names in comment.
22657         (find_test_ulps): Remove function.
22658         (find_function_ulps): Likewise.
22659         (find_complex_function_ulps): Likewise.
22660         (init_max_error): Take function name as argument.  Look up ulps
22661         for that function.
22662         (print_ulps): Remove function.
22663         (print_max_error): Use prev_max_error instead of calling
22664         find_function_ulps.
22665         (print_complex_max_error): Use prev_real_max_error and
22666         prev_imag_max_error instead of calling find_complex_function_ulps.
22667         (check_float_internal): Take max_ulp parameter instead of calling
22668         find_test_ulps.  Don't call print_ulps.
22669         (check_float): Update call to check_float_internal.
22670         (check_complex): Update calls to check_float_internal.
22671         (START): Pass argument to init_max_error.
22672         * math/gen-libm-test.pl (%results): Don't include "kind"
22673         information.
22674         (parse_ulps): Don't handle ulps of individual tests.
22675         (print_ulps_file): Likewise.
22676         (output_ulps): Likewise.
22677         * math/README.libm-test: Update.
22678         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22679         individual tests.
22680         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22681         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22682         * sysdeps/arm/libm-test-ulps: Likewise.
22683         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22684         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22685         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22686         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22687         * sysdeps/microblaze/libm-test-ulps: Likewise.
22688         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22689         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22690         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22691         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22692         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22693         * sysdeps/sh/libm-test-ulps: Likewise.
22694         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22695         * sysdeps/tile/libm-test-ulps: Likewise.
22696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22698 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22700         * math/libm-test.inc (print_complex_max_error): Check separately
22701         whether real and imaginary errors are within allowed range and
22702         pass 0 to print_complex_function_ulps instead of value within
22703         allowed range.
22705 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22707         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22708         formatting.
22709         (get_handles_fopen): Likewise.
22710         (do_write_test): Likewise.
22712         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22714         * libio/fileops.c (do_ftell): Use cached offset when
22715         available.
22716         * libio/iofwide.c (do_ftell_wide): Likewise.
22717         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22718         _IO_file_attach.
22719         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22721         [BZ #16532]
22722         * libio/libioP.h (get_file_offset): New function.
22723         * libio/fileops.c (get_file_offset): Likewise.
22724         (do_ftell): Likewise.
22725         (_IO_new_file_seekoff): Split out ftell logic.
22726         * libio/wfileops.c (do_ftell_wide): Likewise.
22727         (_IO_wfile_seekoff): Split out ftell logic.
22728         * libio/tst-ftell-active-handler.c: New test case.
22729         * libio/Makefile (tests): Add it.
22731 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22733         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22734         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22736 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22738         [BZ #16639]
22739         * nscd/connections.c (nscd_init): Call do_exit.
22740         (start_threads): Call do_exit and notify_parent.
22741         (begin_drop_privileges): Call do_exit.
22742         (finish_drop_privileges): Likewise.
22743         * nscd/selinux.c (preserve_capabilities): Likewise.
22744         (install_real_capabilities): Likewise.
22745         (nscd_selinux_enabled): Likewise.
22746         (avc_create_thread): Likewise.
22747         (avc_alloc_lock): Likewise.
22748         (nscd_avc_init): Likewise.
22749         * nscd/nscd.c (parent_fd): New static variable.
22750         (main): Create a pipe between parent and child processes.
22751         Skip closing parent_fd.
22752         (monitor_child): New function.
22753         (do_exit): Likewise.
22754         (notify_parent): Likewise.
22755         * nscd/nscd.h (notify_parent): Likewise.
22756         (do_exit): Likewise.
22758 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22760         * malloc/malloc.c (__libc_calloc): Revert last change.
22762 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22766 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22768         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22770         implementation.
22771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22772         (__libc_ifunc_impl_list): Likewise.
22773         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22774         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22775         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22776         * string/strrchr.c: Define STRRCHR.
22778 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22780         * benchtest/bench-strtok.c (simple_strtok): Delete.
22781         (strtok_string): Use as benchmark.
22782         * string/strtok (STRTOK): New macro.
22784 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22786         * manual/threads.texi: Add header and standard comments to all
22787         functions.
22789         * elf/dl-lookup.c (check_match): New function.
22790         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22791         (do_lookup_x): Remove nested function check_match. Use non-nested
22792         function check_match.
22794 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22796         * csu/Makefile (generated, before-compile): Use += rather than =.
22797         * catgets/Makefile (generated, generated-dirs): Likewise.
22798         * debug/Makefile (generated): Likewise.
22799         * dlfcn/Makefile (generated): Likewise.
22800         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22801         * iconvdata/Makefile (before-compile, generated): Likewise.
22802         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22803         * libio/Makefile (generated): Likewise.
22804         * malloc/Makefile (generated): Likewise.
22805         * manual/Makefile (generated, generated-dirs): Likewise.
22806         * misc/Makefile (generated): Likewise.
22807         * posix/Makefile (generated): Likewise.
22808         * resolv/Makefile (generated): Likewise.
22809         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22810         * timezone/Makefile (generated, generated-dirs): Likewise.
22812         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22814 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22817         power8 implementation.
22818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22819         file: POWER8 llround ifunc implementation.
22820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22821         (__lllround): Add POWER8 implementation.
22822         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22823         POWER8 llround implementation.
22825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22826         power8 implementation.
22827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22828         file: POWER8 llrint ifunc implementation.
22829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22830         Add POWER8 implementation.
22831         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22832         POWER8 llrint implementation.
22834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22835         power8 implementation.
22836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22837         file: POWER8 finite ifunc implementation.
22838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22839         Add POWER8 implementation.
22840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22841         Likewise.
22842         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22843         POWER8 finite implementation.
22844         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22846         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22847         power8 implementation.
22848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22849         file: POWER8 isinf ifunc implementation.
22850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22851         POWER8 implementation.
22852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22853         Likewise.
22854         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22855         isinf implementation.
22856         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22858         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22859         (INIT_ARCH): Add hwcap2 initialization.
22860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22861         power8 implementation.
22862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22863         file: POWER8 isnan ifunc implementation.
22864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22865         POWER8 implementation.
22866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22867         Likewise.
22868         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22869         isnan implementation.
22870         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22872 2014-02-27  Joey Ye  <joey.ye@arm.com>
22874         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22875         (_FP_NANFRAC_Q): Set to zero.
22877 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22879         [BZ #16623]
22880         * math/auto-libm-test-in: New test inputs.
22881         * math/auto-libm-test-out: Regenerate.
22882         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22883         and DA.
22884         (__cos): Likewise.
22885         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22887 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22889         * scripts/evaluate-test.sh: Take new argument indicating whether
22890         failure is expected.
22891         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22892         indicating whether failure is expected.
22893         * conform/Makefile (test-xfail-run-conformtest): New variable.
22894         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22895         level.
22896         * posix/Makefile (test-xfail-annexc): New variable.
22897         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22899 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22901         * argp/Makefile: Include Makeconfig immediately after defining
22902         subdir.
22903         * assert/Makefile: Likewise.
22904         * benchtests/Makefile: Likewise.
22905         * catgets/Makefile: Likewise.
22906         * conform/Makefile: Likewise.
22907         * crypt/Makefile: Likewise.
22908         * csu/Makefile: Likewise.
22909         (all): Remove target.
22910         * ctype/Makefile: Include Makeconfig immediately after defining
22911         subdir.
22912         * debug/Makefile: Likewise.
22913         * dirent/Makefile: Likewise.
22914         * dlfcn/Makefile: Likewise.
22915         * gmon/Makefile: Likewise.
22916         * gnulib/Makefile: Likewise.
22917         * grp/Makefile: Likewise.
22918         * gshadow/Makefile: Likewise.
22919         * hesiod/Makefile: Likewise.
22920         * hurd/Makefile: Likewise.
22921         (all): Remove target.
22922         * iconvdata/Makefile: Include Makeconfig immediately after
22923         defining subdir.
22924         * inet/Makefile: Likewise.
22925         * intl/Makefile: Likewise.
22926         * io/Makefile: Likewise.
22927         * libio/Makefile: Likewise.
22928         (all): Remove target.
22929         * locale/Makefile: Include Makeconfig immediately after defining
22930         subdir.
22931         * login/Makefile: Likewise.
22932         * mach/Makefile: Likewise.
22933         (all): Remove target.
22934         * malloc/Makefile: Include Makeconfig immediately after defining
22935         subdir.
22936         (all): Remove target.
22937         * manual/Makefile: Include Makeconfig immediately after defining
22938         subdir.
22939         * math/Makefile: Likewise.
22940         * misc/Makefile: Likewise.
22941         * nis/Makefile: Likewise.
22942         * nss/Makefile: Likewise.
22943         * po/Makefile: Likewise.
22944         (all): Remove target.
22945         * posix/Makefile: Include Makeconfig immediately after defining
22946         subdir.
22947         * pwd/Makefile: Likewise.
22948         * resolv/Makefile: Likewise.
22949         * resource/Makefile: Likewise.
22950         * rt/Makefile: Likewise.
22951         * setjmp/Makefile: Likewise.
22952         * shadow/Makefile: Likewise.
22953         * signal/Makefile: Likewise.
22954         * socket/Makefile: Likewise.
22955         * soft-fp/Makefile: Likewise.
22956         * stdio-common/Makefile: Likewise.
22957         * stdlib/Makefile: Likewise.
22958         * streams/Makefile: Likewise.
22959         * string/Makefile: Likewise.
22960         * sunrpc/Makefile: Likewise.
22961         (all): Remove target.
22962         * sysvipc/Makefile: Include Makeconfig immediately after defining
22963         subdir.
22964         * termios/Makefile: Likewise.
22965         * time/Makefile: Likewise.
22966         * timezone/Makefile: Likewise.
22967         (all): Remove target.
22968         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22969         subdir.
22970         * wctype/Makefile: Likewise.
22972 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22974         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22975         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22976         (libc_feholdexcept_setround_mips): Ditto.
22977         (libc_feholdsetround): New.
22978         (libc_feholdsetroundf): New.
22979         (libc_feholdsetroundl): New.
22980         (libc_feupdateenv_test_mips): New.
22981         (libc_feupdateenv_test): New.
22982         (libc_feupdateenv_testf): New.
22983         (libc_feupdateenv_testl): New.
22984         (libc_feresetround): New.
22985         (libc_feresetroundf): New.
22986         (libc_feresetroundl): New.
22987         (libc_fetestexcept_mips): New.
22988         (libc_fetestexcept): New.
22989         (libc_fetestexceptf): New.
22990         (libc_fetestexceptl): New.
22991         (HAVE_RM_CTX): New.
22992         (libc_feholdexcept_setround_mips_ctx): New.
22993         (libc_feholdexcept_setround_ctx): New.
22994         (libc_feholdexcept_setroundf_ctx): New.
22995         (libc_feholdexcept_setroundl_ctx): New.
22996         (libc_fesetenv_mips_ctx): New.
22997         (libc_fesetenv_ctx): New.
22998         (libc_fesetenv_ctxf): New.
22999         (libc_fesetenv_ctxl): New.
23000         (libc_feupdateenv_mips_ctx): New.
23001         (libc_feupdateenv_ctx): New.
23002         (libc_feupdateenvf_ctx): New.
23003         (libc_feupdateenvl_ctx): New.
23004         (libc_feholdsetround_mips_ctx): New.
23005         (libc_feholdsetround_ctx): New.
23006         (libc_feholdsetroundf_ctx): New.
23007         (libc_feholdsetroundl_ctx): New.
23008         (libc_feresetround_mips_ctx): New.
23009         (libc_feresetround_ctx): New.
23010         (libc_feresetroundf_ctx): New.
23011         (libc_feresetroundl_ctx): New.
23013 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23015         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23017         * manual/ipc.texi: New file.
23018         * manual/Makefile (chapters): Add ipc.
23019         * manual/job.texi: Add "Inter-Process Communication" to next.
23020         * manual/process.texi: Add "Inter-Process Communication" to prev.
23022 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23026 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23028         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23030         * manual/arith.texi: Fix spaces after sentences.
23031         * manual/charset.texi: Likewise.
23032         * manual/errno.texi: Likewise.
23033         * manual/install.texi: Likewise.
23034         * manual/llio.texi: Likewise.
23035         * manual/locale.texi: Likewise.
23036         * manual/maint.texi: Likewise.
23037         * manual/math.texi: Likewise.
23038         * manual/memory.texi: Likewise.
23039         * manual/message.texi: Likewise.
23040         * manual/probes.texi: Likewise.
23041         * manual/resource.texi: Likewise.
23042         * manual/signal.texi: Likewise.
23043         * manual/socket.texi: Likewise.
23044         * manual/stdio.texi: Likewise.
23045         * manual/string.texi: Likewise.
23046         * manual/time.texi: Likewise.
23047         * manual/users.texi: Likewise.
23049 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23051         [BZ #16632]
23052         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23053         _DEFAULT_SOURCE is defined.
23055 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23056             Carlos O'Donell  <carlos@redhat.com>
23058         [BZ #16613]
23059         * elf/dl-tls.c (_dl_count_modids): New function.
23060         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23061         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23062         audit library and increment generation counter.
23063         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23064         * elf/tst-audit9.c: New file.
23065         * elf/tst-auditmod9a.c: New file.
23066         * elf/tst-auditmod9b.c: New file.
23067         * elf/Makefile: Add rules to build and run tst-audit9.
23069 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23071         [BZ #15347]
23072         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23074 2014-02-25  Will Newton  <will.newton@linaro.org>
23076         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23077         (__longjmp): Restore sp and lr before restoring callee
23078         saved registers.  Add longjmp and longjmp_target
23079         SystemTap probe point.
23080         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23081         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23082         Define to zero to match jmpbuf layout.
23083         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23084         (__sigsetjmp): Save sp and lr before saving callee
23085         saved registers.  Add setjmp SystemTap probe point.
23087 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23089         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23091 2014-02-24  Andreas Schwab  <schwab@suse.de>
23093         [BZ #15804]
23094         * elf/pldd.c (wait_for_ptrace_stop): New function.
23095         (main): Call it after attaching.
23097 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23099         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23100         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23101         Versions files is now verboten.
23102         * hurd/Versions (libc: GLIBC_2.0):
23103         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23104         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23105         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23106         * mach/Versions: Likewise.
23108         * csu/Versions: Remove unused %include.
23109         * resolv/Versions: Likewise.
23111 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23113         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23114         ($(objpfx)check-local-headers.out): Likewise.
23115         ($(objpfx)begin-end-check.out): Likewise.
23116         * Makerules (check-abi-%.out): Likewise.
23117         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23118         ($(objpfx)test2.cat): Likewise.
23119         ($(objpfx)de/libc.cat): Likewise.
23120         ($(objpfx)test-gencat.out): Likewise.
23121         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23122         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23123         ($(objpfx)noload-mem): Likewise.
23124         ($(objpfx)tst-pathopt.out): Likewise.
23125         ($(objpfx)tst-rtld-load-self.out): Likewise.
23126         ($(objpfx)tst-array1-cmp.out): Likewise.
23127         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23128         ($(objpfx)tst-array2-cmp.out): Likewise.
23129         ($(objpfx)tst-array3-cmp.out): Likewise.
23130         ($(objpfx)tst-array4-cmp.out): Likewise.
23131         ($(objpfx)tst-array5-cmp.out): Likewise.
23132         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23133         ($(objpfx)check-textrel.out): Likewise.
23134         ($(objpfx)check-execstack.out): Likewise.
23135         ($(objpfx)check-localplt.out): Likewise.
23136         ($(objpfx)order2-cmp.out): Likewise.
23137         ($(objpfx)tst-leaks1-mem): Likewise.
23138         ($(objpfx)tst-leaks1-static-mem): Likewise.
23139         ($(objpfx)tst-initorder-cmp.out): Likewise.
23140         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23141         ($(objpfx)tst-unused-dep.out): Likewise.
23142         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23143         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23144         * iconv/Makefile (test-iconvconfig): Likewise.
23145         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23146         ($(objpfx)iconv-test.out): Likewise.
23147         ($(objpfx)tst-tables.out): Likewise.
23148         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23149         ($(objpfx)tst-gettext.out): Likewise.
23150         ($(objpfx)tst-translit.out): Likewise.
23151         ($(objpfx)tst-gettext2.out): Likewise.
23152         ($(objpfx)tst-gettext4.out): Likewise.
23153         ($(objpfx)tst-gettext6.out): Likewise.
23154         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23155         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23156         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23157         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23158         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23159         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23160         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23161         ($(objpfx)wordexp-tst.out): Likewise.
23162         ($(objpfx)annexc.out): Likewise.
23163         ($(objpfx)tst-fnmatch-mem): Likewise.
23164         ($(objpfx)bug-regex2-mem): Likewise.
23165         ($(objpfx)bug-regex14-mem): Likewise.
23166         ($(objpfx)bug-regex21-mem): Likewise.
23167         ($(objpfx)bug-regex31-mem): Likewise.
23168         ($(objpfx)tst-vfork3-mem): Likewise.
23169         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23170         ($(objpfx)tst-pcre-mem): Likewise.
23171         ($(objpfx)tst-boost-mem): Likewise.
23172         ($(objpfx)tst-getconf.out): Likewise.
23173         ($(objpfx)bug-ga2-mem): Likewise.
23174         ($(objpfx)bug-glob2-mem): Likewise.
23175         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23176         ($(objpfx)mtrace-tst-leaks2): Likewise.
23177         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23178         ($(objpfx)tst-printf.out): Likewise.
23179         ($(objpfx)tst-setvbuf1.out): Likewise.
23180         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23181         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23182         ($(objpfx)tst-fmtmsg.out): Likewise.
23183         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23184         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23186         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23187         * bits/sigaction.h [__USE_MISC]: Likewise.
23188         * bits/waitstatus.h: Update #endif comments.
23189         * ctype/ctype.h: Likewise.
23190         * dirent/dirent.h: Likewise.
23191         [__USE_MISC]: Remove redundant conditionals.
23192         * grp/grp.h: Update #endif comments.
23193         [__USE_GNU]: Remove redundant conditionals.
23194         [__USE_MISC]: Likewise.
23195         * inet/netinet/in.h [__USE_GNU]: Likewise.
23196         * io/sys/stat.h [__USE_MISC]: Likewise.
23197         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23198         * libio/bits/stdio.h: Update #endif comments.
23199         [__USE_MISC]: Remove redundant conditionals.
23200         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23201         * libio/stdio.h: Update #endif comments.
23202         [__USE_MISC]: Remove redundant conditionals.
23203         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23204         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23205         * math/math.h: Update #else and #endif comments.
23206         [__USE_MISC]: Remove redundant conditionals.
23207         * misc/sys/uio.h: Update #endif comments.
23208         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23209         * posix/glob.h [__USE_MISC]: Likewise.
23210         * posix/sys/types.h: Update #endif comments.
23211         [__USE_MISC]: Remove redundant conditionals.
23212         * posix/sys/wait.h: Update #endif comments.
23213         [__USE_MISC]: Remove redundant conditionals.
23214         * posix/unistd.h: Update #endif comments.
23215         [__USE_MISC]: Remove redundant conditionals.
23216         * pwd/pwd.h [__USE_GNU]: Likewise.
23217         [__USE_MISC]: Likewise.
23218         * resolv/netdb.h [__USE_GNU]: Likewise.
23219         * signal/signal.h: Update #endif comments.
23220         [__USE_MISC]: Remove redundant conditionals.
23221         * stdlib/stdlib.h: Update #else and #endif comments.
23222         [__USE_MISC]: Remove redundant conditionals.
23223         [__USE_GNU]: Likewise.
23224         * string/bits/string2.h [__USE_MISC]: Likewise.
23225         * string/string.h: Update #endif comments.
23226         [__USE_MISC]: Remove redundant conditionals.
23227         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23228         Likewise.
23229         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23230         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23231         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23232         Likewise.
23233         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23234         Likewise.
23235         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23236         comments.
23237         [__USE_MISC]: Remove redundant conditionals.
23238         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23239         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23240         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23241         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23242         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23243         Likewise.
23244         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23245         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23246         Likewise.
23247         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23248         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23249         Likewise.
23250         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23251         Likewise.
23252         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23253         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23254         Likewise.
23255         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23256         Likewise.
23257         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23258         * sysdeps/x86/bits/string.h: Update #endif comments.
23259         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23260         conditionals.
23261         * time/sys/time.h: Update #endif comments.
23262         * time/time.h: Likewise.
23263         [__USE_MISC]: Remove redundant conditionals.
23265 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23267         [BZ #16600]
23268         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23270 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23272         * Versions.def (librt): Add GLIBC_2.17.
23274 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23276         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23277         synonym for _SYS_AUXV_H to allow direct inclusion.
23278         * sysdeps/sparc/bits/hwcap.h: Likewise.
23279         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23280         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23281         * sysdeps/sparc/sysdep.h: Likewise.
23283 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23285         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23287 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23289         * benchtests/bench-strrchr.c: Print length instead of position.
23291 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23293         [BZ #16611]
23294         * sysdeps/unix/sysv/linux/kernel-features.h
23295         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23296         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23297         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23298         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23299         Likewise.
23300         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23301         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23302         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23303         (__ASSUME_SENDMMSG): Define instead of using previous
23304         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23305         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23306         (__ASSUME_SENDMMSG_SYSCALL): Define.
23307         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23308         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23309         Likewise.
23310         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23311         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23312         Likewise.
23313         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23314         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23315         Likewise.
23316         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23317         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23318         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23319         [__ASSUME_SENDMMSG]: Change conditionals to
23320         [__ASSUME_SENDMMSG_SOCKETCALL].
23321         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23322         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23323         Define.
23324         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23325         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23326         Likewise.
23327         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23328         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23329         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23330         [!__ASSUME_SENDMMSG]: Change conditional to
23331         [!__ASSUME_SENDMMSG_SOCKETCALL].
23332         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23333         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23334         Define.
23336         [BZ #16610]
23337         * sysdeps/unix/sysv/linux/kernel-features.h
23338         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23339         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23340         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23341         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23342         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23343         [__i386__ || __sparc__]
23344         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23345         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23346         (__ASSUME_RECVMMSG): Define instead of using previous
23347         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23348         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23349         (__ASSUME_RECVMMSG_SYSCALL): Define.
23350         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23351         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23352         Likewise.
23353         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23354         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23355         Likewise.
23356         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23357         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23358         Likewise.
23359         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23360         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23361         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23362         [__ASSUME_RECVMMSG]: Change condition to
23363         [__ASSUME_RECVMMSG_SOCKETCALL].
23364         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23365         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23366         Define.
23367         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23368         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23369         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23370         Likewise.
23371         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23372         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23373         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23374         [!__ASSUME_RECVMMSG]: Change condition to
23375         [!__ASSUME_RECVMMSG_SOCKETCALL].
23376         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23377         (__ASSUME_RECVMMSG_SYSCALL): Define.
23379         [BZ #16609]
23380         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23381         __powerpc__ || __s390__ || __sh__ || __sparc__]
23382         (__ASSUME_SOCKETCALL): Define.
23383         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23384         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23385         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23386         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23387         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23388         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23389         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23390         (__ASSUME_ACCEPT4): Define instead of using previous
23391         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23392         __powerpc__ || __sparc__ || __s390__)] condition.
23393         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23394         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23395         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23396         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23397         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23398         [!__ASSUME_ACCEPT4]: Change condition to
23399         [!__ASSUME_ACCEPT4_SOCKETCALL].
23400         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23401         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23402         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23403         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23404         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23405         __ASSUME_ACCEPT4_SYSCALL.
23406         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23407         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23408         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23409         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23410         __ASSUME_ACCEPT4_SYSCALL.
23411         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23412         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23413         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23414         [__ASSUME_ACCEPT4]: Change condition to
23415         [__ASSUME_ACCEPT4_SOCKETCALL].
23416         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23417         (__ASSUME_SOCKETCALL): Define.
23418         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23419         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23420         (__ASSUME_SOCKETCALL): Define.
23421         (__ASSUME_ACCEPT4): Remove.
23422         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23423         Define.
23424         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23425         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23426         Likewise.
23427         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23428         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23430         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23431         macro.
23432         (HWCAP_ARM_LPAE): Likewise.
23433         (HWCAP_ARM_EVTSTRM): Likewise.
23434         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23435         Add vpfd32, lpae and evtstrm.
23436         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23437         Increase to 22.
23439 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23441         * math/auto-libm-test-in: Add tests of clog10.
23442         * math/auto-libm-test-out: Regenerated.
23443         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23444         * sysdeps/i386/fpu/libm-test-ulps: Update.
23445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23447 2014-02-18  Andreas Schwab  <schwab@suse.de>
23449         [BZ #16574]
23450         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23451         Store non-zero if the second buffer was newly allocated.
23452         (send_dg): Likewise.
23453         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23454         to send_vc and send_dg.
23455         (res_nsend): Pass NULL for ansp2_malloced.
23456         * resolv/res_query.c (__libc_res_nquery): Add parameter
23457         answerp2_malloced and pass it down to __libc_res_nsend.
23458         (res_nquery): Pass additional NULL to __libc_res_nquery.
23459         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23460         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23461         second answer buffer if answerp2_malloced was set.
23462         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23463         (__libc_res_nquerydomain): Add parameter
23464         answerp2_malloced and pass it down to __libc_res_nquery.
23465         (res_nquerydomain): Pass additional NULL to
23466         __libc_res_nquerydomain.
23467         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23468         additional NULL to __libc_res_nsend and __libc_res_nquery.
23469         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23470         additional NULL to __libc_res_nsearch.
23471         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23472         parameter of __libc_res_nsearch to check for separately allocated
23473         second buffer.
23474         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23475         __libc_res_nquery.
23476         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23477         additional NULL to __libc_res_nquery.
23478         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23479         __libc_res_nsearch.
23480         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23481         * include/resolv.h: Update prototypes of __libc_res_nquery,
23482         __libc_res_nsearch, __libc_res_nsend.
23484 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23486         * math/auto-libm-test-in: Add tests of fma.
23487         * math/auto-libm-test-out: Regenerated.
23488         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23489         (fma_towardzero_test_data): Likewise.
23490         (fma_downward_test_data): Likewise.
23491         (fma_upward_test_data): Likewise.
23492         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23493         mpc_mode.
23494         (rounding_modes): Add values for new field.
23495         (func_calc_method): Add value mpfr_fff_f.
23496         (func_calc_desc): Add mpfr_fff_f union field.
23497         (test_function): Add field exact_args.
23498         (FUNC): Add macro argument EXACT_ARGS.
23499         (FUNC_mpfr_f_f): Update call to FUNC.
23500         (FUNC_mpfr_f_f): Likewise.
23501         (FUNC_mpfr_ff_f): Likewise.
23502         (FUNC_mpfr_if_f): Likewise.
23503         (FUNC_mpc_c_f): Likewise.
23504         (FUNC_mpc_c_c): Likewise.
23505         (test_functions): Add fma.  Update calls to FUNC.
23506         (handle_input_arg): Add argument exact_args.
23507         (add_test): Update call to handle_input_arg.
23508         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23509         (output_for_one_input_case): Update call to calc_generic_results.
23510         Recalculate exact zero results in each rounding mode.
23512         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23513         non-negative before setting low bit.
23514         * math/auto-libm-test-in: Mark one asin test possibly having
23515         spurious underflow.
23516         * math/auto-libm-test-out: Regenerated.
23517         * sysdeps/i386/fpu/libm-test-ulps: Update.
23518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23520 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23522         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23523         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23524         ports/sysdeps/unix/sysv/linux/microblaze.
23525         * README: Add missing listing for microblaze*-*-linux-gnu.
23527 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23529         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23530         duplicate code
23532 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23534         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23535         * sysdeps/unix/sysv/linux/ia64: Move directory from
23536         ports/sysdeps/unix/sysv/linux/ia64.
23537         * README: Update listing for ia64-*-linux-gnu.
23539 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23540             Joseph Myers  <joseph@codesourcery.com>
23542         * Makeconfig (test-name): New variable.
23543         (evaluate-test): Likewise.
23544         * Makerules (do-test-clean): Remove .test-result files.
23545         (common-mostlyclean): Likewise.
23546         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23547         * scripts/evaluate-test.sh: New file.
23549 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23551         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23552         separate $(objpfx)tst-fopenloc-cmp.out and
23553         $(objpfx)tst-fopenloc-mem.out targets.
23554         (tests): Update dependencies.
23555         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23556         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23557         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23558         (tst-rxspencer-no-utf8-ARGS): New variable.
23559         (tst-rxspencer-no-utf8-ENV): Likewise.
23560         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23561         instead of $(objpfx)tst-rxspencer-mem.
23562         ($(objpfx)tst-rxspencer-mem): Change target to
23563         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23564         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23565         * posix/tst-rxspencer-no-utf8.c: New file.
23567         * elf/Makefile ($(objpfx)order.out): Remove rule.
23568         [$(run-built-tests) = yes] (tests): Depend on
23569         $(objpfx)order-cmp.out.
23570         ($(objpfx)order-cmp.out): New rule.
23571         [$(run-built-tests) = yes] (tests): Depend on
23572         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23573         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23574         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23575         $(objpfx)tst-array5-static-cmp.out.
23576         ($(objpfx)tst-array1.out): Remove rule.
23577         ($(objpfx)tst-array1-cmp.out): New rule.
23578         ($(objpfx)tst-array1-static.out): Remove rule.
23579         ($(objpfx)tst-array1-static-cmp.out): New rule.
23580         ($(objpfx)tst-array2.out): Remove rule.
23581         ($(objpfx)tst-array2-cmp.out): New rule.
23582         ($(objpfx)tst-array3.out): Remove rule.
23583         ($(objpfx)tst-array3-cmp.out): New rule.
23584         ($(objpfx)tst-array4.out): Remove rule.
23585         ($(objpfx)tst-array4-cmp.out): New rule.
23586         ($(objpfx)tst-array5.out): Remove rule.
23587         ($(objpfx)tst-array5-cmp.out): New rule.
23588         ($(objpfx)tst-array5-static.out): Remove rule.
23589         ($(objpfx)tst-array5-static-cmp.out): New rule.
23590         [$(run-built-tests) = yes] (tests): Depend on
23591         $(objpfx)order2-cmp.out.
23592         ($(objpfx)order2.out): Remove rule.
23593         ($(objpfx)order2-cmp.out): New rule.
23594         ($(objpfx)tst-initorder.out): Remove rule.
23595         [$(run-built-tests) = yes] (tests): Depend on
23596         $(objpfx)tst-initorder-cmp.out.
23597         ($(objpfx)tst-initorder-cmp.out): New rule.
23598         ($(objpfx)tst-initorder2.out): Remove rule.
23599         [$(run-built-tests) = yes] (tests): Depend on
23600         $(objpfx)tst-initorder2-cmp.out.
23601         ($(objpfx)tst-initorder2-cmp.out): New rule.
23602         [$(run-built-tests) = yes] (tests): Depend on
23603         $(objpfx)tst-unused-dep-cmp.out.
23604         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23605         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23606         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23607         on $(objpfx)tst-setvbuf1-cmp.out.
23608         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23609         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23610         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23611         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23612         ($(objpfx)tst-svc.out): Remove rule.
23613         ($(objpfx)tst-svc-cmp.out): New rule.
23615 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23617         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23618         * ctype/ctype.h [__USE_MISC]: Likewise.
23619         * dirent/dirent.h [__USE_MISC]: Likewise.
23620         * grp/grp.h [__USE_MISC]: Likewise.
23621         * io/fcntl.h [__USE_MISC]: Likewise.
23622         * io/sys/stat.h [__USE_MISC]: Likewise.
23623         * libio/stdio.h [__USE_MISC]: Likewise.
23624         * posix/unistd.h [__USE_MISC]: Likewise.
23625         * pwd/pwd.h [__USE_MISC]: Likewise.
23626         * stdlib.h [__USE_MISC]: Likewise.
23627         * string/bits/string2.h [__USE_MISC]: Likewise.
23628         * string/string.h [__USE_MISC]: Likewise.
23629         * time/time.h [__USE_MISC]: Likewise.
23631 2014-02-13  Andreas Schwab  <schwab@suse.de>
23633         [BZ #16574]
23634         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23635         second answer buffer if it was separately allocated.
23637 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23639         * sysdeps/mips/math-tests.h: Include <features.h>.
23640         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23641         (ROUNDING_TESTS_long_double): Do not define.
23642         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23643         (EXCEPTION_TESTS_long_double): Likewise.
23644         * sysdeps/mips/mips64/libm-test-ulps: Update.
23646         * include/features.h (__USE_BSD): Remove macro definitions.
23647         (__USE_SVID): Likewise.
23648         (_BSD_SOURCE): Likewise.
23649         (_SVID_SOURCE): Likewise.
23650         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23651         from definition of _DEFAULT_SOURCE.
23652         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23653         [_DEFAULT_SOURCE].
23654         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23655         * bits/mman.h [__USE_BSD]: Likewise.
23656         * bits/termios.h [__USE_BSD]: Likewise.
23657         * bits/waitstatus.h [__USE_BSD]: Likewise.
23658         * ctype/ctype.h [__USE_SVID]: Likewise.
23659         * dirent/dirent.h [__USE_BSD]: Likewise.
23660         * grp/grp.h [__USE_SVID]: Likewise.
23661         [__USE_BSD]: Likewise.
23662         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23663         * io/fcntl.h [__USE_BSD]: Likewise.
23664         * io/ftw.h [__USE_BSD]: Likewise.
23665         * io/sys/stat.h [__USE_BSD]: Likewise.
23666         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23667         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23668         * libio/stdio.h [__USE_SVID]: Likewise.
23669         [__USE_BSD]: Likewise.
23670         * math/math.h [__USE_SVID]: Likewise.
23671         [__USE_BSD]: Likewise.
23672         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23673         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23674         * misc/search.h [__USE_SVID]: Likewise.
23675         * misc/sys/mman.h [__USE_BSD]: Likewise.
23676         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23677         * misc/sys/uio.h [__USE_BSD]: Likewise.
23678         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23679         * posix/glob.h [__USE_BSD]: Likewise.
23680         * posix/regex.h [__USE_BSD]: Likewise.
23681         * posix/sys/types.h [__USE_BSD]: Likewise.
23682         [__USE_SVID]: Likewise.
23683         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23684         * posix/sys/wait.h [__USE_BSD]: Likewise.
23685         [__USE_SVID]: Likewise.
23686         * posix/unistd.h [__USE_BSD]: Likewise.
23687         [__USE_SVID]: Likewise.
23688         * pwd/pwd.h [__USE_SVID]: Likewise.
23689         * resolv/netdb.h [__USE_BSD]: Likewise.
23690         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23691         * signal/signal.h [__USE_BSD]: Likewise.
23692         [__USE_SVID]: Likewise.
23693         * socket/sys/socket.h [__USE_BSD]: Likewise.
23694         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23695         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23696         [__USE_SVID]: Likewise.
23697         * string/bits/string2.h [__USE_BSD]: Likewise.
23698         [__USE_SVID]: Likewise.
23699         * string/bits/string3.h [__USE_BSD]: Likewise.
23700         * string/endian.h [__USE_BSD]: Likewise.
23701         * string/string.h [__USE_SVID]: Likewise.
23702         [__USE_BSD]: Likewise.
23703         * string/strings.h [__USE_BSD]: Likewise.
23704         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23705         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23706         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23707         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23708         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23709         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23710         Likewise.
23711         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23712         Likewise.
23713         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23714         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23715         Likewise.
23716         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23717         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23718         Likewise.
23719         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23720         Likewise.
23721         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23722         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23723         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23724         Likewise.
23725         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23726         Likewise.
23727         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23728         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23729         * termios/termios.h [__USE_BSD]: Likewise.
23730         * time/sys/time.h [__USE_BSD]: Likewise.
23731         * time/time.h [__USE_BSD]: Likewise.
23732         [__USE_SVID]: Likewise.
23734         * Makefile (subdir_targets): Remove subdir_lint.out.
23736         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23737         (do-tst-printf): Likewise.
23738         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23739         $(objpfx)tst-printf.out.
23741         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23743         * Makerules (check-abi-%): Change target to
23744         $(objpfx)check-abi-%.out.
23745         (check-abi target): Update dependencies.
23746         (check-abi-pattern variable): Redirect output of diff to $@.
23747         (check-abi variable): Likewise.
23748         * elf/Makefile (check-abi): Update dependencies.
23750         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23751         unused.
23752         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23753         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23754         subnormal range.
23755         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23756         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23757         value has largest subnormal exponent.
23758         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23759         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23760         * sysdeps/aarch64/soft-fp/sfp-machine.h
23761         (_FP_TININESS_AFTER_ROUNDING): New macro.
23762         * sysdeps/alpha/soft-fp/sfp-machine.h
23763         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23764         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23765         Likewise.
23766         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23767         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23768         * sysdeps/mips/soft-fp/sfp-machine.h
23769         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23770         * sysdeps/powerpc/soft-fp/sfp-machine.h
23771         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23772         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23773         Likewise.
23774         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23775         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23776         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23777         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23778         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23779         Likewise.
23781 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23783         [BZ #16545]
23784         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23785         model 1.
23787 2014-02-12  Richard Henderson  <rth@redhat.com>
23789         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23790         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23791         * sysdeps/unix/sysv/linux/alpha: Move directory from
23792         ports/sysdeps/unix/sysv/linux/alpha.
23793         * README: Update listing for alpha-*-linux-gnu.
23795 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23797         * include/features.h: Update comment documenting feature test
23798         macros.
23799         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23800         _DEFAULT_SOURCE.
23801         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23802         (_SVID_SOURCE): Likewise.
23803         (_DEFAULT_SOURCE): Update description of default features.
23804         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23805         with _GNU_SOURCE.
23806         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23807         (S_ISVTX): Likewise.
23808         * manual/math.texi (Mathematical Constants): Likewise.
23809         * manual/signal.texi (Interrupted Primitives): Likewise.
23810         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23811         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23812         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23813         Don't refer to _SVID_SOURCE in warning text.
23815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23817         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23818         already defined.
23819         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23820         * sysdeps/mips/dl-lookup.c: Remove.
23821         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23823 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23825         [BZ #16447]
23826         * math/auto-libm-test-in: Add testcase for expl.
23827         * math/auto-libm-test-out: Regenerate.
23828         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23829         calculation of unsafe.
23830         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23832 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23834         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23835         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23836         ports/sysdeps/unix/sysv/linux/aarch64.
23837         * README: Update listing for aarch64*-*-linux-gnu.
23839 2014-02-11  Will Newton  <will.newton@linaro.org>
23841         * manual/probes.texi (Mathematical Function Probes): Use
23842         "triggered" instead of "hit".
23844         * manual/probes.texi (Internal Probes): Add documentation
23845         of setjmp, longjmp and longjmp_target probes.
23847         * include/stap-probe.h: Add comment about probe argument
23848         format.
23850         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23851         definition.  (tr_where, tr_freehook, tr_mallochook,
23852         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23854 2014-02-11  David S. Miller  <davem@davemloft.net>
23856         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23857         processing int_tests.
23859 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23861         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23862         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23863         * sysdeps/unix/sysv/linux/mips: Move directory from
23864         ports/sysdeps/unix/sysv/linux/mips.
23865         * README: Update listing for mips-*-linux-gnu and
23866         mips64-*-linux-gnu.
23868 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23870         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23871         * sysdeps/unix/sysv/linux/m68k: Move directory from
23872         ports/sysdeps/unix/sysv/linux/m68k.
23873         * README: Update listing for m68k-*-linux-gnu.
23875 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23877         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23878         * sysdeps/unix/sysv/linux/generic: Move directory from
23879         ports/sysdeps/unix/sysv/linux/generic.
23880         * sysdeps/unix/sysv/linux/tile: Move directory from
23881         ports/sysdeps/unix/sysv/linux/tile.
23882         * README: Update listing for tile*-*-linux-gnu.
23884 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23886         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23887         __builtin_expect.
23888         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23889         * catgets/open_catalog.c (__open_catalog): Likewise.
23890         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23891         * debug/confstr_chk.c: Likewise.
23892         * debug/fread_chk.c (__fread_chk): Likewise.
23893         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23894         * debug/getgroups_chk.c: Likewise.
23895         * debug/mbsnrtowcs_chk.c: Likewise.
23896         * debug/mbsrtowcs_chk.c: Likewise.
23897         * debug/mbstowcs_chk.c: Likewise.
23898         * debug/memcpy_chk.c: Likewise.
23899         * debug/memmove_chk.c: Likewise.
23900         * debug/mempcpy_chk.c: Likewise.
23901         * debug/memset_chk.c: Likewise.
23902         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23903         * debug/strcat_chk.c (__strcat_chk): Likewise.
23904         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23905         * debug/strncat_chk.c (__strncat_chk): Likewise.
23906         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23907         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23908         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23909         * debug/wcpncpy_chk.c: Likewise.
23910         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23911         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23912         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23913         * debug/wcsncpy_chk.c: Likewise.
23914         * debug/wcsnrtombs_chk.c: Likewise.
23915         * debug/wcsrtombs_chk.c: Likewise.
23916         * debug/wcstombs_chk.c: Likewise.
23917         * debug/wmemcpy_chk.c: Likewise.
23918         * debug/wmemmove_chk.c: Likewise.
23919         * debug/wmempcpy_chk.c: Likewise.
23920         * debug/wmemset_chk.c: Likewise.
23921         * dirent/scandirat.c (SCANDIRAT): Likewise.
23922         * dlfcn/dladdr1.c (dladdr1): Likewise.
23923         * dlfcn/dladdr.c (dladdr): Likewise.
23924         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23925         * dlfcn/dlerror.c (__dlerror): Likewise.
23926         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23927         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23928         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23929         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23930         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23931         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23932         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23933         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23934         Likewise.
23935         * elf/dl-conflict.c: Likewise.
23936         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23937         * elf/dl-dst.h: Likewise.
23938         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23939         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23940         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23941         * elf/dl-init.c (call_init, _dl_init): Likewise.
23942         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23943         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23944         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23945         Likewise.
23946         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23947         Likewise.
23948         * elf/dl-minimal.c (__libc_memalign): Likewise.
23949         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23950         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23951         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23952         * elf/dl-sym.c (do_sym): Likewise.
23953         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23954         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23955         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23956         * elf/dl-writev.h (_dl_writev): Likewise.
23957         * elf/ldconfig.c (search_dir): Likewise.
23958         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23959         (dl_main): Likewise.
23960         * elf/setup-vdso.h (setup_vdso): Likewise.
23961         * grp/compat-initgroups.c (compat_call): Likewise.
23962         * grp/fgetgrent.c (fgetgrent): Likewise.
23963         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23964         * grp/putgrent.c (putgrent): Likewise.
23965         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23966         Likewise.
23967         * hurd/hurdinit.c: Likewise.
23968         * iconvdata/8bit-gap.c (struct): Likewise.
23969         * iconvdata/ansi_x3.110.c : Likewise.
23970         * iconvdata/big5.c : Likewise.
23971         * iconvdata/big5hkscs.c : Likewise.
23972         * iconvdata/cp1255.c: Likewise.
23973         * iconvdata/cp1258.c : Likewise.
23974         * iconvdata/cp932.c : Likewise.
23975         * iconvdata/euc-cn.c: Likewise.
23976         * iconvdata/euc-jisx0213.c : Likewise.
23977         * iconvdata/euc-jp.c: Likewise.
23978         * iconvdata/euc-jp-ms.c : Likewise.
23979         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23980         * iconvdata/gb18030.c : Likewise.
23981         * iconvdata/gbbig5.c (const): Likewise.
23982         * iconvdata/gbgbk.c: Likewise.
23983         * iconvdata/gbk.c : Likewise.
23984         * iconvdata/ibm1364.c : Likewise.
23985         * iconvdata/ibm930.c : Likewise.
23986         * iconvdata/ibm932.c: Likewise.
23987         * iconvdata/ibm933.c : Likewise.
23988         * iconvdata/ibm935.c : Likewise.
23989         * iconvdata/ibm937.c : Likewise.
23990         * iconvdata/ibm939.c : Likewise.
23991         * iconvdata/ibm943.c: Likewise.
23992         * iconvdata/iso_11548-1.c: Likewise.
23993         * iconvdata/iso-2022-cn.c : Likewise.
23994         * iconvdata/iso-2022-cn-ext.c : Likewise.
23995         * iconvdata/iso-2022-jp-3.c: Likewise.
23996         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23997         * iconvdata/iso-2022-kr.c : Likewise.
23998         * iconvdata/iso646.c (gconv_end): Likewise.
23999         * iconvdata/iso_6937-2.c : Likewise.
24000         * iconvdata/iso_6937.c : Likewise.
24001         * iconvdata/iso8859-1.c: Likewise.
24002         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24003         * iconvdata/shift_jisx0213.c : Likewise.
24004         * iconvdata/sjis.c : Likewise.
24005         * iconvdata/t.61.c : Likewise.
24006         * iconvdata/tcvn5712-1.c : Likewise.
24007         * iconvdata/tscii.c: Likewise.
24008         * iconvdata/uhc.c : Likewise.
24009         * iconvdata/unicode.c (gconv_end): Likewise.
24010         * iconvdata/utf-16.c (gconv_end): Likewise.
24011         * iconvdata/utf-32.c (gconv_end): Likewise.
24012         * iconvdata/utf-7.c (base64): Likewise.
24013         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24014         * iconv/gconv_close.c (__gconv_close): Likewise.
24015         * iconv/gconv_open.c (__gconv_open): Likewise.
24016         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24017         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24018         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24019         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24020         (ucs4le_internal_loop_single): Likewise.
24021         * iconv/iconv.c (iconv): Likewise.
24022         * iconv/iconv_close.c: Likewise.
24023         * iconv/loop.c (SINGLE): Likewise.
24024         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24025         * include/atomic.h: Likewise.
24026         * inet/inet6_option.c (option_alloc): Likewise.
24027         * intl/bindtextdom.c (set_binding_values): Likewise.
24028         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24029         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24030         * intl/localealias.c (read_alias_file): Likewise.
24031         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24032         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24033         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24034         * libio/fmemopen.c (fmemopen): Likewise.
24035         * libio/iofgets.c (_IO_fgets): Likewise.
24036         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24037         * libio/iofgetws.c (fgetws): Likewise.
24038         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24039         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24040         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24041         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24042         * locale/findlocale.c (_nl_find_locale): Likewise.
24043         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24044         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24045         Likewise.
24046         * locale/setlocale.c (setlocale): Likewise.
24047         * login/programs/pt_chown.c (main): Likewise.
24048         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24049         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24050         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24051         (mmap, mmap64, mremap, munmap): Likewise.
24052         * math/e_exp2l.c: Likewise.
24053         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24054         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24055         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24056         * math/s_catan.c (__catan): Likewise.
24057         * math/s_catanf.c (__catanf): Likewise.
24058         * math/s_catanh.c (__catanh): Likewise.
24059         * math/s_catanhf.c (__catanhf): Likewise.
24060         * math/s_catanhl.c (__catanhl): Likewise.
24061         * math/s_catanl.c (__catanl): Likewise.
24062         * math/s_ccosh.c (__ccosh): Likewise.
24063         * math/s_ccoshf.c (__ccoshf): Likewise.
24064         * math/s_ccoshl.c (__ccoshl): Likewise.
24065         * math/s_cexp.c (__cexp): Likewise.
24066         * math/s_cexpf.c (__cexpf): Likewise.
24067         * math/s_cexpl.c (__cexpl): Likewise.
24068         * math/s_clog10.c (__clog10): Likewise.
24069         * math/s_clog10f.c (__clog10f): Likewise.
24070         * math/s_clog10l.c (__clog10l): Likewise.
24071         * math/s_clog.c (__clog): Likewise.
24072         * math/s_clogf.c (__clogf): Likewise.
24073         * math/s_clogl.c (__clogl): Likewise.
24074         * math/s_csin.c (__csin): Likewise.
24075         * math/s_csinf.c (__csinf): Likewise.
24076         * math/s_csinh.c (__csinh): Likewise.
24077         * math/s_csinhf.c (__csinhf): Likewise.
24078         * math/s_csinhl.c (__csinhl): Likewise.
24079         * math/s_csinl.c (__csinl): Likewise.
24080         * math/s_csqrt.c (__csqrt): Likewise.
24081         * math/s_csqrtf.c (__csqrtf): Likewise.
24082         * math/s_csqrtl.c (__csqrtl): Likewise.
24083         * math/s_ctan.c (__ctan): Likewise.
24084         * math/s_ctanf.c (__ctanf): Likewise.
24085         * math/s_ctanh.c (__ctanh): Likewise.
24086         * math/s_ctanhf.c (__ctanhf): Likewise.
24087         * math/s_ctanhl.c (__ctanhl): Likewise.
24088         * math/s_ctanl.c (__ctanl): Likewise.
24089         * math/w_pow.c: Likewise.
24090         * math/w_powf.c: Likewise.
24091         * math/w_powl.c: Likewise.
24092         * math/w_scalb.c (sysv_scalb): Likewise.
24093         * math/w_scalbf.c (sysv_scalbf): Likewise.
24094         * math/w_scalbl.c (sysv_scalbl): Likewise.
24095         * misc/error.c (error_tail): Likewise.
24096         * misc/pselect.c (__pselect): Likewise.
24097         * nis/nis_callback.c (__nis_create_callback): Likewise.
24098         * nis/nis_call.c (__nisfind_server): Likewise.
24099         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24100         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24101         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24102         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24103         * nis/nis_lookup.c (nis_lookup): Likewise.
24104         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24105         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24106         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24107         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24108         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24109         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24110         * nis/nss_compat/compat-initgroups.c (add_group)
24111         (internal_getgrent_r): Likewise.
24112         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24113         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24114         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24115         (internal_getspnam_r): Likewise.
24116         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24117         (_nss_nis_getaliasbyname_r): Likewise.
24118         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24119         (_nss_nis_getntohost_r): Likewise.
24120         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24121         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24122         (_nss_nis_getgrgid_r): Likewise.
24123         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24124         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24125         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24126         (_nss_nis_gethostbyname4_r): Likewise.
24127         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24128         (initgroups_netid): Likewise.
24129         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24130         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24131         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24132         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24133         (_nss_nis_getprotobynumber_r): Likewise.
24134         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24135         (_nss_nis_getsecretkey): Likewise.
24136         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24137         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24138         (_nss_nis_getpwuid_r): Likewise.
24139         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24140         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24141         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24142         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24143         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24144         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24145         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24146         Likewise.
24147         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24148         (_nss_nisplus_getntohost_r): Likewise.
24149         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24150         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24151         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24152         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24153         Likewise.
24154         * nis/nss_nisplus/nisplus-initgroups.c
24155         (_nss_nisplus_initgroups_dyn): Likewise.
24156         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24157         (_nss_nisplus_getnetbyaddr_r): Likewise.
24158         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24159         (_nss_nisplus_getprotobynumber_r): Likewise.
24160         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24161         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24162         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24163         Likewise.
24164         * nis/nss_nisplus/nisplus-service.c
24165         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24166         (_nss_nisplus_getservbyport_r): Likewise.
24167         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24168         (_nss_nisplus_getspnam_r): Likewise.
24169         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24170         Likewise.
24171         * nscd/aicache.c (addhstaiX): Likewise.
24172         * nscd/cache.c (cache_search, prune_cache): Likewise.
24173         * nscd/connections.c (register_traced_file, send_ro_fd)
24174         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24175         (main_loop_epoll): Likewise.
24176         * nscd/grpcache.c (addgrbyX): Likewise.
24177         * nscd/hstcache.c (addhstbyX): Likewise.
24178         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24179         * nscd/mem.c (gc, mempool_alloc): Likewise.
24180         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24181         (addinnetgrX): Likewise.
24182         * nscd/nscd-client.h (__nscd_acquire_maplock)
24183         (__nscd_drop_map_ref): Likewise.
24184         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24185         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24186         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24187         Likewise.
24188         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24189         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24190         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24191         (__nscd_get_map_ref): Likewise.
24192         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24193         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24194         Likewise.
24195         * nscd/pwdcache.c (addpwbyX): Likewise.
24196         * nscd/selinux.c (preserve_capabilities): Likewise.
24197         * nscd/servicescache.c (addservbyX): Likewise.
24198         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24199         * posix/fnmatch.c (fnmatch): Likewise.
24200         * posix/getopt.c (_getopt_internal_r): Likewise.
24201         * posix/glob.c (glob, glob_in_dir): Likewise.
24202         * posix/wordexp.c (exec_comm_child): Likewise.
24203         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24204         (getanswer_r, gaih_getanswer_slice): Likewise.
24205         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24206         * resolv/res_init.c: Likewise.
24207         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24208         * resolv/res_query.c (__libc_res_nquery): Likewise.
24209         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24210         Likewise.
24211         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24212         * stdio-common/perror.c (perror): Likewise.
24213         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24214         * stdio-common/tmpnam.c (tmpnam): Likewise.
24215         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24216         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24217         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24218         Likewise.
24219         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24220         * stdlib/putenv.c (putenv): Likewise.
24221         * stdlib/setenv.c (__add_to_environ): Likewise.
24222         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24223         * stdlib/strtol_l.c (INTERNAL): Likewise.
24224         * string/memmem.c (memmem): Likewise.
24225         * string/strerror.c (strerror): Likewise.
24226         * string/strnlen.c (__strnlen): Likewise.
24227         * string/test-memmem.c (simple_memmem): Likewise.
24228         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24229         * sunrpc/pm_getport.c (__get_socket): Likewise.
24230         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24231         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24232         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24233         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24234         Likewise.
24235         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24236         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24237         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24238         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24239         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24240         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24241         Likewise.
24242         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24243         Likewise.
24244         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24245         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24246         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24247         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24248         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24249         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24250         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24251         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24252         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24253         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24254         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24255         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24256         Likewise.
24257         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24258         Likewise.
24259         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24260         Likewise.
24261         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24262         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24263         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24264         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24265         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24266         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24267         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24268         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24269         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24270         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24271         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24272         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24273         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24274         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24275         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24276         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24277         Likewise.
24278         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24279         Likewise.
24280         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24281         Likewise.
24282         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24283         Likewise.
24284         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24285         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24286         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24287         Likewise.
24288         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24289         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24290         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24291         * sysdeps/posix/sleep.c: Likewise.
24292         * sysdeps/posix/tempname.c: Likewise.
24293         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24294         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24295         Likewise.
24296         * sysdeps/powerpc/powerpc32/dl-machine.h
24297         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24298         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24299         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24300         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24301         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24302         Likewise.
24303         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24304         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24305         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24306         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24307         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24308         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24309         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24310         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24311         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24312         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24313         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24314         (elf_machine_lazy_rel): Likewise.
24315         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24316         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24317         (elf_machine_lazy_rel): Likewise.
24318         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24319         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24320         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24321         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24322         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24323         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24324         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24325         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24326         Likewise.
24327         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24328         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24329         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24330         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24331         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24332         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24333         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24334         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24335         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24336         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24337         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24338         Likewise.
24339         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24340         (__posix_fallocate64_l64): Likewise.
24341         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24342         (posix_fallocate): Likewise.
24343         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24344         Likewise.
24345         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24346         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24347         (getifaddrs_internal): Likewise.
24348         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24349         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24350         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24351         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24352         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24353         (__posix_fallocate64_l64): Likewise.
24354         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24355         Likewise.
24356         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24357         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24358         (__get_clockfreq): Likewise.
24359         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24360         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24361         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24362         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24363         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24364         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24365         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24366         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24367         Likewise.
24368         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24369         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24370         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24371         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24372         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24373         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24374         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24375         Likewise.
24376         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24377         (posix_fallocate): Likewise.
24378         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24379         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24380         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24381         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24382         (elf_machine_rela, elf_machine_rela_relative)
24383         (elf_machine_lazy_rel): Likewise.
24384         * time/asctime.c (asctime_internal): Likewise.
24385         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24386         * time/tzset.c (__tzset_parse_tz): Likewise.
24387         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24388         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24389         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24390         * wcsmbs/wcsmbsload.h: Likewise.
24392         [BZ #15894]
24393         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24395         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24396         (arena_get2): Remove THREAD_STATS conditionals.
24397         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24398         (__malloc_stats, int): Likewise.
24400 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24402         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24403         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24405         * manual/setjmp.texi: Fix typos/grammar errors.
24407         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24408         Only return early when n is <= 0.  Delete unused return statement.
24410         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24411         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24412         * debug/tst-longjmp_chk3.c: New file.
24414         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24415         (test_main): Replace code with set_fortify_handler call.
24416         * debug/test-strcpy_chk.c: Likewise.
24417         * debug/tst-chk1.c: Likewise.
24418         * debug/tst-longjmp_chk.c: Likewise.
24419         * test-skeleton.c: Include fcntl.h & paths.h
24420         (set_fortify_handler): Define.
24422         * debug/tst-longjmp_chk.c: Add header comment and include
24423         ../test-skeleton.c.
24424         (do_test): Mark static.
24425         (TEST_FUNCTION): Define.
24427         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24428         (IP_PMTUDISC_INTERFACE): Likewise.
24429         (IP_MULTICAST_IF): Likewise.
24430         (IP_MULTICAST_TTL): Likewise.
24431         (IP_MULTICAST_LOOP): Likewise.
24432         (IP_ADD_MEMBERSHIP): Likewise.
24433         (IP_DROP_MEMBERSHIP): Likewise.
24434         (IP_UNBLOCK_SOURCE): Likewise.
24435         (IP_BLOCK_SOURCE): Likewise.
24436         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24437         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24438         (IP_MSFILTER): Likewise.
24439         (MCAST_JOIN_GROUP): Likewise.
24440         (MCAST_BLOCK_SOURCE): Likewise.
24441         (MCAST_UNBLOCK_SOURCE): Likewise.
24442         (MCAST_LEAVE_GROUP): Likewise.
24443         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24444         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24445         (MCAST_MSFILTER): Likewise.
24446         (IP_MULTICAST_ALL): Likewise.
24447         (IP_UNICAST_IF): Likewise.
24449         * timezone/Makefile: Delete $(have-ksh) check.
24450         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24451         * timezone/tzselect.ksh: Add +x mode bits.
24453         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24454         (ANON_INODE_FS_MAGIC): Likewise.
24455         (BDEVFS_MAGIC): Likewise.
24456         (BINFMTFS_MAGIC): Likewise.
24457         (BTRFS_TEST_MAGIC): Likewise.
24458         (CRAMFS_MAGIC_WEND): Likewise.
24459         (DEBUGFS_MAGIC): Likewise.
24460         (ECRYPTFS_SUPER_MAGIC): Likewise.
24461         (EXT3_SUPER_MAGIC): Likewise.
24462         (EXT4_SUPER_MAGIC): Likewise.
24463         (FUTEXFS_SUPER_MAGIC): Likewise.
24464         (HOSTFS_SUPER_MAGIC): Likewise.
24465         (HUGETLBFS_MAGIC): Likewise.
24466         (MINIX3_SUPER_MAGIC): Likewise.
24467         (MTD_INODE_FS_MAGIC): Likewise.
24468         (NILFS_SUPER_MAGIC): Likewise.
24469         (OPENPROM_SUPER_MAGIC): Likewise.
24470         (PIPEFS_MAGIC): Likewise.
24471         (PSTOREFS_MAGIC): Likewise.
24472         (QNX6_SUPER_MAGIC): Likewise.
24473         (RAMFS_MAGIC): Likewise.
24474         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24475         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24476         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24477         (SECURITYFS_MAGIC): Likewise.
24478         (SELINUX_MAGIC): Likewise.
24479         (SMACK_MAGIC): Likewise.
24480         (SOCKFS_MAGIC): Likewise.
24481         (SQUASHFS_MAGIC): Likewise.
24482         (STACK_END_MAGIC): Likewise.
24483         (TMPFS_MAGIC): Likewise.
24484         (USBDEVICE_SUPER_MAGIC): Likewise.
24485         (V9FS_MAGIC): Likewise.
24486         (XENFS_SUPER_MAGIC): Likewise.
24487         (CRAMFS_MAGIC): Fix typo in comment.
24488         (EXT2_SUPER_MAGIC): Update comment.
24489         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24491 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24493         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24494         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24495         * sysdeps/unix/sysv/linux/arm: Move directory from
24496         ports/sysdeps/unix/sysv/linux/arm.
24497         * README: Update listing for arm-*-linux-gnueabi.
24499         * README: Remove mention of am33.
24501 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24503         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24504         than the comma operator, to avoid "rhs of comma has no effect"
24505         compiler warnings.
24506         (__sigfillset, __sigandset, __sigorset): Likewise.
24507         * include/signal.h (__sigemptyset): Likewise.
24508         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24510 2014-02-07  Allan McRae  <allan@archlinux.org>
24512         * version.h (RELEASE): Set to "development".
24513         (VERSION): Set to "2.19.90"
24514         * NEWS: Add 2.20 section.
24516 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24518         [BZ #16529]
24519         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24521 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24523         * manual/contrib.texi: Update entry for Carlos O'Donell,
24524         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24526 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24528         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24530         * sysdeps/unix/sysv/linux/kernel-features.h
24531         [__LINUX_KERNEL_VERSION >= 0x020621]
24532         (__ASSUME_PROC_PID_TASK_COMM): Define.
24534 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24536         [BZ #16398]
24537         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24538         conversion when destination buffer does not have enough space.
24539         * libio/tst-ftell-partial-wide.c: New test case.
24540         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24542         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24543         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24544         Leonard and Allan McRae.
24546 2014-02-04  David S. Miller  <davem@davemloft.net>
24548         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24549         32-bit.
24551 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24554         New file
24555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24556         New file
24557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24558         New file.
24559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24560         New file.
24561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24562         New file.
24563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24564         New file.
24565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24566         New file.
24567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24568         New file.
24569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24570         New file.
24571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24572         New file.
24573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24574         New file.
24575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24576         New file.
24577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24578         New file.
24580 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24582         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24583         * shlib-versions: Likewise.
24585 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24586             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24588         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24589         (abilist-pattern): New variable, set to %-le.abilist.
24591         * Makerules (abilist-pattern): New variable.
24592         (vpath): Use $(abilist-pattern) in place of %.abilist.
24593         (check-abi-% pattern rule): Likewise.
24594         (check-abi, update-abi): Likewise.
24596 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24600 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24602         * manual/startup.texi: Add next, previous, and top entries for
24603         the `Program Arguments' and `Environment Variables' nodes.
24605 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24607         * manual/macros.texi: Add comments before MTASC-safety macros.
24609         * manual/users.texi: Document MTASC-safety properties.
24611         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24612         (pthread_getspecific, pthread_setspecific): Format with
24613         @deftypefun, and add @safety note.
24614         * manual/signal.texi: Move comments that analyze the above
24615         functions to their home place.
24617 2014-02-03  Allan McRae  <allan@archlinux.org>
24619         * po/sl.po: Update Slovenian translation from translation project.
24621 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24623         * manual/time.texi (timegm): Add missing blank after @c.
24624         Reported by Joseph Myers <joseph@codesourcery.com>.
24626 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24628         * manual/check-safety.sh: New.
24629         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24631         * manual/terminal.texi: Document MTASC-safety properties.
24633         * manual/filesys.texi: Document MTASC-safety properties.
24635         * manual/errno.texi: Document MTASC-safety properties.
24637         * manual/intro.texi: Document safety identifiers and
24638         conditionals.
24640         * manual/string.texi (wcstok): Fix prototype.
24641         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24643         * manual/time.texi: Document MTASC-safety properties.
24645         * manual/string.texi: Document MTASC-safety properties.
24647         * manual/threads.texi: Document MTASC-safety properties.
24649         * manual/stdio.texi: Document MTASC-safety properties.
24651         * manual/syslog.texi: Document MTASC-safety properties.
24653         * manual/sysinfo.texi: Document MTASC-safety properties.
24655         * manual/startup.texi: Document MTASC-safety properties.
24657         * manual/socket.texi: Document MTASC-safety properties.
24659         * manual/signal.texi: Document MTASC-safety properties.
24661 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24663         * manual/setjmp.texi: Document MTASC-safety properties.
24665         * manual/search.texi: Document MTASC-safety properties.
24667         * manual/resource.texi: Document MTASC-safety properties.
24669         * manual/process.texi: Document MTASC-safety properties.
24671         * manual/platform.texi: Document MTASC-safety properties.
24673         * manual/pipe.texi: Document MTASC-safety properties.
24675         * manual/pattern.texi: Document MTASC-safety properties.
24677         * manual/message.texi: Document MTASC-safety properties.
24679         [BZ #12751]
24680         * manual/memory.texi: Document MTASC-safety properties.
24682         * manual/math.texi: Document MTASC-safety properties.
24684         * manual/locale.texi: Document MTASC-safety properties.
24686         * manual/llio.texi: Document MTASC-safety properties.
24688         * manual/libdl.texi: New.
24690         * manual/lang.texi: Document MTASC-safety properties.
24692         * manual/job.texi: Document MTASC-safety properties.
24694         * manual/getopt.texi: Document MTASC-safety properties.
24696         * manual/ctype.texi: Document MTASC-safety properties.
24698 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24700         [BZ #16046]
24701         * csu/libc-tls.c (static_map): Remove variable.
24702         (__libc_setup_tls): Use main executable's link map for TLS data.
24703         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24704         casing for LM_ID_BASE and GL(dl_nns).
24705         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24706         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24707         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24708         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24709         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24710         member.
24711         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24712         l_phnum members.
24714 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24716         * manual/debug.texi: Document MTASC-safety properties.
24718 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24720         [BZ #16510]
24721         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24722         of __x86_64__ when disabling x87 inline functions.
24724 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24726         * manual/charset.texi: Document MTASC-safety properties.
24728         * manual/crypt.texi: Document MTASC-safety properties.
24730         * manual/conf.texi: Document MTASC-safety properties.
24732         * manual/arith.texi: Document MTASC-safety properties.
24734         * manual/argp.texi: Document MTASC-safety properties.
24736         * manual/macros.texi: Introduce macros to document multi
24737         thread, asynchronous signal and asynchronous cancellation
24738         safety properties.
24739         * manual/intro.texi: Introduce the properties themselves.
24741 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24743         * sysdeps/sh/sh4/Makefile: New file.
24745 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24747         * math/gen-libm-test.pl ($srcdir): New variable.
24748         ($auto_input): Use it.
24750 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24752         [BZ #16506]
24753         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24754         access beyond array bounds when parsing netgroups file.
24756         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24757         the old buffer before realloc.
24759 2014-01-27  Allan McRae  <allan@archlinux.org>
24761         * po/fr.po: Update French translation from translation project.
24763 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24765         * sysdeps/sh/libm-test-ulps: Regenerate.
24767 2014-01-24  David S. Miller  <davem@davemloft.net>
24769         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24771 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24773         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24774         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24776 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24778         [BZ #16474]
24779         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24780         string pointers after reallocation.
24782 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24784         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24785         __SH4A__ instead of __SH_FPU_ANY__.
24787 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24789         * sysdeps/sh/fpu_control.h: New file.
24790         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24791         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24792         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24793         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24794         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24795         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24796         * sysdeps/sh/sys/ucontext.h: Remove.
24797         * sysdeps/sh/sys: Remove directory.
24799 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24801         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24802         s390/sys/ucontext.h.
24803         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24804         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24806 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24808         [BZ #15605]
24809         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24811 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24813         [BZ#16431]
24814         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24815         Adjust the vDSO correctly for internal calls.
24816         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24818 2014-01-20  Allan McRae  <allan@archlinux.org>
24820         * po/ca.po: Update Catalan translation from translation project.
24822 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24824         * sysdeps/s390/sotruss-lib.c: New file.
24826 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24828         [BZ#16430]
24829         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24830         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24831         local calls issues by not having a PLT stub required for IFUNC calls.
24832         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24834 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24836         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24837         * math/test-fpucw-static.c: Likewise.
24839 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24841         [BZ #16453]
24842         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24844 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24846         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24847         implementation for powerpc.
24849 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24851         [BZ #14782]
24852         * sysdeps/posix/system.c (__libc_system): Do not enable
24853         asynchronous cancellation.
24855 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24857         [BZ #16427]
24858         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24859         handling only for numbers special also in the IEEE case.
24861 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24863         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24865 2014-01-11  Allan McRae  <allan@archlinux.org>
24867         * po/bg.po: Update Bulgarian translation from translation project.
24869         * po/de.po: Update German translation from translation project.
24871 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24873         * sysdeps/generic/gcc-compat.h: New file.
24875 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24877         * benchtests/asin-inputs: Correct slow inputs.
24878         * benchtests/acos-inputs: Likewise.
24880 2014-01-10  Allan McRae  <allan@archlinux.org>
24882         * po:sv.po: Update Swedish translation from translation project.
24884         * po/vi.po: Update Vietnamese translation from translation project.
24886         * po/eo.po: Update Esperanto translation from translation project.
24888         * po/cs.po: Update Czech translation from translation project.
24890         * po/nl.po: Update Dutch translation from translation project.
24892         * po/pl.po: Update Polish translation from translation project.
24894         * po/ru.po: Update Russian translation from translation project.
24896         * po/uk.po: Update Ukrainian translation from translation project.
24898 2014-01-08  Brooks Moses  <bmoses@google.com>
24900         * elf/dl-load.c: Fix comment typo.
24902 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24904         * po/header.pot: Rename to...
24905         * po/pot.header: ... this.
24906         * po/Makefile: Use pot.header.
24908 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24909             Maxim Kuvyrkov  <maxim@kugelworks.com>
24911         [BZ #16394]
24912         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24913         SRC and DEST against LEN.
24915 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24917         [BZ #16414]
24918         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24919         implementation.
24920         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24922 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24926 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24928         [BZ #16408]
24929         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24930         for large positive arguments.
24932 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24934         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24936         * math/auto-libm-test-in: Mark various tests with
24937         xfail-rounding:ldbl-128ibm.
24938         * math/auto-libm-test-out: Regenerated.
24940         [BZ #16407]
24941         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24942         Increase overflow threshold.
24944 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24946         [BZ #14286]
24947         * stdio-common/vfprintf.c: Check for integer overflow.
24949 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24951         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24952         the first argument and return value of __tls_get_addr_internal.
24954 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24956         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24957         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24959 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24961         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24962         * sysdeps/s390/rtld-global-offsets.sym: New file.
24963         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24964         GLIBC_2.19 symbol.
24965         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24966         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24967         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24968         ... this.
24969         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24970         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24971         ... this.
24972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24973         Regenerate.
24974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24975         Regenerate.
24976         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24977         halfs of GPRs for high_gprs contexts.
24978         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24979         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24980         field.
24981         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24982         uc_flags field.
24983         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24984         64 bit versions:
24985         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24986         for high GPRs (uc_high_gprs) and for future extensions
24987         (__reserved).
24988         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24989         for future extensions (__reserved).
24990         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24991         64 bit versions:
24992         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24993         SC_HIGHGPRS offset definition.
24994         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24995         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24997         * Versions.def: Add GLIBC_2.19 for libpthread.
24998         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24999         siglongjmp for libpthread with GLIBC_2.19 symver.
25000         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25001         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25002         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25003         * sysdeps/s390/__longjmp.c: New file.
25004         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25005         * sysdeps/s390/longjmp.c: New file.
25006         * sysdeps/s390/setjmp.S: New file.
25007         * sysdeps/s390/sigjmp.S: New file.
25008         * sysdeps/s390/v1-longjmp.c: New file.
25009         * sysdeps/s390/v1-setjmp.h: New file.
25010         * sysdeps/s390/v1-sigjmp.c: New file.
25011         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25012         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25013         GLIBC_2.19 version.
25014         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25015         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25016         versioned symbols for ____longjmp_chk.
25017         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25018         Likewise.
25019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25020         Regenerate.
25021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25022         Regenerate.
25023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25024         Regenerate.
25025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25026         Regenerate.
25027         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25028         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25029         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25030         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25031         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25032         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25033         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25034         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25035         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25036         * sysdeps/s390/rtld-__longjmp.c: New file.
25037         * sysdeps/s390/rtld-setjmp.S: New file.
25039 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25041         [BZ #16400]
25042         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25043         Return -__logl (x) for small positive arguments without evaluating
25044         a polynomial.
25046 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25048         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25049         Rename to ...
25050         (__ptrace_peeksiginfo_args): ... this.
25051         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25052         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25053         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25055 2014-01-06  Allan McRae  <allan@archlinux.org>
25057         * inet/netinet/in.h: Fix typo in comment.
25059 2014-01-05  Andreas Jaeger  <aj@suse.de>
25061         * sysdeps/i386/fpu/libm-test-ulps: Update.
25063 2014-01-05  Allan McRae  <allan@archlinux.org>
25065         * po/libc.pot: Regenerated.
25067         * malloc/memusagestat.c: Fix gettext call formatting.
25069 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25071         * nscd/nscd.c: Improve usage() output.
25073 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25075         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25076         * sysdeps/unix/sysv/linux/configure: Regenerated.
25077         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25078         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25080 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25082         [BZ #16390]
25083         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25084         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25086 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25088         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25089         extra tokens at end of #undef directive.
25090         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25091         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25092         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25094 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25096         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25098         * math/auto-libm-test-in: Mark various tests with
25099         xfail-rounding:ldbl-128ibm.
25100         * math/auto-libm-test-out: Regenerated.
25102 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25104         [BZ #16386]
25105         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25106         numbers with subnormal high part when calculating exponent.
25108         [BZ #16385]
25109         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25110         fabs.
25112         [BZ #16384]
25113         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25114         M_LN2l.
25115         (__ieee754_acoshl): Use __log1pl not __log1p.
25117 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25119         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25120         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25121         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25122         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25123         (reused_arena, arena_get2): Convert to GNU style.
25124         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25125         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25126         (memalign_check, __malloc_set_state): Likewise.
25127         * malloc/mallocbug.c (main): Likewise.
25128         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25129         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25130         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25131         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25132         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25133         (__posix_memalign, malloc_info): Likewise.
25134         * malloc/malloc.h: Likewise.
25135         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25136         (mallochook, memalignhook, reallochook, mabort): Likewise.
25137         * malloc/mcheck.h: Likewise.
25138         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25139         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25140         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25141         * malloc/morecore.c (__default_morecore): Likewise.
25142         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25143         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25144         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25145         (print_and_abort): Likewise.
25146         * malloc/obstack.h: Likewise.
25147         * malloc/set-freeres.c (__libc_freeres): Likewise.
25148         * malloc/tst-mallocstate.c (main): Likewise.
25149         * malloc/tst-mtrace.c (main): Likewise.
25150         * malloc/tst-realloc.c (do_test): Likewise.
25152 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25154         [BZ #16366]
25155         * nscd/netgroupcache.c (do_notfound): New function.
25156         (addgetnetgrentX): Use it.
25158         [BZ # 16365]
25159         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25160         NSS_STATUS_NOTFOUND.
25162 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25164         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25167 2014-01-01  Allan McRae  <allan@archlinux.org>
25169         * scripts/update-copyrights: Update configure input file suffix.
25171         * NEWS: Update copyright year.
25172         * catgets/gencat.c: Likewise.
25173         * csu/version.c: Likewise.
25174         * debug/catchsegv.sh: Likewise.
25175         * debug/pcprofiledump.c: Likewise.
25176         * debug/xtrace.sh: Likewise.
25177         * elf/ldconfig.c: Likewise.
25178         * elf/ldd.bash.in: Likewise.
25179         * elf/pldd.c: Likewise.
25180         * elf/sotruss.ksh: Likewise.
25181         * elf/sprof.c: Likewise.
25182         * iconv/iconv_prog.c: Likewise.
25183         * iconv/iconvconfig.c: Likewise.
25184         * locale/programs/locale.c: Likewise.
25185         * locale/programs/localedef.c: Likewise.
25186         * login/programs/pt_chown.c: Likewise.
25187         * malloc/memusage.sh: Likewise.
25188         * malloc/memusagestat.c: Likewise.
25189         * malloc/mtrace.pl: Likewise.
25190         * manual/libc.texinfo: Likewise.
25191         * nscd/nscd.c: Likewise.
25192         * nss/getent.c: Likewise.
25193         * nss/makedb.c: Likewise.
25194         * posix/getconf.c: Likewise.
25195         * scripts/test-installation.pl: Likewise.
25197         * All files with FSF copyright notices: Update copyright dates
25198         using scripts/update-copyrights.
25199         * intl/plural.c: Regenerated.
25200         * locale/programs/charmap-kw.h: Likewise.
25201         * locale/programs/locfile-kw.h: Likewise.
25203 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25205         * sysdeps/unix/sysv/linux/configure: Regenerated.
25206         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25207         the linux/fanotify.h header.
25208         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25209         HAVE_LINUX_FANOTIFY_H is defined.
25211 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25213         * benchtests/cos-inputs: New inputs.
25214         * benchtests/sin-inputs: Likewise.
25216         * benchtests/atan-inputs: New inputs. Fix name of multiple
25217         precision fallback inputs.
25219         * benchtests/atanh-inputs: New inputs.
25220         * benchtests/tanh-inputs: Likewise.
25222         * benchtests/acosh-inputs: New inputs.
25223         * benchtests/asinh-inputs: Likewise.
25225         * benchtests/cosh-inputs: New inputs.
25226         * benchtests/sinh-inputs: Likewise.
25228         * benchtests/acos-inputs: Add more inputs.
25229         * benchtests/asin-inputs: Likewise.
25231 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25233         [BZ #16375]
25234         * manual/arith.texi: Fix spelling.
25235         * manual/charset.texi: Likewise.
25236         * manual/errno.texi: Likewise.
25237         * manual/filesys.texi: Likewise.
25238         * manual/lang.texi: Likewise.
25239         * manual/llio.texi: Likewise.
25240         * manual/locale.texi: Likewise.
25241         * manual/message.texi: Likewise.
25242         * manual/resource.texi: Likewise.
25243         * manual/search.texi: Likewise.
25244         * manual/setjmp.texi: Likewise.
25245         * manual/stdio.texi: Likewise.
25246         * manual/string.texi: Likewise.
25247         * manual/sysinfo.texi: Likewise.
25248         * manual/time.texi: Likewise.
25250 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25252         * po/sl.po: New file.
25254 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25256         * .gitignore: Add core/.gdbinit/.gdb_history.
25258 2013-12-27  Allan McRae  <allan@archlinux.org>
25260         [BZ #16369]
25261         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25262         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25264 2013-12-24  Brooks Moses  <bmoses@google.com>
25266         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25267         all compilers that claim C++98 compliance, not just GCC.
25268         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25269         Likewise.
25271 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25273         * NEWS: Restore accidentally deleted bug-fix entries.
25275 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25276             Ondřej Bílka  <neleai@seznam.cz>
25278         [BZ #15073]
25279         * malloc/malloc.c (_int_free): Perform sanity check only if we
25280         have_lock.
25282 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25284         [BZ #12986]
25285         * manual/stdio.texi (String Input Conversions): Clarify that character
25286         classes are not supported.
25288 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25292 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25294         [BZ #16337]
25295         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25296         Calculate results for small negative arguments directly rather
25297         than using reflection formula with special underflow handling.
25299         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25300         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25301         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25302         (fchflags): Likewise.
25303         (revoke): Likewise.
25304         (setlogin): Likewise.
25305         (sigaltstack): Likewise.
25306         (wait4): Likewise.
25307         (sigblock): Remove.
25308         (sigsetmask): Likewise.
25309         (wait3): Likewise.
25310         (waitpid): Likewise.
25311         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25312         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25313         file.
25314         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25315         * sysdeps/unix/bsd/Makefile: ... here.
25316         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25317         * sysdeps/unix/bsd/Versions: ... here.
25318         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25319         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25320         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25321         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25322         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25323         * sysdeps/unix/bsd/sigblock.c: ... here.
25324         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25325         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25326         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25327         * sysdeps/unix/bsd/sigvec.c: ... here.
25328         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25329         * sysdeps/unix/bsd/tcdrain.c: ... here.
25330         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25331         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25332         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25333         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25334         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25335         * sysdeps/unix/bsd/wait.c: ... here.
25336         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25337         * sysdeps/unix/bsd/wait3.c: ... here.
25338         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25339         * sysdeps/unix/bsd/waitpid.c: ... here.
25341 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25343         [BZ #16356]
25344         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25345         round-to-nearest for [!USE_AS_EXPM1L].
25346         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25347         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25348         more tests of exp and exp10.  Expect some exp10 tests to miss
25349         exceptions or fail in directed rounding modes.
25350         * math/auto-libm-test-out: Regenerated.
25351         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25352         (exp10_test_tonearest): New function.
25353         (exp10_towardzero_test_data): New array.
25354         (exp10_test_towardzero): New function.
25355         (exp10_downward_test_data): New array.
25356         (exp10_test_downward): New function.
25357         (exp10_upward_test_data): New array.
25358         (exp10_test_upward): New function.
25359         (main): Call the new functions.
25360         * sysdeps/i386/fpu/libm-test-ulps: Update.
25361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25363 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25365         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25366         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25367         * math/auto-libm-test-out: Regenerated.
25368         * math/libm-test.inc (acosh_test_data): Add more tests.
25369         (atanh_test_data): Likewise.
25370         (ceil_test_data): Likewise.
25371         (copysign_test_data): Likewise.
25372         * sysdeps/i386/fpu/libm-test-ulps: Update.
25373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25375         * timezone/checktab.awk: Update from tzcode 2013i.
25376         * timezone/private.h: Likewise.
25377         * timezone/scheck.c: Likewise.
25378         * timezone/tzfile.h: Likewise.
25379         * timezone/tzselect.ksh: Likewise.
25380         * timezone/zdump.c: Likewise.
25381         * timezone/zic.c: Likewise.
25383         * math/auto-libm-test-in: Add tests of cpow.
25384         * math/auto-libm-test-out: Regenerated.
25385         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25386         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25387         mpc_cc_c.
25388         (func_calc_desc): Add mpc_cc_c union field.
25389         (test_functions): Add cpow.
25390         (special_fill_2pi): New function.
25391         (special_real_inputs): Add 2pi.
25392         (calc_generic_results): Handle mpc_cc_c.
25393         * sysdeps/i386/fpu/libm-test-ulps: Update.
25394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25396         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25397         csqrt, ctan and ctanh.
25398         * math/auto-libm-test-out: Regenerated.
25399         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25400         (TEST_COND_x86): Likewise.
25401         (ccos_test_data): Use AUTO_TESTS_c_c.
25402         (ccosh_test_data): Likewise.
25403         (cexp_test_data): Likewise.
25404         (clog_test_data): Likewise.
25405         (csqrt_test_data): Likewise.
25406         (ctan_test_data): Likewise.
25407         (ctan_tonearest_test_data): Likewise.
25408         (ctan_towardzero_test_data): Likewise.
25409         (ctan_downward_test_data): Likewise.
25410         (ctan_upward_test_data): Likewise.
25411         (ctanh_test_data): Likewise.
25412         (ctanh_tonearest_test_data): Likewise.
25413         (ctanh_towardzero_test_data): Likewise.
25414         (ctanh_downward_test_data): Likewise.
25415         (ctanh_upward_test_data): Likewise.
25416         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25417         mpc_c_c.
25418         (func_calc_desc): Add mpc_c_c union field.
25419         (FUNC_mpc_c_c): New macro.
25420         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25421         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25422         ctanh.
25423         (special_fill_min_subnorm_p120): New function.
25424         (special_real_inputs): Add min_subnorm_p120.
25425         (calc_generic_results): Handle mpc_c_c.
25426         * sysdeps/i386/fpu/libm-test-ulps: Update.
25427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25429 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25431         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25432         (do_sin_slow): New functions.
25433         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25434         (cslow2, csloww1, csloww2): Use the new functions.
25436         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25437         Use M to change sign of result instead of X.  Assume X is
25438         positive.
25439         (csloww1): Likewise.
25440         (__sin): Adjust.
25441         (__cos): Adjust.
25443         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25444         arguments A and DA.
25445         (__sin): Adjust.
25446         (__cos): Likewise.
25448         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25449         (__cos): Likewise.
25450         (sloww1): Don't adjust sign of DX.
25451         (csloww1): Likewise.
25452         (sloww2): Use X directly and don't adjust sign of DX.
25453         (csloww2): Likewise.
25455 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25457         * math/auto-libm-test-in: Add tests of cabs and carg.
25458         * math/auto-libm-test-out: Regenerated.
25459         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25460         (carg_test_data): Likewise.
25461         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25462         mpc_c_f.
25463         (func_calc_desc): Add mpc_c_f union field.
25464         (test_functions): Add cabs and carg.
25465         (calc_generic_results): Handle mpc_c_f.
25467         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25468         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25469         as a macro and a compat symbol.
25470         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25471         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25472         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25473         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25474         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25475         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25476         not use .hidden.
25477         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25478         Likewise.
25479         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25480         Likewise.
25481         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25482         Likewise.
25483         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25484         Likewise.
25485         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25486         Likewise.
25487         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25488         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25489         from GLIBC_2.3.2.
25491 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25495 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25497         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25498         trailing whitespace removed.
25499         * scripts/config.guess: Update to version 2013-11-29.
25500         * scripts/config.sub: Update to version 2013-10-01.
25502         * math/auto-libm-test-in: Add tests of sincos.
25503         * math/auto-libm-test-out: Regenerated.
25504         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25505         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25506         mpfr_f_11.
25507         (func_calc_desc): Add mpfr_f_11 union field.
25508         (test_functions): Add sincos.
25509         (calc_generic_results): Handle mpfr_f_11.
25510         * sysdeps/i386/fpu/libm-test-ulps: Update.
25511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25513 2013-12-19  Andreas Schwab  <schwab@suse.de>
25515         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25516         CALL_MCOUNT.
25517         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25518         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25519         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25521 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25523         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25524         * sysdeps/i386/fpu/libm-test-ulps: Update.
25525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25527         [BZ #16293]
25528         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25529         round-to-nearest mode when using frndint.
25530         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25531         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25532         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25533         Likewise.
25534         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25535         sinh test to fail.
25536         * math/auto-libm-test-out: Regenerated.
25537         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25538         (TEST_COND_x86): Likewise.
25539         (expm1_tonearest_test_data): New array.
25540         (expm1_test_tonearest): New function.
25541         (expm1_towardzero_test_data): New array.
25542         (expm1_test_towardzero): New function.
25543         (expm1_downward_test_data): New array.
25544         (expm1_test_downward): New function.
25545         (expm1_upward_test_data): New array.
25546         (expm1_test_upward): New function.
25547         (main): Run the new test functions.
25548         * sysdeps/i386/fpu/libm-test-ulps: Update.
25549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25551         * include/features.h: Update comment documenting feature test
25552         macros.  Mention _DEFAULT_SOURCE in comment.
25553         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25554         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25555         _BSD_SOURCE and _SVID_SOURCE.
25556         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25557         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25558         !_SVID_SOURCE]: Likewise.
25559         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25560         (__USE_POSIX_IMPLICITLY): Define.
25561         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25562         (_POSIX_SOURCE): Undefine and redefine.
25563         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25564         (_POSIX_C_SOURCE): Likewise.
25565         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25566         (Feature Test Macros): Update documentation of default features.
25568 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25570         * benchtests/Makefile: Add bench-strtok.
25571         * benchtests/bench-strtok.c: New file: strtok benchtest.
25573 2013-12-19  Allan McRae  <allan@archlinux.org>
25575         * manual/install.texi: Suppress menu for plain text output.
25576         * INSTALL: Regenerated.
25578 2013-12-18  Brooks Moses  <bmoses@google.com>
25580         [BZ #15846]
25581         * misc/getauxval.c: Include errno.h.
25582         (__getauxval): Set errno to ENOENT if the requested type is not
25583         found.
25584         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25585         don't declare with __attribute_const__.
25586         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25587         * manual/startup.texi: Document that getauxval sets errno.
25589 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25591         * math/auto-libm-test-in: Add tests of jn and yn.
25592         * math/auto-libm-test-out: Regenerated.
25593         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25594         (yn_test_data): Likewise.
25595         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25596         mpfr_if_f.
25597         (func_calc_desc): Add mpfr_if_f union field.
25598         (FUNC_mpfr_if_f): New macro.
25599         (test_functions): Add jn and yn.
25600         (calc_generic_results): Assert type of second input for
25601         mpfr_ff_f.  Handle mpfr_if_f.
25602         (output_for_one_input_case): Disable all checking for arguments
25603         fitting floating-point types in case of an integer argument.
25604         * sysdeps/i386/fpu/libm-test-ulps: Update.
25605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25608         Don't expect fegetround reference in libm.so.
25610 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25612         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25613         $(config-cflags-nofma).
25615 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25617         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25618         * math/auto-libm-test-out: Regenerated.
25620         [BZ #16338]
25621         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25622         to determine exponent and adjust argument to have exponent of -1.
25623         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25624         log2.
25625         * math/auto-libm-test-out: Regenerated.
25626         * sysdeps/i386/fpu/libm-test-ulps: Update.
25627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25629 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25631         * manual/probes.texi: Remove cases when per-thread arenas are
25632         disabled.
25634 2013-12-18  Andreas Schwab  <schwab@suse.de>
25636         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25637         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25638         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25639         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25640         * sysdeps/i386/i686/multiarch/Makefile: Update.
25641         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25643 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25645         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25646         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25648 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25650         [BZ #15968]
25651         Support TZ transition times < 00:00:00.
25652         This is needed for version-3 tz-format files; it supports time
25653         stamps past 2037 for America/Godthab (the only entry in the tz
25654         database for which this change is relevant).
25655         * manual/time.texi (TZ Variable): Document transition times
25656         from -167:59:59 through -00:00:01.
25657         * time/tzset.c (tz_rule): Time of day is now signed.
25658         (__tzset_parse_tz): Parse negative time of day.
25660         Document TZ transition times >= 25:00:00.
25661         * manual/time.texi (TZ Variable): Document transition times from
25662         25:00:00 through 167:59:59.  These are already supported, and this
25663         support will help with version-3 tz-format files.
25665         * manual/time.texi (TZ Variable): Modernize North America example
25666         to reflect current (i.e., 2007-and-later) daylight saving rules.
25668         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25670 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25672         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25673         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25674         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25675         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25676         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25677         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25678         * sysdeps/unix/bsd/clock.c: Likewise.
25679         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25680         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25681         * sysdeps/unix/bsd/init-posix.c: Likewise.
25682         * sysdeps/unix/bsd/poll.c: Likewise.
25683         * sysdeps/unix/bsd/ptsname.c: Likewise.
25684         * sysdeps/unix/bsd/seekdir.c: Likewise.
25685         * sysdeps/unix/bsd/setegid.c: Likewise.
25686         * sysdeps/unix/bsd/seteuid.c: Likewise.
25687         * sysdeps/unix/bsd/setgid.c: Likewise.
25688         * sysdeps/unix/bsd/setrgid.c: Likewise.
25689         * sysdeps/unix/bsd/setruid.c: Likewise.
25690         * sysdeps/unix/bsd/setsid.c: Likewise.
25691         * sysdeps/unix/bsd/setuid.c: Likewise.
25692         * sysdeps/unix/bsd/sigaction.c: Likewise.
25693         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25694         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25695         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25696         * sysdeps/unix/bsd/telldir.c: Likewise.
25697         * sysdeps/unix/bsd/times.c: Likewise.
25698         * sysdeps/unix/bsd/usleep.c: Likewise.
25700         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25701         ($(objpfx)libbsd-compat.a): Remove rule.
25703         * include/features.h (__FAVOR_BSD): Do not define.
25704         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25705         features conflicting with POSIX.
25706         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25707         (_BSD_SOURCE): Remove description of not being a subset of other
25708         feature test macros.
25709         * manual/job.texi (getpgrp): Do not document BSD version.
25710         (getpgid): Do not document by reference to BSD getpgrp.
25711         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25712         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25713         * signal/signal.h [__FAVOR_BSD]: Likewise.
25714         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25715         instead of making contents conditional on [__FAVOR_BSD].
25716         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25718 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25722 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25724         [BZ #16314]
25725         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25726         values below 2**-450, not 2**-500.
25727         * math/auto-libm-test-in: Don't allow spurious underflow from
25728         hypot.
25729         * math/auto-libm-test-out: Regenerated.
25731         [BZ #16316]
25732         [BZ #16330]
25733         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25734         values of ha and hb and sort them after adjusting subnormal
25735         arguments.
25736         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25737         Likewise.
25738         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25739         values of ea and eb and sort them after adjusting subnormal
25740         arguments.
25741         * math/auto-libm-test-in: Do not expect some hypot tests of
25742         subnormals to fail.  Add more hypot tests.
25743         * math/auto-libm-test-out: Regenerated.
25745 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25747         [BZ #13304]
25748         * sysdeps/sh/s_fma.c: New file.
25749         * sysdeps/sh/s_fmaf.c: New file.
25750         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25751         version.
25752         * sysdeps/sh/Implies: Add sh/soft-fp.
25754 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25756         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25757         level of indirection to members `objname', `errstring', `malloced'.
25758         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25759         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25760         it as the __longjmp argument (just pass 1 instead).
25761         (_dl_catch_error): Initialize C with argument pointers and address of
25762         volatile local ERRCODE rather than copying values out of C at return.
25764 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25766         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25767         * math/auto-libm-test-out: Regenerated.
25768         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25769         (hypot_test_data): Likewise.
25770         (pow_test_data): Likewise.
25771         (pow_tonearest_test_data): Likewise.
25772         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25773         mpfr_ff_f.
25774         (func_calc_desc): Add mpfr_ff_f union field.
25775         (FUNC_mpfr_ff_f): New macro.
25776         (test_functions): Add atan2, hypot and pow.
25777         (special_fill_min): New function.
25778         (special_fill_minus_min): Likewise.
25779         (special_fill_min_subnorm): Likewise.
25780         (special_fill_minus_min_subnorm): Likewise.
25781         (special_real_inputs): Add min, -min, min_subnorm and
25782         -min_subnorm.
25783         (calc_generic_results): Handle mpfr_ff_f.
25784         * sysdeps/i386/fpu/libm-test-ulps: Update.
25785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25787 2013-12-16  Will Newton  <will.newton@linaro.org>
25789         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25790         (Aligned Memory Blocks): Add documentation for aligned_alloc
25791         and suggest it as an alternative to posix_memalign.
25792         (Hooks for Malloc): Document __memalign_hook is also called
25793         for aligned_alloc.  (Summary of Malloc): Add summary for
25794         aligned alloc.  Document __memalign_hook is also called
25795         for aligned_alloc.
25797 2013-12-16  Will Newton  <will.newton@linaro.org>
25799         * manual/memory.texi (Malloc Examples): Clarify default
25800         alignment documentation.  Suggest posix_memalign rather
25801         than memalign or valloc.
25802         (Aligned Memory Blocks): Remove suggestion to use memalign
25803         or valloc.  Remove obsolete comment about BSD.
25804         Document memalign errno values and mark the function obsolete.
25805         Document posix_memalign returned error codes.  Mark valloc
25806         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25807         called for posix_memalign and valloc.
25808         (Summary of Malloc): Add posix_memalign to function summary.
25809         __memalign_hook is also called for posix_memalign and valloc.
25811 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25813         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25814         TAYLOR_SIN.
25815         (__sin): Adjust.
25816         (__cos): Likewise.
25817         (sloww): Use mynumber union.  Expand ternary operator into
25818         if-else statements.
25819         (cslow): use mynumber union.
25821 2013-12-16  Allan McRae  <allan@archlinux.org>
25823         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25824         * configure: Regenerated.
25826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25828         [BZ #14120]
25829         * configure.ac: Added --enable-maintainer-mode. Check for
25830         autoconf when enabled.
25831         * configure: Regenerated.
25833         * nscd/nscd.service: New file.
25834         * nscd/nscd.tmpfiles: New file.
25836 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25838         [BZ #12100]
25839         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25840         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25841         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25842         (strstr): Add __strstr_sse2_unaligned ifunc.
25843         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25844         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25845         (strcasestr): Remove __strcasestr_sse42 ifunc.
25846         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25850 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25852         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25853         * sysdeps/sh/bits/fenv.h: ... here.
25854         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25856 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25858         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25861         hypotf multiarch implementations.
25862         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25863         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25864         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25865         multiarch hypot for PPC64.
25866         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25867         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25868         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25869         multiarch hypotf for PPC64.
25871         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25872         modff multiarch implementations.
25873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25876         multiarch modf for PPC64.
25877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25880         multiarch modff for PPC64.
25882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25883         and logl multiarch implementations.
25884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25887         multiarch logb for PPC64.
25888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25891         multiarch logb for PPC64.
25892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25895         multiarch logb for PPC64.
25897         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25898         isinff multiarch implementation.
25899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25900         file.
25901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25903         multiarch isinf for PPC64.
25904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25905         file.
25906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25907         multiarch isinff for PPC64.
25909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25910         finitef multiarch implementation.
25911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25912         file.
25913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25915         multiarch finite for PPC64.
25916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25917         file.
25918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25919         multiarch finitef for PPC64.
25921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25922         lrint multiarch implementation.
25923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25924         file.
25925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25927         multiarch llrint for PPC64.
25928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25929         multiarch lrint for PPC64.
25931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25932         copysignf multiarch implementation.
25933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25934         file.
25935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25936         file.
25937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25938         multiarch copysign for PPC64.
25939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25940         multiarch copysignf for PPC64.
25942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25943         multiarch implementation.
25944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25945         file.
25946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25947         file.
25948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25949         file.
25950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25951         file.
25952         multiarch llround for PPC64.
25953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25954         multiarch trunc for PPC64.
25955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25956         multiarch truncf for PPC64.
25958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25959         multiarch implementation.
25960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25961         file.
25962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25963         file.
25964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25965         file.
25966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25967         file.
25968         multiarch llround for PPC64.
25969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25970         multiarch round for PPC64.
25971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25972         multiarch roundf for PPC64.
25974         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25975         multiarch implementation.
25976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25977         file.
25978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25979         file.
25980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25981         file.
25982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25983         file.
25984         multiarch llround for PPC64.
25985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25986         multiarch floor for PPC64.
25987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25988         multiarch floorf for PPC64.
25990         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25991         multiarch implementation.
25992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25993         file.
25994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25995         file.
25996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25997         file.
25998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25999         file.
26000         multiarch llround for PPC64.
26001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26002         multiarch ceil for PPC64.
26003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26004         multiarch ceilf for PPC64.
26006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26007         multiarch implementation.
26008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26009         file.
26010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26011         file.
26012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26013         file.
26014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26015         multiarch llround for PPC64.
26016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26017         multiarch lround for PPC64.
26019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26020         multiarch implementation.
26021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26024         file.
26025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26028         multiarch isnan for PPC64.
26029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26030         multiarch isnanf for PPC64.
26032         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26033         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26034         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26035         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26036         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26039         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26040         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26041         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26042         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26045         multiarch implementations.
26046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26047         (__libc_ifunc_impl_list): Likewise.
26048         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26049         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26050         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26051         multiarch stpcpy for PPC64.
26053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26054         multiarch implementations.
26055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26056         (__libc_ifunc_impl_list): Likewise.
26057         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26058         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26059         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26060         multiarch strcpy for PPC64.
26062         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26063         redefine function name.
26064         (_wordcopy_fwd_dest_aligned): Likewise.
26065         (_wordcopy_bwd_aligned): Likewise.
26066         (_wordcopy_bwd_dest_aligned): Likewise.
26067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26068         multiarch implementations.
26069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26070         (__libc_ifunc_impl_list): Likewise.
26071         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26072         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26073         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26074         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26075         multiarch wcscpy for PPC64.
26077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26078         multiarch implementations.
26079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26080         (__libc_ifunc_impl_list): Likewise.
26081         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26082         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26083         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26084         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26085         multiarch wcscpy for PPC64.
26087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26088         multiarch implementations.
26089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26090         (__libc_ifunc_impl_list): Likewise.
26091         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26092         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26093         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26094         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26095         multiarch wcsrchr for PPC64.
26097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26098         multiarch implementations.
26099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26100         (__libc_ifunc_impl_list): Likewise.
26101         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26102         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26103         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26104         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26105         multiarch wcschr for PPC64.
26107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26108         multiarch implementations.
26109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26110         (__libc_ifunc_impl_list): Likewise.
26111         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26112         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26113         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26114         multiarch strchrnul for PPC64.
26116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26117         implementations.
26118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26119         (__libc_ifunc_impl_list): Likewise.
26120         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26121         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26122         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26123         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26124         strchr for PPC64.
26126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26127         implementations.
26128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26129         (__libc_ifunc_impl_list): Likewise.
26130         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26131         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26132         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26133         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26134         strncmp for PPC64.
26136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26137         multiarch implementations.
26138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26139         (__libc_ifunc_impl_list): Likewise.
26140         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26141         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26142         strncasecmp for PPC64.
26143         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26144         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26145         multiarch strncasecmp_l for PPC64.
26147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26148         multiarch implementations.
26149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26150         (__libc_ifunc_impl_list): Likewise.
26151         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26152         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26153         multiarch strcasecmp for PPC64.
26154         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26155         file.
26156         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26157         multiarch strcasecmp_l for PPC64.
26159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26160         implementations.
26161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26162         (__libc_ifunc_impl_list): Likewise.
26163         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26164         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26165         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26166         strnlen for PPC64.
26168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26169         implementations.
26170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26171         (__libc_ifunc_impl_list): Likewise.
26172         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26173         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26174         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26175         strlen for PPC64.
26177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26178         implementations.
26179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26180         (__libc_ifunc_impl_list): Likewise.
26181         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26182         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26183         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26184         rawmemrchr for PPC64.
26186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26187         implementation.
26188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26189         (__libc_ifunc_impl_list): Likewise.
26190         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26191         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26192         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26193         memrchr for PPC64.
26195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26196         implementation.
26197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26198         (__libc_ifunc_impl_list): Likewise.
26199         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26200         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26201         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26202         memchr for PPC64.
26204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26205         implementation.
26206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26207         (__libc_ifunc_impl_list): Likewise.
26208         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26209         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26210         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26211         mempcpy for PPC64.
26213         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26214         avoid cretion of __bzero symbol.
26215         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26216         Likewise.
26217         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26218         Likewise.
26219         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26220         Likewise.
26221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26222         multiarch implementations.
26223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26224         (__libc_ifunc_impl_list): Likewise.
26225         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26226         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26227         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26228         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26229         bzero for PPC32.
26230         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26231         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26232         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26233         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26234         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26235         memset for PPC64.
26236         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26238         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26240         implementations.
26241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26242         (__libc_ifunc_impl_list): Likewise.
26243         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26244         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26245         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26246         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26247         memcmp for PPC64.
26249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26250         multiarch for POWER/PPC64.
26251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26252         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26253         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26254         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26255         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26256         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26257         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26258         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26259         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26260         memcpy for PPC64.
26262         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26263         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26264         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26265         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26266         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26267         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26268         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26269         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26270         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26271         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26272         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26273         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26274         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26275         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26276         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26285 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26287         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26289 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26291         * benchtests/Makefile (bench): Add exp2 and log2.
26292         (LDLIBS-bench-exp2): Add -lm.
26293         (LDLIBS-bench-log2): Likewise.
26294         * benchtests/exp2-inputs: New inputs file.
26295         * benchtests/log2-inputs: New inputs file.
26296         * benchtests/log-inputs: Add new inputs.
26297         * benchtests/tan-inputs: Likewise.
26299 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26301         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26302         definition...
26303         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26304         (csloww2): ... from here.
26306         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26307         instead of structures.
26308         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26309         (POLYNOMIAL): Likewise.
26310         (TAYLOR_SLOW): Likewise.
26311         (__sin): Likewise.
26312         (__cos): Likewise.
26313         (slow1): Likewise.
26314         (slow2): Likewise.
26315         (sloww): Likewise.
26316         (sloww1); Likewise.
26317         (sloww2): Likewise.
26318         (bsloww1): Likewise.
26319         (bsloww2): Likewise.
26320         (cslow2): Likewise.
26321         (csloww): Likewise.
26322         (csloww1): Likewise.
26323         (csloww2): Likewise.
26325 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26327         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26328         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26329         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26330         * malloc/hooks.c (realloc_check): Likewise.
26332         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26333         * malloc/arena.c: Remove PER_THREAD conditional.
26334         [!PER_THREAD]: Remove code.
26335         (ptmalloc_unlock_all2): Likewise.
26336         (ptmalloc_init): Likewise.
26337         (_int_new_arena): Likewise.
26338         (arena_get2): Likewise.
26339         * malloc/hooks.c (__malloc_get_state): Likewise.
26340         (__malloc_set_state): Likewise.
26341         * malloc/malloc.c: Likewise.
26342         (struct malloc_state): Likewise.
26343         (struct malloc_par): Likewise.
26344         (__libc_realloc): Likewise.
26345         (__libc_mallopt): Likewise.
26347 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26349         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26351 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26353         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26354         macro to a function.  Check for zero perturb_byte.
26355         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26357         * malloc/malloc.c: (force_reg): Remove.
26358         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26359         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26360         force_reg by atomic_forced_read.
26361         * malloc/arena.c (ptmalloc_init): Likewise.
26362         * malloc/hooks.c (top_check): Likewise.
26364 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26368 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26372 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26374         * math/auto-libm-test-in: Add tests of lgamma.
26375         * math/auto-libm-test-out: Regenerated.
26376         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26377         (M_LOG_2_SQRT_PIl): Likewise.
26378         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26379         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26380         mpfr_f_f1.
26381         (func_calc_desc): Add mpfr_f_f1 union field.
26382         (ARGS1): New macro.
26383         (ARGS2): Likewise.
26384         (ARGS3): Likewise.
26385         (ARGS4): Likewise.
26386         (RET1): Likewise.
26387         (RET2): Likewise.
26388         (CALC): Likewise.
26389         (FUNC): Likewise.
26390         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26391         (test_functions): Add lgamma.
26392         (calc_generic_results): Handle mpfr_f_f1.
26393         * sysdeps/i386/fpu/libm-test-ulps: Update.
26394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26396 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26398         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26399         __mpn_add_n for PowerPC64/POWER7.
26400         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26401         __mpn_sub_n for PowerPC64/POWER7.
26403         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26404         __mpn_addmul_1 for PowerPC64.
26405         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26406         __mpn_submul_1 for PowerPC64.
26407         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26408         for PowerPC64.
26409         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26410         for PowerPC64.
26412 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26414         [BZ #15089]
26415         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26417 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26419         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26421         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26422         add multiarch folders.
26423         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26424         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26425         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26426         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26427         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26428         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26429         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26430         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26431         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26432         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26433         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26442         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26444         New file.
26445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26446         New file.
26447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26448         multiarch __ieee754_hypot for PowerPC32.
26449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26450         New file.
26451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26452         New file.
26453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26454         multiarch __ieee754_hypotf for PowerPC32.
26456         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26457         long_double_symbol only if __logbl is defined.
26458         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26459         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26460         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26461         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26462         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26463         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26464         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26465         path for implementation.
26466         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26467         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26469         logb, and logbl multiarch implementations for PowerPC32.
26470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26471         file.
26472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26473         file.
26474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26475         multiarch logb for PowerPC32.
26476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26477         file.
26478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26479         file.
26480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26481         multiarch logbf for PowerPC32.
26482         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26484         file.
26485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26486         multiarch logbl implementation for PowerPC32.
26488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26489         and modff multiarch implementations.
26490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26491         New file.
26492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26493         New file.
26494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26495         multiarch modf for PowerPC32.
26496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26497         New file.
26498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26499         New file.
26500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26501         multiarch modff for PowerPC32.
26503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26504         and lrintf multiarch implementations.
26505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26506         New file.
26507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26508         New file.
26509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26510         multiarch lrint for PowerPC32.
26511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26512         file: multiarch lrintf for PowerPC32.
26514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26515         and lroundf multiarch implementations.
26516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26517         New file.
26518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26519         New file.
26520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26521         New file.
26522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26523         multiarch lround for PowerPC32.
26524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26525         file: multiarch lroundf for PowerPC32.
26527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26528         copysign and copysignf multiarch implementations.
26529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26530         New file.
26531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26532         New file.
26533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26534         file: multiarch copysign for PowerPC32.
26535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26536         file: multiarch copysignf for PowerPC32.
26538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26539         and truncf multiarch implementations.
26540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26541         New file.
26542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26543         file.
26544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26545         multiarch trunc for PowerPC32.
26546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26547         New file.
26548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26549         New file.
26550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26551         multiarch truncf for PowerPC32.
26553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26554         and roundf multiarch implementations.
26555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26556         New file.
26557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26558         file.
26559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26560         multiarch round for PowerPC32.
26561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26562         New file.
26563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26564         New file.
26565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26566         multiarch roundf for PowerPC32.
26568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26569         and floorf multiarch implementations.
26570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26571         New file.
26572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26573         file.
26574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26575         multiarch floor for PowerPC32.
26576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26577         New file.
26578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26579         New file.
26580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26581         multiarch floorf for PowerPC32.
26583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26584         and ceilf multiarch implementations.
26585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26586         New file.
26587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26588         file.
26589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26590         multiarch ceil for PowerPC32.
26591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26592         New file.
26593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26594         file.
26595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26596         multiarch ceilf for PowerPC32.
26598         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26599         is defined.
26600         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26601         FINITEF is defined.
26602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26603         and finitef multiarch implementations.
26604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26605         New file.
26606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26607         file.
26608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26609         multiarch finite for PowerPC32.
26610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26611         New file.
26612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26613         file: multiarch finitef for PowerPC32.
26615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26616         and isinff multiarch implementations.
26617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26618         file.
26619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26620         file.
26621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26622         multiarch isinf for PowerPC32.
26623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26624         New file.
26625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26626         multiarch isinff for PowerPC32.
26628         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26629         alias when __isnan is defined.
26630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26631         and isnanf multiarch implementations.
26632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26633         file.
26634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26635         file.
26636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26637         file.
26638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26639         file.
26640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26641         multiarch isnan for PowerPC32.
26642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26643         New file.
26644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26645         New file.
26646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26647         multiarch isnanf for PowerPC32.
26649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26650         and sqrtf multiarch implementations.
26651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26652         file.
26653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26654         file.
26655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26656         multiarch sqrt for PowerPC32.
26657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26658         file.
26659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26660         file.
26661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26662         multiarch sqrtf for PowerPC32.
26664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26665         and llroundf multiarch implementations.
26666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26667         New file.
26668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26669         New file.
26670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26671         New file.
26672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26673         file: multiarch llround for PowerPC32.
26674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26675         file: multiarch llroundf for PowerPC32.
26677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26678         multiarch PowerPC32 fpu implementations.
26679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26680         New file.
26681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26682         New file.
26683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26684         multiarch llrint for PowerPC32.
26685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26686         New file.
26687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26688         New file.
26689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26690         file.
26692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26694         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26695         file.
26696         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26697         file.
26698         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26699         file.
26700         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26701         multiarch wordcopy for PPC32.
26702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26703         wordcopy objects.
26704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26705         (__libc_ifunc_impl_list): Likewise.
26706         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26707         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26708         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26709         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26710         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26711         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26713         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26715         file.
26716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26717         file.
26718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26719         file.
26720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26721         multiarch wcscpy for PPC32.
26722         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26723         multiarch objects.
26724         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26725         (__libc_ifunc_impl_list): Likewise.
26726         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26727         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26728         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26729         sysdeps/powerpc/power6/wcscpy.c.
26731         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26732         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26733         file.
26734         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26735         file.
26736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26737         file.
26738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26739         multiarch wcsrchr for PPC32.
26740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26741         multiarch objects.
26742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26743         (__libc_ifunc_impl_list): Likewise.
26744         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26745         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26746         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26747         sysdeps/powerpc/power6/wcsrchr.c.
26749         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26750         file.
26751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26752         file.
26753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26755         multiarch wcschr for PPc32.
26756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26757         multiarch objects.
26758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26759         (__libc_ifunc_impl_list): Likewise.
26760         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26761         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26762         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26763         sysdeps/powerpc/power6/wcschr.c.
26765         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26766         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26767         file.
26768         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26769         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26770         file: multiarch strchr for PPC32.
26771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26772         multiarch objects.
26773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26774         (__libc_ifunc_impl_list): Likewise.
26776         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26777         name.
26778         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26779         file.
26780         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26781         file.
26782         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26783         multiarch strchrnul for PPC32.
26784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26785         multiarch objects.
26786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26787         (__libc_ifunc_impl_list): Likewise.
26789         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26790         file.
26791         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26792         multiarch strncasecmp for PPC32.
26793         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26794         file.
26795         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26796         multiarch strncasecmp_l for PPC32.
26797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26798         strncasecmp multiarch objects.
26799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26800         (__libc_ifunc_impl_list): Likewise.
26802         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26803         file.
26804         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26805         multiarch strncasecmp for PPC32.
26806         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26807         New file.
26808         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26809         multiarch strcasecmp_l for PPC32.
26810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26811         multiarch objects.
26812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26813         (__libc_ifunc_impl_list): Likewise.
26815         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26816         file.
26817         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26818         file.
26819         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26820         multiarch strncmp for PPC32.
26821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26822         multiarch objects.
26823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26824         (__libc_ifunc_impl_list): Likewise.
26826         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26827         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26828         file.
26829         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26830         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26832         multiarch objects.
26833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26834         (__libc_ifunc_impl_list): Likewise.
26836         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26837         file.
26838         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26839         file.
26840         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26842         multiarch objects.
26843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26844         (__libc_ifunc_impl_list): Likewise.
26846         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26847         file.
26848         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26849         file.
26850         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26851         multiarch rawmemchr for PPC32.
26852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26853         multiarch objects.
26854         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26855         (__libc_ifunc_impl_list): Likewise.
26857         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26858         file.
26859         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26860         file.
26861         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26862         file: memrchr multiarch for PPC32.
26863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26864         multiarch objects.
26865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26866         (__libc_ifunc_impl_list): Likewise.
26868         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26869         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26870         file.
26871         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26872         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26873         multiarch memchr for PPC32.
26874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26875         multiarch objects.
26876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26877         (__libc_ifunc_impl_list): Likewise.
26879         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26880         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26881         file.
26882         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26883         file.
26884         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26885         file: multiarch mempcpy for PPC32.
26886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26887         multiarch objects.
26888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26889         (__libc_ifunc_impl_list): Likewise.
26891         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26892         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26893         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26894         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26895         multiarch bzero for PPC32.
26896         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26897         file.
26898         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26899         file.
26900         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26901         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26902         file: multiarch memset for PPC32.
26903         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26904         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26905         memset multiarch objects.
26906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26907         (__libc_ifunc_impl_list): Likewise.
26909         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26910         file.
26911         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26913         memcmp for PPC32.
26914         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26916         multiarch objects.
26917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26918         (__libc_ifunc_impl_list): Likewise.
26920         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26922         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26923         file.
26924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26925         file.
26926         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26927         file.
26928         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26929         multiarch memcpy for PPC32.
26930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26931         multiarch objects.
26932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26933         (__libc_ifunc_impl_list): Likewise.
26935         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26936         support multiarch for POWER/PPC32.
26937         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26938         Likewise.
26939         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26941         Implies file to make multiarch folder appers before the fpu and
26942         default folder for power4 configuration.
26944 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26946         * scripts/bench.pl: Append volatile keyword to type.
26948 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26950         * sysdeps/sh/sotruss-lib.c: New file.
26951         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26953 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26957 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26959         [BZ #6810]
26960         * math/w_tgamma.c: Include <errno.h>.
26961         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26962         * math/w_tgammaf.c: Include <errno.h>.
26963         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26964         * math/w_tgammal.c: Include <errno.h>.
26965         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26966         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26967         underflow.  Add more tgamma tests.
26968         * math/auto-libm-test-out: Regenerated.
26969         * sysdeps/i386/fpu/libm-test-ulps: Update.
26970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26972         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26973         sin, sinh, tan, tanh, tgamma, y0 and y1.
26974         * math/auto-libm-test-out: Regenerated.
26975         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26976         (TEST_COND_x86): Likewise.
26977         (M_E2l): Remove macro.
26978         (M_E3l): Likewise.
26979         (M_2_SQRT_PIl): Likewise.
26980         (M_SQRT_PIl): Likewise.
26981         (M_1_DIV_El): Likewise.
26982         (log_test_data): Use AUTO_TESTS_f_f.
26983         (log10_test_data): Likewise.
26984         (log1p_test_data): Likewise.
26985         (log2_test_data): Likewise.
26986         (sin_test_data): Likewise.
26987         (sin_tonearest_test_data): Likewise.
26988         (sin_towardzero_test_data): Likewise.
26989         (sin_downward_test_data): Likewise.
26990         (sin_upward_test_data): Likewise.
26991         (sinh_test_data): Likewise.
26992         (sinh_tonearest_test_data): Likewise.
26993         (sinh_towardzero_test_data): Likewise.
26994         (sinh_downward_test_data): Likewise.
26995         (sinh_upward_test_data): Likewise.
26996         (tan_test_data): Likewise.
26997         (tan_tonearest_test_data): Likewise.
26998         (tan_towardzero_test_data): Likewise.
26999         (tan_downward_test_data): Likewise.
27000         (tan_upward_test_data): Likewise.
27001         (tanh_test_data): Likewise.
27002         (tgamma_test_data): Likewise.
27003         (y0_test_data): Likewise.
27004         (y1_test_data): Likewise.
27005         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27006         (special_real_inputs): Add pi/4.
27007         * sysdeps/i386/fpu/libm-test-ulps: Update.
27008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27010 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27012         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27013         "longjmp_target" static probes.
27014         (__longjmp): Rename to __longjmp_symbol.
27015         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27016         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27017         on which longjmp to generate.
27018         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27019         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27020         probe.
27021         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27022         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27023         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27024         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27025         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27026         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27028         __longjmp_symbol based on which __longjmp to generate.
27029         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27030         probe.
27031         (setjmp): Rename to setjmp_symbol.
27032         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27033         (_setjmp): Rename to _setjmp_symbol.
27034         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27035         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27036         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27037         which setjmp to generate.
27038         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27039         "longjmp_target" static probes.
27041 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27043         * benchtests/README: Add note about output arguments.
27044         * benchtests/bench-sincos.c: Remove file.
27045         * benchtests/sincos-inputs: New file.
27046         * scripts/bench.pl: Identify output arguments and define
27047         static variables for them.
27049         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27051         [BZ #15941]
27052         * Makefile (INSTALL): Add install-plain.texi as the primary
27053         dependency.
27054         * manual/install-plain.texi: New file.
27055         * manual/install.texi: Include node directive only for
27056         non-plaintext output.
27058 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27060         * stdlib/longlong.h: Update from GCC.
27062         [BZ #6807]
27063         [BZ #15901]
27064         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27065         * math/w_j0f.c (y0f): Likewise.
27066         * math/w_j0l.c (__y0l): Likewise.
27067         * math/w_j1.c (y1): Likewise.
27068         * math/w_j1f.c (y1f): Likewise.
27069         * math/w_j1l.c (__y1l): Likewise
27070         * math/w_jn.c (yn): Likewise.
27071         * math/w_jnf.c (ynf): Likewise.
27072         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27073         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27074         value for Bessel function domain errors outside _SVID_ mode.
27075         Adjust sign of return value for yn (negative integer, 0).
27076         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27077         by zero in return for negative x and set sign appropriately for
27078         negative n.
27079         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27080         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27081         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27082         expectations in error cases.
27083         (y1_test_data): Likewise.
27084         (yn_test_data): Likewise.
27085         * sysdeps/i386/fpu/libm-test-ulps: Update.
27086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27088 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27090         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27091         "64" to "64-v1".  Add "64-v2".
27092         (abi-64-options): Rename to ...
27093         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27094         (abi-64-condition): Rename to ...
27095         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27096         (abi-64-ld-soname): Rename to ...
27097         (abi-64-v1-ld-soname): ... this.
27098         (abi-64-v2-options): Define.
27099         (abi-64-v2-condition): Likewise.
27100         (abi-64-v2-ld-soname): Likewise.
27101         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27102         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27107 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27108             Alan Modra  <amodra@gmail.com>
27110         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27111         New versions for use with the ELFv2 ABI.
27112         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27113         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27114         declaration.
27115         (struct La_ppc64v2_retval): Likewise.
27116         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27117         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27118         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27119         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27120         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27121         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27122         Do not save or restore CR.
27123         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27124         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27125         return values for ELFv2 ABI.  Fix location of FPR return registers.
27126         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27127         updated values for _CALL_ELF == 2.
27128         (La_regs, La_retval, int_retval): Likewise.
27130 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27132         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27133         (FRAME_MIN_SIZE_PARM): Likewise.
27134         (FRAME_BACKCHAIN): Likewise.
27135         (FRAME_CR_SAVE): Likewise.
27136         (FRAME_LR_SAVE): Likewise.
27137         (FRAME_TOC_SAVE): Likewise.
27138         (FRAME_PARM_SAVE): Likewise.
27139         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27140         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27141         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27142         (call_mcount_parm_offset): New macro.
27143         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27144         (PROF): Use symbolic stack frame offsets.
27145         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27146         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27147         Redefine in terms of FRAME_MIN_SIZE.
27148         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27149         (_dl_profile_resolve): Likewise.  Update comment.
27150         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27151         symbols stack frame offsets.
27152         (__sigsetjmp): Likewise.
27153         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27154         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27155         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27156         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27159         (FRAME_BACKCHAIN): Remove.
27160         (FRAME_CR_SAVE): Likewise.
27161         (FRAME_LR_SAVE): Likewise.
27162         (FRAME_COMPILER_DW): Likewise.
27163         (FRAME_LINKER_DW): Likewise.
27164         (FRAME_TOC_SAVE): Likewise.
27165         (FRAME_PARM_SAVE): Likewise.
27166         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27167         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27168         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27170         (CHECK_SP): Use symbolic stack frame offsets.
27171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27172         zone" instead of caller's parameter save area for temp storage.
27173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27174         Likewise.  Also, use symbolic stack frame offsets.
27175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27176         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27177         our own stack frame instead of the caller's.
27178         (__socket): Use symbolic stack frame offsets.
27180 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27181             Alan Modra  <amodra@gmail.com>
27183         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27184         Define.
27185         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27186         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27187         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27188         New function.
27189         (elf_machine_fixup_plt): Call it.
27190         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27191         reloc arguments.
27192         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27193         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27194         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27195         r2 before calling target.
27197 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27198             Alan Modra  <amodra@gmail.com>
27200         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27201         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27202         versions of macros to support ELFv2 ABI.
27203         (LOCALENTRY): New macro.
27204         (ENTRY, EALIGN): Use it.
27205         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27206         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27207         fall through into ENTRY entry point.
27208         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27209         Only define if _CALL_ELF != 2.
27211         (elf_machine_matches_host): Verify ABI version matches.
27212         (RTLD_START): Use LOCALENTRY.
27213         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27214         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27215         (PLT_ENTRY_WORDS): New macro.
27216         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27217         (elf_machine_runtime_setup): Support ELFv2 ABI.
27218         (elf_machine_fixup_plt): Likewise.
27219         (elf_machine_plt_conflict): Likewise.
27220         (resolve_ifunc): Likewise.
27221         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27222         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27223         Likewise.
27224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27225         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27227         (makecontext): Support ELFv2 ABI.
27228         * elf/elf.h (EF_PPC64_ABI): Define.
27230 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27232         * sysdeps/powerpc/powerpc64/sysdep.h
27233         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27234         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27235         (ENTRY) [ASSEMBLER]: ... but instead here ...
27236         (EALIGN) [ASSEMBLER]: ... and here.
27237         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27238         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27239         (ENTRY_2) [!ASSEMBLER]: Use it.
27240         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27241         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27242         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27243         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27244         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27246         Use PPC64_LOAD_FUNCPTR.
27248         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27250 2013-12-04  Alan Modra  <amodra@gmail.com>
27252         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27253         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27254         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27255         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27257         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27258         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27259         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27260         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27261         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27262         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27264 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27267         (__makecontext): Fix incorrect CFI when backtracing out of
27268         context created via makecontext.
27269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27270         (__setcontext): Fix incorrect CFI during switch to new context.
27271         (__novec_setcontext): Likewise.
27273 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27275         [BZ #4772]
27276         * time/strptime_l.c (__strptime_internal): Allow modifiers
27277         in strptime.
27278         * time/tst-strptime.c (day_tests): Add testcase.
27280 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27282         * scripts/bench.pl: Skip over blank lines.
27284 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27286         [BZ #926]
27287         * manual/time.texi (Calendar Time): Clarify what timezone functions
27288         use.
27290 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27294 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27296         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27297         implementation.
27298         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27299         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27300         * debug/memset_chk.c (__memset_chk): Likewise.
27301         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27302         * debug/strncpy_chk.c: Likewise.
27304 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27306         [BZ #15268]
27307         [BZ #15425]
27308         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27309         (__ieee754_exp): For possibly underflowing results, check size of
27310         result and force underflow exception if required.
27311         * math/auto-libm-test-in: Add more tests of exp.
27312         * math/auto-libm-test-out: Regenerated.
27313         * sysdeps/i386/fpu/libm-test-ulps: Update.
27314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27316         [BZ #16283]
27317         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27318         * math/w_exp2f.c (__exp2f): Likewise.
27319         * math/w_exp2l.c (__exp2l): Likewise.
27320         * math/auto-libm-test-in: Do not allow missing errno on exp2
27321         underflow.
27322         * math/auto-libm-test-out: Regenerated.
27324 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27326         [BZ #16274]
27327         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27328         handle filename validation.
27329         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27330         (do_open): Delete.
27332 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27334         [BZ #6786]
27335         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27336         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27337         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27338         <float.h>.
27339         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27340         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27341         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27342         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27343         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27344         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27345         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27346         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27347         Add more erfc tests.
27348         * math/auto-libm-test-out: Regenerated.
27349         * sysdeps/i386/fpu/libm-test-ulps: Update.
27350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27352         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27353         exp2, expm1, j0 and j1.
27354         * math/auto-libm-test-out: Regenerated.
27355         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27356         (erfc_test_data): Likewise.
27357         (exp_test_data): Likewise.
27358         (exp_tonearest_test_data): Likewise.
27359         (exp_towardzero_test_data): Likewise.
27360         (exp_downward_test_data): Likewise.
27361         (exp_upward_test_data): Likewise.
27362         (exp10_test_data): Likewise.
27363         (exp2_test_data): Likewise.
27364         (expm1_test_data): Likewise.
27365         (j0_test_data): Likewise.
27366         (j1_test_data): Likewise.
27367         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27368         (input_flag_type): Add flag_xfail_rounding.
27369         (input_flags): Add xfail-rounding.
27370         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27371         (output_for_one_input_case): Handle flag_xfail_rounding.
27372         * sysdeps/i386/fpu/libm-test-ulps: Update.
27373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27375 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27377         [BZ #16289]
27378         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27379         division by 0.
27381 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27383         [BZ #16195]
27384         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27385         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27386         (STAP_PROBE0): New macro.
27387         (STAP_PROBE1): Likewise.
27388         (STAP_PROBE2): Likewise.
27389         (STAP_PROBE3): Likewise.
27390         (STAP_PROBE4): Likewise.
27392 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27394         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27396 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27398         * benchtests/Makefile (bench): Add sqrt.
27399         (LDLIBS-bench-sqrt): New.
27400         * benchtests/sqrt-input: New.
27402 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27404         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27405         (GAIH_EAI): Likewise.
27406         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27407         (gaih_inet): Likewise.
27408         (getaddrinfo): Don't use GAIH_EAI.
27410         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27411         (struct gaih): Remove definition.
27413 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27415         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27416         Use HERRNOP directly.
27418 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27422 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27424         * math/gen-auto-libm-tests.c (test_functions): Add more
27425         single-argument functions.
27426         (special_fill_pi_2): New function.
27427         (special_fill_minus_pi_2): Likewise.
27428         (special_fill_pi_6): Likewise.
27429         (special_fill_minus_pi_6): Likewise.
27430         (special_fill_pi_3): Likewise.
27431         (special_fill_2pi_3): Likewise.
27432         (special_fill_e): Likewise.
27433         (special_fill_1_e): Likewise.
27434         (special_fill_e_minus_1): Likewise.
27435         (special_real_inputs): Add more special inputs.
27436         (output_for_one_input_case): Do not require ERANGE on underflow to
27437         zero if round-to-nearest result does not underflow to zero, unless
27438         exact results required.
27439         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27440         atan, atanh, cbrt, cos and cosh.
27441         * math/auto-libm-test-out: Regenerated.
27442         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27443         (acos_tonearest_test_data): Likewise.
27444         (acos_towardzero_test_data): Likewise.
27445         (acos_downward_test_data): Likewise.
27446         (acos_upward_test_data): Likewise.
27447         (acosh_test_data): Likewise.
27448         (asin_test_data): Likewise.
27449         (asin_tonearest_test_data): Likewise.
27450         (asin_towardzero_test_data): Likewise.
27451         (asin_upward_test_data): Likewise.
27452         (asinh_test_data): Likewise.
27453         (atan_test_data): Likewise.
27454         (atanh_test_data): Likewise.
27455         (cbrt_test_data): Likewise.
27456         (cos_test_data): Likewise.
27457         (cos_tonearest_test_data): Likewise.
27458         (cos_towardzero_test_data): Likewise.
27459         (cos_downward_test_data): Likewise.
27460         (cos_upward_test_data): Likewise.
27461         (cosh_test_data): Likewise.
27462         (cosh_tonearest_test_data): Likewise.
27463         (cosh_towardzero_test_data): Likewise.
27464         (cosh_downward_test_data): Likewise.
27465         (cosh_upward_test_data): Likewise.
27466         * sysdeps/i386/fpu/libm-test-ulps: Update.
27467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27469 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27471         [BZ #6787]
27472         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27473         * math/w_exp10f.c (__exp10f): Likewise.
27474         * math/w_exp10l.c (__exp10l): Likewise.
27475         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27476         errno settings in existing tests.
27478         [BZ #14032]
27479         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27480         precision control set to double precision.
27481         * sysdeps/i386/fpu/w_sqrt.c: New file.
27482         * math/auto-libm-test-in: Add more tests.
27483         * math/auto-libm-test-out: Update.
27485         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27486         (sqrt_test_tonearest): New function.
27487         (sqrt_towardzero_test_data): New variable.
27488         (sqrt_test_towardzero): New function.
27489         (sqrt_downward_test_data): New variable.
27490         (sqrt_test_downward): New function.
27491         (sqrt_upward_test_data): New variable.
27492         (sqrt_test_upward): New function.
27493         (main): Call the new functions.
27495         * math/gen-auto-libm-tests.c: New file.
27496         * math/auto-libm-test-in: Likewise.
27497         * math/auto-libm-test-out: New generated file.
27498         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27499         variables.
27500         (%beautify): Add generated representations of zero.
27501         (top level): Set $auto_input and call parse_auto_input.
27502         (beautify): Remove trailing "f" from hex float constants.
27503         (parse_args): Handle XFAIL_TEST.
27504         (convert_condition): New function.
27505         (or_value): Likewise.
27506         (or_cond_value): Likewise.
27507         (generate_testfile): Handle AUTO_TESTS_* lines.
27508         (parse_auto_input): New function.
27509         * math/libm-test.inc (XFAIL_TEST): New macro.
27510         (ERRNO_UNCHANGED): Update value.
27511         (ERRNO_EDOM): Likewise.
27512         (ERRNO_ERANGE): Likewise.
27513         (IGNORE_RESULT): Likewise.
27514         (TEST_COND_flt_32): New macro.
27515         (TEST_COND_dbl_64): Likewise.
27516         (TEST_COND_ldbl_96_intel): Likewise.
27517         (TEST_COND_ldbl_96_m68k): Likewise.
27518         (TEST_COND_ldbl_128): Likewise.
27519         (TEST_COND_ldbl_128ibm): Likewise.
27520         (TEST_COND_long32): Likewise.
27521         (TEST_COND_long64): Likewise.
27522         (TEST_COND_before_rounding): Likewise.
27523         (TEST_COND_after_rounding): Likewise.
27524         (enable_test): Handle XFAIL_TEST flag.
27525         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27526         with finite results.
27527         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27528         auto-libm-test-out.
27530 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27531             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27533         [BZ #16214]
27534         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27535         __tls_get_addr_internal instead of __tls_get_offset in order to
27536         avoid GOT pointer dependency.  Make rtld export
27537         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27538         __tls_get_addr since we are a __tls_get_offset platform.
27539         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27540         GOT pointer being set up before.
27541         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27543 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27545         * manual/math.texi (Errors in Math Functions): Document accuracy
27546         goals.
27548         [BZ #15004]
27549         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27550         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27551         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27552         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27553         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27554         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27555         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27556         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27557         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27558         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27559         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27560         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27561         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27562         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27563         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27564         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27566         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27567         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27568         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27569         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27570         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27571         Likewise.
27572         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27573         Likewise.
27574         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27575         Likewise.
27576         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27577         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27578         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27579         atomic-feupdateenv and flt-rounds.
27580         * sysdeps/powerpc/nofpu/Versions (libc): Add
27581         __atomic_feholdexcept, __atomic_feclearexcept,
27582         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27583         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27584         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27585         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27586         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27587         here.
27588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27589         Update.
27591         * manual/arith.texi (FP Exceptions): Document that exceptions may
27592         not be raised when matherr is used.
27593         (Math Error Reporting): Document overflow in directed rounding
27594         modes.  Document that errno may not be set when finite values are
27595         returned on overflow.  Document intent to set errno on underflow
27596         only for underflow to zero.
27598         [BZ #16271]
27599         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27600         round-to-nearest then adjust result for other rounding modes.
27601         * include/fenv.h (fegetround): Use libm_hidden_proto.
27602         * math/fegetround.c (fegetround): Use libm_hidden_def.
27603         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27604         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27605         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27606         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27607         Likewise.
27608         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27609         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27610         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27611         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27613 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27615         [BZ #16077]
27616         * nss/Versions (libnss_files): Add
27617         _nss_files_gethostbyname3_r.
27618         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27619         New function.
27620         (HOST_DB_LOOKUP): Remove macro.
27621         (_nss_files_gethostbyname_r): Implement function without the
27622         HOST_DB_LOOKUP macro.
27623         (_nss_files_gethostbyname2_r): Likewise.
27625 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27627         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27629 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27631         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27632         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27633         warning.
27635 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27637         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27638         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27639         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27640         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27641         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27642         __fe_nomask_env_priv and attribute_hidden.
27643         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27644         (libc_feupdateenv_test_ppc): Likewise.
27645         (libc_feresetround_ppc): Likewise.
27646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27647         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27648         compat_symbol macro.
27649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27650         (__fe_nomask_env): Likewise.
27651         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27653 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27655         * string/Makefile: Remove ifunc tests.
27656         * string/test-string.h: Define TEST_IFUNC.
27657         * string/test-bcopy-ifunc.c: Remove.
27658         * string/test-bzero-ifunc.c: Likewise.
27659         * string/test-memccpy-ifunc.c: Likewise.
27660         * string/test-memchr-ifunc.c: Likewise.
27661         * string/test-memcmp-ifunc.c: Likewise.
27662         * string/test-memcpy-ifunc.c: Likewise.
27663         * string/test-memmem-ifunc.c: Likewise.
27664         * string/test-memmove-ifunc.c: Likewise.
27665         * string/test-mempcpy-ifunc.c: Likewise.
27666         * string/test-memrchr-ifunc.c: Likewise.
27667         * string/test-memset-ifunc.c: Likewise.
27668         * string/test-rawmemchr-ifunc.c: Likewise.
27669         * string/test-stpcpy-ifunc.c: Likewise.
27670         * string/test-stpncpy-ifunc.c: Likewise.
27671         * string/test-strcasecmp-ifunc.c: Likewise.
27672         * string/test-strcasestr-ifunc.c: Likewise.
27673         * string/test-strcat-ifunc.c: Likewise.
27674         * string/test-strchr-ifunc.c: Likewise.
27675         * string/test-strchrnul-ifunc.c: Likewise.
27676         * string/test-strcmp-ifunc.c: Likewise.
27677         * string/test-strcpy-ifunc.c: Likewise.
27678         * string/test-strcspn-ifunc.c: Likewise.
27679         * string/test-strlen-ifunc.c: Likewise.
27680         * string/test-strncasecmp-ifunc.c: Likewise.
27681         * string/test-strncat-ifunc.c: Likewise.
27682         * string/test-strncmp-ifunc.c: Likewise.
27683         * string/test-strncpy-ifunc.c: Likewise.
27684         * string/test-strnlen-ifunc.c: Likewise.
27685         * string/test-strpbrk-ifunc.c: Likewise.
27686         * string/test-strrchr-ifunc.c: Likewise.
27687         * string/test-strspn-ifunc.c: Likewise.
27688         * string/test-strstr-ifunc.c: Likewise.
27690 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27692         * benchtests/Makefile: Remove ifunc tests.
27693         * benchtests/bench-string.h: Define TEST_IFUNC.
27694         * benchtests/bench-bcopy-ifunc.c: Remove.
27695         * benchtests/bench-bzero-ifunc.c: Likewise.
27696         * benchtests/bench-memccpy-ifunc.c: Likewise.
27697         * benchtests/bench-memchr-ifunc.c: Likewise.
27698         * benchtests/bench-memcmp-ifunc.c: Likewise.
27699         * benchtests/bench-memcpy-ifunc.c: Likewise.
27700         * benchtests/bench-memmem-ifunc.c: Likewise.
27701         * benchtests/bench-memmove-ifunc.c: Likewise.
27702         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27703         * benchtests/bench-memrchr-ifunc.c: Likewise.
27704         * benchtests/bench-memset-ifunc.c: Likewise.
27705         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27706         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27707         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27708         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27709         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27710         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27711         * benchtests/bench-strcat-ifunc.c: Likewise.
27712         * benchtests/bench-strchr-ifunc.c: Likewise.
27713         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27714         * benchtests/bench-strcmp-ifunc.c: Likewise.
27715         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27716         * benchtests/bench-strcpy-ifunc.c: Likewise.
27717         * benchtests/bench-strcspn-ifunc.c: Likewise.
27718         * benchtests/bench-strlen-ifunc.c: Likewise.
27719         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27720         * benchtests/bench-strncat-ifunc.c: Likewise.
27721         * benchtests/bench-strncmp-ifunc.c: Likewise.
27722         * benchtests/bench-strncpy-ifunc.c: Likewise.
27723         * benchtests/bench-strnlen-ifunc.c: Likewise.
27724         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27725         * benchtests/bench-strrchr-ifunc.c: Likewise.
27726         * benchtests/bench-strsep-ifunc.c: Likewise.
27727         * benchtests/bench-strspn-ifunc.c: Likewise.
27728         * benchtests/bench-strstr-ifunc.c: Likewise.
27730 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27732         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27734 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27736         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27737         * rt/aio.h: Likewise.
27738         * sysdeps/gnu/bits/utmp.h: Likewise.
27739         * sysdeps/gnu/bits/utmpx.h: Likewise.
27740         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27741         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27742         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27743         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27744         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27745         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27746         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27747         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27748         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27749         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27750         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27751         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27752         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27754         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27755         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27756         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27757         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27758         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27759         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27760         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27761         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27762         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27763         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27764         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27765         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27766         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27767         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27768         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27769         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27770         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27771         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27772         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27773         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27774         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27775         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27776         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27777         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27778         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27779         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27780         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27781         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27783 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27785         [BZ #16245]
27786         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27787         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27789 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27791         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27792         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27793         Likewise.
27795 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27797         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27798         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27799         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27800         (__fesetround): Remove define.
27801         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27802         rounding and exceptions handling.
27803         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27804         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27805         (__fe_nomask_env): Likewise.
27806         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27807         __fegetround instead of fegetround.
27808         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27809         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27811 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27813         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27814         it's there.
27816         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27818 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27820         [BZ #11157]
27821         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27822         (encrypt_r): Likewise.
27823         * malloc/obstack.h (obstack_free): Likewise.
27824         * posix/unistd.h (encrypt): Likewise.
27826 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27828         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27829         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27830         DL_CALL_DT_FINI() that call the functions directly.
27831         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27832         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27833         * elf/dl-fini.c: Likewise.
27835 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27837         * malloc/hooks.c (memalign_check): Add alignment rounding.
27838         * malloc/malloc.c (_mid_memalign): New function.
27839         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27840         Implement by calling _mid_memalign.
27841         * manual/probes.texi (Memory Allocation Probes): Remove
27842         memory_valloc_retry and memory_pvalloc_retry.
27844 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27846         * locale/programs/locarchive.c (open_archive): Add const
27847         qualifier to ARCHIVEFNAME and copy default fname to
27848         DEFAULT_FNAME.
27850         [BZ #15601]
27851         * libio/tst-widetext.input: Rename Oriya to Odia.
27852         * locale/iso-639.def: Likewise.
27854         * manual/probes.texi (Mathematical Function Probes): Add
27855         documentation for sin, cos, asin and acos probes.
27856         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27857         (__sin32): Add slowasin probe.
27858         (__cos32): Add slowacos probe.
27859         (__mpsin): Add slowsin probe.
27860         (__mpcos): Add slowcos probe.
27862 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27864         [BZ #15483]
27865         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27866         thread-local __sim_exceptions_thread and global
27867         __sim_exceptions_global.
27868         (__sim_disabled_exceptions): Change to thread-local
27869         __sim_disabled_exceptions_thread and global
27870         __sim_disabled_exceptions_global.
27871         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27872         and global __sim_round_mode_global.
27873         (__simulate_exceptions): Use thread-local floating-point state and
27874         set global state from it as needed.
27875         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27876         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27877         __sim_round_mode_thread.
27878         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27879         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27880         and global __sim_exceptions_global.
27881         (__sim_disabled_exceptions): Change to thread-local
27882         __sim_disabled_exceptions_thread and global
27883         __sim_disabled_exceptions_global.
27884         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27885         and global __sim_round_mode_global.
27886         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27887         (SIM_SET_GLOBAL): Likewise.
27888         * sysdeps/powerpc/soft-fp/sfp-machine.h
27889         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27890         __sim_round_mode_thread.
27891         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27892         __sim_disabled_exceptions_thread.
27893         (__sim_exceptions): Change to __sim_exceptions_thread.
27894         (__sim_disabled_exceptions): Change to
27895         __sim_disabled_exceptions_thread.
27896         (__sim_round_mode): Change to __sim_round_mode_thread.
27897         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27898         thread-local floating-point state and set global state from it as
27899         needed.
27900         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27901         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27902         (__sim_disabled_exceptions): Remove extern declaration.
27903         (feenableexcept): Use thread-local floating-point state and set
27904         global state from it as needed.
27905         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27906         extern declaration.
27907         (__sim_disabled_exceptions): Likewise.
27908         (__sim_round_mode): Likewise.
27909         (__fegetenv): Use thread-local floating-point state.
27910         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27911         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27912         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27913         floating-point state and set global state from it as needed.
27914         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27915         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27916         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27917         Likewise.
27918         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27919         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27920         Likewise.
27921         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27922         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27923         Use __sim_round_mode_thread.
27924         * math/test-fenv-tls.c: New file.
27925         * math/Makefile (tests): Add test-fenv-tls.
27926         ($(objpfx)test-fenv-tls): Depend on
27927         $(common-objpfx)nptl/libpthread.so.
27929 2013-11-19  Andreas Schwab  <schwab@suse.de>
27931         * locale/programs/locale.c (show_info): Decode wordarray elements.
27932         * locale/categories.def (LC_MONETARY): Add element for
27933         _NL_MONETARY_CRNCYSTR.
27934         * locale/C-monetary.c (conversion_rate): New variable.
27935         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27936         element.
27938 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27940         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27941         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27943 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27945         * elf/Makefile (tst-auxv): New test.
27946         * elf/tst-auxv.c: New
27947         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27949 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27951         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27952         (hidden_proto): Caller changed.
27953         (hidden_tls_proto): New macro.
27954         (libc_hidden_tls_proto): Likewise.
27955         (rtld_hidden_tls_proto): Likewise.
27956         (libm_hidden_tls_proto): Likewise.
27957         (libresolv_hidden_tls_proto): Likewise.
27958         (librt_hidden_tls_proto): Likewise.
27959         (libdl_hidden_tls_proto): Likewise.
27960         (libnss_files_hidden_tls_proto): Likewise.
27961         (libnsl_hidden_tls_proto): Likewise.
27962         (libnss_nisplus_hidden_tls_proto): Likewise.
27963         (libutil_hidden_tls_proto): Likewise.
27965 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27967         [BZ #10253]
27968         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27969         (decompose_rpath): Defer expansion to fillin_rpath.
27970         (_dl_init_paths): Pass linkmap to fillin_rpath.
27972 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27974         * benchtests/Makefile: Add strsep.
27975         * benchtests/bench-strsep.c: New file: strsep benchtest.
27976         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27978 2013-11-18  Andreas Schwab  <schwab@suse.de>
27980         * locale/programs/locale.c (show_info) [case byte]: Check for
27981         '\377' instead of '\177'.
27982         * locale/C-monetary.c (not_available): Always use "\377".
27983         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27984         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27985         detect unavailable sign_posn locale elements.
27986         * locale/localeconv.c (__localeconv): For grouping and
27987         mon_grouping handle "\177" and "\377" like no grouping.
27988         (INT_ELEM): New macro.  Use it to set all numeric members.
27989         * locale/programs/ld-monetary.c (monetary_read)
27990         <tok_mon_grouping>: Normalize single -1 to the empty string.
27991         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27992         Likewise.
27994 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27996         [BZ #16055]
27997         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27998         when we match (nil).
27999         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28001 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28003         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28004         (NO_TEST_INLINE): Update value.
28005         (ERRNO_UNCHANGED): Likewise.
28006         (ERRNO_EDOM): Likewise.
28007         (ERRNO_ERANGE): Likewise.
28008         (IGNORE_RESULT): Likewise.
28009         (check_float_internal): Check signs of NaN results if
28010         TEST_NAN_SIGN used.
28011         (check_complex): Pass TEST_NAN_SIGN flag through to second
28012         check_float_internal call.
28013         (copysign_test_data): Add tests with quiet NaNs as second
28014         argument.  Use TEST_NAN_SIGN.
28015         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28016         TEST_NAN_SIGN.
28017         (signbit_test_data): Add tests of quiet NaN argument.
28018         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28020         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28021         $ignore_result.
28022         (parse_args): Handle function results specified as IGNORE.
28023         * math/libm-test.inc (IGNORE_RESULT): New macro.
28024         (check_float_internal): Do not check numerical result if flag
28025         IGNORE_RESULT set.
28026         (check_complex): Pass through IGNORE_RESULT to second
28027         check_float_internal call.
28028         (check_int): Do not check numerical result if flag IGNORE_RESULT
28029         set.
28030         (check_long): Likewise.
28031         (check_bool): Likewise.
28032         (check_longlong): Likewise.
28033         (lrint_test_data): Add tests of infinite and NaN arguments.
28034         (lrint_tonearest_test_data): Likewise.
28035         (lrint_towardzero_test_data): Likewise.
28036         (lrint_downward_test_data): Likewise.
28037         (lrint_upward_test_data): Likewise.
28038         (llrint_test_data): Likewise.
28039         (llrint_tonearest_test_data): Likewise.
28040         (llrint_towardzero_test_data): Likewise.
28041         (llrint_downward_test_data): Likewise.
28042         (llrint_upward_test_data): Likewise.
28043         (lround_test_data): Likewise.
28044         (llround_test_data): Likewise.
28046         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28047         (ERRNO_UNCHANGED): Update value.
28048         (ERRNO_EDOM): Likewise.
28049         (ERRNO_ERANGE): Likewise.
28050         (NO_TEST_INLINE_FLOAT): New macro.
28051         (NO_TEST_INLINE_DOUBLE): Likewise.
28052         (enable_test): New function.
28053         (RUN_TEST_f_f): Check enable_test before running test.
28054         (RUN_TEST_2_f): Likewise.
28055         (RUN_TEST_fff_f): Likewise.
28056         (RUN_TEST_c_f): Likewise.
28057         (RUN_TEST_f_f1): Likewise.
28058         (RUN_TEST_fF_f1): Likewise.
28059         (RUN_TEST_fI_f1): Likewise.
28060         (RUN_TEST_ffI_f1): Likewise.
28061         (RUN_TEST_c_c): Likewise.
28062         (RUN_TEST_cc_c): Likewise.
28063         (RUN_TEST_f_i): Likewise.
28064         (RUN_TEST_f_i_tg): Likewise.
28065         (RUN_TEST_ff_i_tg): Likewise.
28066         (RUN_TEST_f_b): Likewise.
28067         (RUN_TEST_f_b_tg): Likewise.
28068         (RUN_TEST_f_l): Likewise.
28069         (RUN_TEST_f_L): Likewise.
28070         (RUN_TEST_fFF_11): Likewise.
28071         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28072         conditionals.
28073         (cosh_test_data): Likewise.
28074         (exp_test_data): Likewise.
28075         (expm1_test_data): Likewise.
28076         (hypot_test_data): Likewise.
28077         (pow_test_data): Likewise.
28078         (sinh_test_data): Likewise.
28079         (tanh_test_data): Likewise.
28080         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28081         flags argument.
28083         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28084         tests with quiet NaN input and output.
28085         (acosh_test_data): Likewise.
28086         (asin_test_data): Likewise.
28087         (asinh_test_data): Likewise.
28088         (atan_test_data): Likewise.
28089         (atanh_test_data): Likewise.
28090         (atan2_test_data): Likewise.
28091         (cbrt_test_data): Likewise.
28092         (cos_test_data): Likewise.
28093         (cosh_test_data): Likewise.
28094         (erf_test_data): Likewise.
28095         (erfc_test_data): Likewise.
28096         (exp_test_data): Likewise.
28097         (exp10_test_data): Likewise.
28098         (exp2_test_data): Likewise.
28099         (expm1_test_data): Likewise.
28100         (hypot_test_data): Likewise.
28101         (j0_test_data): Likewise.
28102         (j1_test_data): Likewise.
28103         (jn_test_data): Likewise.
28104         (lgamma_test_data): Likewise.
28105         (log_test_data): Likewise.
28106         (log10_test_data): Likewise.
28107         (log1p_test_data): Likewise.
28108         (log2_test_data): Likewise.
28109         (pow_test_data): Likewise.
28110         (scalb_test_data): Likewise.
28111         (sin_test_data): Likewise.
28112         (sincos_test_data): Likewise.
28113         (sinh_test_data): Likewise.
28114         (tan_test_data): Likewise.
28115         (tanh_test_data): Likewise.
28116         (tgamma_test_data): Likewise.
28117         (y0_test_data): Likewise.
28118         (y1_test_data): Likewise.
28119         (yn_test_data): Likewise.
28121         [BZ #16167]
28122         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28123         argument being NaN and avoid computations with second argument in
28124         that case.
28125         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28126         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28127         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28129 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28131         * locale/iso-639.def: Add Chitwani Tharu (the).
28133 2013-11-14  Andreas Schwab  <schwab@suse.de>
28135         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28136         word instead of empty string.
28138 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28141         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28143         (__fe_nomask_env): Likewise.
28145 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28147         * benchtests/bench-timing.h: Include time.h.
28149 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28151         [BZ #15997]
28152         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28153         to 3.4.0 for x32.
28154         * sysdeps/unix/sysv/linux/configure: Regenerated.
28156 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28158         [BZ #16151]
28159         * stdlib/strtod_l.c (round_and_return): Do not consider
28160         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28161         exponent one less than half the least subnormal exponent.
28162         * stdlib/test-strtod-round-data: Add more tests.
28163         * stdlib/tst-strtod-round.c (tests): Regenerated.
28165 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28167         [BZ #14143]
28168         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28169         (__fe_mask_env): Likewise.
28170         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28171         libm_hidden_proto and add function prototype.
28172         (__fe_mask_env): Add function prototype.
28173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28174         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28176         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28178         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28180 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28182         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28183         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28185 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28187         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28188         of htab_find_slot().
28190 2013-11-11  David S. Miller  <davem@davemloft.net>
28192         [BZ #16150]
28193         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28194         symbol in the non-vis3 case in static builds.
28195         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28196         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28197         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28198         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28200 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28202         [BZ #387]
28203         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28204         it is empty.
28206 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28208         * benchtests/Makefile: Add bench-strtod.
28209         * benchtests/bench-strtod.c: New file: strtod benchtest
28211 2013-11-11  Andreas Schwab  <schwab@suse.de>
28213         [BZ #16153]
28214         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28215         terminating NUL in key length.
28217 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28219         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28220         Add artificial ODP entry for vDSO symbol for PPC64.
28221         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28222         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28224 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28226         [BZ #15374]
28227         * nss/getent.c (services_keys): Recognize services starting with digit.
28229 2013-11-06  David S. Miller  <davem@davemloft.net>
28231         [BZ #15985]
28232         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28233         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28235 2013-11-06  Will Newton  <will.newton@linaro.org>
28237         * manual/memory.texi (Malloc Examples): Remove register
28238         keyword from examples.
28240 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28242         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28244 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28246         [BZ #6981]
28247         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28248         depending on [__GCC_IEC_559 > 0].
28249         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28250         depending on [__GCC_IEC_559_COMPLEX > 0].
28252 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28254         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28255         to iso-639.def.
28257 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28259         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28261 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28263         [BZ #16112]
28264         * malloc/malloc (malloc_info): Do not handle first bin as
28265         special case.
28267 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28269         * locale/iso-639.def: Add Central Nahuatl (nhn).
28271 2013-11-01  Bruno Haible  <bruno@clisp.org>
28273         [BZ #7003]
28274         * manual/math.texi (BSD Random): Specify range upper bound as
28275         in POSIX.
28277 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28279         * locale/iso-639.def: Add Meadow Mari (mhr).
28281 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28283         [BZ #14752], [BZ #15763]
28284         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28285         Validate name.
28286         * rt/tst_shm.c: Add test for escaping directory.
28288 2013-10-31  Andreas Schwab  <schwab@suse.de>
28290         [BZ #15917]
28291         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28292         followed by 'x' as part of digit sequence.
28293         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28295 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28297         [BZ #16037]
28298         * configure.ac: allow GNU Make 4.0 and greater.
28299         * configure: Regenerated.
28301 2013-10-30  Will Newton  <will.newton@linaro.org>
28303         [BZ #16038]
28304         * malloc/hooks.c (memalign_check): Limit alignment to the
28305         maximum representable power of two.
28306         * malloc/malloc.c (__libc_memalign): Likewise.
28307         * malloc/tst-memalign.c (do_test): Add test for very
28308         large alignment values.
28309         * malloc/tst-posix_memalign.c (do_test): Likewise.
28311 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28313         [BZ #11087]
28314         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28315         (munmap_chunk): Likewise.
28316         (mremap_chunk): Likewise.
28318 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28320         [BZ #15799]
28321         * stdlib/div.c (div): Remove obsolete code.
28322         * stdlib/ldiv.c (ldiv): Likewise.
28323         * stdlib/lldiv.c (lldiv): Likewise.
28325 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28327         [BZ #16071]
28328         * nss/nss_files/files-XXX.c (get_contents_ret): New
28329         enumerator.
28330         (get_contents): New function.
28331         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28333 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28335         * configure.in: Moved to ...
28336         * configure.ac: ... here. Change reference to configure.in
28337         to configure.ac.
28338         * sysdeps/arm/preconfigure.ac: ... here.
28339         configure.in to configure.ac.
28340         * sysdeps/gnu/configure.in: Moved to ...
28341         * sysdeps/gnu/configure.ac: ... here.
28342         * sysdeps/i386/configure.in: Moved to ...
28343         * sysdeps/i386/configure.ac: ... here.
28344         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28345         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28346         * sysdeps/mach/configure.in: Moved to ...
28347         * sysdeps/mach/configure.ac: ... here.
28348         * sysdeps/mach/hurd/configure.in: Moved to ...
28349         * sysdeps/mach/hurd/configure.ac: ... here.
28350         * sysdeps/powerpc/configure.in: Moved to ...
28351         * sysdeps/powerpc/configure.ac: ... here.
28352         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28353         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28354         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28355         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28356         * sysdeps/s390/s390-32/configure.in: Moved to ...
28357         * sysdeps/s390/s390-32/configure.ac: ... here.
28358         * sysdeps/s390/s390-64/configure.in: Moved to ...
28359         * sysdeps/s390/s390-64/configure.ac: ... here.
28360         * sysdeps/sh/configure.in: Moved to ...
28361         * sysdeps/sh/configure.ac: ... here.
28362         * sysdeps/sparc/configure.in: Moved to ...
28363         * sysdeps/sparc/configure.ac: ... here.
28364         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28365         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28366         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28367         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28368         * sysdeps/x86_64/configure.in: Moved to ...
28369         * sysdeps/x86_64/configure.ac: ... here.
28370         * sysdeps/x86_64/preconfigure.in: Moved to ...
28371         * sysdeps/x86_64/preconfigure.ac: ... here.
28372         * aclocal.m4: Change reference to configure.in to configure.ac.
28373         * config.h.in: Likewise.
28374         * manual/install.texi: Likewise.
28375         * manual/maint.texi: Likewise.
28376         * Makefile: Likewise.
28377         * malloc/Makefile: Likewise.
28378         * nscd/Makefile: Likewise.
28379         * Makeconfig: Change reference to configure.in and
28380         preconfigure.in to configure.ac and preconfigure.ac
28381         respectively.
28382         * INSTALL: Regenerated.
28383         * configure: Likewise.
28384         * sysdeps/gnu/configure: Likewise.
28385         * sysdeps/i386/configure: Likewise.
28386         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28387         * sysdeps/mach/configure: Likewise.
28388         * sysdeps/mach/hurd/configure: Likewise.
28389         * sysdeps/powerpc/configure: Likewise.
28390         * sysdeps/powerpc/powerpc32/configure: Likewise.
28391         * sysdeps/powerpc/powerpc64/configure: Likewise.
28392         * sysdeps/s390/s390-32/configure: Likewise.
28393         * sysdeps/s390/s390-64/configure: Likewise.
28394         * sysdeps/sh/configure: Likewise.
28395         * sysdeps/sparc/configure: Likewise.
28396         * sysdeps/unix/sysv/linux/configure: Likewise.
28397         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28398         * sysdeps/x86_64/configure: Likewise.
28399         * sysdeps/x86_64/preconfigure: Likewise.
28401 2013-10-29  Andreas Schwab  <schwab@suse.de>
28403         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28405 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28407         * benchtests/pow-inputs: Add new inputs.
28409         * benchtests/exp-inputs: Add new inputs.
28411         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28412         conditional check for return value.
28413         (__cos32): Likewise.
28415 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28417         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28418         to provide a boost for large inputs with word alignment.
28419         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28420         implementation based on optimized PPC64 strcpy.
28421         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28422         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28423         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28424         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28426 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28428         [BZ #2801]
28429         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28431 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28433         [BZ #14876]
28434         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28435         * time/tst-strptime.c (day_tests): Add testcase.
28437 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28439         [BZ #14029]
28440         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28442 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28444         [BZ #16074]
28445         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28446         MAP_FAILED on error.
28448 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28450         [BZ #16072]
28451         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28452         heap for large requests.
28454 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28456         [BZ #9954]
28457         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28458         result if the result has no associated interface.
28459         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28460         interface for all 127.X.Y.Z addresses.
28462 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28464         * locale/iso-639.def: Add Ligurian (lij)
28466 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28468         [BZ #15825]
28469         * sunrpc/rpc_main.c: Document rpcgen -5.
28471 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28473         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28475 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28477         [BZ #10278]
28478         * posix/glob.c: Match only directories when trailing slash is present.
28479         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28480         (main): Add testcase.
28482 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28484         [BZ #15670]
28485         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28487 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28489         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28490         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28491         AUTH_DES and cindex for FIPS 140-2.
28492         (DES Encryption): Add cindex FIPS 46-3.
28494         * locale/locarchive.h (struct locarhandle): Add fname.
28495         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28496         if an optional argument was specified to --list-archive,
28497         otherwise NULL.
28498         * locale/programs/locarchive.c (show_archive_content): Take new
28499         argument fname and pass it via ah.fname to open_archive.
28500         * locale/programs/localedef.h: Update decl.
28501         (open_archive): If AH->fname is non-null, open that file
28502         rather than the default file name, and don't ignore ENOENT.
28503         (create_archive): Set AH.fname to NULL.
28504         (delete_locales_from_archive): Likewise.
28505         (add_locales_to_archive): Likewise.
28506         * locale/programs/locfile.c (write_all_categories): Likewise.
28508 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28509             Aldy Hernandez  <aldyh@redhat.com>
28511         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28512         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28513         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28514         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28515         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28516         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28517         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28518         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28519         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28520         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28521         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28522         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28523         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28524         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28525         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28526         Likewise.
28527         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28528         Likewise.
28529         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28530         Likewise.
28531         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28532         Likewise.
28533         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28534         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28535         Likewise.
28536         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28537         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28538         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28539         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28540         Likewise.
28541         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28542         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28543         * sysdeps/powerpc/preconfigure: Likewise.
28544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28545         Likewise.
28546         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28547         Replace contents of file by #include of <fenv_libc.h>.
28548         * sysdeps/powerpc/soft-fp/sfp-machine.h
28549         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28550         and <sys/prctl.h>.
28551         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28552         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28553         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28554         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28555         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28556         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28558         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28559         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28560         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28561         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28562         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28564         Allow copysignl PLT reference to be missing.
28566 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28567             Joseph Myers  <joseph@codesourcery.com
28569         [BZ #15948]
28570         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28571         single character.
28572         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28574 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28576         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28577         * elf/tst-tls1.c: Likewise.
28578         * elf/tst-tls10.h: Likewise.
28579         * elf/tst-tls14.c: Likewise.
28580         * elf/tst-tls2.c: Likewise.
28581         * elf/tst-tls3.c: Likewise.
28582         * elf/tst-tls4.c: Likewise.
28583         * elf/tst-tls5.c: Likewise.
28584         * elf/tst-tls6.c: Likewise.
28585         * elf/tst-tls7.c: Likewise.
28586         * elf/tst-tls8.c: Likewise.
28587         * elf/tst-tls9.c: Likewise.
28588         * elf/tst-tlsmod1.c: Likewise.
28589         * elf/tst-tlsmod13.c: Likewise.
28590         * elf/tst-tlsmod13a.c: Likewise.
28591         * elf/tst-tlsmod14a.c: Likewise.
28592         * elf/tst-tlsmod16a.c: Likewise.
28593         * elf/tst-tlsmod16b.c: Likewise.
28594         * elf/tst-tlsmod2.c: Likewise.
28595         * elf/tst-tlsmod3.c: Likewise.
28596         * elf/tst-tlsmod4.c: Likewise.
28597         * elf/tst-tlsmod5.c: Likewise.
28598         * elf/tst-tlsmod6.c: Likewise.
28600 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28602         [BZ #12486]
28603         * malloc/malloc.c: remove checks for statistics.
28605 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28607         [BZ #15277]
28608         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28609         * inet/tst-network.c: Add testcase.
28611 2013-10-17  Andreas Schwab  <schwab@suse.de>
28613         [BZ #15218]
28614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28615         to determine canonical name.
28617 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28619         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28620         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28621         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28622         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28623         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28624         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28625         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28626         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28627         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28628         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28629         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28630         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28631         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28632         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28633         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28634         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28636         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28637         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28638         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28639         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28641         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28642         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28643         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28644         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28645         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28646         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28647         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28648         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28649         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28650         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28651         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28652         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28653         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28654         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28655         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28656         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28657         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28658         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28659         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28660         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28661         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28662         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28663         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28664         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28665         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28666         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28667         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28668         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28669         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28670         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28671         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28672         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28673         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28674         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28675         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28676         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28678 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28680         [BZ #16041]
28681         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28682         make result into a quiet NaN.
28684 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28686         * soft-fp/adddf3.c: Fix horizontal whitespace.
28687         * soft-fp/addsf3.c: Likewise.
28688         * soft-fp/addtf3.c: Likewise.
28689         * soft-fp/divdf3.c: Likewise.
28690         * soft-fp/divsf3.c: Likewise.
28691         * soft-fp/divtf3.c: Likewise.
28692         * soft-fp/double.h: Likewise.
28693         * soft-fp/eqdf2.c: Likewise.
28694         * soft-fp/eqsf2.c: Likewise.
28695         * soft-fp/eqtf2.c: Likewise.
28696         * soft-fp/extenddftf2.c: Likewise.
28697         * soft-fp/extended.h: Likewise.
28698         * soft-fp/extendsfdf2.c: Likewise.
28699         * soft-fp/extendsftf2.c: Likewise.
28700         * soft-fp/extendxftf2.c: Likewise.
28701         * soft-fp/fixdfdi.c: Likewise.
28702         * soft-fp/fixdfsi.c: Likewise.
28703         * soft-fp/fixdfti.c: Likewise.
28704         * soft-fp/fixsfdi.c: Likewise.
28705         * soft-fp/fixsfsi.c: Likewise.
28706         * soft-fp/fixsfti.c: Likewise.
28707         * soft-fp/fixtfdi.c: Likewise.
28708         * soft-fp/fixtfsi.c: Likewise.
28709         * soft-fp/fixtfti.c: Likewise.
28710         * soft-fp/fixunsdfdi.c: Likewise.
28711         * soft-fp/fixunsdfsi.c: Likewise.
28712         * soft-fp/fixunsdfti.c: Likewise.
28713         * soft-fp/fixunssfdi.c: Likewise.
28714         * soft-fp/fixunssfsi.c: Likewise.
28715         * soft-fp/fixunssfti.c: Likewise.
28716         * soft-fp/fixunstfdi.c: Likewise.
28717         * soft-fp/fixunstfsi.c: Likewise.
28718         * soft-fp/fixunstfti.c: Likewise.
28719         * soft-fp/floatdidf.c: Likewise.
28720         * soft-fp/floatdisf.c: Likewise.
28721         * soft-fp/floatditf.c: Likewise.
28722         * soft-fp/floatsidf.c: Likewise.
28723         * soft-fp/floatsisf.c: Likewise.
28724         * soft-fp/floatsitf.c: Likewise.
28725         * soft-fp/floattidf.c: Likewise.
28726         * soft-fp/floattisf.c: Likewise.
28727         * soft-fp/floattitf.c: Likewise.
28728         * soft-fp/floatundidf.c: Likewise.
28729         * soft-fp/floatundisf.c: Likewise.
28730         * soft-fp/floatunditf.c: Likewise.
28731         * soft-fp/floatunsidf.c: Likewise.
28732         * soft-fp/floatunsisf.c: Likewise.
28733         * soft-fp/floatunsitf.c: Likewise.
28734         * soft-fp/floatuntidf.c: Likewise.
28735         * soft-fp/floatuntisf.c: Likewise.
28736         * soft-fp/floatuntitf.c: Likewise.
28737         * soft-fp/fmadf4.c: Likewise.
28738         * soft-fp/fmasf4.c: Likewise.
28739         * soft-fp/fmatf4.c: Likewise.
28740         * soft-fp/gedf2.c: Likewise.
28741         * soft-fp/gesf2.c: Likewise.
28742         * soft-fp/getf2.c: Likewise.
28743         * soft-fp/ledf2.c: Likewise.
28744         * soft-fp/lesf2.c: Likewise.
28745         * soft-fp/letf2.c: Likewise.
28746         * soft-fp/muldf3.c: Likewise.
28747         * soft-fp/mulsf3.c: Likewise.
28748         * soft-fp/multf3.c: Likewise.
28749         * soft-fp/negdf2.c: Likewise.
28750         * soft-fp/negsf2.c: Likewise.
28751         * soft-fp/negtf2.c: Likewise.
28752         * soft-fp/op-1.h: Likewise.
28753         * soft-fp/op-2.h: Likewise.
28754         * soft-fp/op-4.h: Likewise.
28755         * soft-fp/op-8.h: Likewise.
28756         * soft-fp/op-common.h: Likewise.
28757         * soft-fp/quad.h: Likewise.
28758         * soft-fp/single.h: Likewise.
28759         * soft-fp/soft-fp.h: Likewise.
28760         * soft-fp/sqrtdf2.c: Likewise.
28761         * soft-fp/sqrtsf2.c: Likewise.
28762         * soft-fp/sqrttf2.c: Likewise.
28763         * soft-fp/subdf3.c: Likewise.
28764         * soft-fp/subsf3.c: Likewise.
28765         * soft-fp/subtf3.c: Likewise.
28766         * soft-fp/truncdfsf2.c: Likewise.
28767         * soft-fp/trunctfdf2.c: Likewise.
28768         * soft-fp/trunctfsf2.c: Likewise.
28769         * soft-fp/trunctfxf2.c: Likewise.
28770         * soft-fp/unorddf2.c: Likewise.
28771         * soft-fp/unordsf2.c: Likewise.
28772         * soft-fp/unordtf2.c: Likewise.
28774 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28776         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28777         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28779 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28781         * elf/dl-libc.c: Clear initfini list after freeing.
28783 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28785         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28786         * soft-fp/addsf3.c: Likewise.
28787         * soft-fp/addtf3.c: Likewise.
28788         * soft-fp/divdf3.c: Likewise.
28789         * soft-fp/divsf3.c: Likewise.
28790         * soft-fp/divtf3.c: Likewise.
28791         * soft-fp/double.h: Likewise.
28792         * soft-fp/eqdf2.c: Likewise.
28793         * soft-fp/eqsf2.c: Likewise.
28794         * soft-fp/eqtf2.c: Likewise.
28795         * soft-fp/extenddftf2.c: Likewise.
28796         * soft-fp/extended.h: Likewise.
28797         * soft-fp/extendsfdf2.c: Likewise.
28798         * soft-fp/extendsftf2.c: Likewise.
28799         * soft-fp/extendxftf2.c: Likewise.
28800         * soft-fp/fixdfdi.c: Likewise.
28801         * soft-fp/fixdfsi.c: Likewise.
28802         * soft-fp/fixdfti.c: Likewise.
28803         * soft-fp/fixsfdi.c: Likewise.
28804         * soft-fp/fixsfsi.c: Likewise.
28805         * soft-fp/fixsfti.c: Likewise.
28806         * soft-fp/fixtfdi.c: Likewise.
28807         * soft-fp/fixtfsi.c: Likewise.
28808         * soft-fp/fixtfti.c: Likewise.
28809         * soft-fp/fixunsdfdi.c: Likewise.
28810         * soft-fp/fixunsdfsi.c: Likewise.
28811         * soft-fp/fixunsdfti.c: Likewise.
28812         * soft-fp/fixunssfdi.c: Likewise.
28813         * soft-fp/fixunssfsi.c: Likewise.
28814         * soft-fp/fixunssfti.c: Likewise.
28815         * soft-fp/fixunstfdi.c: Likewise.
28816         * soft-fp/fixunstfsi.c: Likewise.
28817         * soft-fp/fixunstfti.c: Likewise.
28818         * soft-fp/floatdidf.c: Likewise.
28819         * soft-fp/floatdisf.c: Likewise.
28820         * soft-fp/floatditf.c: Likewise.
28821         * soft-fp/floatsidf.c: Likewise.
28822         * soft-fp/floatsisf.c: Likewise.
28823         * soft-fp/floatsitf.c: Likewise.
28824         * soft-fp/floattidf.c: Likewise.
28825         * soft-fp/floattisf.c: Likewise.
28826         * soft-fp/floattitf.c: Likewise.
28827         * soft-fp/floatundidf.c: Likewise.
28828         * soft-fp/floatundisf.c: Likewise.
28829         * soft-fp/floatunsidf.c: Likewise.
28830         * soft-fp/floatunsisf.c: Likewise.
28831         * soft-fp/floatuntidf.c: Likewise.
28832         * soft-fp/floatuntisf.c: Likewise.
28833         * soft-fp/floatuntitf.c: Likewise.
28834         * soft-fp/fmadf4.c: Likewise.
28835         * soft-fp/fmasf4.c: Likewise.
28836         * soft-fp/fmatf4.c: Likewise.
28837         * soft-fp/gedf2.c: Likewise.
28838         * soft-fp/gesf2.c: Likewise.
28839         * soft-fp/getf2.c: Likewise.
28840         * soft-fp/ledf2.c: Likewise.
28841         * soft-fp/lesf2.c: Likewise.
28842         * soft-fp/letf2.c: Likewise.
28843         * soft-fp/muldf3.c: Likewise.
28844         * soft-fp/mulsf3.c: Likewise.
28845         * soft-fp/multf3.c: Likewise.
28846         * soft-fp/negdf2.c: Likewise.
28847         * soft-fp/negsf2.c: Likewise.
28848         * soft-fp/negtf2.c: Likewise.
28849         * soft-fp/op-1.h: Likewise.
28850         * soft-fp/op-2.h: Likewise.
28851         * soft-fp/op-4.h: Likewise.
28852         * soft-fp/op-8.h: Likewise.
28853         * soft-fp/op-common.h: Likewise.
28854         * soft-fp/quad.h: Likewise.
28855         * soft-fp/single.h: Likewise.
28856         * soft-fp/soft-fp.h: Likewise.
28857         * soft-fp/sqrtdf2.c: Likewise.
28858         * soft-fp/sqrtsf2.c: Likewise.
28859         * soft-fp/sqrttf2.c: Likewise.
28860         * soft-fp/subdf3.c: Likewise.
28861         * soft-fp/subsf3.c: Likewise.
28862         * soft-fp/subtf3.c: Likewise.
28863         * soft-fp/truncdfsf2.c: Likewise.
28864         * soft-fp/trunctfdf2.c: Likewise.
28865         * soft-fp/trunctfsf2.c: Likewise.
28866         * soft-fp/trunctfxf2.c: Likewise.
28867         * soft-fp/unorddf2.c: Likewise.
28868         * soft-fp/unordsf2.c: Likewise.
28869         * soft-fp/unordtf2.c: Likewise.
28871 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28873         [BZ #15672]
28874         * misc/error.c (error_tail): Fix possible buffer overflow.
28876 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28878         [BZ #13028]
28879         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28880         address.
28882 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28884         [BZ #832]
28885         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28886         testing pipefail option.
28888 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28890         * soft-fp/double.h: Indent preprocessor directives inside #if.
28891         * soft-fp/extended.h: Likewise.
28892         * soft-fp/op-2.h: Likewise.
28893         * soft-fp/op-4.h: Likewise.
28894         * soft-fp/op-common.h: Likewise.
28895         * soft-fp/quad.h: Likewise.
28896         * soft-fp/single.h: Likewise.
28897         * soft-fp/soft-fp.h: Likewise.
28899 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28901         * iconv/iconv_prog.c: Fix typos.
28902         * stdio-common/psiginfo-data.h: Likewise.
28904 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28906         [BZ #15764]
28907         * locale/setlocale.c: Fix typo.
28909 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28911         [BZ #16036]
28912         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28913         signaling NaN arguments.
28914         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28915         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28917         [BZ #14910]
28918         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28919         unordered operands.
28920         * soft-fp/gesf2.c (__gesf2): Likewise.
28921         * soft-fp/getf2.c (__getf2): Likewise.
28922         * soft-fp/ledf2.c (__ledf2): Likewise.
28923         * soft-fp/lesf2.c (__lesf2): Likewise.
28924         * soft-fp/letf2.c (__letf2): Likewise.
28926         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28927         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28928         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28929         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28930         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28931         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28932         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28933         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28934         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28935         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28936         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28937         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28938         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28939         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28940         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28941         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28942         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28943         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28944         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28945         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28946         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28947         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28948         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28949         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28950         * soft-fp/floattidf.c (__floattidf): Likewise.
28951         * soft-fp/floattisf.c (__floattisf): Likewise.
28952         * soft-fp/floattitf.c (__floattitf): Likewise.
28953         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28954         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28955         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28956         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28957         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28958         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28959         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28960         * soft-fp/gesf2.c (__gesf2): Likewise.
28961         * soft-fp/getf2.c (__getf2): Likewise.
28962         * soft-fp/ledf2.c (__ledf2): Likewise.
28963         * soft-fp/lesf2.c (__lesf2): Likewise.
28964         * soft-fp/letf2.c (__letf2): Likewise.
28966         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28967         Undefine and redefine.
28968         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28969         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28970         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28971         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28972         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28973         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28974         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28975         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28976         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28977         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28978         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28979         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28980         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28981         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28982         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28984         [BZ #16032]
28985         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28986         without decrementing exponent if mantissa >= that for the
28987         denominator, not >.
28988         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28989         denominator, not >.  Decrement exponent in < case instead of
28990         incrementing in >= case.
28991         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28992         without decrementing exponent if mantissa >= that for the
28993         denominator, not >.
28995         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28996         computing saturated result for unsigned overflow.
28998 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28999             Jeff Law  <law@redhat.com>
29001         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29002         (atan2Mp): Add systemtap probe marker.
29003         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29004         (__ieee754_log): Add systemtap probe marker.
29005         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29006         (atanMp): Add systemtap probe marker.
29007         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29008         (tanMp): Add systemtap probe marker.
29009         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29010         (__slowexp): Add systemtap probe marker.
29011         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29012         (__slowpow): Add systemtap probe marker.
29013         * manual/probes.texi: Document probes.
29015 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29017         [BZ #15362]
29018         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29019         written.
29020         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29021         written.
29022         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29023         written to buffer but not flushed.
29024         * libio/iofwrite_u.c:  Likewise.
29025         * libio/iopadn.c:  Return bytes returned even if EOF was
29026         encountered.
29027         * libio/iowpadn.c:  Likewise.
29028         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29029         if _IO_padn does not write the whole buffer.
29030         [!COMPILE_WPRINTF] (PAD): Likewise.
29032 2013-10-10  David S. Miller  <davem@davemloft.net>
29034         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29035         directory block.
29037 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29039         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29040         instead of FSF address.
29041         * soft-fp/fixdfti.c: Likewise.
29042         * soft-fp/fixsfti.c: Likewise.
29043         * soft-fp/fixtfti.c: Likewise.
29044         * soft-fp/fixunsdfti.c: Likewise.
29045         * soft-fp/fixunssfti.c: Likewise.
29046         * soft-fp/fixunstfti.c: Likewise.
29047         * soft-fp/floattidf.c: Likewise.
29048         * soft-fp/floattisf.c: Likewise.
29049         * soft-fp/floattitf.c: Likewise.
29050         * soft-fp/floatuntidf.c: Likewise.
29051         * soft-fp/floatuntisf.c: Likewise.
29052         * soft-fp/floatuntitf.c: Likewise.
29053         * soft-fp/trunctfxf2.c: Likewise.
29055         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29056         * soft-fp/fixdfti.c: Likewise.
29057         * soft-fp/fixsfti.c: Likewise.
29058         * soft-fp/fixtfti.c: Likewise.
29059         * soft-fp/fixunsdfti.c: Likewise.
29060         * soft-fp/fixunssfti.c: Likewise.
29061         * soft-fp/fixunstfti.c: Likewise.
29062         * soft-fp/floattidf.c: Likewise.
29063         * soft-fp/floattisf.c: Likewise.
29064         * soft-fp/floattitf.c: Likewise.
29065         * soft-fp/floatuntidf.c: Likewise.
29066         * soft-fp/floatuntisf.c: Likewise.
29067         * soft-fp/floatuntitf.c: Likewise.
29068         * soft-fp/trunctfxf2.c: Likewise.
29070 2013-10-10  David S. Miller  <davem@davemloft.net>
29072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29074 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29076         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29077         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29078         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29079         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29080         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29081         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29082         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29084         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29085         for NaNs before doing comparisons on argument.
29086         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29087         Likewise.
29089 2013-10-10  Will Newton  <will.newton@linaro.org>
29091         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29092         passed to _int_memalign does not overflow.
29094 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29096         * scripts/bench.pl: Add include-sources directive.
29097         * benchtests/README: Update documentation.
29099 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29101         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29102         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29103         instead of FP_INIT_ROUNDMODE.
29104         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29105         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29107         [BZ #16034]
29108         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29109         copy class of input value.
29110         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29111         not handle exceptions.
29112         * soft-fp/negsf2.c (__negsf2): Likewise.
29113         * soft-fp/negtf2.c (__negtf2): Likewise.
29114         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29116 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29118         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29119         semicolon.  From Linux kernel.
29121 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29123         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29125 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29127         [BZ #156]
29128         * manual/socket.texi: Added statement about buffer
29129         for gethostbyname2_r.
29131 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29133         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29134         Use .p2align directive instead, throughout.
29135         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29136         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29137         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29138         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29139         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29140         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29141         * sysdeps/x86_64/strchr.S: Likewise.
29142         * sysdeps/x86_64/strrchr.S: Likewise.
29144 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29146         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29148         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29150         * sysdeps/generic/math_private.h (__mpsin1): Remove
29151         declaration.
29152         (__mpcos1): Likewise.
29153         (__mpsin): New argument __range_reduce.
29154         (__mpcos): Likewise.
29155         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29156         (slow): Use __mpsin and __mpcos.
29157         (slow1): Likewise.
29158         (slow2): Likewise.
29159         (sloww): Likewise.
29160         (sloww1): Likewise.
29161         (sloww2): Likewise.
29162         (bsloww): Likewise.
29163         (bsloww1): Likewise.
29164         (bsloww2): Likewise.
29165         (cslow2): Likewise.
29166         (csloww): Likewise.
29167         (csloww1): Likewise.
29168         (csloww2): Likewise.
29169         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29170         range_reduce.  Merge in __mpsin1.
29171         (__mpcos): Likewise.
29172         (__mpsin1): Remove.
29173         (__mpcos1): Likewise.
29175 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29177         * locale/loadlocale.c (_nl_intern_locale_data): Use
29178         LOCFILE_ALIGNED_P.
29179         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29180         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29181         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29182         obstack data is appropriately aligned.
29183         (obstack_int32_grow_fast): Likewise.
29184         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29185         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29186         (add_locale_uint32_array): Likewise.
29188 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29190         * benchtests/Makefile: Remove ARGLIST and RET variables.
29191         ($(objpfx)bench-%.c): Pass only function name to the script.
29192         * benchtests/README: Update documentation.
29193         * benchtests/acos-inputs: Add new directives.
29194         * benchtests/acosh-inputs: Likewise.
29195         * benchtests/asin-inputs: Likewise.
29196         * benchtests/asinh-inputs: Likewise.
29197         * benchtests/atan-inputs: Likewise.
29198         * benchtests/atanh-inputs: Likewise.
29199         * benchtests/cos-inputs: Likewise.
29200         * benchtests/cosh-inputs: Likewise.
29201         * benchtests/exp-inputs: Likewise.
29202         * benchtests/log-inputs: Likewise.
29203         * benchtests/pow-inputs: Likewise.
29204         * benchtests/rint-inputs: Likewise.
29205         * benchtests/sin-inputs: Likewise.
29206         * benchtests/sinh-inputs: Likewise.
29207         * benchtests/tan-inputs: Likewise.
29208         * benchtests/tanh-inputs: Likewise.
29209         * scripts/bench.pl: Add support for new directives.
29211 2013-10-07  Alan Modra  <amodra@gmail.com>
29213         * README: Fix careless merge.
29215 2013-10-05  Alan Modra  <amodra@gmail.com>
29217         * NEWS: Mention powerpc64le support and bugs fixed.
29218         * README: Both big-endian and little-endian powerpc64 supported.
29220 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29222         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29223         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29224         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29225         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29227 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29229         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29230         match prototype.
29232 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29234         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29235         Move -mhard-float appending from
29236         ports/sysdeps/powerpc/powerpc32/Makefile.
29237         [$(with-fp) = yes] (ASFLAGS): Likewise.
29238         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29239         * sysdeps/powerpc/nofpu: Move directory from
29240         ports/sysdeps/powerpc/nofpu.
29241         * sysdeps/powerpc/soft-fp: Move directory from
29242         ports/sysdeps/powerpc/soft-fp.
29243         * sysdeps/powerpc/powerpc32/405: Move directory from
29244         ports/sysdeps/powerpc/powerpc32/405.
29245         * sysdeps/powerpc/powerpc32/440: Move directory from
29246         ports/sysdeps/powerpc/powerpc32/440.
29247         * sysdeps/powerpc/powerpc32/464: Move directory from
29248         ports/sysdeps/powerpc/powerpc32/464.
29249         * sysdeps/powerpc/powerpc32/476: Move directory from
29250         ports/sysdeps/powerpc/powerpc32/476.
29251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29252         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29254         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29256         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29258         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29260         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29261         * README: Update for powerpc-*-linux-gnu software floating point
29262         support in libc.
29264         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29265         case to powerpc/powerpc32*.
29266         * sysdeps/unix/sysv/linux/configure: Regenerated.
29268         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29269         (_FPU_MASK_OM): Define as 0x04.
29270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29272         0x00c10080.
29273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29274         0x0000003c.
29275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29278         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29279         getcontext_e500.
29280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29281         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29282         setcontext_e500.
29283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29284         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29285         and setcontext_e500.
29287 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29289         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29291 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29293         * manual/threads.texi (Default Thread Attributes): Fix typo.
29295 2013-10-04  Will Newton  <will.newton@linaro.org>
29297         * malloc/Makefile: Add tst-memalign.
29298         * malloc/tst-memalign.c: New file.
29300         * malloc/tst-posix_memalign.c: Add comments.
29301         (do_test): Add comments and call free on all potentially
29302         allocated pointers. Add space after cast.
29304         * malloc/tst-pvalloc.c: Add comments.
29305         (do_test): Add comments and call free on all potentially
29306         allocated pointers. Remove duplicate check for NULL pointer.
29307         Add space after cast.
29309         * malloc/tst-valloc.c: Add comments.
29310         (do_test): Add comments and call free on all potentially
29311         allocated pointers. Remove duplicate check for NULL pointer.
29312         Add space after cast.
29314 2013-10-04  Alan Modra  <amodra@gmail.com>
29316         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29317         Use stdint types in rather than __attribute__((mode())).
29318         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29320 2013-10-04  Alan Modra  <amodra@gmail.com>
29322         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29323         Correct handling of unaligned relocs for little-endian.
29324         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29326 2013-10-04  Alan Modra  <amodra@gmail.com>
29328         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29329         * configure: Regenerate.
29330         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29331         * shlib-versions: Likewise.
29333 2013-10-04  Alan Modra  <amodra@gmail.com>
29335         * string/tester.c (test_memrchr): Increment reported test cycle.
29337 2013-10-04  Alan Modra  <amodra@gmail.com>
29339         * string/test-memcpy.c (do_one_test): When reporting errors, print
29340         string address and don't overrun end of string.
29342 2013-10-04  Alan Modra  <amodra@gmail.com>
29344         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29345         insrdi.  Make better use of reg selection to speed exit slightly.
29346         Schedule entry path a little better.  Remove useless "are we done"
29347         checks on entry to main loop.  Handle wrapping around zero address.
29348         Correct main loop count.  Handle single left-over word from main
29349         loop inline rather than by using loop_small.  Remove extra word
29350         case in loop_small caused by wrong loop count.  Add little-endian
29351         support.
29352         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29353         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29354         cache hint.
29355         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29356         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29357         support.  Avoid rlwimi.
29358         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29360 2013-10-04  Alan Modra  <amodra@gmail.com>
29362         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29363         insrdi.  Formatting.
29364         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29365         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29366         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29367         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29368         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29369         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29371 2013-10-04  Alan Modra  <amodra@gmail.com>
29373         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29374         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29375         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29376         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29377         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29378         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29379         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29380         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29381         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29382         use of regs.  Use power7 mtocrf.  Tidy function tails.
29384 2013-10-04  Alan Modra  <amodra@gmail.com>
29386         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29387         Formatting.  Consistently use rXXX register defines or rN defines.
29388         Use early exit labels that avoid restoring unused non-volatile regs.
29389         Make cr field use more consistent with rWORDn compares.  Rename
29390         regs used as shift registers for unaligned loop, using rN defines
29391         for short lifetime/multiple use regs.
29392         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29393         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29394         addi 1,1,64 to pop stack frame.  Simplify return value code.
29395         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29397 2013-10-04  Alan Modra  <amodra@gmail.com>
29399         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29400         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29401         rather than rlwimi.
29402         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29403         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29404         little-endian support.  Correct typos.
29405         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29406         rather than rlwimi.
29407         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29408         in loop and entry code to keep "and." results.
29409         (strchr): Add little-endian support.  Comment.  Move cntlzd
29410         earlier in tail.
29411         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29413 2013-10-04  Alan Modra  <amodra@gmail.com>
29415         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29416         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29417         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29418         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29420 2013-10-04  Alan Modra  <amodra@gmail.com>
29422         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29423         (rTMP): Define as r11.
29424         (strcmp): Add little-endian support.  Optimise tail.
29425         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29426         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29427         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29428         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29429         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29430         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29431         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29433 2013-10-04  Alan Modra  <amodra@gmail.com>
29435         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29436         little-endian support.  Remove unnecessary "are we done" tests.
29437         Handle "s" wrapping around zero and extremely large "size".
29438         Correct main loop count.  Handle single left-over word from main
29439         loop inline rather than by using small_loop.  Correct comments.
29440         Delete "zero" tail, use "end_max" instead.
29441         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29443 2013-10-04  Alan Modra  <amodra@gmail.com>
29445         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29446         support.  Don't branch over align.
29447         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29448         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29449         support.  Rearrange tmp reg use to suit.  Comment.
29450         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29452 2013-10-04  Alan Modra  <amodra@gmail.com>
29454         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29456 2013-10-04  Alan Modra  <amodra@gmail.com>
29458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29459         conditional form of branch and link when obtaining pc.
29460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29462 2013-10-04  Alan Modra  <amodra@gmail.com>
29464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29465         HIWORD/LOWORD.
29466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29469 2013-10-04  Alan Modra  <amodra@gmail.com>
29471         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29472         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29473         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29474         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29475         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29476         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29477         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29478         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29479         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29480         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29482 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29483             Alistair Popple <alistair@ozlabs.au.ibm.com>
29484             Alan Modra <amodra@gmail.com>
29486         [BZ #15723]
29487         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29488         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29489         _dl_hwcap access for little-endian.
29490         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29491         destroy vmx regs when saving unaligned.
29492         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29493         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29494         destroy vmx regs when saving unaligned.
29496 2013-10-04  Alan Modra  <amodra@gmail.com>
29498         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29499         Don't use a union to pack hi/low value.
29501 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29503         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29504         for little-endian.
29505         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29506         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29507         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29508         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29509         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29511 2013-10-04  Alan Modra  <amodra@gmail.com>
29513         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29514         constants to usual value for .cst8 section, and remove redundant
29515         high address load.
29516         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29517         constant for 0x1p52.  Load little-endian words of double from
29518         correct stack offsets.
29520 2013-10-04  Alan Modra  <amodra@gmail.com>
29522         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29523         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29524         words of double from correct stack offsets.
29525         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29526         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29527         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29528         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29529         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29530         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29531         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29532         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29533         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29534         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29535         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29536         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29537         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29538         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29539         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29540         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29541         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29543 2013-10-04  Alan Modra  <amodra@gmail.com>
29545         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29546         64-bit int/double union.
29547         (_FPU_SETCW): Likewise.
29548         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29549         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29551 2013-10-04  Alan Modra  <amodra@gmail.com>
29553         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29554         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29556 2013-10-04  Alan Modra  <amodra@gmail.com>
29558         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29559         use vector int constants.
29560         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29562 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29564         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29565         array with long long.
29566         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29567         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29568         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29569         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29570         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29571         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29572         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29573         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29574         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29575         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29576         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29577         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29578         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29580 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29582         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29583         (__signbit): Likewise.  Correct for little-endian.
29584         (__signbitl): Call __signbit.
29585         (lrint): Correct for little-endian.
29586         (lrintf): Call lrint.
29588 2013-10-04  Alan Modra  <amodra@gmail.com>
29590         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29591         union 32-bit int array member with 64-bit int array.
29592         (t515, tm256): Double rather than long double.
29593         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29595 2013-10-04  Alan Modra  <amodra@gmail.com>
29597         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29598         Delete.
29599         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29600         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29601         version of math_ldbl.h.
29603 2013-10-04  Alan Modra  <amodra@gmail.com>
29605         [BZ #15734], [BZ #15735]
29606         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29607         all uses of ieee875 long double macros and unions.  Simplify test
29608         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29609         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29610         normalize after ldbl_extract_mantissa, and don't add hidden bit
29611         already handled.  Don't treat low word of ieee854 mantissa like
29612         low word of IBM long double and mask off bit when testing for
29613         zero.
29614         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29615         all uses of ieee875 long double macros and unions.  Simplify tests
29616         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29617         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29618         two1022, instead use their values.  Recognise that tests for large
29619         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29620         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29621         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29622         test for 0.0L and nan.  Correct negation.
29623         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29624         ieee875 long double macros and unions.  Correct output for large
29625         magnitude x.  Correct absolute value calculation.
29626         (__erfcl): Likewise.
29627         * math/libm-test.inc: Add tests for errors discovered in IBM long
29628         double versions of fmodl, remainderl, erfl and erfcl.
29630 2013-10-04  Alan Modra  <amodra@gmail.com>
29632         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29633         all uses of ieee854 long double macros and unions.  Simplify tests
29634         for long doubles that are fully specified by the high double.
29635         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29636         Likewise.
29637         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29638         Remove dead code too.
29639         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29640         (__ieee754_ynl): Likewise.
29641         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29642         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29643         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29644         Remove dead code too.
29645         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29646         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29647         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29648         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29649         Simplify.
29650         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29651         Simplify.
29652         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29653         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29654         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29655         Comment on variable precision.
29656         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29657         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29658         Likewise.
29659         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29660         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29661         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29662         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29663         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29665 2013-10-04  Alan Modra  <amodra@gmail.com>
29667         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29668         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29669         all uses of ieee854 long double macros and unions.
29670         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29671         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29672         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29673         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29674         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29675         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29676         Likewise.
29677         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29678         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29679         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29680         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29681         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29682         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29683         Simplify sign and nan test too.
29684         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29685         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29686         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29687         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29688         Likewise.
29689         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29690         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29691         Likewise.
29692         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29693         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29694         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29695         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29696         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29697         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29699 2013-10-04  Alan Modra  <amodra@gmail.com>
29701         * stdio-common/printf_size.c (__printf_size): Don't use
29702         union ieee854_long_double in fpnum union.
29703         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29704         signbit macro to retrieve sign from long double.
29705         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29706         retrieve sign from long double.
29707         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29708         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29709         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29710         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29711         * math/test-misc.c (main): Don't use union ieee854_long_double.
29713 2013-10-04  Alan Modra  <amodra@gmail.com>
29715         [BZ #15680]
29716         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29717         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29718         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29719         calculation.  Remove unnecessary test for denormal exponent.
29720         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29721         Correct handling of denormals.  Avoid undefined shift behaviour.
29722         Correct normalisation of low mantissa when low double is denormal.
29723         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29724         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29725         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29726         Correct normalisation of low mantissa.  Test for overflow of high
29727         mantissa and normalise.
29728         (ldbl_nearbyint): Use more readable constant for two52.
29729         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29730         (__mpn_construct_long_double): Fix test for overflow of high
29731         mantissa and correct normalisation.  Avoid undefined shift.
29733 2013-10-04  Alan Modra  <amodra@gmail.com>
29735         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29736         (union ibm_extended_long_double): Define as an array of ieee754_double.
29737         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29738         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29739         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29740         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29741         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29742         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29743         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29744         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29745         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29746         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29747         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29749 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29751         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29752         page size instead of calling getpagesize.
29754         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29755         (LOCFILE_ALIGN_MASK): Likewise.
29756         (LOCFILE_ALIGN_UP): Likewise.
29757         (LOCFILE_ALIGNED_P): Likewise.
29758         * locale/programs/ld-collate.c (collate_output): Use the new
29759         macros instead of __alignof__ (int32_t).
29760         * locale/weight.h (findidx): Likewise.
29762 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29764         [BZ #431]
29765         * manual/string.texi: Fix strncat and wcsncat.
29767 2013-10-03  Brooks Moses  <bmoses@google.com>
29769         [BZ #15915]
29770         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29771         * Makerules: ...here, and adjust associated comments.
29773 2013-10-02  Will Newton  <will.newton@linaro.org>
29775         * malloc/Makefile: Add tst-pvalloc.
29776         * malloc/tst-pvalloc.c: New file.
29778 2013-10-02  Will Newton  <will.newton@linaro.org>
29780         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29781         improve test coverage.
29783 2013-10-02  Will Newton  <will.newton@linaro.org>
29785         * malloc/Makefile: Add tst-posix_memalign.
29786         * malloc/tst-posix_memalign.c: New file.
29788 2013-10-01  Eric Blake  <eblake@redhat.com>
29790         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29791         Use __THROWNL rather than __THROW on static functions.
29793 2013-09-30  Petr Machata  <pmachata@redhat.com>
29795         * elf/elf.h (R_AARCH64_ABS16): New macro.
29796         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29797         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29798         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29799         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29800         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29801         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29802         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29803         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29804         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29805         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29806         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29807         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29808         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29809         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29810         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29811         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29812         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29813         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29814         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29815         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29816         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29817         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29818         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29819         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29820         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29821         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29822         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29823         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29824         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29825         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29826         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29827         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29828         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29829         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29830         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29831         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29832         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29833         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29834         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29835         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29836         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29837         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29838         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29839         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29840         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29841         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29842         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29843         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29844         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29845         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29846         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29847         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29848         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29849         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29850         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29851         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29852         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29853         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29854         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29855         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29856         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29857         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29858         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29859         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29860         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29861         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29862         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29863         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29864         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29865         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29866         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29867         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29868         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29869         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29870         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29871         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29872         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29873         (R_AARCH64_TLSDESC_LDR): Likewise.
29874         (R_AARCH64_TLSDESC_ADD): Likewise.
29875         (R_AARCH64_TLSDESC_CALL): Likewise.
29877 2013-09-30  Andreas Schwab  <schwab@suse.de>
29879         [BZ #15048]
29880         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29881         the nss database lookup.
29882         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29885 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29887         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29889 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29891         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29892         ${Bash-specific parameter/pattern/string} parameter expansion.
29893         * sysdeps/unix/make-syscalls.sh: Likewise.
29895 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29897         * sysdeps/sh/stackguard-macros.h: New file.
29899 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29901         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29903         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29904         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29905         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29906         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29908 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29910         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29911         Fix thread ID register.
29913 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29915         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29916         [POSIX || UNIX98]: Require rather than permitting all symbols from
29917         <time.h>.
29918         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29919         element of struct sched_param.
29920         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29921         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29922         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29923         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29924         constant.
29926 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29928         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29929         argument calculation.
29931 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29933         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29934         Expect macro.
29935         [POSIX] (pthread_attr_t): Do not require type.
29936         [POSIX] (pthread_cond_t): Likewise.
29937         [POSIX] (pthread_condattr_t): Likewise.
29938         [POSIX] (pthread_key_t): Likewise.
29939         [POSIX] (pthread_mutex_t): Likewise.
29940         [POSIX] (pthread_mutexattr_t): Likewise.
29941         [POSIX] (pthread_once_t): Likewise.
29942         [POSIX] (pthread_t): Likewise.
29943         [POSIX-based standards] (pthread_atfork): Expect function.
29945 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29946             Richard Sandiford  <richard@codesourcery.com>
29948         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29949         (swap_endianness_p): New extern variable.
29950         (set_big_endian): New inline function.
29951         (maybe_swap_uint32): Likewise.
29952         (maybe_swap_uint32_array): Likewise.
29953         (maybe_swap_uint32_obstack): Likewise.
29954         * locale/programs/locfile.c: Include <stdbool.h>.
29955         (swap_endianness_p): New variable.
29956         (add_locale_uint32): Call maybe_swap_uint32.
29957         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29958         (write_locale_data): Call maybe_swap_uint32_array.
29959         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29960         maybe_swap_uint32.
29961         (obstack_int32_grow_fast): Likewise.
29962         (output_weightwc): Call maybe_swap_uint32_obstack.
29963         (collate_output): Likewise.
29964         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29965         (OPT_LITTLE_ENDIAN): Likewise.
29966         (options): Add --little-endian and --big-endian options.
29967         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29968         * locale/programs/locarchive.c: Include "locfile.h".
29969         (GET): New macro.
29970         (SET): Likewise.
29971         (INC): Likewise.
29972         (create_archive): Use the new macros to access fields of
29973         structures directly mapped from or written to locale archives.
29974         (oldlocrecentcmp): Likewise.
29975         (enlarge_archive): Likewise.
29976         (insert_name): Likewise.
29977         (add_alias): Likewise.
29978         (add_locale): Likewise.
29979         (delete_locales_from_archive): Likewise.
29980         (show_archive_content): Likewise.
29981         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29982         locale data.
29984 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29986         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29987         http://www.gnu.org/doc/freemanuals.texi.
29988         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29990 2013-09-24  Will Newton  <will.newton@linaro.org>
29992         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29993         macro.
29995 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29997         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29998         unsigned char.
30000 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30002         * manual/threads.texi (POSIX Threads): Fix a typo.
30004 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30006         [BZ #14547]
30007         * string/tst-strcoll-overflow.c: New test case.
30008         * string/Makefile (xtests): Add tst-strcoll-overflow.
30009         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30010         cache if string sizes may cause integer overflow.
30012         [BZ #14547]
30013         * string/strcoll_l.c (coll_seq): New members rule, idx,
30014         save_idx and back_us.
30015         (get_next_seq_nocache): New function.
30016         (do_compare_nocache): New function.
30017         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30018         when malloc fails.
30020 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30022         [BZ #15754]
30023         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30024         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30025         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30027         [BZ #15754]
30028         * elf/Makefile (tests): Add tst-ptrguard1.
30029         (tests-static): Add tst-ptrguard1-static.
30030         (tst-ptrguard1-ARGS): Define.
30031         (tst-ptrguard1-static-ARGS): Define.
30032         * elf/tst-ptrguard1.c: New file.
30033         * elf/tst-ptrguard1-static.c: New file.
30034         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30035         * sysdeps/i386/stackguard-macros.h: Likewise.
30036         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30037         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30038         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30039         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30040         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30041         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30043 2013-09-23  Hector Marco  <hecmargi@upv.es>
30044             Ismael Ripoll  <iripoll@disca.upv.es>
30045             Carlos O'Donell  <carlos@redhat.com>
30047         [BZ #15754]
30048         * sysdeps/generic/stackguard-macros.h: Define
30049         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30050         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30051         Define __pointer_chk_guard_local.
30052         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30053         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30055 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30057         [BZ #15859]
30058         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30060 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30062         * include/string.h (__ffs): Declare as hidden.
30063         * string/ffs.c (__ffs): Define as hidden.
30064         * sysdeps/i386/ffs.c (__ffs): Likewise.
30065         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30066         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30067         * sysdeps/s390/ffs.c (__ffs): Likewise.
30068         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30070 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30072         * NEWS: Mention malloc probes.
30074         * malloc/arena.c (new_heap): New memory_heap_new probe.
30075         (grow_heap): New memory_heap_more probe.
30076         (shrink_heap): New memory_heap_less probe.
30077         (heap_trim): New memory_heap_free probe.
30078         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30079         (systrim): New memory_sbrk_less probe.
30080         * manual/probes.texi: Document them.
30082         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30083         * manual/probes.texi: Document it.
30085         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30086         (__libc_realloc): Add memory_realloc_retry probe.
30087         (__libc_memalign): Add memory_memalign_retry probe.
30088         (__libc_valloc): Add memory_valloc_retry probe.
30089         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30090         (__libc_calloc): Add memory_calloc_retry probe.
30091         * manual/probes.texi: Document them.
30093         * malloc/arena.c (get_free_list): Add probe
30094         memory_arena_reuse_free_list.
30095         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30096         and memory_arena_reuse.
30097         (arena_get2) [!PER_THREAD]: Likewise.
30098         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30099         memory_arena_reuse_realloc.
30100         * manual/probes.texi: Document them.
30102         * malloc/malloc.c (__libc_free): Add
30103         memory_mallopt_free_dyn_thresholds probe.
30104         (__libc_mallopt): Add multiple memory_mallopt probes.
30105         * manual/probes.texi: Document them.
30107         * malloc/malloc.c: Include stap-probe.h.
30108         (__libc_mallopt): Add memory_mallopt probe.
30109         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30110         * manual/probes.texi: New.
30111         * manual/Makefile (chapters): Add probes.
30112         * manual/threads.texi: Set next node.
30114 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30116         [BZ #15963, #13985]
30117         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30118         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30119         Add `Chinese' to `nan' entry name.
30121 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30123         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30124         (POLYNOMIAL): Likewise.
30125         (TAYLOR_SINCOS): Likewise.
30126         (TAYLOR_SLOW): Likewise.
30127         (__sin): Use TAYLOR_SINCOS.
30128         (__cos): Likewise.
30129         (slow): Use TAYLOR_SLOW.
30130         (sloww): Likewise.
30131         (bsloww): Likewise.
30132         (csloww): Likewise.
30134 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30136         * stdlib/strtod_l.c: Fix buffer overrun.
30138 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30140         * benchtests/Makefile (bench): Add sincos.
30141         * benchtests/bench-sincos.c: New file.
30143         * math/libm-test.inc (cos_test_data): New test inputs.
30144         (sin_test_data): Likewise.
30146         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30147         macro.
30148         (__sin): Use it.
30149         (__cos): Likewise.
30150         (slow1): Likewise.
30151         (slow2): Likewise.
30152         (sloww1): Likewise.
30153         (sloww2): Likewise.
30154         (bsloww1): Likewise.
30155         (bsloww2): Likewise.
30156         (cslow2): Likewise.
30157         (csloww1): Likewise.
30158         (csloww2): Likewise.
30160         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30161         function.
30162         (__sin): Use it.
30163         (__cos): Likewise.
30165         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30166         gotos.
30167         (__cos): Likewise.
30169 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30171         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30172         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30173         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30174         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30175         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30176         * elf/cache.c (print_entry): Handle the new cache flags.
30178 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30179             Aldy Hernandez  <aldyh@redhat.com>
30181         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30182         Change condition to [_SOFT_FLOAT].
30183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30185         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30195         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30198         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30199         declaration.
30201 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30203         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30204         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30205         (__longjmp): Use LOAD_GP to load saved GPRs.
30206         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30207         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30208         (__sigsetjmp): Use SAVE_GP to save GPRs.
30210         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30211         Do not append -msoft-float.
30212         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30214 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30216         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30218 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30220         [BZ #15966]
30221         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30222         (_FPU_GETCW): Use initial "__" on variable and field names but not
30223         on macro parameter name.
30224         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30225         parentheses around reference to macro parameter.
30227 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30229         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30230         prototype.
30231         (ctype_startup): Use uint32_t in cast and sizeof for
30232         ctype->charnames.
30234 2013-09-11  Jia Liu  <proljc@gmail.com>
30236         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30237         __daddr_t_defined.
30238         [__FreeBSD__]: Likewise.
30240 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30243         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30244         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30245         (strchr): Remove __strchr_sse42 ifunc selection.
30246         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30247         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30249 2013-09-11  Will Newton  <will.newton@linaro.org>
30251         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30252         parameter to RES. Remove hardcoded 1000 value.
30253         * benchtests/bench-skeleton.c (main): Pass RES parameter
30254         to TIMING_INIT and multiply result by 1000.
30256 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30260 2013-09-11  Andreas Schwab  <schwab@suse.de>
30262         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30263         if not defined.
30264         (O_TMPFILE) [__USE_GNU]: Define.
30265         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30266         Define.
30268 2013-09-11  Will Newton  <will.newton@linaro.org>
30270         [BZ #15857]
30271         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30272         does not overflow.
30274 2013-09-11  Will Newton  <will.newton@linaro.org>
30276         [BZ #15856]
30277         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30278         does not overflow.
30280 2013-09-11  Will Newton  <will.newton@linaro.org>
30282         [BZ #15855]
30283         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30284         does not overflow.
30286 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30288         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30289         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30290         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30291         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30292         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30294 2013-09-10  Allan McRae  <allan@archlinux.org>
30296         [BZ #15748]
30297         * manual/arith.texi (Parsing of Floats): Clarify
30298         cross-reference.
30300         [BZ #15849]
30301         * manual/install.texi (Running make install): Mention
30302         --enable-pt-chown.
30303         * INSTALL: Regenerated.
30305 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30307         * csu/init-first.c (_init): Remove the !SHARED condition around
30308         FPU control word initialization.
30309         * elf/dl-support.c (_dl_fpu_control): New variable.
30310         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30311         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30312         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30313         * math/test-fpucw-static.c: New file.
30314         * math/test-fpucw-ieee.c: New file.
30315         * math/test-fpucw-ieee-static.c: New file.
30316         * math/Makefile (tests): Add `test-fpucw-ieee' and
30317         `$(tests-static)'.
30318         (tests-static): New variable.
30319         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30320         dependency to...
30321         [($(build-shared),yes)]
30322         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30323         ... this.
30324         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30325         New dependency.
30327 2013-09-09  Allan McRae  <allan@archlinux.org>
30329         [BZ #15939]
30330         * manual/string.texi (Collation Functions): Fix typo in
30331         strcoll example.
30332         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30334         [BZ #15893]
30335         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30337         [BZ #15892]
30338         * libio/memstream.c (open_memstream): Fix memory leak.
30339         * libio/wmemstream.c (open_wmemstream): Likewise.
30341         [BZ #15895]
30342         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30344 2013-09-09  Will Newton  <will.newton@linaro.org>
30346         * malloc/Makefile: Add tst-realloc to tests.
30347         * malloc/tst-realloc.c: New file.
30349 2013-09-09  Allan McRae  <allan@archlinux.org>
30351         [BZ #15844]
30352         * COPYING: Update from GNU website to fix FSF address.
30353         * COPYING.LIB: Likewise.
30355 2013-09-06  David S. Miller  <davem@davemloft.net>
30357         * po/zh_TW.po: Update Chinese (traditional) translation from
30358         translation project.
30360 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30361             Joseph Myers  <joseph@codesourcery.com>
30363         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30364         "localeinfo.h".
30365         (obstack_chunk_alloc): New macro.
30366         (obstack_chunk_free): Likewise.
30367         (record_offset): New function.
30368         (init_locale_data): Likewise.
30369         (align_locale_data): Likewise.
30370         (add_locale_empty): Likewise.
30371         (add_locale_raw_data): Likewise.
30372         (add_locale_raw_obstack): Likewise.
30373         (add_locale_string): Likewise.
30374         (add_locale_wstring): Likewise.
30375         (add_locale_uint32): Likewise.
30376         (add_locale_uint32_array): Likewise.
30377         (add_locale_char): Likewise.
30378         (start_locale_structure): Likewise.
30379         (end_locale_structure): Likewise.
30380         (start_locale_prelude): Likewise.
30381         (end_locale_prelude): Likewise.
30382         (write_locale_data): Take locale_file structure rather than an
30383         iovec.
30384         * locale/programs/locfile.h: Include "obstack.h".
30385         (struct locale_file): Change to store locale file contents instead
30386         of header.
30387         (init_locale_data): New prototype.
30388         (align_locale_data): Likewise.
30389         (add_locale_empty): Likewise.
30390         (add_locale_raw_data): Likewise.
30391         (add_locale_raw_obstack): Likewise.
30392         (add_locale_string): Likewise.
30393         (add_locale_wstring): Likewise.
30394         (add_locale_uint32): Likewise.
30395         (add_locale_uint32_array): Likewise.
30396         (add_locale_char): Likewise.
30397         (start_locale_structure): Likewise.
30398         (end_locale_structure): Likewise.
30399         (start_locale_prelude): Likewise.
30400         (end_locale_prelude): Likewise.
30401         (write_locale_data): Update prototype.
30402         * locale/programs/3level.h (struct TABLE): Remove result field.
30403         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30404         Use new locale_file interface.
30405         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30406         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30407         * locale/programs/ld-address.c (address_output): Use new
30408         locale_file interface.
30409         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30410         NO_ADD_LOCALE.
30411         (collate_finish): Don't call collseq_table_finalize.
30412         (collate_output): Use new locale_file interface.
30413         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30414         in file.
30415         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30416         (TABLE): Move defines earlier in file.
30417         (ELEMENT): Likewise.
30418         (DEFAULT): Likewise.
30419         (wctrans_table_add): Move macro and inline function earlier in
30420         file.
30421         (struct wctype_table): Move type earlier in file.
30422         (add_locale_wctype_table): New static prototype.
30423         (struct locale_ctype_t): Use logical types instead of struct iovec
30424         pointers for members.
30425         (ctype_output): Use new locale_file interface.
30426         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30427         new locale_file interface.
30428         (allocate_arrays): Update for use of new locale_file interface.
30429         * locale/programs/ld-identification.c (identification_output): Use
30430         new locale_file interface.
30431         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30432         * locale/programs/ld-messages.c (messages_output): Likewise.
30433         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30434         * locale/programs/ld-name.c (name_output): Likewise.
30435         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30436         * locale/programs/ld-paper.c (paper_output): Likewise.
30437         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30438         * locale/programs/ld-time.c (time_output): Likewise.
30440 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30442         * benchtests/Makefile: Add memrchr benchmark.
30443         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30444         benchmark as memrchr.
30445         * benchtests/bench-memrchr-ifunc.c: New file.
30446         * benchtests/bench-memrchr.c: New file.
30448 2013-09-06   Will Newton  <will.newton@linaro.org>
30450         * benchtests/Makefile (string-bench): Add memcpy.
30452 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30453             Cong Wang  <amwang@redhat.com>
30455         [BZ #15850]
30456         * sysdeps/unix/sysv/linux/bits/in.h
30457         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30458         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30459         before __USE_KERNEL_IPV6_DEFS uses.
30460         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30461         IPPROTO_BEETPH.
30462         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30463         sockaddr_in6, or ipv6_mreq.
30465 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30467         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30468         memory access for final bytes in some large inputs.
30469         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30471 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30473         * string/test-memrchr.c: New file.
30474         * string/test-memrchr-ifunc.c: New file.
30475         * string/Makefile: Add new memrchr testcase.
30477 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30479         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30480         fanotify_init returns EPERM.
30482 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30484         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30485         errors.
30486         (top level): Treat second token from macro or constant entries for
30487         allowed headers as allowed.
30488         * include/complex.h: Condition internal declarations on
30489         [!_ISOMAC].
30490         * include/fenv.h: Condition include of <stdbool.h> and internal
30491         declarations on [!_ISOMAC].
30493 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30495         [BZ #15923]
30496         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30498 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30500         * configure.in (--enable-versioning): Remove configure option.
30501         (libc_cv_asm_symver_directive): Remove configure test.
30502         (libc_cv_ld_version_script_option): Likewise.
30503         (VERSIONING): Remove variable and AC_SUBST.
30504         (DO_VERSIONING): Remove AC_DEFINE.
30505         * configure: Regenerated.
30506         * config.h.in (DO_VERSIONING): Remove macro.
30507         * Makerules [$(versioning) = yes]: Change conditionals to
30508         [$(build-shared) = yes].
30509         * config.make.in (versioning): Remove variable.
30510         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30511         [$(build-shared) = yes].
30512         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30513         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30514         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30515         [$(build-shared) = yes].
30516         * extra-lib.mk [$(versioning) = yes]: Likewise.
30517         * hurd/Makefile [$(versioning) = yes]: Likewise.
30518         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30519         [SHARED].
30520         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30521         [SHARED].
30522         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30523         [SHARED && !NO_HIDDEN].
30524         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30525         [SHARED].
30526         [SHARED && DO_VERSIONING]: Likewise..
30527         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30528         [$(build-shared) = yes].
30529         * manual/install.texi (--disable-versioning): Remove
30530         documentation.
30531         * INSTALL: Regenerated.
30532         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30533         to [SHARED].
30534         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30535         [$(build-shared) = yes].
30536         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30537         * sysdeps/i386/i686/multiarch/strstr-c.c
30538         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30539         [SHARED && !NO_HIDDEN].
30540         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30541         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30542         * sysdeps/powerpc/powerpc32/dl-machine.c
30543         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30544         * sysdeps/powerpc/powerpc32/sysdep.h
30545         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30546         to [SHARED && PIC && !NO_HIDDEN].
30547         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30548         conditional to [SHARED].
30550 2013-09-04   Will Newton  <will.newton@linaro.org>
30552         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30553         * benchtests/bench-string.h: Include bench-timing.h instead
30554         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30555         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30556         call to HP_TIMING_DIFF_INIT.
30557         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30558         instead of hp-timing.h macros.
30559         * benchtests/bench-memchr.c: Likewise.
30560         * benchtests/bench-memcmp.c: Likewise.
30561         * benchtests/bench-memcpy.c: Likewise.
30562         * benchtests/bench-memmem.c: Likewise.
30563         * benchtests/bench-memmove.c: Likewise.
30564         * benchtests/bench-memset.c: Likewise.
30565         * benchtests/bench-rawmemchr.c: Likewise.
30566         * benchtests/bench-strcasecmp.c: Likewise.
30567         * benchtests/bench-strcasestr.c: Likewise.
30568         * benchtests/bench-strcat.c: Likewise.
30569         * benchtests/bench-strchr.c: Likewise.
30570         * benchtests/bench-strcmp.c: Likewise.
30571         * benchtests/bench-strcpy.c: Likewise.
30572         * benchtests/bench-strcpy_chk.c: Likewise.
30573         * benchtests/bench-strlen.c: Likewise.
30574         * benchtests/bench-strncasecmp.c: Likewise.
30575         * benchtests/bench-strncat.c: Likewise.
30576         * benchtests/bench-strncmp.c: Likewise.
30577         * benchtests/bench-strncpy.c: Likewise.
30578         * benchtests/bench-strnlen.c: Likewise.
30579         * benchtests/bench-strpbrk.c: Likewise.
30580         * benchtests/bench-strrchr.c: Likewise.
30581         * benchtests/bench-strspn.c: Likewise.
30582         * benchtests/bench-strstr.c: Likewise.
30584 2013-09-04  Will Newton  <will.newton@linaro.org>
30586         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30588 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30590         [BZ #15427]
30591         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30592         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30593         * math/libm-test.inc (lgamma_test_data): Add more tests.
30594         * sysdeps/i386/fpu/libm-test-ulps: Update.
30595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30597 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30599         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30601         Add ifunc.
30602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30603         Add strcmp-sse2-unaligned
30604         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30606 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30608         * Versions.def (libc): Add GLIBC_2.19.
30610 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30612         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30613         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30615 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30617         [BZ #14155]
30618         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30619         intermediate calculations in recurrence.
30620         (__ieee754_ynf): Likewise.
30621         * math/libm-test.inc (jn_test_data): Do not allow spurious
30622         underflow exception.  Add more tests.
30623         (yn_test_data): Add more tests.
30624         * sysdeps/i386/fpu/libm-test-ulps: Update.
30625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30627 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30629         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30631 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30633         * csu/init-first.c: Fix then/than typos.
30634         * locale/programs/ld-collate.c: Likewise.
30635         * locale/programs/linereader.h: Likewise.
30636         * manual/charset.texi: Likewise.
30637         * manual/filesys.texi: Likewise.
30638         * manual/stdio.texi: Likewise.
30639         * manual/string.texi: Likewise.
30640         * stdlib/fmtmsg.c: Likewise.
30641         * sysdeps/i386/stpncpy.S: Likewise.
30642         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30643         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30644         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30645         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30647 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30649         * elf/dl-open.c: Fix typos.
30650         * iconvdata/gbbig5.c: Likewise.
30651         * iconvdata/iso-2022-jp.c: Likewise.
30652         * iconv/gconv_int.h: Likewise.
30653         * iconv/loop.c: Likewise.
30654         * nis/rpcsvc/nis.h: Likewise.
30655         * resolv/ns_name.c: Likewise.
30656         * stdio-common/vfscanf.c: Likewise.
30657         * streams/stropts.h: Likewise.
30658         * sunrpc/rpc_thread.c: Likewise.
30659         * sysdeps/i386/strpbrk.S: Likewise.
30660         * sysdeps/ieee754/k_standard.c: Likewise.
30661         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30662         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30663         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30664         * sysdeps/mach/hurd/profil.c: Likewise.
30665         * sysdeps/s390/dl-procinfo.h: Likewise.
30666         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30667         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30668         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30669         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30670         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30672 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30674         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30675         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30677 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30679         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30680         aix specific files.
30681         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30682         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30683         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30684         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30685         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30686         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30687         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30688         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30690 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30691             Roland McGrath  <roland@hack.frob.com>
30693         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30694         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30696 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30698         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30699         __executable_start symbol instead of _start.
30701 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30703         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30704         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30705         Move macros to...
30706         * sysdeps/gnu/ldsodefs.h: ... this new file.
30708         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30709         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30710         instead of ELFOSABI_LINUX.
30712         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30713         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30714         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30715         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30716         Likewise.
30717         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30718         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30719         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30720         Likewise.
30721         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30722         (ibm_extended_long_double): Add ieee_nan member.
30723         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30724         (do_test): New function.
30726         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30727         TEST_TRUNC.
30728         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30729         functions, renamed from truncdfsf_test, trunctfsf_test,
30730         trunctfdf_test.
30731         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30732         functions.
30733         (do_test): Run all these.
30735 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30737         * argp/argp-help.c: Fix typos.
30738         * argp/argp-parse.c: Likewise.
30739         * debug/backtracesyms.c: Likewise.
30740         * elf/elf.h: Likewise.
30741         * malloc/malloc.c: Likewise.
30742         * nis/nis_print.c: Likewise.
30743         * resolv/res_comp.c: Likewise.
30744         * stdlib/stdlib.h: Likewise.
30745         * sunrpc/clnt_tcp.c: Likewise.
30746         * sunrpc/clnt_udp.c: Likewise.
30747         * sunrpc/clnt_unix.c: Likewise.
30748         * sysdeps/unix/bsd/ptsname.c: Likewise.
30749         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30750         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30752         Likewise.
30753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30754         Likewise.
30755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30756         Likewise.
30757         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30759 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30761         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30764 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30766         [BZ #15897]
30767         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30768         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30769         ($(objpfx)bug-dl-leaf): New rule.
30770         ($(objpfx)bug-dl-leaf.so): Likewise.
30771         ($(objpfx)bug-dl-leaf.out): Likewise.
30772         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30773         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30774         * dlfcn/bug-dl-leaf.c: New test.
30775         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30776         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30777         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30778         (dlclose): Likewise.
30779         (dlmopen): Likewise.
30781 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30783         * include/netdb.h [!_ISOMAC]:
30784         Don't include <tls.h>.
30785         (h_errno, __libc_h_errno): Move declaration and macros out of
30786         [_LIBC_REENTRANT].
30788         * include/resolv.h [_RESOLV_H_]:
30789         Don't include <tls.h>.
30790         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30791         * resolv/res_libc.c: Don't include <tls.h>.
30792         (_res): Use __attribute__ ((nocommon)) in place of
30793         __attribute__ ((section (".bss"))).
30795         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30796         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30798         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30800         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30801         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30803         * resolv/res_mkquery.c: Include <sys/time.h>.
30805         * inet/ifreq.c: Moved to ...
30806         * sysdeps/unix/ifreq.c: ... here.
30807         * inet/ifreq.c: New file, true stub version.
30809         * socket/sa_len.c: New file.
30810         * socket/Makefile (aux): Add it.
30811         * sysdeps/unix/sysv/linux/Makefile
30812         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30813         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30814         and #include <socket/sa_len.c>.
30815         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30816         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30818         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30819         * bits/socket.h: ... here.
30821         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30822         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30823         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30825 2013-08-27  Andreas Schwab  <schwab@suse.de>
30827         [BZ #15736]
30828         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30829         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30830         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30831         * string/test-strcasecmp.c (test_main): Run tests in several
30832         locales.
30833         * string/test-strncasecmp.c (test_main): Likewise.
30835         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30836         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30837         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30838         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30839         (__strncasecmp_ssse3) [PIC]: Likewise.
30841 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30843         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30845         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30846         instead of explicitly declaring xdecrypt.
30847         * nis/nss_nis/nis-publickey.c: Likewise.
30849 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30851         [BZ #15890]
30852         * nscd/aicache.c: Include res_hconf.h.
30853         (addhstaiX): Initialize res_hconf.
30855 2013-08-26  Andreas Schwab  <schwab@suse.de>
30857         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30858         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30860 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30862         * nscd/aicache.c (addhstaiX): Fix indentation.
30864 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30866         * configure.ac: Quote $build_pt_chown test.
30867         * configure: Regenerated.
30869 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30871         [BZ #15532]
30872         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30873         * math/s_cexpf.c (__cexpf): Likewise.
30874         * math/s_cexpl.c (__cexpl): Likewise.
30875         * math/libm-test.inc (cexp_test_data): Correct expected return
30876         value for NaN + i0.  Add another test.
30878 2013-08-22  David S. Miller  <davem@davemloft.net>
30880         * po/ca.po: Update Catalan translation from translation project.
30881         * po/uk.po: Add Ukrainian translations from translation project.
30883 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30885         [BZ #15797]
30886         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30887         is infinite, not alongside NaN test.
30888         * math/s_fdimf.c (__fdimf): Likewise.
30889         * math/s_fdiml.c (__fdiml): Likewise.
30890         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30891         errno is unchanged.
30893 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30895         * argp/argp-help.c: Fix typos.
30896         * crypt/speeds.c: Likewise.
30897         * csu/check_fds.c: Likewise.
30898         * elf/dl-load.c: Likewise.
30899         * elf/dl-open.c: Likewise.
30900         * elf/reldep3.c: Likewise.
30901         * elf/reldep.c: Likewise.
30902         * elf/sprof.c: Likewise.
30903         * iconv/iconv_charmap.c: Likewise.
30904         * iconv/skeleton.c: Likewise.
30905         * iconv/strtab.c: Likewise.
30906         * io/lockf64.c: Likewise.
30907         * libio/libioP.h: Likewise.
30908         * resolv/gai_notify.c: Likewise.
30909         * resolv/ns_name.c: Likewise.
30910         * resolv/ns_samedomain.c: Likewise.
30911         * resolv/res_send.c: Likewise.
30912         * stdlib/random.c: Likewise.
30913         * sunrpc/rpc/xdr.h: Likewise.
30914         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30915         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30916         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30917         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30918         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30919         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30921         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30922         * sysdeps/mach/hurd/check_fds.c: Likewise.
30923         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30924         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30925         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30926         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30927         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30928         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30929         * sysdeps/pthread/aio_notify.c: Likewise.
30930         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30931         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30932         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30933         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30934         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30936 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30938         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30939         version if bit_Slow_SSE4_2 is set.
30940         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30941         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30943 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30945         [BZ #15867]
30946         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30947         trampoline stack frame information.
30948         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30949         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30950         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30951         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30952         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30953         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30954         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30955         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30956         sa_flags value.
30957         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30958         interrupting a syscall and set with option SA_SIGINFO.
30960 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30962         [BZ #15531]
30963         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30964         argument is infinite.
30965         * math/s_cprojf.c (__cprojf): Likewise.
30966         * math/s_cprojl.c (__cprojl): Likewise.
30967         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30968         * math/libm-test.inc (cproj_test_data): Add more tests.
30970         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30972         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30973         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30974         size.  Use __ffs to determine corresponding shift.
30976 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30977             Roland McGrath  <roland@hack.frob.com>
30979         * Makefile (INSTALL): Remove trailing blank lines from output of
30980         makeinfo.
30982 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30984         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30985         Align 32 bit compat elf_greg to 8 bytes.
30987 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30989         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30991 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30993         * string/strcoll_l.c (coll_seq): New structure.
30994         (get_next_seq_cached): New function.
30995         (get_next_seq): New function.
30996         (do_compare): New function.
30997         (STRCOLL): Use GNU style definition.  Simplify implementation
30998         by using get_next_seq, get_next_seq_cached and do_compare.
31000 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31002         [BZ #14699]
31003         CVE-2013-4237
31004         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31005         member.
31006         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31007         member.
31008         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31009         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31010         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31011         conditional.
31012         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31013         GETDENTS_64BIT_ALIGNED.
31014         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31015         * manual/filesys.texi (Reading/Closing Directory): Document
31016         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31017         strongly.
31018         * manual/conf.texi (Limits for Files): Add portability note to
31019         NAME_MAX, PATH_MAX.
31020         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31022 2013-08-13  Andreas Schwab  <schwab@suse.de>
31024         [BZ #15749]
31025         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31026         of fabs.
31027         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31028         LDBL_MAX_EXP >= 16384]: Add tests for it.
31030 2013-08-12  David S. Miller  <davem@davemloft.net>
31032         * version.h (RELEASE): Set to "development".
31033         (VERSION): Set to "2.18.90".
31034         * NEWS: Add 2.19 section.
31036 2013-08-03  David S. Miller  <davem@davemloft.net>
31038         * po/ko.po: Update Korean translation from translation project.
31040 2013-08-01  David S. Miller  <davem@davemloft.net>
31042         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31043         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31044         Bilka.
31046 2013-07-30  David S. Miller  <davem@davemloft.net>
31048         * po/fr.po: Update French translation from translation project.
31050 2013-07-28  David S. Miller  <davem@davemloft.net>
31052         * po/cs.po: Update Czech translation from translation project.
31054         * po/sv.po: Update Swedish translation from translation project.
31056 2013-07-27  David S. Miller  <davem@davemloft.net>
31058         * po/eo.po: Update Esperanto translation from translation project.
31060         * po/vi.po: Update Vietnamese translation from translation project.
31062         * po/de.po: Update German translation from translation project.
31064 2013-07-26  David S. Miller  <davem@davemloft.net>
31066         * po/bg.po: Update Bulgarian translation from translation project.
31068         * po/nl.po: Update Dutch translation from translation project.
31069         * po/pl.po: Update Polish translation from translation project.
31070         * po/ru.po: Update Russian translation from translation project.
31072 2013-07-24  David S. Miller  <davem@davemloft.net>
31074         * po/libc.pot: Update.
31076 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31078         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31079         variable page size.
31080         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31081         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31082         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31084 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31086         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31088 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31089             Andreas Schwab  <schwab@suse.de>
31090             Roland McGrath  <roland@hack.frob.com>
31091             Joseph Myers  <joseph@codesourcery.com>
31092             Carlos O'Donell  <carlos@redhat.com>
31094         [BZ #15755]
31095         * config.h.in: Define HAVE_PT_CHOWN.
31096         * config.make.in (build-pt-chown): New variable.
31097         * configure.in (--enable-pt_chown): New configure option.
31098         * configure: Regenerate.
31099         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31100         build-pt-chown is enabled.
31101         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31102         pt_chown to fix pty ownership.
31103         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31104         CLOSE_ALL_FDS.
31105         * manual/install.texi (Configuring and compiling): Mention
31106         --enable-pt_chown. Add @findex for grantpt.
31107         * INSTALL: Regenerate.
31109 2013-07-20  David S. Miller  <davem@davemloft.net>
31111         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31112         difference between 32-bit and 64-bit.
31114 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31116         [BZ #15711]
31117         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31118         Avoid system header dependency with -ffreestanding.
31119         ($(objpfx)bits/syscall%d): Likewise.
31121 2013-07-13  David S. Miller  <davem@davemloft.net>
31123         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31124         underflows from atanl/atan2l due to bug 15319.
31125         (casinh_test_data): Likewise.
31127 2013-07-07  David S. Miller  <davem@davemloft.net>
31129         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31131 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31133         * sysdeps/i386/fpu/libm-test-ulps: Update.
31134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31136 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31138         * configure.in (--enable-lock-elision): Fix message text.
31139         * INSTALL: Regenerate.
31140         * configure: Regenerate.
31142 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31146 2013-07-03  Andreas Jaeger  <aj@suse.de>
31148         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31149         define.
31150         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31151         (ptrace_peeksiginfo_args): Add.
31152         (__ptrace_peeksiginfo_flags): Add.
31153         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31154         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31155         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31157 2013-07-03  Allan McRae  <allan@archlinux.org>
31159         * sysdeps/i386/fpu/libm-test-ulps: Update.
31161 2013-07-02  David S. Miller  <davem@davemloft.net>
31163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31165 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31167         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31169 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31171         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31174 2013-07-02  Andi Kleen <ak@linux.intel.com>
31176         * config.h.in (ENABLE_LOCK_ELISION): Add.
31177         * configure.in (--enable-lock-elision): Add option.
31178         * manual/install.texi: Document --enable lock elision.
31179         * configure: Regenerate
31180         * INSTALL: Regenerate.
31182 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31184         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31185         SSE4.2 strcasecmp for libc.a.
31186         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31188 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31190         [BZ #13304]
31191         * soft-fp/op-common.h (_FP_FMA): New macro.
31192         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31193         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31194         (_FP_MUL_MEAT_1_imm): ... here.
31195         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31196         (_FP_MUL_MEAT_1_wide): ... here.
31197         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31198         (_FP_MUL_MEAT_1_hard): ... here.
31199         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31200         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31201         (_FP_MUL_MEAT_2_wide): ... here.
31202         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31203         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31204         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31205         (_FP_MUL_MEAT_2_gmp): ... here.
31206         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31207         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31208         (_FP_MUL_MEAT_4_wide): ... here.
31209         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31210         (_FP_MUL_MEAT_4_gmp): ... here.
31211         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31212         (_FP_WFRACBITS_DW_S): Likewise.
31213         (_FP_WFRACXBITS_DW_S): Likewise.
31214         (_FP_HIGHBIT_DW_S): Likewise.
31215         (FP_FMA_S): Likewise.
31216         (_FP_FRAC_HIGH_DW_S): Likewise.
31217         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31218         (_FP_WFRACBITS_DW_D): Likewise.
31219         (_FP_WFRACXBITS_DW_D): Likewise.
31220         (_FP_HIGHBIT_DW_D): Likewise.
31221         (FP_FMA_D): Likewise.
31222         (_FP_FRAC_HIGH_DW_D): Likewise.
31223         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31224         (_FP_WFRACBITS_DW_E): Likewise.
31225         (_FP_WFRACXBITS_DW_E): Likewise.
31226         (_FP_HIGHBIT_DW_E): Likewise.
31227         (FP_FMA_E): Likewise.
31228         (_FP_FRAC_HIGH_DW_E): Likewise.
31229         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31230         (_FP_WFRACBITS_DW_Q): Likewise.
31231         (_FP_WFRACXBITS_DW_Q): Likewise.
31232         (_FP_HIGHBIT_DW_Q): Likewise.
31233         (FP_FMA_Q): Likewise.
31234         (_FP_FRAC_HIGH_DW_Q): Likewise.
31235         * soft-fp/fmasf4.c: New file.
31236         * soft-fp/fmadf4.c: Likewise.
31237         * soft-fp/fmatf4.c: Likewise.
31239 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31241         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31242         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31243         Silvermont.
31244         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31245         macro.
31246         (index_Slow_SSE4_2): Likewise.
31247         (index_Prefer_PMINUB_for_stringop): Likewise.
31248         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31249         bit_Slow_SSE4_2 is set.
31250         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31251         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31253 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31255         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31256         rtld_global._dl_hwcap2.
31257         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31258         POWER8.
31259         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31260         POWER8 feature descriptions defined in _dl_hwcap2.
31261         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31262         string handling for POWER8 feature bits.
31263         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31264         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31265         _dl_powerpc_cap_flags.
31266         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31267         * sysdeps/powerpc/rtld-global-offsets.sym
31268         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31269         _dl_hwcap2 in the rtld_global_ro structure.
31271 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31273         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31274         hardware capabilities in support of AT_HWCAP2.
31275         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31276         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31277         GLRO(dl_hwcap2).
31278         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31279         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31280         explicitly the unknown a_type display mechanism is used.
31281         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31282         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31283         struct member.
31284         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31285         to macro prototype for AT_HWCAP2 support.
31286         * sysdeps/i386/dl-procinfo.h: Likewise.
31287         * sysdeps/s390/dl-procinfo.h: Likewise.
31288         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31289         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31290         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31291         return -1 for unknown a_type display fallback.
31292         * sysdeps/sparc/dl-procinfo.h: Likewise.
31293         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31294         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31296 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31298         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31299         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31301 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31303         [BZ #12492]
31304         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31305         mprotect making __stack_prot writable.
31307 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31308             Joseph Myers  <joseph@codesourcery.com>
31310         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31311         as being properly aligned.
31313 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31315         * dlfcn/modstatic5.c: New file.
31316         * dlfcn/tststatic5.c: New file.
31317         * dlfcn/Makefile (tests): Add tststatic5.
31318         (tests-static): Likewise.
31319         (modules-names): Add modstatic5.
31320         (tststatic5-ENV): New variable.
31321         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31323         [BZ #15022]
31324         * elf/dl-support.c (_dl_main_map): New variable.
31325         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31326         (_dl_nns, _dl_load_adds): Set to 1.
31327         (_dl_initial_searchlist): Refer to _dl_main_map.
31328         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31329         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31330         call to _dl_get_origin.
31331         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31332         around call_map.
31333         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31334         * dlfcn/modstatic3.c: New file.
31335         * dlfcn/tststatic3.c: New file.
31336         * dlfcn/tststatic4.c: New file.
31337         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31338         (tests-static): Likewise.
31339         (modules-names): Add modstatic3.
31340         (tststatic3-ENV, tststatic4-ENV): New variables.
31341         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31342         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31344 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31346         * configure.in (CC): Require GCC version 4.4 or later.
31347         * configure: Regenerated.
31348         * manual/install.texi (Tools for Compilation): Update GCC version
31349         requirement.
31350         * INSTALL: Regenerated.
31352 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31354         [BZ #15674]
31355         * string/test-memcmp.c (check2): New.
31356         (main): Call check2.
31358         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31360 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31362         [BZ #15022]
31363         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31364         over to...
31365         (dl_open_worker) [!SHARED]: ... here.
31367 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31369         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31371 2013-06-25  Richard Henderson  <rth@redhat.com>
31373         * locale/programs/locarchive.c: Include <libc-internal.h>
31375 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31377         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31378         trailing whitespace removed.
31380 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31382         [BZ #10283]
31383         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31384         * locale/programs/locarchive.c: Include libc-mmap.h.
31385         (prepare_address_space): Take two new outputs (the mmap base and len).
31386         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31387         values.
31388         (create_archive): Declare new mmap base and len values for
31389         prepare_address_space, and store the result in ah.
31390         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31391         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31392         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31393         Declare new mmap base and len values for
31394         prepare_address_space, and store the result in new_ah.
31395         (open_archive): Declare new mmap base and len values for
31396         prepare_address_space, and store the result in ah.
31397         (close_archive): If ah->mmap_base is not NULL, use that and
31398         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31399         * sysdeps/generic/libc-mmap.h: New file.
31401 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31403         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31404         (ALIGN_UP): Likewise.
31405         (PTR_ALIGN_DOWN): Likewise.
31406         (PTR_ALIGN_UP): Likewise.
31408 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31410         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31411         entry mapped to PPC_PLATFORM_POWER8.
31412         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31413         POWER8.
31414         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31415         (_dl_string_platform): Add case for exporting platform position for
31416         POWER8.
31417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31418         search path to sysdeps/powerpc/powerpc32/power8 directory.
31419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31420         search path to sysdeps/powerpc/powerpc64/power8 directory.
31421         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31422         power7 directories.
31423         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31424         power7 directories.
31426 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31428         * INSTALL: Regenerate.
31430         * nscd/connections.c (nscd_init): Fix comment.
31432 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31434         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31436         [BZ #15667]
31437         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31438         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31440 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31442         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31443         DL_DST_REQ_STATIC.
31444         (DL_DST_REQ_STATIC): Remove macro.
31446 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31448         [BZ #7006]
31449         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31450         with a shift of 0 bits.
31452 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31454         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31455         $(tststatic-ENV).
31457 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31459         [BZ #15655]
31460         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31462 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31464         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31465         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31466         accepts -fno-tree-loop-distribute-patterns.
31467         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31468         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31469         recursive call.
31470         * string/memset.c (memset): Likewise.
31471         * string/test-memmove.c (simple_memmove): Disable loop transformation
31472         to library calls.
31473         * string/test-memset.c (simple_memset): Likewise.
31474         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31475         * benchtests/bench-memset.c (simple_memset): Likewise.
31476         * configure: Regenerated.
31478 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31480         * math/test-misc.c (main): Ignore fesetround failure when failures
31481         of subsequent rounding tests would be ignored.
31483         [BZ #15654]
31484         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31485         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31486         * math/fegetenv.c (__fegetenv): Return 0.
31487         * math/fegetexcept.c (fegetexcept): Return 0.
31488         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31489         FE_TONEAREST.
31490         * math/feholdexcpt.c (feholdexcept): Return 0.
31491         * math/fesetenv.c (__fesetenv): Return 0.
31492         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31493         argument FE_TONEAREST.
31494         * math/feupdateenv.c (__feupdateenv): Return 0.
31495         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31497 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31499         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31500         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31501         ($(objpfx)rtld-%.os rules): Use them.
31503 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31505         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31506         fields.
31508 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31510         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31511         length of target pattern, then descending length of dependency pattern.
31512         * configure.in (AWK): Require gawk 3.1.2 or newer.
31513         * manual/install.texi (Tools for Compilation): Say that we do.
31514         * configure: Regenerated.
31516         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31517         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31518         * scripts/sysd-rules.awk: ... this new script.
31519         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31520         than a glob-style pattern.
31522 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31524         * math/test-misc.c (main): Do not treat incorrectly rounded
31525         conversions as failure unless ROUNDING_TESTS passes.
31527 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31529         [BZ #15631]
31530         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31531         restore exception state around main square root computation, then
31532         check for inexactness explicitly.
31534         * math/libm-test.inc (fma_test_data): Add another test.
31536 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31538         * manual/threads.texi (Non-POSIX Extensions): New document
31539         node.  Document pthread_getattr_default_np and
31540         pthread_setattr_default_np.
31542         * Versions.def (libpthread): Add GLIBC_2.18.
31543         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31545         Likewise.
31546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31547         Likewise.
31548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31549         Likewise.
31550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31551         Likewise.
31552         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31553         Likewise.
31554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31555         Likewise.
31556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31557         Likewise.
31558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31559         Likewise.
31560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31561         Likewise.
31563 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31566         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31568 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31569             H.J. Lu  <hjl.tools@gmail.com>
31571         [BZ #15627]
31572         * sysdeps/x86_64/rtld-memset.c: Remove file.
31573         * sysdeps/x86_64/rtld-memset.S: New file.
31575 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31577         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31578         (test_in_one_mode): Take arguments for whether the rounding mode
31579         is supported for each floating-point type.
31580         (do_test): Pass new arguments to test_in_one_mode using
31581         ROUNDING_TESTS.
31583 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31585         * posix/tst-waitid.c (do_test): Distinguish different instances of
31586         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31587         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31588         before entering the kernel for waitpid.
31590 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31592         * NEWS: Fix note on clock function precision.  Text by Roland
31593         McGrath.
31595 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31597         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31598         it into place only when and if the sanity check passes.
31600 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31602         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31603         output for whether conversion result is exact.  Take argument
31604         indicating whether type is IBM long double.
31605         (round_for_all): Change need_exact field to ibm_ld.
31606         * stdlib/tst-strtod-round.c (struct exactness): New type.
31607         (struct test): Change bool ld_ok field to struct exactness exact.
31608         (TEST): Update all definitions for change to field.
31609         (tests): Regenerate array contents.
31610         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31611         field value.  Check for IBM long double here.
31612         (do_test): Update calls to test_in_one_mode.
31614 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31616         [BZ #12515]
31617         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31618         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31620 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31622         [BZ #15605]
31623         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31624         generated by the compiler on loop optimizations.
31625         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31626         general definitions.
31628 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31630         * math/bug-nextafter.c: Include <math-tests.h>.
31631         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31632         the relevant type.
31633         * math/bug-nexttoward.c: Include <math-tests.h>.
31634         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31635         the relevant type.
31636         * math/test-misc.c: Include <math-tests.h>.
31637         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31638         the relevant type.
31640 2013-06-12  Andreas Jaeger  <aj@suse.de>
31642         * po/ia.po: Update Interlingua translation from translation
31643         project.
31645 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31647         * include/fenv.h: Include stdbool.h.
31648         (struct rm_ctx): New structure.
31649         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31650         Define macro.
31651         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31652         (SET_RESTORE_ROUNDF): Likewise.
31653         (SET_RESTORE_ROUNDL): Likewise.
31654         (SET_RESTORE_ROUND_NOEX): Likewise.
31655         (SET_RESTORE_ROUND_NOEXF): Likewise.
31656         (SET_RESTORE_ROUND_NOEXL): Likewise.
31657         (SET_RESTORE_ROUND_53BIT): Likewise.
31658         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31659         (libc_feresetround_noexf_ctx): Likewise.
31660         (libc_feresetround_noexl_ctx): Likewise.
31661         (libc_feholdsetround_53bit_ctx): Likewise.
31662         (libc_feresetround_53bit_ctx): Likewise.
31663         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31664         (libc_feholdexcept_setround_sse_ctx): New function.
31665         (libc_fesetenv_sse_ctx): Likewise.
31666         (libc_feupdateenv_sse_ctx): Likewise.
31667         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31668         (libc_feholdexcept_setround_387_ctx): Likewise.
31669         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31670         (libc_feholdsetround_387_prec_ctx): Likewise.
31671         (libc_feholdsetround_387_ctx): Likewise.
31672         (libc_feholdsetround_387_53bit_ctx): Likewise.
31673         (libc_feholdsetround_sse_ctx): Likewise.
31674         (libc_feresetround_sse_ctx): Likewise.
31675         (libc_feresetround_387_ctx): Likewise.
31676         (libc_feupdateenv_387_ctx): Likewise.
31677         (libc_feholdexcept_setroundf_ctx): Define macro.
31678         (libc_fesetenvf_ctx): Likewise.
31679         (libc_feupdateenvf_ctx): Likewise.
31680         (libc_feholdsetroundf_ctx): Likewise.
31681         (libc_feresetroundf_ctx): Likewise.
31682         (libc_feholdexcept_setround_ctx): Likewise.
31683         (libc_fesetenv_ctx): Likewise.
31684         (libc_feupdateenv_ctx): Likewise.
31685         (libc_feholdsetround_ctx): Likewise.
31686         (libc_feresetround_ctx): Likewise.
31687         (libc_feholdexcept_setroundl_ctx): Likewise.
31688         (libc_feupdateenvl_ctx): Likewise.
31689         (libc_feholdsetroundl_ctx): Likewise.
31690         (libc_feresetroundl_ctx): Likewise.
31691         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31692         (libc_feresetround_53bit_ctx): Likewise.
31694 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31696         * locale/iso-639.def: Convert to UTF-8.
31698 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31700         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31701         (EXCEPTION_TESTS_double): Likewise.
31702         (EXCEPTION_TESTS_long_double): Likewise.
31703         (EXCEPTION_TESTS): Likewise.
31704         * math/libm-test.inc (test_exceptions): Only test exceptions if
31705         EXCEPTION_TESTS (FLOAT).
31707 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31709         * benchtests/Makefile (string-bench): Add strcpy_chk and
31710         stpcpy_chk.
31711         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31712         * benchtests/bench-stpcpy_chk.c: New file.
31713         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31714         * benchtests/bench-strcpy_chk.c: New file.
31715         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31716         code.
31717         (do_test): Likewise.
31719 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31721         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31722         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31723         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31724         with tabs where appropriate.
31725         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31726         dl-procinfo.h.
31727         [PPC_PLATFORM_PPC440]: Likewise.
31728         [PPC_PLATFORM_PPC464]: Likewise.
31729         [PPC_PLATFORM_PPC476]: Likewise.
31730         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31731         ppc464, and ppc476 platform strings merging from ports/
31732         dl-procinfo.h.
31734 2013-06-11  Andreas Schwab  <schwab@suse.de>
31736         [BZ #14991]
31737         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31738         (from_ucs4_idx): Regenerate.
31739         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31740         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31741         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31742         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31743         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31744         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31745         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31746         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31747         from FROM_LOOP and TO_LOOP specific macros.
31748         (BODY): Handle combining characters.
31749         * iconvdata/BIG5HKSCS.irreversible: Update.
31750         * iconvdata/BIG5HKSCS.precomposed: New file.
31751         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31752         characters.
31753         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31755 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31757         * include/sys/time.h: Fix indentation and add copyright header.
31759         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31760         (do_test): Likewise.
31761         * string/test-memchr.c (do_one_test): Likewise.
31762         (do_test): Likewise.
31763         * string/test-memcmp.c (do_one_test): Likewise.
31764         (do_test): Likewise.
31765         * string/test-memcpy.c (do_one_test): Likewise.
31766         (do_test): Likewise.
31767         * string/test-memmem.c (do_one_test): Likewise.
31768         (do_test): Likewise.
31769         (do_random_tests): Likewise.
31770         * string/test-memmove.c (do_one_test): Likewise.
31771         (do_test): Likewise.
31772         * string/test-memset.c (do_one_test): Likewise.
31773         (do_test): Likewise.
31774         * string/test-rawmemchr.c (do_one_test): Likewise.
31775         (do_test): Likewise.
31776         * string/test-strcasecmp.c (do_one_test): Likewise.
31777         (do_test): Likewise.
31778         * string/test-strcasestr.c (do_one_test): Likewise.
31779         (do_test): Likewise.
31780         * string/test-strcat.c (do_one_test): Likewise.
31781         (do_test): Likewise.
31782         * string/test-strchr.c (do_one_test): Likewise.
31783         (do_test): Likewise.
31784         * string/test-strcmp.c (do_one_test): Likewise.
31785         (do_test): Likewise.
31786         * string/test-strcpy.c (do_one_test): Likewise.
31787         (do_test): Likewise.
31788         * string/test-string.h: Likewise.
31789         (test_init): Likewise.
31790         * string/test-strlen.c (do_one_test): Likewise.
31791         (do_test): Likewise.
31792         * string/test-strncasecmp.c (do_one_test): Likewise.
31793         (do_test): Likewise.
31794         * string/test-strncat.c (do_one_test): Likewise.
31795         (do_test): Likewise.
31796         * string/test-strncmp.c (do_one_test): Likewise.
31797         (do_test_limit): Likewise.
31798         (do_test): Likewise.
31799         * string/test-strncpy.c (do_one_test): Likewise.
31800         (do_test): Likewise.
31801         * string/test-strnlen.c (do_one_test): Likewise.
31802         (do_test): Likewise.
31803         * string/test-strpbrk.c (do_one_test): Likewise.
31804         (do_test): Likewise.
31805         * string/test-strrchr.c (do_one_test): Likewise.
31806         (do_test): Likewise.
31807         * string/test-strspn.c (do_one_test): Likewise.
31808         (do_test): Likewise.
31809         * string/test-strstr.c (do_one_test): Likewise.
31810         (do_test): Likewise.
31812         * benchtests/Makefile (string-bench): Add string benchmarks.
31813         * benchtests/bench-bcopy-ifunc.c: New file.
31814         * benchtests/bench-bcopy.c: New file.
31815         * benchtests/bench-bzero-ifunc.c: New file.
31816         * benchtests/bench-bzero.c: New file.
31817         * benchtests/bench-memccpy-ifunc.c: New file.
31818         * benchtests/bench-memccpy.c: New file.
31819         * benchtests/bench-memchr-ifunc.c: New file.
31820         * benchtests/bench-memchr.c: New file.
31821         * benchtests/bench-memcmp-ifunc.c: New file.
31822         * benchtests/bench-memcmp.c: New file.
31823         * benchtests/bench-memmem-ifunc.c: New file.
31824         * benchtests/bench-memmem.c: New file.
31825         * benchtests/bench-memmove-ifunc.c: New file.
31826         * benchtests/bench-memmove.c: New file.
31827         * benchtests/bench-mempcpy-ifunc.c: New file.
31828         * benchtests/bench-mempcpy.c: New file.
31829         * benchtests/bench-memset-ifunc.c: New file.
31830         * benchtests/bench-memset.c: New file.
31831         * benchtests/bench-rawmemchr-ifunc.c: New file.
31832         * benchtests/bench-rawmemchr.c: New file.
31833         * benchtests/bench-stpcpy-ifunc.c: New file.
31834         * benchtests/bench-stpcpy.c: New file.
31835         * benchtests/bench-stpncpy-ifunc.c: New file.
31836         * benchtests/bench-stpncpy.c: New file.
31837         * benchtests/bench-strcasecmp-ifunc.c: New file.
31838         * benchtests/bench-strcasecmp.c: New file.
31839         * benchtests/bench-strcasestr-ifunc.c: New file.
31840         * benchtests/bench-strcasestr.c: New file.
31841         * benchtests/bench-strcat-ifunc.c: New file.
31842         * benchtests/bench-strcat.c: New file.
31843         * benchtests/bench-strchr-ifunc.c: New file.
31844         * benchtests/bench-strchr.c: New file.
31845         * benchtests/bench-strchrnul-ifunc.c: New file.
31846         * benchtests/bench-strchrnul.c: New file.
31847         * benchtests/bench-strcmp-ifunc.c: New file.
31848         * benchtests/bench-strcmp.c: New file.
31849         * benchtests/bench-strcpy-ifunc.c: New file.
31850         * benchtests/bench-strcpy.c: New file.
31851         * benchtests/bench-strcspn-ifunc.c: New file.
31852         * benchtests/bench-strcspn.c: New file.
31853         * benchtests/bench-strlen-ifunc.c: New file.
31854         * benchtests/bench-strlen.c: New file.
31855         * benchtests/bench-strncasecmp-ifunc.c: New file.
31856         * benchtests/bench-strncasecmp.c: New file.
31857         * benchtests/bench-strncat-ifunc.c: New file.
31858         * benchtests/bench-strncat.c: New file.
31859         * benchtests/bench-strncmp-ifunc.c: New file.
31860         * benchtests/bench-strncmp.c: New file.
31861         * benchtests/bench-strncpy-ifunc.c: New file.
31862         * benchtests/bench-strncpy.c: New file.
31863         * benchtests/bench-strnlen-ifunc.c: New file.
31864         * benchtests/bench-strnlen.c: New file.
31865         * benchtests/bench-strpbrk-ifunc.c: New file.
31866         * benchtests/bench-strpbrk.c: New file.
31867         * benchtests/bench-strrchr-ifunc.c: New file.
31868         * benchtests/bench-strrchr.c: New file.
31869         * benchtests/bench-strspn-ifunc.c: New file.
31870         * benchtests/bench-strspn.c: New file.
31871         * benchtests/bench-strstr-ifunc.c: New file.
31872         * benchtests/bench-strstr.c: New file.
31874         * benchtests/Makefile: Disable parallel execution of targets.
31875         (string-bench): Add memcpy.
31876         (benchset): New variable to store a list of benchmark sets.
31877         (bench-func): Renamed from bench.
31878         (bench-set): New target.
31879         (bench): Depend on bench-func and bench-set.
31880         * benchtests/README: Add section on benchmark sets.
31881         * benchtests/bench-memcpy-ifunc.c: New file.
31882         * benchtests/bench-memcpy.c: New file.
31883         * benchtests/bench-string.h: New file.
31885 2013-06-11  Andreas Schwab  <schwab@suse.de>
31887         [BZ #15577]
31888         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31889         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31890         values in the triple.
31891         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31892         terminator in the group key.
31894 2013-06-11  Andreas Jaeger  <aj@suse.de>
31896         * po/zh_TW.po: Update Chinese (traditional) translation from
31897         translation project.
31899 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31901         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31902         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31903         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31904         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31905         (clock_getcpuclockid): Likewise.
31906         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31907         Add weak_alias and libc_hidden_def.
31908         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31909         * rt/clock_gettime.c (clock_gettime): Rename to
31910         __clock_gettime.  Add weak_alias and libc_hidden_def.
31911         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31912         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31913         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31914         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31915         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31916         Likewise.
31917         * rt/clock_settime.c (clock_settime): Rename to
31918         __clock_settime.  Add weak_alias and libc_hidden_def.
31919         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31921 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31923         * mach/err_boot.sub: Remove trailing whitespace.
31924         * mach/err_ipc.sub: Likewise.
31925         * mach/err_mach.sub: Likewise.
31927         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31928         (ROUNDING_TESTS_double): Likewise.
31929         (ROUNDING_TESTS_long_double): Likewise.
31930         (ROUNDING_TESTS): Likewise.
31931         * math/libm-test.inc: Include <math-tests.h>.
31932         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31933         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31934         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31935         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31937 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31939         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31940         of assigning.
31942 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31944         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31945         otherwise empty TRANS lines.
31946         * sysdeps/gnu/errlist.c: Regenerated.
31948         * catgets/gencat.c (error_print): Use (void) in function
31949         definition.
31950         * crypt/crypt_util.c (__init_des): Likewise.
31951         * crypt/speeds.c (Stop): Likewise.
31952         (main): Likewise.
31953         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31954         * inet/ruserpass.c (token): Likewise.
31955         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31956         * intl/localealias.c (extend_alias_table): Likewise.
31957         * intl/plural-exp.c (init_germanic_plural): Likewise.
31958         * libio/fcloseall.c (__fcloseall): Likewise.
31959         * libio/genops.c (_IO_flush_all): Likewise.
31960         (_IO_flush_all_linebuffered): Likewise.
31961         (_IO_cleanup): Likewise.
31962         (_IO_iter_begin): Likewise.
31963         (_IO_iter_end): Likewise.
31964         (_IO_list_lock): Likewise.
31965         (_IO_list_unlock): Likewise.
31966         (_IO_list_resetlock): Likewise.
31967         * libio/getchar.c (getchar): Likewise.
31968         * libio/getchar_u.c (getchar_unlocked): Likewise.
31969         * libio/getwchar.c (getwchar): Likewise.
31970         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31971         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31972         * login/getpt.c (__getpt): Likewise.
31973         * login/tst-utmp.c (main): Likewise.
31974         * malloc/hooks.c (__malloc_check_init): Likewise.
31975         * malloc/malloc.c (__malloc_stats): Likewise.
31976         * malloc/mtrace.c (tr_break): Likewise.
31977         (mtrace): Likewise.
31978         (muntrace): Likewise.
31979         * misc/fstab.c (endfsent): Likewise.
31980         * misc/getclktck.c (__getclktck): Likewise.
31981         * misc/getdtsz.c (__getdtablesize): Likewise.
31982         * misc/gethostid.c (gethostid): Likewise.
31983         * misc/getpagesize.c (__getpagesize): Likewise.
31984         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31985         (__get_nprocs): Likewise.
31986         (__get_phys_pages): Likewise.
31987         (__get_avphys_pages): Likewise.
31988         * misc/getttyent.c (getttyent): Likewise.
31989         (setttyent): Likewise.
31990         (endttyent): Likewise.
31991         * misc/getusershell.c (getusershell): Likewise.
31992         (endusershell): Likewise.
31993         (setusershell): Likewise.
31994         (initshells): Likewise.
31995         * misc/hsearch.c (__hdestroy): Likewise.
31996         * misc/sync.c (sync): Likewise.
31997         * misc/syslog.c (closelog_internal): Likewise.
31998         (closelog): Likewise.
31999         * misc/ttyslot.c (ttyslot): Likewise.
32000         * misc/vhangup.c (vhangup): Likewise.
32001         * posix/fork.c (__fork): Likewise.
32002         * posix/getegid.c (__getegid): Likewise.
32003         * posix/geteuid.c (__geteuid): Likewise.
32004         * posix/getgid.c (__getgid): Likewise.
32005         * posix/getpid.c (__getpid): Likewise.
32006         * posix/getppid.c (__getppid): Likewise.
32007         * posix/getuid.c (__getuid): Likewise.
32008         * posix/pause.c (pause): Likewise.
32009         * posix/setpgrp.c (setpgrp): Likewise.
32010         * posix/setsid.c (__setsid): Likewise.
32011         * posix/test-vfork.c (noop): Likewise.
32012         * resolv/gethnamaddr.c (_endhtent): Likewise.
32013         (_gethtent): Likewise.
32014         (ht_endhostent): Likewise.
32015         (gethostent): Likewise.
32016         (dns_service): Likewise.
32017         * stdlib/drand48.c (drand48): Likewise.
32018         * stdlib/lrand48.c (lrand48): Likewise.
32019         * stdlib/mrand48.c (mrand48): Likewise.
32020         * stdlib/rand.c (rand): Likewise.
32021         * stdlib/random.c (__random): Likewise.
32022         * stdlib/setenv.c (clearenv): Likewise.
32023         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32024         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32025         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32026         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32027         (__get_nprocs): Likewise.
32028         (__get_phys_pages): Likewise.
32029         (__get_avphys_pages): Likewise.
32030         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32031         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32032         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32033         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32034         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32035         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32036         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32037         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32038         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32039         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32040         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32041         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32042         * sysdeps/posix/clock.c (clock): Likewise.
32043         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32044         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32045         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32046         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32047         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32048         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32049         (__get_nprocs_conf): Likewise.
32050         (__get_phys_pages): Likewise.
32051         (__get_avphys_pages): Likewise.
32052         * time/clock.c (clock): Likewise.
32053         * time/tzset.c (__tzname_max): Likewise.
32055 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32057         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32058         (__bswap_32): Do not use "register".
32059         * crypt/crypt.c (_ufc_doit_r): Likewise.
32060         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32061         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32062         * gmon/gmon.c (__monstartup): Likewise.
32063         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32064         * hurd/hurdmalloc.c (more_memory): Likewise.
32065         (malloc): Likewise.
32066         (free): Likewise.
32067         (realloc): Likewise.
32068         (malloc_fork_prepare): Likewise.
32069         (malloc_fork_parent): Likewise.
32070         (malloc_fork_child): Likewise.
32071         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32072         (_svcauth_des): Likewise.
32073         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32074         * inet/inet_net.c (inet_network): Likewise.
32075         * inet/inet_netof.c (inet_netof): Likewise.
32076         * inet/rcmd.c (__validuser2_sa): Likewise.
32077         * io/fts.c (fts_open): Likewise.
32078         (fts_load): Likewise.
32079         (fts_close): Likewise.
32080         (fts_read): Likewise.
32081         (fts_children): Likewise.
32082         (fts_build): Likewise.
32083         (fts_stat): Likewise.
32084         (fts_sort): Likewise.
32085         (fts_alloc): Likewise.
32086         (fts_lfree): Likewise.
32087         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32088         (_IO_file_xsgetn): Likewise.
32089         (_IO_file_xsgetn_mmap): Likewise.
32090         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32091         (_IO_cookie_write): Likewise.
32092         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32093         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32094         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32095         * malloc/obstack.c (_obstack_begin): Likewise.
32096         (_obstack_begin_1): Likewise.
32097         (_obstack_newchunk): Likewise.
32098         (_obstack_allocated_p): Likewise.
32099         (obstack_free): Likewise.
32100         (_obstack_memory_used): Likewise.
32101         * misc/getttyent.c (getttynam): Likewise.
32102         (getttyent): Likewise.
32103         (skip): Likewise.
32104         (value): Likewise.
32105         * misc/getusershell.c (initshells): Likewise.
32106         * misc/syslog.c (__vsyslog_chk): Likewise.
32107         * misc/ttyslot.c (ttyslot): Likewise.
32108         * nis/nis_hash.c (__nis_hash): Likewise.
32109         * posix/fnmatch_loop.c (FCT): Likewise.
32110         * posix/getconf.c (print_all): Likewise.
32111         (main): Likewise.
32112         * posix/getopt.c (exchange): Likewise.
32113         * posix/glob.c (globfree): Likewise.
32114         (prefix_array): Likewise.
32115         (__glob_pattern_type): Likewise.
32116         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32117         (NS_GET32): Likewise.
32118         (NS_PUT16): Likewise.
32119         (NS_PUT32): Likewise.
32120         * resolv/gethnamaddr.c (getanswer): Likewise.
32121         (gethostbyname2): Likewise.
32122         (gethostbyaddr): Likewise.
32123         (_gethtent): Likewise.
32124         (_gethtbyname2): Likewise.
32125         (_gethtbyaddr): Likewise.
32126         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32127         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32128         * resolv/res_init.c (__res_vinit): Likewise.
32129         (net_mask): Likewise.
32130         * resolv/res_mkquery.c (outchar): Likewise.
32131         (PRINT): Likewise.
32132         * stdio-common/printf_fp.c (outchar): Likewise.
32133         (PRINT): Likewise.
32134         * stdio-common/printf_fphex.c (outchar): Likewise.
32135         (PRINT): Likewise.
32136         * stdio-common/printf_size.c (outchar): Likewise.
32137         (PRINT): Likewise.
32138         * stdio-common/test_rdwr.c (main): Likewise.
32139         * stdio-common/tfformat.c (matches): Likewise.
32140         * stdio-common/vfprintf.c (outchar): Likewise.
32141         (printf_unknown): Likewise.
32142         (buffered_vfprintf): Likewise.
32143         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32144         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32145         (ReadFile): Likewise.
32146         * stdlib/qsort.c (SWAP): Likewise.
32147         (_quicksort): Likewise.
32148         * stdlib/setenv.c (__add_to_environ): Likewise.
32149         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32150         * stdlib/strtol_l.c (__strtol_l): Likewise.
32151         * stdlib/tst-strtod.c (main): Likewise.
32152         * stdlib/tst-strtol.c (main): Likewise.
32153         * stdlib/tst-strtoll.c (main): Likewise.
32154         * string/bits/string2.h (__strcmp_cc): Likewise.
32155         (__strcmp_cg): Likewise.
32156         (__strcspn_c1): Likewise.
32157         (__strcspn_c2): Likewise.
32158         (__strcspn_c3): Likewise.
32159         (__strspn_c1): Likewise.
32160         (__strspn_c2): Likewise.
32161         (__strspn_c3): Likewise.
32162         (__strsep_1c): Likewise.
32163         (__strsep_2c): Likewise.
32164         (__strsep_3c): Likewise.
32165         * string/memccpy.c (__memccpy): Likewise.
32166         * string/stpcpy.c (__stpcpy): Likewise.
32167         * string/strcmp.c (strcmp): Likewise.
32168         * string/strrchr.c (strrchr): Likewise.
32169         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32170         Likewise.
32171         * sysdeps/mach/hurd/getcwd.c
32172         (_hurd_canonicalize_directory_name_internal): Likewise.
32173         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32174         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32175         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32176         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32177         Likewise, in both definitions.
32178         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32179         definitions.
32180         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32181         64] (__bswap_64): Likewise.
32182         * time/test_time.c (main): Likewise.
32183         * time/tzfile.c (__tzfile_read): Likewise.
32184         (__tzfile_compute): Likewise.
32185         * time/tzset.c (__tzset_parse_tz): Likewise.
32186         (tzset_internal): Likewise.
32187         (compute_change): Likewise.
32188         * wcsmbs/wcscat.c (__wcscat): Likewise.
32189         * wcsmbs/wcschr.c (wcschr): Likewise.
32190         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32191         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32192         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32193         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32194         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32195         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32196         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32197         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32198         * wcsmbs/wmemset.c (wmemset): Likewise.
32200 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32202         * scripts/config.guess: Update to version 2013-05-16.
32203         * scripts/config.sub: Update to version 2013-04-24.
32204         * scripts/install-sh: Update to version 2011-11-20.07.
32205         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32206         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32208 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32210         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32211         * elf/sln.c: Likewise.
32212         * hurd/hurd/ioctl.h: Likewise.
32213         * hurd/hurdmalloc.c: Likewise.
32214         * hurd/xattr.c: Likewise.
32215         * include/shlib-compat.h: Likewise.
32216         * inet/ruserpass.c: Likewise.
32217         * libio/iofgets_u.c: Likewise.
32218         * libio/iofgetws_u.c: Likewise.
32219         * locale/programs/ld-identification.c: Likewise.
32220         * locale/programs/ld-time.c: Likewise.
32221         * mach/msg-destroy.c: Likewise.
32222         * nss/nss_files/files-netgrp.c: Likewise.
32223         * resolv/res_data.c: Likewise.
32224         * soft-fp/op-1.h: Likewise.
32225         * soft-fp/op-2.h: Likewise.
32226         * soft-fp/op-4.h: Likewise.
32227         * soft-fp/op-common.h: Likewise.
32228         * stdio-common/printf_fphex.c: Likewise.
32229         * stdlib/strtod_l.c: Likewise.
32230         * sunrpc/rpc/clnt.h: Likewise.
32231         * sysdeps/generic/framestate.c: Likewise.
32232         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32233         * sysdeps/i386/bsd-setjmp.S: Likewise.
32234         * sysdeps/i386/__longjmp.S: Likewise.
32235         * sysdeps/i386/setjmp.S: Likewise.
32236         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32237         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32238         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32239         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32240         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32241         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32242         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32243         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32244         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32245         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32246         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32247         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32248         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32249         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32250         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32251         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32252         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32253         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32254         * sysdeps/ieee754/support.c: Likewise.
32255         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32256         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32257         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32258         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32259         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32260         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32261         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32262         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32263         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32264         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32265         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32266         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32267         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32268         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32269         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32270         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32271         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32274 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32276         * posix/transbug.c: Remove executable mode.
32278 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32280         * crypt/speeds.c: Remove trailing whitespace.
32281         * dlfcn/default.c: Likewise.
32282         * elf/ifuncdep2.c: Likewise.
32283         * elf/ifuncmain1.c: Likewise.
32284         * elf/ifuncmain1vis.c: Likewise.
32285         * elf/testobj.h: Likewise.
32286         * elf/tst-stackguard1.c: Likewise.
32287         * gmon/sys/gmon.h: Likewise.
32288         * hurd/hurdmsg.c: Likewise.
32289         * hurd/new-fd.c: Likewise.
32290         * hurd/ports-get.c: Likewise.
32291         * iconvdata/ibm1008_420.c: Likewise.
32292         * inet/tst-getni1.c: Likewise.
32293         * inet/tst-getni2.c: Likewise.
32294         * libio/ioungetc.c: Likewise.
32295         * libio/wfiledoalloc.c: Likewise.
32296         * manual/libm-err-tab.pl: Likewise.
32297         * math/w_dremf.c: Likewise.
32298         * misc/ftruncate.c: Likewise.
32299         * posix/bug-glob2.c: Likewise.
32300         * posix/tst-pcre.c: Likewise.
32301         * posix/wait4.c: Likewise.
32302         * resolv/README: Likewise.
32303         * resolv/res_debug.h: Likewise.
32304         * resolv/tst-inet_ntop.c: Likewise.
32305         * setjmp/bug269-setjmp.c: Likewise.
32306         * soft-fp/extended.h: Likewise.
32307         * soft-fp/op-1.h: Likewise.
32308         * soft-fp/op-2.h: Likewise.
32309         * soft-fp/op-4.h: Likewise.
32310         * soft-fp/op-8.h: Likewise.
32311         * soft-fp/testit.c: Likewise.
32312         * stdio-common/bug16.c: Likewise.
32313         * stdlib/random.c: Likewise.
32314         * sunrpc/rpcsvc/rquota.x: Likewise.
32315         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32316         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32317         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32318         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32319         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32320         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32321         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32322         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32323         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32324         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32325         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32326         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32327         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32328         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32329         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32330         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32331         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32332         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32333         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32334         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32335         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32336         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32337         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32338         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32339         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32340         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32341         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32342         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32343         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32344         * sysdeps/ieee754/s_lib_version.c: Likewise.
32345         * sysdeps/mach/hurd/check_fds.c: Likewise.
32346         * sysdeps/mach/hurd/getsockname.c: Likewise.
32347         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32348         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32349         * sysdeps/powerpc/bits/link.h: Likewise.
32350         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32351         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32352         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32353         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32354         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32355         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32356         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32357         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32358         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32359         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32360         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32361         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32362         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32363         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32364         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32365         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32366         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32367         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32368         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32369         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32370         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32371         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32372         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32373         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32374         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32375         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32376         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32377         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32378         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32379         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32380         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32381         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32382         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32383         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32384         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32385         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32386         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32387         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32388         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32389         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32390         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32391         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32392         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32393         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32394         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32395         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32396         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32397         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32398         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32399         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32400         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32401         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32402         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32403         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32404         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32405         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32406         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32407         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32408         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32409         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32410         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32411         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32412         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32413         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32414         * sysdeps/powerpc/sysdep.h: Likewise.
32415         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32416         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32417         * sysdeps/sh/dl-trampoline.S: Likewise.
32418         * sysdeps/sh/memset.S: Likewise.
32419         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32420         * sysdeps/sh/strlen.S: Likewise.
32421         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32422         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32423         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32424         * sysdeps/sparc/sparc32/rem.S: Likewise.
32425         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32426         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32427         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32428         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32429         * sysdeps/sparc/sparc32/urem.S: Likewise.
32430         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32431         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32432         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32433         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32434         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32435         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32436         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32437         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32438         * sysdeps/unix/bsd/times.c: Likewise.
32439         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32440         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32444         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32445         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32446         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32447         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32448         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32449         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32450         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32451         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32452         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32453         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32454         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32455         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32456         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32457         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32458         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32459         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32460         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32461         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32462         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32463         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32464         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32465         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32466         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32467         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32468         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32469         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32470         * sysdeps/x86_64/strcspn.S: Likewise.
32472 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32474         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32475         generated file.  Regenerate properly from gen-translit.pl.
32476         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32477         locale/C-translit.h.
32479 2013-06-05  Andreas Schwab  <schwab@suse.de>
32481         [BZ #15100]
32482         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32483         week as 6 instead of -1.
32484         * time/tst-strptime.c (day_tests): Add test case.
32486 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32488         * sysdeps/generic/math_private.h
32489         (libc_feholdexcept_setround_53bit): Replace with
32490         libc_feholdsetround_53bit.
32491         (libc_feupdateenv_53bit): Replace with
32492         libc_feresetround_53bit.
32493         (SET_RESTORE_ROUND_53BIT): Adjust.
32495 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32497         * string/test-strchrnul.c: Add copyright header.
32499         * posix/tst-getaddrinfo4.c: Increase test timeout.
32501 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32503         [BZ #15536]
32504         * math/libm-test.inc (MAX_EXP): Remove
32505         (MIN_EXP): Define.
32506         (ulp): Use MIN_EXP - MANT_DIG.
32507         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32509 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32511         * po/be.po: Revert last change.
32512         * po/zh_CN.po: Likewise.
32513         * po/header.pot: Likewise.
32515 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32517         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32518         link-libc-deps to empty as target-specific variable.
32519         * Makerules (link-libc-args): New variable.
32520         (libc-for-link): Likewise.
32521         (link-libc-deps): Likewise.
32522         (lib%.so): Depend on $(link-libc-deps).  Link with
32523         $(link-libc-args).
32524         (build-module): Link with $(link-libc-args).
32525         (build-module-asneeded): Likewise.
32526         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32527         list of objects.
32528         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32529         target-specific variable.
32530         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32531         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32532         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32533         libc.
32534         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32535         libc and ld.so.
32536         ($(objpfx)libpcprofile.so): Likewise.
32537         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32538         libc_nonshared.a.
32539         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32540         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32541         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32542         $(link-libc-deps).
32543         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32544         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32545         * login/Makefile ($(objpfx)libutil.so): Likewise.
32546         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32547         * math/Makefile ($(objpfx)libm.so): Likewise.
32548         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32549         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32550         variable instead of depending directly on libc.
32551         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32552         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32553         $(link-libc-deps).
32554         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32555         libc.
32556         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32557         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32558         ($(objpfx)libanl.so): Likewise.
32559         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32560         ld.so.
32561         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32562         $(link-libc-deps).
32563         * sysdeps/i386/fpu/Makefile: Remove file.
32564         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32565         ($(objpfx)libm.so): Remove dependency on ld.so.
32567 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32569         [BZ # 15553]
32570         * nis/yp_xdr.c (XDRMAXNAME): Define.
32571         (XDRMAXRECORD): Define.
32572         (xdr_domainname): Use XDRMAXNAME.
32573         (xdr_mapname): Likewise.
32574         (xdr_peername): Likewise.
32575         (xdr_keydat): Use XDRMAXRECORD.
32576         (xdr_valdat): Likewise.
32578 2013-05-30  Jeff Law  <law@redhat.com>
32580         [BZ #14256]
32581         * manual/errno.texi (ESTALE): Update to account for more than
32582         just NFS file systems.
32583         * sysdeps/gnu/errlist.c: Regenerated.
32585 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32587         [BZ #15465]
32588         * elf/Makefile (tests): Add tst-null-argv.
32589         (modules-names):  Add tst-null-argv-lib.
32590         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32591         (tst-null-argv-ENV): Set environment for tst-null-argv.
32592         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32593         (RTLD_PROGNAME): New macro.
32594         * elf/tst-null-argv.c: New test case.
32595         * elf/tst-null-argv-lib.c: Library for test case.
32596         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32597         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32598         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32599         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32600         * elf/dl-init.c (call_init): Likewise.
32601         (_dl_init): Likewise.
32602         * elf/dl-load.c (print_search_path): Likewise.
32603         (_dl_map_object): Likewise.
32604         * elf/dl-lookup.c (do_lookup_x): Likewise.
32605         (add_dependency): Likewise.
32606         (_dl_lookup_symbol_x): Likewise.
32607         (_dl_debug_bindings): Likewise.
32608         * elf/dl-open.c (_dl_show_scope): Likewise.
32609         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32610         * elf/dl-version.c (match_symbol): Likewise.
32611         (_dl_check_map_versions): Likewise.
32612         * elf/rtld.c (dl_main): Likewise.
32613         (print_unresolved): Use RTLD_PROGNAME.
32614         (print_missing_version): Likewise.
32615         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32616         (elf_machine_rela): Likewise.
32617         * sysdeps/powerpc/powerpc32/dl-machine.c
32618         (__process_machine_rela): Likewise.
32619         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32620         Likewise.
32621         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32622         Likewise.
32623         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32624         Likewise.
32625         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32626         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32627         Likewise.
32628         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32629         Likewise.
32630         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32632 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32634         * po/be.po: Add descriptive title.
32635         * po/zh_CN.po: Likewise.
32636         * po/header.pot: Likewise.
32638 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32640         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32641         error message.
32642         (enlarge_archive): Likewise.
32644 2013-05-28  Ben North  <ben@redfrontdoor.org>
32646         * manual/arith.texi (frexp): It is the magnitude of the return
32647         value which lies in [0.5, 1), not the return value itself.
32649 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32653 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32655         * stdio-common/bug26.c (main): Correct fscanf template.
32657         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32658         declare _dl_skip_args.
32660         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32661         Don't declare.
32663         * manual/platform.texi: Add missing @end deftypefun.
32665 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32667         [BZ #15529]
32668         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32669         bit of mantissa of 2^16382.
32670         * math/libm-test.inc (hypot_test_data): Add more tests.
32672         * math/libm-test.inc: Add drem and pow10 to list of tested
32673         functions.
32674         (pow10_test): New function.
32675         (drem_test): Likewise.
32676         (drem_test_tonearest): Likewise.
32677         (drem_test_towardzero): Likewise.
32678         (drem_test_downward): Likewise.
32679         (drem_test_upward): Likewise.
32680         (main): Call the new functions.
32682         * math/libm-test.inc (finite_test_data): Remove.
32683         (finite_test): Run tests from isfinite_test_data.
32684         (gamma_test_data): Remove.
32685         (gamma_test): Run tests from lgamma_test_data.
32686         * sysdeps/i386/fpu/libm-test-ulps: Update.
32687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32689 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32691         * manual/platform.texi: Add PowerPC PPR function set documentation.
32692         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32693         implementation.
32695 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32697         * math/libm-test.inc (MAX_EXP): Define.
32698         (ULPDIFF): Define.
32699         (ulp): New function.
32700         (check_float_internal): Use ULPDIFF.
32701         (cpow_test): Disable failing test.
32702         (check_ulp): Test ulp() implemetnation.
32703         (main): Call check_ulp before starting tests.
32705 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32707         * math/gen-libm-test.pl (generate_testfile): Do not handle
32708         START_DATA and END_DATA.
32709         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32710         END_DATA.
32711         (acos_tonearest_test_data): Likewise.
32712         (acos_towardzero_test_data): Likewise.
32713         (acos_downward_test_data): Likewise.
32714         (acos_upward_test_data): Likewise.
32715         (acosh_test_data): Likewise.
32716         (asin_test_data): Likewise.
32717         (asin_tonearest_test_data): Likewise.
32718         (asin_towardzero_test_data): Likewise.
32719         (asin_downward_test_data): Likewise.
32720         (asin_upward_test_data): Likewise.
32721         (asinh_test_data): Likewise.
32722         (atan_test_data): Likewise.
32723         (atanh_test_data): Likewise.
32724         (atan2_test_data): Likewise.
32725         (cabs_test_data): Likewise.
32726         (cacos_test_data): Likewise.
32727         (cacosh_test_data): Likewise.
32728         (carg_test_data): Likewise.
32729         (casin_test_data): Likewise.
32730         (casinh_test_data): Likewise.
32731         (catan_test_data): Likewise.
32732         (catanh_test_data): Likewise.
32733         (cbrt_test_data): Likewise.
32734         (ccos_test_data): Likewise.
32735         (ccosh_test_data): Likewise.
32736         (ceil_test_data): Likewise.
32737         (cexp_test_data): Likewise.
32738         (cimag_test_data): Likewise.
32739         (clog_test_data): Likewise.
32740         (clog10_test_data): Likewise.
32741         (conj_test_data): Likewise.
32742         (copysign_test_data): Likewise.
32743         (cos_test_data): Likewise.
32744         (cos_tonearest_test_data): Likewise.
32745         (cos_towardzero_test_data): Likewise.
32746         (cos_downward_test_data): Likewise.
32747         (cos_upward_test_data): Likewise.
32748         (cosh_test_data): Likewise.
32749         (cosh_tonearest_test_data): Likewise.
32750         (cosh_towardzero_test_data): Likewise.
32751         (cosh_downward_test_data): Likewise.
32752         (cosh_upward_test_data): Likewise.
32753         (cpow_test_data): Likewise.
32754         (cproj_test_data): Likewise.
32755         (creal_test_data): Likewise.
32756         (csin_test_data): Likewise.
32757         (csinh_test_data): Likewise.
32758         (csqrt_test_data): Likewise.
32759         (ctan_test_data): Likewise.
32760         (ctan_tonearest_test_data): Likewise.
32761         (ctan_towardzero_test_data): Likewise.
32762         (ctan_downward_test_data): Likewise.
32763         (ctan_upward_test_data): Likewise.
32764         (ctanh_test_data): Likewise.
32765         (ctanh_tonearest_test_data): Likewise.
32766         (ctanh_towardzero_test_data): Likewise.
32767         (ctanh_downward_test_data): Likewise.
32768         (ctanh_upward_test_data): Likewise.
32769         (erf_test_data): Likewise.
32770         (erfc_test_data): Likewise.
32771         (exp_test_data): Likewise.
32772         (exp_tonearest_test_data): Likewise.
32773         (exp_towardzero_test_data): Likewise.
32774         (exp_downward_test_data): Likewise.
32775         (exp_upward_test_data): Likewise.
32776         (exp10_test_data): Likewise.
32777         (exp2_test_data): Likewise.
32778         (expm1_test_data): Likewise.
32779         (fabs_test_data): Likewise.
32780         (fdim_test_data): Likewise.
32781         (finite_test_data): Likewise.
32782         (floor_test_data): Likewise.
32783         (fma_test_data): Likewise.
32784         (fma_towardzero_test_data): Likewise.
32785         (fma_downward_test_data): Likewise.
32786         (fma_upward_test_data): Likewise.
32787         (fmax_test_data): Likewise.
32788         (fmin_test_data): Likewise.
32789         (fmod_test_data): Likewise.
32790         (fpclassify_test_data): Likewise.
32791         (frexp_test_data): Likewise.
32792         (gamma_test_data): Likewise.
32793         (hypot_test_data): Likewise.
32794         (ilogb_test_data): Likewise.
32795         (isfinite_test_data): Likewise.
32796         (isgreater_test_data): Likewise.
32797         (isgreaterequal_test_data): Likewise.
32798         (isinf_test_data): Likewise.
32799         (isless_test_data): Likewise.
32800         (islessequal_test_data): Likewise.
32801         (islessgreater_test_data): Likewise.
32802         (isnan_test_data): Likewise.
32803         (isnormal_test_data): Likewise.
32804         (issignaling_test_data): Likewise.
32805         (isunordered_test_data): Likewise.
32806         (j0_test_data): Likewise.
32807         (j1_test_data): Likewise.
32808         (jn_test_data): Likewise.
32809         (ldexp_test_data): Likewise.
32810         (lgamma_test_data): Likewise.
32811         (lrint_test_data): Likewise.
32812         (lrint_tonearest_test_data): Likewise.
32813         (lrint_towardzero_test_data): Likewise.
32814         (lrint_downward_test_data): Likewise.
32815         (lrint_upward_test_data): Likewise.
32816         (llrint_test_data): Likewise.
32817         (llrint_tonearest_test_data): Likewise.
32818         (llrint_towardzero_test_data): Likewise.
32819         (llrint_downward_test_data): Likewise.
32820         (llrint_upward_test_data): Likewise.
32821         (log_test_data): Likewise.
32822         (log10_test_data): Likewise.
32823         (log1p_test_data): Likewise.
32824         (log2_test_data): Likewise.
32825         (logb_test_data): Likewise.
32826         (logb_downward_test_data): Likewise.
32827         (lround_test_data): Likewise.
32828         (llround_test_data): Likewise.
32829         (modf_test_data): Likewise.
32830         (nearbyint_test_data): Likewise.
32831         (nextafter_test_data): Likewise.
32832         (nexttoward_test_data): Likewise.
32833         (pow_test_data): Likewise.
32834         (pow_tonearest_test_data): Likewise.
32835         (pow_towardzero_test_data): Likewise.
32836         (pow_downward_test_data): Likewise.
32837         (pow_upward_test_data): Likewise.
32838         (remainder_test_data): Likewise.
32839         (remainder_tonearest_test_data): Likewise.
32840         (remainder_towardzero_test_data): Likewise.
32841         (remainder_downward_test_data): Likewise.
32842         (remainder_upward_test_data): Likewise.
32843         (remquo_test_data): Likewise.
32844         (rint_test_data): Likewise.
32845         (rint_tonearest_test_data): Likewise.
32846         (rint_towardzero_test_data): Likewise.
32847         (rint_downward_test_data): Likewise.
32848         (rint_upward_test_data): Likewise.
32849         (round_test_data): Likewise.
32850         (scalb_test_data): Likewise.
32851         (scalbn_test_data): Likewise.
32852         (scalbln_test_data): Likewise.
32853         (signbit_test_data): Likewise.
32854         (sin_test_data): Likewise.
32855         (sin_tonearest_test_data): Likewise.
32856         (sin_towardzero_test_data): Likewise.
32857         (sin_downward_test_data): Likewise.
32858         (sin_upward_test_data): Likewise.
32859         (sincos_test_data): Likewise.
32860         (sinh_test_data): Likewise.
32861         (sinh_tonearest_test_data): Likewise.
32862         (sinh_towardzero_test_data): Likewise.
32863         (sinh_downward_test_data): Likewise.
32864         (sinh_upward_test_data): Likewise.
32865         (sqrt_test_data): Likewise.
32866         (tan_test_data): Likewise.
32867         (tan_tonearest_test_data): Likewise.
32868         (tan_towardzero_test_data): Likewise.
32869         (tan_downward_test_data): Likewise.
32870         (tan_upward_test_data): Likewise.
32871         (tanh_test_data): Likewise.
32872         (tgamma_test_data): Likewise.
32873         (trunc_test_data): Likewise.
32874         (y0_test_data): Likewise.
32875         (y1_test_data): Likewise.
32876         (yn_test_data): Likewise.
32877         (significand_test_data): Likewise.
32879         * math/gen-libm-test.pl (@functions): Remove variable.
32880         (generate_testfile): Don't handle START and END lines.
32881         * math/libm-test.inc (START): New macro.
32882         (END): Likewise.
32883         (END_COMPLEX): Likewise.
32884         (acos_test): Use END macro without arguments.
32885         (acos_test_tonearest): Likewise.
32886         (acos_test_towardzero): Likewise.
32887         (acos_test_downward): Likewise.
32888         (acos_test_upward): Likewise.
32889         (acosh_test): Likewise.
32890         (asin_test): Likewise.
32891         (asin_test_tonearest): Likewise.
32892         (asin_test_towardzero): Likewise.
32893         (asin_test_downward): Likewise.
32894         (asin_test_upward): Likewise.
32895         (asinh_test): Likewise.
32896         (atan_test): Likewise.
32897         (atanh_test): Likewise.
32898         (atan2_test): Likewise.
32899         (cabs_test): Likewise.
32900         (cacos_test): Use END_COMPLEX macro without arguments.
32901         (cacosh_test): Likewise.
32902         (carg_test): Use END macro without arguments.
32903         (casin_test): Use END_COMPLEX macro without arguments.
32904         (casinh_test): Likewise.
32905         (catan_test): Likewise.
32906         (catanh_test): Likewise.
32907         (cbrt_test): Use END macro without arguments.
32908         (ccos_test): Use END_COMPLEX macro without arguments.
32909         (ccosh_test): Likewise.
32910         (ceil_test): Use END macro without arguments.
32911         (cexp_test): Use END_COMPLEX macro without arguments.
32912         (cimag_test): Use END macro without arguments.
32913         (clog_test): Use END_COMPLEX macro without arguments.
32914         (clog10_test): Likewise.
32915         (conj_test): Likewise.
32916         (copysign_test): Use END macro without arguments.
32917         (cos_test): Likewise.
32918         (cos_test_tonearest): Likewise.
32919         (cos_test_towardzero): Likewise.
32920         (cos_test_downward): Likewise.
32921         (cos_test_upward): Likewise.
32922         (cosh_test): Likewise.
32923         (cosh_test_tonearest): Likewise.
32924         (cosh_test_towardzero): Likewise.
32925         (cosh_test_downward): Likewise.
32926         (cosh_test_upward): Likewise.
32927         (cpow_test): Use END_COMPLEX macro without arguments.
32928         (cproj_test): Likewise.
32929         (creal_test): Use END macro without arguments.
32930         (csin_test): Use END_COMPLEX macro without arguments.
32931         (csinh_test): Likewise.
32932         (csqrt_test): Likewise.
32933         (ctan_test): Likewise.
32934         (ctan_test_tonearest): Likewise.
32935         (ctan_test_towardzero): Likewise.
32936         (ctan_test_downward): Likewise.
32937         (ctan_test_upward): Likewise.
32938         (ctanh_test): Likewise.
32939         (ctanh_test_tonearest): Likewise.
32940         (ctanh_test_towardzero): Likewise.
32941         (ctanh_test_downward): Likewise.
32942         (ctanh_test_upward): Likewise.
32943         (erf_test): Use END macro without arguments.
32944         (erfc_test): Likewise.
32945         (exp_test): Likewise.
32946         (exp_test_tonearest): Likewise.
32947         (exp_test_towardzero): Likewise.
32948         (exp_test_downward): Likewise.
32949         (exp_test_upward): Likewise.
32950         (exp10_test): Likewise.
32951         (exp2_test): Likewise.
32952         (expm1_test): Likewise.
32953         (fabs_test): Likewise.
32954         (fdim_test): Likewise.
32955         (finite_test): Likewise.
32956         (floor_test): Likewise.
32957         (fma_test): Likewise.
32958         (fma_test_towardzero): Likewise.
32959         (fma_test_downward): Likewise.
32960         (fma_test_upward): Likewise.
32961         (fmax_test): Likewise.
32962         (fmin_test): Likewise.
32963         (fmod_test): Likewise.
32964         (fpclassify_test): Likewise.
32965         (frexp_test): Likewise.
32966         (gamma_test): Likewise.
32967         (hypot_test): Likewise.
32968         (ilogb_test): Likewise.
32969         (isfinite_test): Likewise.
32970         (isgreater_test): Likewise.
32971         (isgreaterequal_test): Likewise.
32972         (isinf_test): Likewise.
32973         (isless_test): Likewise.
32974         (islessequal_test): Likewise.
32975         (islessgreater_test): Likewise.
32976         (isnan_test): Likewise.
32977         (isnormal_test): Likewise.
32978         (issignaling_test): Likewise.
32979         (isunordered_test): Likewise.
32980         (j0_test): Likewise.
32981         (j1_test): Likewise.
32982         (jn_test): Likewise.
32983         (ldexp_test): Likewise.
32984         (lgamma_test): Likewise.
32985         (lrint_test): Likewise.
32986         (lrint_test_tonearest): Likewise.
32987         (lrint_test_towardzero): Likewise.
32988         (lrint_test_downward): Likewise.
32989         (lrint_test_upward): Likewise.
32990         (llrint_test): Likewise.
32991         (llrint_test_tonearest): Likewise.
32992         (llrint_test_towardzero): Likewise.
32993         (llrint_test_downward): Likewise.
32994         (llrint_test_upward): Likewise.
32995         (log_test): Likewise.
32996         (log10_test): Likewise.
32997         (log1p_test): Likewise.
32998         (log2_test): Likewise.
32999         (logb_test): Likewise.
33000         (logb_test_downward): Likewise.
33001         (lround_test): Likewise.
33002         (llround_test): Likewise.
33003         (modf_test): Likewise.
33004         (nearbyint_test): Likewise.
33005         (nextafter_test): Likewise.
33006         (nexttoward_test): Likewise.
33007         (pow_test): Likewise.
33008         (pow_test_tonearest): Likewise.
33009         (pow_test_towardzero): Likewise.
33010         (pow_test_downward): Likewise.
33011         (pow_test_upward): Likewise.
33012         (remainder_test): Likewise.
33013         (remainder_test_tonearest): Likewise.
33014         (remainder_test_towardzero): Likewise.
33015         (remainder_test_downward): Likewise.
33016         (remainder_test_upward): Likewise.
33017         (remquo_test): Likewise.
33018         (rint_test): Likewise.
33019         (rint_test_tonearest): Likewise.
33020         (rint_test_towardzero): Likewise.
33021         (rint_test_downward): Likewise.
33022         (rint_test_upward): Likewise.
33023         (round_test): Likewise.
33024         (scalb_test): Likewise.
33025         (scalbn_test): Likewise.
33026         (scalbln_test): Likewise.
33027         (signbit_test): Likewise.
33028         (sin_test): Likewise.
33029         (sin_test_tonearest): Likewise.
33030         (sin_test_towardzero): Likewise.
33031         (sin_test_downward): Likewise.
33032         (sin_test_upward): Likewise.
33033         (sincos_test): Likewise.
33034         (sinh_test): Likewise.
33035         (sinh_test_tonearest): Likewise.
33036         (sinh_test_towardzero): Likewise.
33037         (sinh_test_downward): Likewise.
33038         (sinh_test_upward): Likewise.
33039         (sqrt_test): Likewise.
33040         (tan_test): Likewise.
33041         (tan_test_tonearest): Likewise.
33042         (tan_test_towardzero): Likewise.
33043         (tan_test_downward): Likewise.
33044         (tan_test_upward): Likewise.
33045         (tanh_test): Likewise.
33046         (tgamma_test): Likewise.
33047         (trunc_test): Likewise.
33048         (y0_test): Likewise.
33049         (y1_test): Likewise.
33050         (yn_test): Likewise.
33051         (significand_test): Likewise.
33053 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33055         [BZ #15381]
33056         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33058 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33060         [BZ #14894]
33061         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33062         __ppc_mdoio and __ppc_mdoom.
33063         * manual/platform.texi: Document new functions __ppc_yield,
33064         __ppc_mdoio and __ppc_mdoom.
33066 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33068         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33069         (main): Mention "tls" pseudo-hwcap is legacy.
33070         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33072 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33074         * math/gen-libm-test.pl (parse_args): Output only string of
33075         arguments as text for test name, not full call or descriptions of
33076         tests for extra outputs.
33077         (generate_testfile): Do not pass function name to parse_args.
33078         Generate this_func variable from START.
33079         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33080         field to arg_str.
33081         (struct test_ff_f_data): Likewise.
33082         (test_ff_f_data_nexttoward): Likewise.
33083         (struct test_fi_f_data): Likewise.
33084         (struct test_fl_f_data): Likewise.
33085         (struct test_if_f_data): Likewise.
33086         (struct test_fff_f_data): Likewise.
33087         (struct test_c_f_data): Likewise.
33088         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33089         (struct test_fF_f1_data): Likewise.
33090         (struct test_ffI_f1_data): Likewise.
33091         (struct test_c_c_data): Rename test_name field to arg_str.
33092         (struct test_cc_c_data): Likewise.
33093         (struct test_f_i_data): Likewise.
33094         (struct test_ff_i_data): Likewise.
33095         (struct test_f_l_data): Likewise.
33096         (struct test_f_L_data): Likewise.
33097         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33098         and extra2_name.
33099         (COMMON_TEST_SETUP): New macro.
33100         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33101         (COMMON_TEST_CLEANUP): Likewise.
33102         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33103         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33104         macros.
33105         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33106         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33107         macros.
33108         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33109         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33110         cleanup macros.
33111         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33112         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33113         macros.
33114         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33115         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33116         macros.
33117         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33118         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33119         cleanup macros.
33120         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33121         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33122         cleanup macros.
33123         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33124         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33125         cleanup macros.
33126         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33127         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33128         macros.
33129         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33130         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33131         macros.
33132         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33133         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33134         macros.
33135         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33136         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33137         cleanup macros.
33138         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33139         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33140         cleanup macros.
33141         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33142         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33143         macros.
33144         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33145         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33146         cleanup macros.
33147         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33148         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33149         macros.
33150         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33151         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33152         macros.
33153         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33154         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33155         cleanup macros.
33156         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33158 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33160         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33161         to _sifields.sigfault.
33162         (si_addr_lsb): Define new macro.
33163         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33164         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33165         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33167 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33169         [BZ #15441]
33170         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33171         returns -1.
33172         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33173         null return -1.
33174         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33175         loading the domain.
33177 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33179         * math/gen-libm-test.pl (parse_args): Do not include expected
33180         result in test name.
33181         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33182         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33183         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33184         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33185         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33188 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33190         * benchtests/Makefile: Sort function entries.
33192         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33193         tanh, asinh, acosh, atanh.
33194         * benchtests/acos-inputs: New file.
33195         * benchtests/acosh-inputs: New file.
33196         * benchtests/asin-inputs: New file.
33197         * benchtests/asinh-inputs: New file.
33198         * benchtests/atanh-inputs: New file.
33199         * benchtests/cosh-inputs: New file.
33200         * benchtests/log-inputs: New file.
33201         * benchtests/sinh-inputs: New file.
33202         * benchtests/tanh-inputs: New file.
33204 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33206         [BZ #15339]
33207         * posix/tst-getaddrinfo4.c: New test.
33208         * posix/Makefile (tests): Add it.
33210 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33212         [BZ #15339]
33213         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33214         when no services were used.
33215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33216         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33218 2013-05-21  Andreas Schwab  <schwab@suse.de>
33220         [BZ #15014]
33221         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33222         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33223         successful.
33224         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33225         redundant variable declarations and reallocation of buffer when
33226         parsing as IPv6 address.  Always set NSS status when called from
33227         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33228         buffer too small.  Correct computation of needed size.
33229         * nss/Makefile (tests): Add test-digits-dots.
33230         * nss/test-digits-dots.c: New test.
33232 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33234         * benchtests/Makefile: Remove instructions for adding
33235         benchmark tests.
33236         * benchtests/README: New file to explain how to execute and
33237         enhance the benchmark tests.
33239 2013-05-21  Andreas Schwab  <schwab@suse.de>
33241         [BZ #15493]
33242         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33243         * setjmp/tst-sigsetjmp.c: New test.
33245 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33247         * sysdeps/x86_64/memset.S (memset): New implementation.
33248         (__bzero): Likewise.
33249         (__memset_tail): New function.
33251 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33253         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33254         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33255         __memcpy_sse2_unaligned ifunc selection.
33256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33257         Add memcpy-sse2-unaligned.S.
33258         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33259         Add: __memcpy_sse2_unaligned.
33261 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33263         [BZ #15490]
33264         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33265         math_force_eval before restoring floating-point envrionment.
33266         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33267         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33268         Likewise.
33269         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33270         <math_private.h>.
33271         (__nearbyintl): Use math_force_eval before restoring
33272         floating-point environment.
33273         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33275         * math/gen-libm-test.pl (special_functions): Remove.
33276         (parse_args): Don't handle TEST_extra.  Handle functions with no
33277         return value.
33278         * math/libm-test.inc (struct test_sincos_data): Replace with
33279         struct test_fFF_11_data.
33280         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33281         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33282         (sincos_test_data): Change element type to struct
33283         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33284         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33285         RUN_TEST_LOOP_sincos.
33286         * math/README.libm-test: Don't mention special handling of
33287         individual functions.
33288         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33289         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33290         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33291         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33292         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33295         * math/gen-libm-test.pl (get_variable): Remove function.
33296         (parse_args): Don't show pointer parameters to call in test
33297         names.  Use "extra output N" in test names for extra outputs
33298         rather than naming variables.
33300 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33302         [BZ #15488]
33303         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33304         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33305         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33306         double tests.
33307         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33308         disable.
33309         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33310         check_long_double.
33312         * math/gen-libm-test.pl (@tests): Remove variable.
33313         ($count): Likewise.
33314         (new_test): Remove function.
33315         (show_exceptions): New function.
33316         (special_functions): Use show_exceptions instead of new_test.
33317         (parse_args): Likewise.
33318         (generate_testfile): Pass only function name in generated call to
33319         print_max_error or print_complex_max_error.
33320         (get_ulps): Do not handle complex tests specially.
33321         (output_test): Rename to ...
33322         (get_all_ulps_for_test): ... this.  Return a string rather than
33323         printing to a file.  Require ulps to be present.
33324         (output_ulps): Generate arrays rather than #defines.
33325         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33326         (struct ulp_data): New type.
33327         (BUILD_COMPLEX_ULP): Remove macro.
33328         (compare_ulp_data): New function.
33329         (find_ulps): Likewise.
33330         (find_test_ulps): Likewise.
33331         (find_function_ulps): Likewise.
33332         (find_complex_function_ulps): Likewise.
33333         (print_max_error): Determine allowed ulps using
33334         find_function_ulps.
33335         (print_complex_max_error): Determine allowed ulps using
33336         find_complex_function_ulps.
33337         (check_float_internal): Determine max ulps using find_test_ulps.
33338         (check_float): Do not take max_ulp parameter.  Update call to
33339         check_float_internal.
33340         (check_complex): Likewise.
33341         (check_int): Do not take max_ulp parameter.
33342         (check_long): Likewise.
33343         (check_bool): Likewise.
33344         (check_longlong): Likewise.
33345         (struct test_f_f_data): Remove max_ulp field.
33346         (struct test_ff_f_data): Likewise.
33347         (struct test_ff_f_data_nexttoward): Likewise.
33348         (struct test_fi_f_data): Likewise.
33349         (struct test_fl_f_data): Likewise.
33350         (struct test_if_f_data): Likewise.
33351         (struct test_fff_f_data): Likewise.
33352         (struct test_c_f_data): Likewise.
33353         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33354         (struct test_fF_f1_data): Likewise.
33355         (struct test_ffI_f1_data): Likewise.
33356         (struct test_c_c_data): Remove max_ulp field.
33357         (struct test_cc_c_data): Likewise.
33358         (struct test_f_i_data): Likewise.
33359         (struct test_ff_i_data): Likewise.
33360         (struct test_f_l_data): Likewise.
33361         (struct test_f_L_data): Likewise.
33362         (struct test_sincos_data): Likewise.
33363         (RUN_TEST_f_f): Do not handle ulps.
33364         (RUN_TEST_LOOP_f_f): Likewise.
33365         (RUN_TEST_2_f): Likewise.
33366         (RUN_TEST_LOOP_2_f): Likewise.
33367         (RUN_TEST_fff_f): Likewise.
33368         (RUN_TEST_LOOP_fff_f): Likewise.
33369         (RUN_TEST_c_f): Likewise.
33370         (RUN_TEST_LOOP_c_f): Likewise.
33371         (RUN_TEST_f_f1): Likewise.
33372         (RUN_TEST_LOOP_f_f1): Likewise.
33373         (RUN_TEST_fF_f1): Likewise.
33374         (RUN_TEST_LOOP_fF_f1): Likewise.
33375         (RUN_TEST_fI_f1): Likewise.
33376         (RUN_TEST_LOOP_fI_f1): Likewise.
33377         (RUN_TEST_ffI_f1): Likewise.
33378         (RUN_TEST_LOOP_ffI_f1): Likewise.
33379         (RUN_TEST_c_c): Likewise.
33380         (RUN_TEST_LOOP_c_c): Likewise.
33381         (RUN_TEST_cc_c): Likewise.
33382         (RUN_TEST_LOOP_cc_c): Likewise.
33383         (RUN_TEST_f_i): Likewise.
33384         (RUN_TEST_LOOP_f_i): Likewise.
33385         (RUN_TEST_f_i_tg): Likewise.
33386         (RUN_TEST_LOOP_f_i_tg): Likewise.
33387         (RUN_TEST_ff_i_tg): Likewise.
33388         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33389         (RUN_TEST_f_b): Likewise.
33390         (RUN_TEST_LOOP_f_b): Likewise.
33391         (RUN_TEST_f_b_tg): Likewise.
33392         (RUN_TEST_LOOP_f_b_tg): Likewise.
33393         (RUN_TEST_f_l): Likewise.
33394         (RUN_TEST_LOOP_f_l): Likewise.
33395         (RUN_TEST_f_L): Likewise.
33396         (RUN_TEST_LOOP_f_L): Likewise.
33397         (RUN_TEST_sincos): Likewise.
33398         (RUN_TEST_LOOP_sincos): Likewise.
33400 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33402         [BZ #15480]
33403         [BZ #15485]
33404         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33405         main case of finite arguments, set rounding mode to FE_TONEAREST
33406         and discard exceptions.
33407         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33408         exceptions.
33409         (remainder_tonearest_test_data): New variable.
33410         (remainder_test_tonearest): New function.
33411         (remainder_towardzero_test_data): New variable.
33412         (remainder_test_towardzero): New function.
33413         (remainder_downward_test_data): New variable.
33414         (remainder_test_downward): New function.
33415         (remainder_upward_test_data): New variable.
33416         (remainder_test_upward): New function.
33417         (main): Call the new test functions.
33419         * math/libm-test.inc (struct test_f_f1_data): Remove field
33420         extra_init.
33421         (struct test_fF_f1_data): Likewise.
33422         (struct test_ffI_f1_data): Likewise.
33423         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33424         based on value of EXTRA_EXPECTED.
33425         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33426         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33427         EXTRA_VAR based on value of EXTRA_EXPECTED.
33428         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33429         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33430         EXTRA_VAR based on value of EXTRA_EXPECTED.
33431         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33432         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33433         EXTRA_VAR based on value of EXTRA_EXPECTED.
33434         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33435         * math/gen-libm-test.pl (parse_args): Don't output initializers
33436         for extra output values.
33438         * math/libm-test.inc (check_int): Expect result to be exactly
33439         equal to expected value and do not handle ulps.
33440         (check_long): Likewise.
33441         (check_longlong): Likewise.
33443         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33444         exceptions.
33445         (cimag_test_data): Likewise.
33446         (conj_test_data): Likewise.
33447         (copysign_test_data): Likewise.
33448         (cproj_test_data): Likewise.
33449         (creal_test_data): Likewise.
33450         (fabs_test_data): Likewise.
33451         (fdim_test_data): Likewise.
33452         (finite_test_data): Likewise.
33453         (floor_test_data): Likewise.
33454         (fmax_test_data): Likewise.
33455         (fmin_test_data): Likewise.
33456         (fmod_test_data): Likewise.
33457         (fpclassify_test_data): Likewise.
33458         (frexp_test_data): Likewise.
33459         (ilogb_test_data): Likewise.
33460         (isfinite_test_data): Likewise.
33461         (isgreater_test_data): Likewise.
33462         (isgreaterequal_test_data): Likewise.
33463         (isinf_test_data): Likewise.
33464         (isless_test_data): Likewise.
33465         (islessequal_test_data): Likewise.
33466         (islessgreater_test_data): Likewise.
33467         (isnan_test_data): Likewise.
33468         (isnormal_test_data): Likewise.
33469         (issignaling_test_data): Likewise.
33470         (isunordered_test_data): Likewise.
33471         (ldexp_test_data): Likewise.
33472         (lrint_test_data): Likewise.
33473         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33474         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33475         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33476         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33477         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33478         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33479         test input.
33480         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33481         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33482         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33483         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33484         that test input.
33485         (lrint_downward_test_data): Test for "inexact" exceptions.
33486         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33487         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33488         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33489         test input.
33490         (lrint_upward_test_data): Test for "inexact" exceptions.
33491         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33492         test input.
33493         (llrint_test_data): Test for "inexact" exceptions.
33494         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33495         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33496         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33497         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33498         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33499         (llrint_downward_test_data): Test for "inexact" exceptions.
33500         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33501         (llrint_upward_test_data): Test for "inexact" exceptions.
33502         (logb_test_data): Likewise.
33503         (logb_downward_test_data): Likewise.
33504         (nextafter_test_data): Likewise.
33505         (nexttoward_test_data): Likewise.
33506         (remainder_test_data): Likewise.
33507         (remquo_test_data): Likewise.
33508         (scalbn_test_data): Likewise.
33509         (scalbln_test_data): Likewise.
33510         (signbit_test_data): Likewise.
33511         (sqrt_test_data): Likewise.
33512         (significand_test_data): Likewise.
33514 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33516         [BZ #15424]
33517         * benchtests/bench-modf.c (struct args): Mark arg0 as
33518         volatile.
33519         * scripts/bench.pl: Mark members of struct args as volatile.
33521 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33523         [BZ # 15497]
33524         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33525         negative infinity on POWER6 or lower.
33526         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33528 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33530         [BZ #15442]
33531         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33532         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33533         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33534         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33535         (_FP_SETQNAN): New macro.
33536         (_FP_SETQNAN_SEMIRAW): Likewise.
33537         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33538         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33539         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33540         (FP_EXTEND): Use _FP_FRAC_SNANP.
33541         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33542         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33543         into account.
33544         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33545         New macro.
33546         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33547         Likewise.
33549 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33551         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33552         with DIVIDE_BY_ZERO_EXCEPTION.
33553         (gamma_test_data): Likewise.
33554         (lgamma_test_data): Likewise.
33555         (log_test_data): Likewise.
33556         (log10_test_data): Likewise.
33557         (log2_test_data): Likewise.
33558         (tgamma_test_data): Likewise.
33560         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33561         (acos_test_tonearest): Likewise.
33562         (acos_test_towardzero): Likewise.
33563         (acos_test_downward): Likewise.
33564         (acos_test_upward): Likewise.
33565         (acosh_test): Likewise.
33566         (asin_test): Likewise.
33567         (asin_test_tonearest): Likewise.
33568         (asin_test_towardzero): Likewise.
33569         (asin_test_downward): Likewise.
33570         (asin_test_upward): Likewise.
33571         (asinh_test): Likewise.
33572         (atan_test): Likewise.
33573         (atanh_test): Likewise.
33574         (atan2_test): Likewise.
33575         (cabs_test): Likewise.
33576         (cacos_test): Likewise.
33577         (cacosh_test): Likewise.
33578         (casin_test): Likewise.
33579         (casinh_test): Likewise.
33580         (catan_test): Likewise.
33581         (catanh_test): Likewise.
33582         (cbrt_test): Likewise.
33583         (ccos_test): Likewise.
33584         (ccosh_test): Likewise.
33585         (cexp_test): Likewise.
33586         (clog_test): Likewise.
33587         (clog10_test): Likewise.
33588         (cos_test): Likewise.
33589         (cos_test_tonearest): Likewise.
33590         (cos_test_towardzero): Likewise.
33591         (cos_test_downward): Likewise.
33592         (cos_test_upward): Likewise.
33593         (cosh_test): Likewise.
33594         (cosh_test_tonearest): Likewise.
33595         (cosh_test_towardzero): Likewise.
33596         (cosh_test_downward): Likewise.
33597         (cosh_test_upward): Likewise.
33598         (cpow_test): Likewise.
33599         (csin_test): Likewise.
33600         (csinh_test): Likewise.
33601         (csqrt_test): Likewise.
33602         (ctan_test): Likewise.
33603         (ctan_test_tonearest): Likewise.
33604         (ctan_test_towardzero): Likewise.
33605         (ctan_test_downward): Likewise.
33606         (ctan_test_upward): Likewise.
33607         (ctanh_test): Likewise.
33608         (ctanh_test_tonearest): Likewise.
33609         (ctanh_test_towardzero): Likewise.
33610         (ctanh_test_downward): Likewise.
33611         (ctanh_test_upward): Likewise.
33612         (erf_test): Likewise.
33613         (erfc_test): Likewise.
33614         (exp_test): Likewise.
33615         (exp_test_tonearest): Likewise.
33616         (exp_test_towardzero): Likewise.
33617         (exp_test_downward): Likewise.
33618         (exp_test_upward): Likewise.
33619         (exp10_test): Likewise.
33620         (exp2_test): Likewise.
33621         (expm1_test): Likewise.
33622         (fmod_test): Likewise.
33623         (gamma_test): Likewise.
33624         (hypot_test): Likewise.
33625         (j0_test): Likewise.
33626         (j1_test): Likewise.
33627         (jn_test): Likewise.
33628         (lgamma_test): Likewise.
33629         (log_test): Likewise.
33630         (log10_test): Likewise.
33631         (log1p_test): Likewise.
33632         (log2_test): Likewise.
33633         (logb_test_downward): Likewise.
33634         (pow_test): Likewise.
33635         (pow_test_tonearest): Likewise.
33636         (pow_test_towardzero): Likewise.
33637         (pow_test_downward): Likewise.
33638         (pow_test_upward): Likewise.
33639         (remainder_test): Likewise.
33640         (remquo_test): Likewise.
33641         (sin_test): Likewise.
33642         (sin_test_tonearest): Likewise.
33643         (sin_test_towardzero): Likewise.
33644         (sin_test_downward): Likewise.
33645         (sin_test_upward): Likewise.
33646         (sincos_test): Likewise.
33647         (sinh_test): Likewise.
33648         (sinh_test_tonearest): Likewise.
33649         (sinh_test_towardzero): Likewise.
33650         (sinh_test_downward): Likewise.
33651         (sinh_test_upward): Likewise.
33652         (sqrt_test): Likewise.
33653         (tan_test): Likewise.
33654         (tan_test_tonearest): Likewise.
33655         (tan_test_towardzero): Likewise.
33656         (tan_test_downward): Likewise.
33657         (tan_test_upward): Likewise.
33658         (tanh_test): Likewise.
33659         (tgamma_test): Likewise.
33660         (y0_test): Likewise.
33661         (y1_test): Likewise.
33662         (yn_test): Likewise.
33664         * math/gen-libm-test.pl (adjust_arg): Remove function.
33665         (special_function): Remove argument $in_func.  Only handle
33666         generating output for tables of tests, not inside functions.
33667         (parse_args): Likewise.
33668         (generate_testfile): Remove variable $in_func.  Update call to
33669         parse_args.
33670         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33671         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33672         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33673         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33674         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33675         (MAX_VALUE_INIT): Rename macro to max_value.
33676         (MIN_VALUE_INIT): Rename macro to min_value.
33677         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33678         (plus_zero): Remove variable.
33679         (minus_zero): Likewise.
33680         (plus_infty): Likewise.
33681         (minus_infty): Likewise.
33682         (qnan_value): Likewise.
33683         (max_value): Likewise.
33684         (min_value): Likewise.
33685         (min_subnorm_value): Likewise.
33687 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33689         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33690         uint64_t or uint32_t usage.
33691         * crypt/sha256-block.c: Likewise.
33692         * crypt/sha256-crypt.c: Likewise.
33693         * crypt/sha256.c: Likewise.
33694         * crypt/sha512-block.c: Likewise.
33695         * crypt/sha512-crypt.c: Likewise.
33696         * crypt/sha512.c: Likewise.
33697         * debug/backtrace-tst.c: Likewise.
33698         * debug/pcprofiledump.c: Likewise.
33699         * elf/cache.c: Likewise.
33700         * elf/dl-cache.c: Likewise.
33701         * elf/dl-misc.c: Likewise.
33702         * elf/dl-profile.c: Likewise.
33703         * elf/dl-support.c: Likewise.
33704         * elf/ldconfig.c: Likewise.
33705         * elf/sprof.c: Likewise.
33706         * iconv/dummy-repertoire.c: Likewise.
33707         * iconv/iconv_charmap.c: Likewise.
33708         * iconv/skeleton.c: Likewise.
33709         * iconvdata/8bit-generic.c: Likewise.
33710         * iconvdata/cp737.h: Likewise.
33711         * iconvdata/cp775.h: Likewise.
33712         * iconvdata/ibm1008.h: Likewise.
33713         * iconvdata/ibm1025.h: Likewise.
33714         * iconvdata/ibm1046.h: Likewise.
33715         * iconvdata/ibm1097.h: Likewise.
33716         * iconvdata/ibm1112.h: Likewise.
33717         * iconvdata/ibm1122.h: Likewise.
33718         * iconvdata/ibm1123.h: Likewise.
33719         * iconvdata/ibm1124.h: Likewise.
33720         * iconvdata/ibm1129.h: Likewise.
33721         * iconvdata/ibm1130.h: Likewise.
33722         * iconvdata/ibm1132.h: Likewise.
33723         * iconvdata/ibm1133.h: Likewise.
33724         * iconvdata/ibm1137.h: Likewise.
33725         * iconvdata/ibm1140.h: Likewise.
33726         * iconvdata/ibm1141.h: Likewise.
33727         * iconvdata/ibm1142.h: Likewise.
33728         * iconvdata/ibm1143.h: Likewise.
33729         * iconvdata/ibm1144.h: Likewise.
33730         * iconvdata/ibm1145.h: Likewise.
33731         * iconvdata/ibm1146.h: Likewise.
33732         * iconvdata/ibm1147.h: Likewise.
33733         * iconvdata/ibm1148.h: Likewise.
33734         * iconvdata/ibm1149.h: Likewise.
33735         * iconvdata/ibm1153.h: Likewise.
33736         * iconvdata/ibm1154.h: Likewise.
33737         * iconvdata/ibm1155.h: Likewise.
33738         * iconvdata/ibm1156.h: Likewise.
33739         * iconvdata/ibm1157.h: Likewise.
33740         * iconvdata/ibm1158.h: Likewise.
33741         * iconvdata/ibm1160.h: Likewise.
33742         * iconvdata/ibm1161.h: Likewise.
33743         * iconvdata/ibm1162.h: Likewise.
33744         * iconvdata/ibm1163.h: Likewise.
33745         * iconvdata/ibm1164.h: Likewise.
33746         * iconvdata/ibm1166.h: Likewise.
33747         * iconvdata/ibm1167.h: Likewise.
33748         * iconvdata/ibm12712.h: Likewise.
33749         * iconvdata/ibm1390.h: Likewise.
33750         * iconvdata/ibm1399.h: Likewise.
33751         * iconvdata/ibm16804.h: Likewise.
33752         * iconvdata/ibm4517.h: Likewise.
33753         * iconvdata/ibm4899.h: Likewise.
33754         * iconvdata/ibm4909.h: Likewise.
33755         * iconvdata/ibm4971.h: Likewise.
33756         * iconvdata/ibm5347.h: Likewise.
33757         * iconvdata/ibm803.h: Likewise.
33758         * iconvdata/ibm856.h: Likewise.
33759         * iconvdata/ibm901.h: Likewise.
33760         * iconvdata/ibm902.h: Likewise.
33761         * iconvdata/ibm9030.h: Likewise.
33762         * iconvdata/ibm9066.h: Likewise.
33763         * iconvdata/ibm921.h: Likewise.
33764         * iconvdata/ibm922.h: Likewise.
33765         * iconvdata/ibm9448.h: Likewise.
33766         * iconvdata/isiri-3342.h: Likewise.
33767         * iconvdata/jis0201.h: Likewise.
33768         * include/link.h: Likewise.
33769         * include/netdb.h: Likewise.
33770         * inet/check_native.c: Likewise.
33771         * inet/check_pf.c: Likewise.
33772         * inet/getipv4sourcefilter.c: Likewise.
33773         * inet/getnameinfo.c: Likewise.
33774         * inet/getsourcefilter.c: Likewise.
33775         * inet/htonl.c: Likewise.
33776         * inet/setipv4sourcefilter.c: Likewise.
33777         * inet/setsourcefilter.c: Likewise.
33778         * inet/test-inet6_opt.c: Likewise.
33779         * inet/tst-network.c: Likewise.
33780         * locale/C-collate.c: Likewise.
33781         * locale/C-ctype.c: Likewise.
33782         * locale/C-time.c: Likewise.
33783         * locale/C-translit.h: Likewise.
33784         * locale/loadarchive.c: Likewise.
33785         * locale/programs/3level.h: Likewise.
33786         * locale/programs/charmap.c: Likewise.
33787         * locale/programs/charmap.h: Likewise.
33788         * locale/programs/ld-address.c: Likewise.
33789         * locale/programs/ld-collate.c: Likewise.
33790         * locale/programs/ld-ctype.c: Likewise.
33791         * locale/programs/ld-identification.c: Likewise.
33792         * locale/programs/ld-measurement.c: Likewise.
33793         * locale/programs/ld-messages.c: Likewise.
33794         * locale/programs/ld-monetary.c: Likewise.
33795         * locale/programs/ld-name.c: Likewise.
33796         * locale/programs/ld-numeric.c: Likewise.
33797         * locale/programs/ld-paper.c: Likewise.
33798         * locale/programs/ld-telephone.c: Likewise.
33799         * locale/programs/ld-time.c: Likewise.
33800         * locale/programs/linereader.c: Likewise.
33801         * locale/programs/locale.c: Likewise.
33802         * locale/programs/locarchive.c: Likewise.
33803         * locale/programs/locfile.h: Likewise.
33804         * locale/programs/repertoire.c: Likewise.
33805         * locale/programs/simple-hash.c: Likewise.
33806         * locale/programs/simple-hash.h: Likewise.
33807         * malloc/memusage.c: Likewise.
33808         * malloc/memusagestat.c: Likewise.
33809         * nis/nis_defaults.c: Likewise.
33810         * nis/nis_hash.c: Likewise.
33811         * nis/nis_print.c: Likewise.
33812         * nis/nis_xdr.c: Likewise.
33813         * nscd/connections.c: Likewise.
33814         * nscd/hstcache.c: Likewise.
33815         * nscd/nscd_gethst_r.c: Likewise.
33816         * nscd/nscd_getserv_r.c: Likewise.
33817         * nscd/nscd_helper.c: Likewise.
33818         * nscd/servicescache.c: Likewise.
33819         * nss/makedb.c: Likewise.
33820         * nss/nss_db/db-XXX.c: Likewise.
33821         * nss/nss_db/db-initgroups.c: Likewise.
33822         * nss/nss_db/db-netgrp.c: Likewise.
33823         * nss/nss_files/files-network.c: Likewise.
33824         * nss/nss_files/files-parse.c: Likewise.
33825         * posix/bug-regex5.c: Likewise.
33826         * posix/fnmatch_loop.c: Likewise.
33827         * posix/regcomp.c: Likewise.
33828         * posix/regexec.c: Likewise.
33829         * posix/tst-rfc3484-2.c: Likewise.
33830         * posix/tst-rfc3484-3.c: Likewise.
33831         * posix/tst-rfc3484.c: Likewise.
33832         * resolv/nss_dns/dns-canon.c: Likewise.
33833         * resolv/nss_dns/dns-network.c: Likewise.
33834         * resolv/res_init.c: Likewise.
33835         * resolv/res_mkquery.c: Likewise.
33836         * resolv/tst-aton.c: Likewise.
33837         * stdlib/cxa_atexit.c: Likewise.
33838         * stdlib/cxa_finalize.c: Likewise.
33839         * stdlib/gen-fpioconst.c: Likewise.
33840         * stdlib/strtol_l.c: Likewise.
33841         * string/tst-endian.c: Likewise.
33842         * sunrpc/auth_des.c: Likewise.
33843         * sunrpc/clnt_udp.c: Likewise.
33844         * sunrpc/rtime.c: Likewise.
33845         * sunrpc/svcauth_des.c: Likewise.
33846         * sunrpc/xdr.c: Likewise.
33847         * sunrpc/xdr_intXX_t.c: Likewise.
33848         * sunrpc/xdr_rec.c: Likewise.
33849         * sysdeps/generic/ldconfig.h: Likewise.
33850         * sysdeps/generic/ldsodefs.h: Likewise.
33851         * sysdeps/generic/memusage.h: Likewise.
33852         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33853         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33854         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33855         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33856         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33857         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33858         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33859         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33860         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33861         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33862         * sysdeps/posix/getaddrinfo.c: Likewise.
33863         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33864         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33865         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33866         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33867         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33868         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33869         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33870         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33871         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33872         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33873         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33874         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33875         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33876         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33877         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33878         * sysdeps/x86_64/dl-tls.h: Likewise.
33879         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33880         * time/alt_digit.c: Likewise.
33881         * time/era.c: Likewise.
33882         * wcsmbs/tst-c16c32-1.c: Likewise.
33884 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33886         * math/libm-test.inc (struct test_sincos_data): New type.
33887         (RUN_TEST_LOOP_sincos): New macro.
33888         (sincos_test_data): New variable.
33889         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33891 2013-05-16  Richard Henderson  <rth@redhat.com>
33893         * math/atest-exp2.c (LIMB64): New macro.
33894         (CONSTSZ): New macro.
33895         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33896         (hexdig): Move ...
33897         (print_mpn_fp): ... to function scope.
33898         (read_mpn_hex): Remove.
33899         (get_log2): Remove.
33900         (exp2_mpn): Use mp_log2.
33901         (main): Use mp_exp1.
33903 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33905         * math/libm-test.inc: Remove comment about not testing "inexact"
33906         exceptions.
33907         (INEXACT_EXCEPTION): New macro.
33908         (NO_INEXACT_EXCEPTION): Likewise.
33909         (INVALID_EXCEPTION_OK): Update value.
33910         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33911         (OVERFLOW_EXCEPTION_OK): Likewise.
33912         (UNDERFLOW_EXCEPTION_OK): Likewise.
33913         (IGNORE_ZERO_INF_SIGN): Likewise.
33914         (ERRNO_UNCHANGED): Likewise.
33915         (ERRNO_EDOM): Likewise.
33916         (ERRNO_ERANGE): Likewise.
33917         (test_exceptions): Handle testing "inexact" exceptions.
33918         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33919         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33920         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33921         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33922         INEXACT_EXCEPTION.
33923         (rint_towardzero_test_data): Likewise.
33924         (rint_downward_test_data): Likewise.
33925         (rint_upward_test_data): Likewise.
33927         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33928         with OVERFLOW_EXCEPTION.
33929         (exp10_test_data): Likewise.
33930         (exp2_test_data): Likewise.
33931         (expm1_test_data): Likewise.
33932         (lgamma_test_data): Likewise.
33933         (pow_test_data): Likewise.
33934         (tgamma_test_data): Likewise.
33935         (yn_test_data): Remove duplicate test of overflow.
33937         * math/libm-test.inc (struct test_cc_c_data): New type.
33938         (RUN_TEST_LOOP_cc_c): New macro.
33939         (cpow_test_data): New variable.
33940         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33942         * math/libm-test.inc (struct test_f_L_data): New type.
33943         (RUN_TEST_LOOP_f_L): New macro.
33944         (llrint_test_data): New variable.
33945         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33946         (llrint_tonearest_test_data): New variable.
33947         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33948         (llrint_towardzero_test_data): New variable.
33949         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33950         (llrint_downward_test_data): New variable.
33951         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33952         (llrint_upward_test_data): New variable.
33953         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33954         (llround_test_data): New variable.
33955         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33957 2013-05-13  Peter Collingbourne  <pcc@google.com>
33959         * math/atest-exp2.c (get_log2): Remove const attribute.
33961 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33963         * math/libm-test.inc (struct test_f_l_data): New type.
33964         (RUN_TEST_LOOP_f_l): New macro.
33965         (lrint_test_data): New variable.
33966         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33967         (lrint_tonearest_test_data): New variable.
33968         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33969         (lrint_towardzero_test_data): New variable.
33970         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33971         (lrint_downward_test_data): New variable.
33972         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33973         (lrint_upward_test_data): New variable.
33974         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33975         (lround_test_data): New variable.
33976         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33978 2013-05-15  Peter Collingbourne  <pcc@google.com>
33980         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33981         (EXTRACT_WORDS64) Use where appropriate.
33982         (INSERT_WORDS64) Likewise.
33984         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33985         constraints with x constraints.
33986         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33988         * malloc/obstack.c (_obstack_compat): Add initializer.
33990 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33992         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33993         si_trapno and add si_addr_lsb to _sifields.sigfault.
33994         (si_trapno): Remove macro.
33995         (si_addr_lsb): Define new macro.
33996         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33998 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34000         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34001         instead of TEST_f_l.
34002         (llrint_test_tonearest): Likewise.
34003         (llrint_test_towardzero): Likewise.
34004         (llrint_test_downward): Likewise.
34005         (llrint_test_upward): Likewise.
34006         (llround_test): Likewise.
34008         * math/libm-test.inc (struct test_f_i_data): Add comment.
34009         (RUN_TEST_LOOP_f_b): New macro.
34010         (RUN_TEST_LOOP_f_b_tg): Likewise.
34011         (finite_test_data): New variable.
34012         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34013         (isfinite_test_data): New variable.
34014         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34015         (isinf_test_data): New variable.
34016         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34017         (isnan_test_data): New variable.
34018         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34019         (isnormal_test_data): New variable.
34020         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34021         (issignaling_test_data): New variable.
34022         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34023         (signbit_test_data): New variable.
34024         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34026         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34027         with INVALID_EXCEPTION.
34028         (acosh_test_data): Likewise.
34029         (asin_test_data): Likewise.
34030         (atanh_test_data): Likewise.
34031         (fmod_test_data): Likewise.
34032         (log_test_data): Likewise.
34033         (log10_test_data): Likewise.
34034         (log2_test_data): Likewise.
34035         (pow_test_data): Likewise.
34036         (sqrt_test_data): Likewise.
34037         (y0_test_data): Likewise.
34038         (y1_test_data): Likewise.
34039         (yn_test_data): Likewise.
34041         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34042         function contents.
34044         * math/libm-test.inc (struct test_ff_i_data): New type.
34045         (RUN_TEST_LOOP_ff_i_tg): New macro.
34046         (isgreater_test_data): New variable.
34047         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34048         (isgreaterequal_test_data): New variable.
34049         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34050         (isless_test_data): New variable.
34051         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34052         (islessequal_test_data): New variable.
34053         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34054         (islessgreater_test_data): New variable.
34055         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34056         (isunordered_test_data): New variable.
34057         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34059 2013-05-14  David S. Miller  <davem@davemloft.net>
34061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34063 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34065         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34067         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34068         extra_test to int.
34069         (struct test_f_i_data): Change type of max_ulp to int.
34071         * math/libm-test.inc (test_ffI_f1_data): New type.
34072         (RUN_TEST_LOOP_ffI_f1): New macro.
34073         (remquo_test_data): New variable.
34074         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34076         * setjmp/tst-setjmp-fp.c: New file.
34077         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34078         (link-libm): New variable.
34079         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34081         * math/libm-test.inc (struct test_f_i_data): New type.
34082         (RUN_TEST_LOOP_f_i): New macro.
34083         (RUN_TEST_LOOP_f_i_tg): Likewise.
34084         (fpclassify_test_data): New variable.
34085         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34086         (ilogb_test_data): New variable.
34087         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34089         * math/libm-test.inc (scalbln_test): Correct function name in END
34090         call.
34092         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34093         (RUN_TEST_LOOP_fI_f1): New macro.
34094         (frexp_test_data): New variable.
34095         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34097         * math/libm-test.inc (struct test_fF_f1_data): New type.
34098         (RUN_TEST_LOOP_fF_f1): New macro.
34099         (modf_test_data): New variable.
34100         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34102         * math/libm-test.inc (struct test_f_f1_data): New type.
34103         (RUN_TEST_LOOP_f_f1): New macro.
34104         (gamma_test_data): New variable.
34105         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34106         (lgamma_test_data): New variable.
34107         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34109 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34111         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34112         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34113         (main): Comment "tls" pseudo-hwcap.
34115 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34117         * math/libm-test.inc (struct test_fl_f_data): New type.
34118         (RUN_TEST_LOOP_fl_f): New variable.
34119         (scalbln_test_data): New variable.
34120         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34122         * math/libm-test.inc (struct test_fi_f_data): New type.
34123         (RUN_TEST_LOOP_fi_f): New macro.
34124         (ldexp_test_data): New variable.
34125         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34126         (scalbn_test_data): New variable.
34127         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34129         * math/libm-test.inc (struct test_c_f_data): New type.
34130         (RUN_TEST_LOOP_c_f): New macro.
34131         (cabs_test_data): New variable.
34132         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34133         (carg_test_data): New variable.
34134         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34135         (cimag_test_data): New variable.
34136         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34137         (creal_test_data): New variable.
34138         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34140         * math/libm-test.inc (struct test_if_f_data): New type.
34141         (RUN_TEST_LOOP_if_f): New macro.
34142         (jn_test_data): New variable.
34143         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34144         (yn_test_data): New variable.
34145         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34147         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34149 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34151         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34152         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34154 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34156         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34157         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34158         (bench-deps): Add bench-timing.h.
34159         * benchtests-bench-skeleton.c: Include bench-timing.h.
34160         (main): Use TIMING_* macros instead of clock_gettime.
34161         * benchtests/bench-timing.h: New file.
34163         [BZ #14582]
34164         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34165         Renamed from _LIB_VERSION.
34166         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34168 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34170         * math/libm-test.inc (struct test_fff_f_data): New type.
34171         (RUN_TEST_LOOP_fff_f): New macro.
34172         (fma_test_data): New variable.
34173         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34174         (fma_towardzero_test_data): New variable.
34175         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34176         (fma_downward_test_data): New variable.
34177         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34178         (fma_upward_test_data): New variable.
34179         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34181         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34182         (struct test_c_c_data): New type.
34183         (RUN_TEST_LOOP_c_c): New macro.
34184         (cacos_test_data): New variable.
34185         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34186         (cacosh_test_data): New variable.
34187         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34188         (casin_test_data): New variable.
34189         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34190         (casinh_test_data): New variable.
34191         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34192         (catan_test_data): New variable.
34193         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34194         (catanh_test_data): New variable.
34195         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34196         (ccos_test_data): New variable.
34197         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34198         (ccosh_test_data): New variable.
34199         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34200         (cexp_test_data): New variable.
34201         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34202         (clog_test_data): New variable.
34203         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34204         (clog10_test_data): New variable.
34205         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34206         (conj_test_data): New variable.
34207         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34208         (cproj_test_data): New variable.
34209         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34210         (csin_test_data): New variable.
34211         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34212         (csinh_test_data): New variable.
34213         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34214         (csqrt_test_data): New variable.
34215         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34216         (ctan_test_data): New variable.
34217         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34218         (ctan_tonearest_test_data): New variable.
34219         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34220         (ctan_towardzero_test_data): New variable.
34221         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34222         (ctan_downward_test_data): New variable.
34223         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34224         (ctan_upward_test_data): New variable.
34225         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34226         (ctanh_test_data): New variable.
34227         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34228         (ctanh_tonearest_test_data): New variable.
34229         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34230         (ctanh_towardzero_test_data): New variable.
34231         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34232         (ctanh_downward_test_data): New variable.
34233         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34234         (ctanh_upward_test_data): New variable.
34235         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34236         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34237         of BUILD_COMPLEX.
34239         * math/libm-test.inc (struct test_ff_f_data): New type.
34240         (struct test_ff_f_data_nexttoward): Likewise.
34241         (RUN_TEST_LOOP_2_f): New macro.
34242         (RUN_TEST_LOOP_ff_f): Likewise.
34243         (atan2_test_data): New variable.
34244         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34245         (copysign_test_data): New variable.
34246         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34247         (fdim_test_data): New variable.
34248         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34249         (fmax_test_data): New variable.
34250         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34251         (fmin_test_data): New variable.
34252         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34253         (fmod_test_data): New variable.
34254         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34255         (hypot_test_data): New variable.
34256         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34257         (nextafter_test_data): New variable.
34258         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34259         (nexttoward_test_data): New variable.
34260         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34261         (pow_test_data): New variable.
34262         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34263         (pow_tonearest_test_data): New variable.
34264         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34265         (pow_towardzero_test_data): New variable.
34266         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34267         (pow_downward_test_data): New variable.
34268         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34269         (pow_upward_test_data): New variable.
34270         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34271         (remainder_test_data): New variable.
34272         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34273         (scalb_test_data): New variable.
34274         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34275         * sysdeps/i386/fpu/libm-test-ulps: Update.
34277 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34279         * math/libm-test.inc (fma_test): Use max_value instead of local
34280         variable fltmax.
34281         (nextafter_test): Likewise.
34283         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34284         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34285         (acos_downward_test_data): New variable.
34286         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34287         (acos_upward_test_data): New variable.
34288         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34289         (acosh_test_data): New variable.
34290         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34291         (asin_test_data): New variable.
34292         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34293         (asin_tonearest_test_data): New variable.
34294         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34295         (asin_towardzero_test_data): New variable.
34296         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34297         (asin_downward_test_data): New variable.
34298         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34299         (asin_upward_test_data): New variable.
34300         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34301         (asinh_test_data): New variable.
34302         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34303         (atan_test_data): New variable.
34304         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34305         (atanh_test_data): New variable.
34306         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34307         (cbrt_test_data): New variable.
34308         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34309         (ceil_test_data): New variable.
34310         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34311         (cos_test_data): New variable.
34312         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34313         (cos_tonearest_test_data): New variable.
34314         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34315         (cos_towardzero_test_data): New variable.
34316         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34317         (cos_downward_test_data): New variable.
34318         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34319         (cos_upward_test_data): New variable.
34320         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34321         (cosh_test_data): New variable.
34322         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34323         (cosh_tonearest_test_data): New variable.
34324         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34325         (cosh_towardzero_test_data): New variable.
34326         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34327         (cosh_downward_test_data): New variable.
34328         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34329         (cosh_upward_test_data): New variable.
34330         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34331         (erf_test_data): New variable.
34332         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34333         (erfc_test_data): New variable.
34334         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34335         (exp_test_data): New variable.
34336         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34337         (exp_tonearest_test_data): New variable.
34338         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34339         (exp_towardzero_test_data): New variable.
34340         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34341         (exp_downward_test_data): New variable.
34342         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34343         (exp_upward_test_data): New variable.
34344         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34345         (exp10_test_data): New variable.
34346         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34347         (exp2_test_data): New variable.
34348         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34349         (expm1_test_data): New variable.
34350         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34351         (fabs_test_data): New variable.
34352         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34353         (floor_test_data): New variable.
34354         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34355         (j0_test_data): New variable.
34356         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34357         (j1_test_data): New variable.
34358         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34359         (log_test_data): New variable.
34360         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34361         (log10_test_data): New variable.
34362         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34363         (log1p_test_data): New variable.
34364         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34365         (log2_test_data): New variable.
34366         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34367         (logb_test_data): New variable.
34368         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34369         (logb_downward_test_data): New variable.
34370         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34371         (nearbyint_test_data): New variable.
34372         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34373         (rint_test_data): New variable.
34374         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34375         (rint_tonearest_test_data): New variable.
34376         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34377         (rint_towardzero_test_data): New variable.
34378         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34379         (rint_downward_test_data): New variable.
34380         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34381         (rint_upward_test_data): New variable.
34382         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34383         (round_test_data): New variable.
34384         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34385         (sin_test_data): New variable.
34386         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34387         (sin_tonearest_test_data): New variable.
34388         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34389         (sin_towardzero_test_data): New variable.
34390         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34391         (sin_downward_test_data): New variable.
34392         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34393         (sin_upward_test_data): New variable.
34394         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34395         (sinh_test_data): New variable.
34396         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34397         (sinh_tonearest_test_data): New variable.
34398         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34399         (sinh_towardzero_test_data): New variable.
34400         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34401         (sinh_downward_test_data): New variable.
34402         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34403         (sinh_upward_test_data): New variable.
34404         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34405         (sqrt_test_data): New variable.
34406         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34407         (tan_test_data): New variable.
34408         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34409         (tan_tonearest_test_data): New variable.
34410         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34411         (tan_towardzero_test_data): New variable.
34412         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34413         (tan_downward_test_data): New variable.
34414         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34415         (tan_upward_test_data): New variable.
34416         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34417         (tanh_test_data): New variable.
34418         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34419         (tgamma_test_data): New variable.
34420         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34421         (trunc_test_data): New variable.
34422         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34423         (y0_test_data): New variable.
34424         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34425         (y1_test_data): New variable.
34426         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34427         (significand_test_data): New variable.
34428         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34430 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34432         [BZ #12387]
34433         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34435 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34437         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34439 2013-05-10  Andreas Jaeger  <aj@suse.de>
34441         [BZ #15448]
34442         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34443         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34445 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34447         * math/gen-libm-test.pl (adjust_arg): New function.
34448         (special_functions): Handle generating output in both functions
34449         and arrays.
34450         (parse_args): Likewise.
34451         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34452         $in_func argument to parse_args.
34453         * math/libm-test.inc (struct test_f_f_data): New type.
34454         (IF_ROUND_INIT_): New macro.
34455         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34456         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34457         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34458         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34459         (ROUND_RESTORE_): Likewise.
34460         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34461         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34462         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34463         (ROUND_RESTORE_FE_UPWARD): Likewise.
34464         (RUN_TEST_LOOP_f_f): New macro.
34465         (acos_test_data): New variable.
34466         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34467         (acos_tonearest_test_data): New variable.
34468         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34470 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34472         * benchtests/bench-skeleton.c (startup): Fix coding style.
34474 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34476         [BZ #6809]
34477         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34478         negative infinity argument.
34479         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34480         negative infinity argument.
34481         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34482         negative infinity argument.
34483         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34484         domain errors.
34486 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34488         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34489         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34490         * iconv/iconv_prog.c (main): Likewise.
34491         * locale/programs/charmap-dir.c (charmap_readdir)
34492         (fopen_uncompressed): Likewise.
34493         * locale/programs/locfile.c (siblings_uncached)
34494         (write_locale_data): Use lstat64 instead of lstat.
34495         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34496         stat.
34498 2013-05-10  Andreas Jaeger  <aj@suse.de>
34500         [BZ #15395]
34501         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34502         localization.
34503         Include <locale.h>.
34505 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34507         * elf/dl-close.c (_dl_close_worker): Add comments.
34509 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34511         [BZ #15359]
34512         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34513         high part of pi/2.
34514         (__ieee754_rem_pio2l): Update comments.
34516         [BZ #15429]
34517         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34518         high part of pi/2.
34519         (__ieee754_rem_pio2l): Update comments.
34521         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34522         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34524         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34525         M_PI_4l.
34527         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34528         (M_PI_34_LOG10El): Likewise.
34529         (M_PI2_LOG10El): Likewise.
34530         (M_PI4_LOG10El): Likewise.
34531         (M_PI_LOG10El): Likewise.
34533 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34537 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34539         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34540         (MINUS_ZERO_INIT): Likewise.
34541         (PLUS_INFTY_INIT): Likewise.
34542         (MINUS_INFTY_INIT): Likewise.
34543         (QNAN_VALUE_INIT): Likewise.
34544         (MAX_VALUE_INIT): Likewise.
34545         (MIN_VALUE_INIT): Likewise.
34546         (MIN_SUBNORM_VALUE_INIT): Likewise.
34547         (plus_zero): Initialize with PLUS_ZERO_INIT.
34548         (minus_zero): Initialize with MINUS_ZERO_INIT.
34549         (plus_infty): Initialize with PLUS_INFTY_INIT.
34550         (minus_infty): Initialize with MINUS_INFTY_INIT.
34551         (qnan_value): Initialize with QNAN_VALUE_INIT.
34552         (max_value): Initialize with MAX_VALUE_INIT.
34553         (min_value): Initialize with MIN_VALUE_INIT.
34554         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34556         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34557         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34558         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34559         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34561         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34562         (RUN_TEST_2_f): Likewise.
34563         (RUN_TEST_ff_f): Likewise.
34564         (RUN_TEST_fi_f): Likewise.
34565         (RUN_TEST_fl_f): Likewise.
34566         (RUN_TEST_fff_f): Likewise.
34567         (RUN_TEST_c_f): Likewise.
34568         (RUN_TEST_f_f1): Likewise.
34569         (RUN_TEST_fF_f1): Likewise.
34570         (RUN_TEST_fI_f1): Likewise.
34571         (RUN_TEST_ffI_f1): Likewise.
34572         (RUN_TEST_c_c): Likewise.
34573         (RUN_TEST_cc_c): Likewise.
34574         (RUN_TEST_f_i): Likewise.
34575         (RUN_TEST_f_i_tg): Likewise.
34576         (RUN_TEST_ff_i_tg): Likewise.
34577         (RUN_TEST_f_b): Likewise.
34578         (RUN_TEST_f_b_tg): Likewise.
34579         (RUN_TEST_f_l): Likewise.
34580         (RUN_TEST_f_L): Likewise.
34581         (RUN_TEST_sincos): Likewise.
34582         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34583         whether to show exceptions.  Do not include ");\n" in return
34584         value.
34585         (special_functions): Output call to RUN_TEST_sincos instead of
34586         check_float calls.  Update calls to new_test.
34587         (parse_args): Output call to single RUN_TEST_* macro instead of
34588         check_* calls and other assignments.  Update calls to new_test.
34590         [BZ #2546]
34591         [BZ #2560]
34592         [BZ #5159]
34593         [BZ #15426]
34594         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34595         input to result for tgamma overflow.
34596         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34597         (gamma_coeff): New variable.
34598         (NCOEFF): New macro.
34599         (gamma_positive): New function.
34600         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34601         underflow here.  Use gamma_positive instead of exp (lgamma) for
34602         other arguments.
34603         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34604         (gamma_coeff): New variable.
34605         (NCOEFF): New macro.
34606         (gammaf_positive): New function.
34607         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34608         underflow here.  Use gamma_positive instead of exp (lgamma) for
34609         other arguments.
34610         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34611         (gamma_coeff): New variable.
34612         (NCOEFF): New macro.
34613         (gammal_positive): New function.
34614         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34615         underflow here.  Use gamma_positive instead of exp (lgamma) for
34616         other arguments.
34617         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34618         (gamma_coeff): New variable.
34619         (NCOEFF): New macro.
34620         (gammal_positive): New function.
34621         (__ieee754_gammal_r): Handle positive infinity, overflow and
34622         underflow here.  Handle NaN the same as positive infinity.  Remove
34623         check x < 0xffffffff for negative integers.  Use gamma_positive
34624         instead of exp (lgamma) for other arguments.
34625         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34626         (gamma_coeff): New variable.
34627         (NCOEFF): New macro.
34628         (gammal_positive): New function.
34629         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34630         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34631         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34632         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34633         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34634         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34635         * sysdeps/generic/math_private.h (__gamma_productf): New
34636         prototype.
34637         (__gamma_product): Likewise.
34638         (__gamma_productl): Likewise.
34639         * math/Makefile (libm-calls): Add gamma_product.
34640         * math/libm-test.inc (tgamma_test): Add more tests.
34641         * sysdeps/i386/fpu/libm-test-ulps: Update.
34642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34644 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34646         * benchtests/bench-skeleton.c (main): Preheat CPU.
34648 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34650         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34652 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34654         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34655         and _dl_skip_args_internal.
34657 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34659         * manual/message.texi (Message Translation): Talk about users.
34660         Message to key mapping impacts design.
34662 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34664         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34666         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34668         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34669         * sysdeps/wordsize-64/glob64.c: ... here.
34671         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34672         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34673         New macros.
34675         * debug/getlogin_r_chk.c: Moved to ...
34676         * login/getlogin_r_chk.c: ... here.
34677         * debug/Makefile (routines): Move getlogin_r_chk to ...
34678         * login/Makefile (routines): ... here.
34679         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34680         * login/Versions (libc: GLIBC_2.4): ... here.
34682         * io/poll.c (__poll): Renamed from poll.
34683         Add libc_hidden_def.
34684         (poll): Define as weak alias.
34686         * debug/ptsname_r_chk.c: Moved to ...
34687         * login/ptsname_r_chk.c: ... here.
34688         * debug/Makefile (routines): Move ptsname_r_chk to ...
34689         * login/Makefile (routines): ... here.
34690         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34691         * login/Versions (libc: GLIBC_2.4): ... here.
34693         * posix/getlogin.c: Moved to ...
34694         * login/getlogin.c: ... here.
34695         * posix/getlogin_r.c: Moved to ...
34696         * login/getlogin_r.c: ... here.
34697         * posix/getlogin_r.c: Moved to ...
34698         * login/getlogin_r.c: ... here.
34699         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34700         * login/Makefile (routines): ... here.
34701         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34702         * login/Versions (libc: GLIBC_2.0): ... here.
34704         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34705         (setrlimit): Define as weak alias.
34707         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34708         Call __ names for open, ftruncate, and close.
34709         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34710         (truncate): Define as weak alias.
34712 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34714         * math/gen-libm-test.pl (parse_args): Initialize x before each
34715         test of frexp, modf and remquo.
34717         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34718         test signgam value.
34720 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34722         [BZ #15418]
34723         [BZ #15419]
34724         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34725         internal tests.
34726         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34728 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34730         * elf/dl-writev.h: New file.
34731         * elf/dl-misc.c: Include it.
34732         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34733         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34735 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34737         * math/libm-test.inc (noXFails): Remove variable.
34738         (noXPasses): Likewise.
34739         (BUILD_COMPLEX_INT): Remove macro.
34740         (print_screen): Remove xfail argument.
34741         (print_screen_max_error): Likewise.
34742         (update_stats): Likewise.
34743         (print_max_error): Likewise.  Update calls to other affected
34744         functions.
34745         (print_complex_max_error): Likewise.
34746         (test_single_exception): Update calls to print_screen.
34747         (test_single_errno): Likewise.
34748         (check_float_internal): Remove xfail argument.  Update calls to
34749         other affected functions.
34750         (check_float): Likewise.
34751         (check_complex): Likewise.
34752         (check_int): Likewise.
34753         (check_long): Likewise.
34754         (check_bool): Likewise.
34755         (check_longlong): Likewise.
34756         (main): Don't print noXFails and noXPasses.
34757         * math/gen-libm-test.pl (top level): Don't mention expected
34758         failure handling in comment.
34759         (new_test): Don't handle expected failures.
34760         (parse_args): Don't mention expected failure handling in comment.
34761         (generate_testfile): Don't handle expected failures.
34762         (parse_ulps): Likewise.
34763         (print_ulps_file): Likewise.
34764         (get_failure): Remove function.
34765         (output_test): Don't handle expected failures.
34766         * make/README.libm-test: Don't mention expected failure handling.
34768         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34769         (minus_zero): Likewise.
34770         (plus_infty): Likewise.
34771         (minus_infty): Likewise.
34772         (qnan_value): Likewise.
34773         (max_value): Likewise.
34774         (min_value): Likewise.
34775         (min_subnorm_value): Likewise.
34776         (initialize): Do not initialize those variables dynamically.
34778 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34780         * io/open.c (__open_2): Moved to ...
34781         * io/open_2.c: ... this new file.
34782         * io/open64.c (__open64_2): Moved to ...
34783         * io/open64_2.c: ... this new file.
34784         * io/openat.c (__openat_2): Moved to ...
34785         * io/openat_2.c: ... this new file.
34786         * io/openat64.c (__openat64_2): Moved to ...
34787         * io/openat64_2.c: ... this new file.
34788         * io/Makefile (routines): Add them.
34789         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34790         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34791         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34792         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34793         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34794         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34795         (__openat64): Add hidden_ver.
34796         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34797         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34799         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34800         Separately conditionalize setting of GLRO(dl_sysinfo) so
34801         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34802         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34804 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34806         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34807         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34808         definition.
34809         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34810         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34811         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34812         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34813         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34815 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34817         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34818         test signgam value.
34820         * math/libm-test.inc (hypot_test): Do not use
34821         IGNORE_ZERO_INF_SIGN.
34823 2013-05-03  Andreas Jaeger  <aj@suse.de>
34825         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34826         Linux 3.9.
34827         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34828         (PF_MAX): Adjust for VSOCK change.
34830 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34834 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34836         [BZ #15264]
34837         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34838         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34839         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34841 2013-05-02  David S. Miller  <davem@davemloft.net>
34843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34845 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34847         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34849 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34851         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34853 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34855         [BZ #14952]
34856         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34857         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34858         Use __attribute__ ((__gnu_inline__)).
34859         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34860         Don't use __attribute__ ((__gnu_inline__)).
34862 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34864         [BZ #15423]
34865         * math/s_catan.c (__catan): Handle small real or imaginary part of
34866         input specially to avoid spurious underflow.
34867         * math/s_catanf.c (__catanf): Likewise.
34868         * math/s_catanh.c (__catanh): Likewise.
34869         * math/s_catanhf.c (__catanhf): Likewise.
34870         * math/s_catanhl.c (__catanhl): Likewise.
34871         * math/s_catanl.c (__catanl): Likewise.
34872         * math/libm-test.inc (catan_test): Add more tests.
34873         (catanh_test): Likewise.
34874         * sysdeps/i386/fpu/libm-test-ulps: Update.
34875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34877 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34881 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34883         [BZ #15416]
34884         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34885         accurately for denominator in atan2.
34886         * math/s_catanf.c (__catanf): Likewise.
34887         * math/s_catanh.c (__catanh): Likewise.
34888         * math/s_catanhf.c (__catanhf): Likewise.
34889         * math/s_catanhl.c (__catanhl): Likewise.
34890         * math/s_catanl.c (__catanl): Likewise.
34891         * math/libm-test.inc (catan_test): Add more tests.
34892         (catanh_test): Likewise.
34893         * sysdeps/i386/fpu/libm-test-ulps: Update.
34894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34896 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34898         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34900         * benchtests/Makefile (bench): Remove slow benchmarks.
34901         * benchtests/atan-inputs: Add slow benchmark inputs.
34902         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34903         (BENCH_FUNC): Accept variant offset.
34904         (VARIANT): Define.
34905         * benchtests/bench-skeleton.c (main): Run benchmark for each
34906         variant.
34907         * benchtests/cos-inputs: Add slow benchmark inputs.
34908         * benchtests/exp-inputs: Likewise.
34909         * benchtests/pow-inputs: Likewise.
34910         * benchtests/sin-inputs: Likewise.
34911         * benchtests/slowatan-inputs: Remove.
34912         * benchtests/slowatan.c: Remove.
34913         * benchtests/slowcos-inputs: Remove.
34914         * benchtests/slowcos.c: Remove.
34915         * benchtests/slowexp-inputs: Remove.
34916         * benchtests/slowexp.c: Remove.
34917         * benchtests/slowpow-inputs: Remove.
34918         * benchtests/slowpow.c: Remove.
34919         * benchtests/slowsin-inputs: Remove.
34920         * benchtests/slowsin.c: Remove.
34921         * benchtests/slowtan-inputs: Remove.
34922         * benchtests/slowtan.c: Remove.
34923         * benchtests/tan-inputs: Add slow benchmark inputs.
34924         * scripts/bench.pl: Parse comments and directives.
34926         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34927         in CPPFLAGS.
34928         ($(objpfx)bench-%.c): Remove *-ITER.
34929         * benchtests/bench-modf.c: Remove definition of ITER.
34930         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34931         (main): Loop for DURATION seconds instead of fixed number of
34932         iterations.
34933         * scripts/bench.pl: Don't expect iterations in parameters.
34935 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34937         * io/fchdir.c (__fchdir): Renamed from fchdir.
34938         (fchdir): Define as weak alias.
34940 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34942         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34943         (ERRNO_EDOM): Likewise.
34944         (ERRNO_ERANGE): Likewise.
34945         (noErrnoTests): New variable.
34946         (init_max_error): Set errno to 0.
34947         (test_single_errno): New function.
34948         (test_errno): Likewise.
34949         (check_float_internal): Call test_errno.  Set errno to 0.
34950         (check_complex): Refer to errno tests in comment.
34951         (check_int): Call test_errno.  Set errno to 0.
34952         (check_long): Likewise.
34953         (check_bool): Likewise.
34954         (check_longlong): Likewise.
34955         (cos_test): Use ERRNO_* flags for errno tests instead of
34956         check_int.
34957         (expm1_test): Likewise.
34958         (fmod_test): Likewise.
34959         (ilogb_test): Likewise.
34960         (lgamma_test): Likewise.
34961         (pow_test): Likewise.
34962         (remainder_test): Likewise.
34963         (sin_test): Likewise.
34964         (tan_test): Likewise.
34965         (yn_test): Likewise.
34966         (initialize): Set errno to 0.
34967         (main): Print number of errno tests.
34968         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34970 2013-04-29  Andreas Jaeger  <aj@suse.de>
34972         [BZ #15084]
34973         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34974         and RES_USEVC.
34976         [BZ #15085]
34977         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34978         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34979         unimplemented.
34981         [BZ #15380]
34982         * stdlib/random.c (__initstate): Return NULL if
34983         __initstate fails.
34985         [BZ #15086]
34986         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34987         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34988         RES_SNGLKUPREOP.
34990 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34994 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34996         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34997         of individual tests.
34998         (casin_test): Likewise.
34999         (casinh_test): Likewise.
35001 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35003         [BZ #15409]
35004         * math/s_catan.c (__catan): Handle arguments with large real or
35005         imaginary part separately without squaring.
35006         * math/s_catanf.c (__catanf): Likewise.
35007         * math/s_catanh.c (__catanh): Likewise.
35008         * math/s_catanhf.c (__catanhf): Likewise.
35009         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35010         and redefine.
35011         (__catanhl): Handle arguments with large real or imaginary part
35012         separately without squaring.
35013         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35014         and redefine.
35015         (__catanl): Handle arguments with large real or imaginary part
35016         separately without squaring.
35017         * math/libm-test.inc (catan_test): Add more tests.
35018         (catanh_test): Likewise.
35019         * sysdeps/i386/fpu/libm-test-ulps: Update.
35020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35022 2013-04-27  Andreas Jaeger  <aj@suse.de>
35024         [BZ #15007]
35025         * stdlib/stdlib.h: Update guards for qecvt.
35026         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35027         <stdlib.h>.
35029 2013-04-27  Allan McRae  <allan@archlinux.org>
35031         * sysdeps/i386/fpu/libm-test-ulps: Update.
35033 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35035         [BZ #15406]
35036         * math/s_catan.c: Include <float.h>.
35037         (__catan): Ensure underflow exception occurs for underflowed
35038         result.
35039         * math/s_catanf.c: Include <float.h>.
35040         (__catanf): Ensure underflow exception occurs for underflowed
35041         result.
35042         * math/s_catanh.c: Include <float.h>.
35043         (__catanh): Ensure underflow exception occurs for underflowed
35044         result.
35045         * math/s_catanhf.c: Include <float.h>.
35046         (__catanhf): Ensure underflow exception occurs for underflowed
35047         result.
35048         * math/s_catanhl.c: Include <float.h>.
35049         (__catanhl): Ensure underflow exception occurs for underflowed
35050         result.
35051         * math/s_catanl.c: Include <float.h>.
35052         (__catanl): Ensure underflow exception occurs for underflowed
35053         result.
35054         * math/libm-test.inc (catan_test): Add more tests.
35055         (catanh_test): Likewise.
35057         [BZ #15405]
35058         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35059         underflowed result.
35060         * math/s_ccoshf.c (__ccoshf): Likewise.
35061         * math/s_ccoshl.c (__ccoshl): Likewise.
35062         * math/s_csin.c (__csin): Likewise.
35063         * math/s_csinf.c (__csinf): Likewise.
35064         * math/s_csinh.c (__csinh): Likewise.
35065         * math/s_csinhf.c (__csinhf): Likewise.
35066         * math/s_csinhl.c (__csinhl): Likewise.
35067         * math/s_csinl.c (__csinl): Likewise.
35068         * math/libm-test.inc (ccos_test): Add more tests.
35069         (ccosh_test): Likewise.
35070         (csin_test): Likewise.
35071         (csinh_test): Likewise.
35073 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35075         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35076         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35077         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35078         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35079         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35080         powerpc/power5+/fpu folders.
35081         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35084 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35088 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35090         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35091         additions to variable.
35092         [$(config-machine) = x86_64] (modules-names): Likewise.
35093         ($(objpfx)tst-audit3): Remove dependency.
35094         ($(objpfx)tst-audit3.out): Likewise.
35095         ($(objpfx)tst-audit4): Likewise.
35096         ($(objpfx)tst-audit4.out): Likewise.
35097         ($(objpfx)tst-audit5): Likewise.
35098         ($(objpfx)tst-audit5.out): Likewise.
35099         ($(objpfx)tst-audit6): Likewise.
35100         ($(objpfx)tst-audit6.out): Likewise.
35101         ($(objpfx)tst-audit7): Likewise.
35102         ($(objpfx)tst-audit7.out): Likewise.
35103         (tst-audit3-ENV): Remove variable.
35104         (tst-audit4-ENV): Likewise.
35105         (tst-audit5-ENV): Likewise.
35106         (tst-audit6-ENV): Likewise.
35107         (tst-audit7-ENV): Likewise.
35108         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35109         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35110         addition to variable.
35111         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35112         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35113         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35114         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35115         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35116         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35117         tst-audit3, tst-audit4 and tst-audit5.
35118         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35119         tst-audit6 and tst-audit7.
35120         [$(subdir) = elf] (modules-names): Add audit modules for those
35121         tests.
35122         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35123         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35124         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35125         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35126         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35127         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35128         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35129         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35130         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35131         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35132         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35133         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35134         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35135         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35136         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35137         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35138         Likewise.
35139         [$(subdir) = elf && $(config-cflags-avx) = yes]
35140         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35141         [$(subdir) = elf && $(config-cflags-avx) = yes]
35142         (CFLAGS-tst-auditmod4a.c): Likewise.
35143         [$(subdir) = elf && $(config-cflags-avx) = yes]
35144         (CFLAGS-tst-auditmod4b.c): Likewise.
35145         [$(subdir) = elf && $(config-cflags-avx) = yes]
35146         (CFLAGS-tst-auditmod6b.c): Likewise.
35147         [$(subdir) = elf && $(config-cflags-avx) = yes]
35148         (CFLAGS-tst-auditmod6c.c): Likewise.
35149         [$(subdir) = elf && $(config-cflags-avx) = yes]
35150         (CFLAGS-tst-auditmod7b.c): Likewise.
35151         * elf/tst-audit3.c: Move to ...
35152         * sysdeps/x86_64/tst-audit3.c: ... here.
35153         * elf/tst-audit4.c: Move to ...
35154         * sysdeps/x86_64/tst-audit4.c: ... here.
35155         * elf/tst-audit5.c: Move to ...
35156         * sysdeps/x86_64/tst-audit5.c: ... here.
35157         * elf/tst-audit6.c: Move to ...
35158         * sysdeps/x86_64/tst-audit6.c: ... here.
35159         * elf/tst-audit7.c: Move to ...
35160         * sysdeps/x86_64/tst-audit7.c: ... here.
35161         * elf/tst-auditmod3a.c: Move to ...
35162         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35163         * elf/tst-auditmod3b.c: Move to ...
35164         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35165         * elf/tst-auditmod4a.c: Move to ...
35166         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35167         * elf/tst-auditmod4b.c: Move to ...
35168         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35169         * elf/tst-auditmod5a.c: Move to ...
35170         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35171         * elf/tst-auditmod5b.c: Move to ...
35172         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35173         * elf/tst-auditmod6a.c: Move to ...
35174         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35175         * elf/tst-auditmod6b.c: Move to ...
35176         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35177         * elf/tst-auditmod6c.c: Move to ...
35178         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35179         * elf/tst-auditmod7a.c: Move to ...
35180         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35181         * elf/tst-auditmod7b.c: Move to ...
35182         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35184 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35186         [BZ #15366]
35187         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35188         define unconditionally.
35189         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35190         define unconditionally.
35191         (INT8_C, INT16_C, etc.): Likewise.
35193 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35195         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35196         __ehdr_start with hidden visibility.
35198         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35200 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35202         * math/libm-test.inc (cos_test): Use accurate hex constants.
35203         (sincost_test): Likewise.
35205 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35207         * math/libm-test.inc (catan_test): Add more tests.
35208         (catanh_test): Likewise.
35210         * math/s_catanf.c (__catanf): Use suffixed floating-point
35211         constants.
35212         * math/s_catanhf.c (__catanhf): Likewise.
35213         * math/s_catanhl.c (__catanhl): Likewise.
35214         * math/s_catanl.c (__catanl): Likewise.
35216         [BZ #15394]
35217         * math/s_catan.c (__catan): Calculate imaginary part of result
35218         with log1p not log unless computing log of number close to 0.
35219         * math/s_catanf.c (__catanf): Likewise.
35220         * math/s_catanl.c (__catanl): Likewise.
35221         * math/s_catanh.c (__catanh): Calculate real part of result with
35222         log1p not log unless computing log of number close to 0.
35223         * math/s_catanhf.c (__catanhf): Likewise.
35224         * math/s_catanhl.c (__catanhl): Likewise.
35225         * math/libm-test.inc (catan_test): Add more tests.
35226         (catanh_test): Likewise.
35227         * sysdeps/i386/fpu/libm-test-ulps: Update.
35228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35230 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35232         * benchtests/Makefile: Mention files in which fast and slow
35233         paths of math functions are implemented.
35235 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35237         * sysdeps/posix/timespec_get.c: New file.
35239 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35241         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35242         POWER.
35243         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35244         for POWER.
35245         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35246         powerpc/power5/fpu folders.
35247         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35248         * benchtests/Makefile: Add modf testcase.
35249         * benchtests/bench-modf.c: New file: Benchmark test for mo
35251 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35253         [BZ #14888]
35254         * time/Makefile (tests): Add tst-strptime-whitespace.
35255         * time/strptime_l.c (get_number): Use ISSPACE.
35256         (__strptime_internal): Likewise.
35257         * time/tst-strptime-whitespace.c: New test case.
35259 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35261         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35262         member.
35263         (_nss_files_init): Set it here.
35265 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35267         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35268         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35269         unsigned.
35271 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35273         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35275 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35277         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35278         size just once.
35280 2013-04-21  David S. Miller  <davem@davemloft.net>
35282         * po/ru.po: Update Russion translation from translation project.
35284 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35286         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35287         and setfsgid.
35289 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35291         * configure.in: Remove i386 configure warning. Remove i386 case.
35292         * configure: Regenerate.
35293         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35294         Add example to error message.
35295         * sysdeps/i386/configure: Regenerate.
35297 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35299         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35300         slowtan.
35301         * benchtests/cos-inputs: New file.
35302         * benchtests/slowcos-inputs: New file.
35303         * benchtests/slowcos.c: New file.
35304         * benchtests/slowtan-inputs: New file.
35305         * benchtests/slowtan.c: New file.
35306         * benchtests/tan-inputs: New file.
35308 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35310         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35311         considered kosher.
35313 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35315         * benchtests/Makefile: Include cppflags-iterator.mk to add
35316         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35318         * Makefile.in (bench-clean): New target.
35319         * benchtests/Makefile (bench-clean): Likewise.
35321 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35323         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35325 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35327         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35329 2013-04-15  Andreas Schwab  <schwab@suse.de>
35331         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35332         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35333         * nscd/pwdcache.c (cache_addpw): Likewise.
35334         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35335         more than recsize.
35337 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35339         * benchtests/Makefile (bench): Write all output to
35340         bench-out.tmp together.
35342 2013-04-15  Andreas Schwab  <schwab@suse.de>
35344         * nscd/nscd.c (main): Don't fork again after closing files.
35346 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35348         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35350         * benchtests/Rules (bench-deps): Collect dependencies into a
35351         single variable.  Add Makefile to dependencies.
35352         ($(objpfx)bench-%.c): Depend on bench-deps.
35354 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35355             Xavier Roche  <roche+kml2@exalead.com>
35357         [BZ #15361]
35358         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35359         just that it's a file descriptor.
35360         * manual/llio.texi (Synchronizing AIO Operations): Update description
35361         for EBADF error from aio_fsync.
35363 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35365         * Rules (bench): Move target definition...
35366         * benchtests/Makefile: ... here.
35368 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35370         * math/libm-test.inc (cos_test): Fix PI/2 test.
35371         (sincos_test): Likewise.
35372         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35373         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35375 2013-04-11  Andreas Schwab  <schwab@suse.de>
35377         [BZ #13988]
35378         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35379         accept exponent character only when digits were seen.
35380         * stdio-common/Makefile (tests): Add bug26.
35381         * stdio-common/bug26.c: New file.
35383         [BZ #14293]
35384         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35385         non-freeable.
35387 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35389         * Makeconfig (rtld-prefix): Define built linker prefix.
35390         * Rules (run-bench): Use it.
35391         * math/Makefile (run-regen-ulps): Likewise.
35393         * Rules (bench): Remove eval.
35395 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35396             Roland McGrath  <roland@hack.frob.com>
35397             Ondrej Bilka  <neleai@seznam.cz>
35399         [BZ #15346]
35400         * time/getdate.c: Include ctype.h and alloca.h.
35401         (__getdate_r): Trim leading and trailing spaces of input.
35402         * time/tst-getdate.c (tests): Add tests with leading and
35403         trailing spaces.
35405 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35407         [BZ #14280]
35408         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35409         when computing value.
35411 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35413         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35414         Use testrun.sh to run libm tests.
35416         [BZ #15309]
35417         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35419 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35421         [BZ #15264]
35422         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35424 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35426         * Makefile.in (regen-ulps): New target.
35427         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35428         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35429         [ifneq (no,$(PERL)] (regen-ulps): New target.
35430         [ifeq (no,$(PERL)] (regen-ulps): New target.
35431         * math/libm-test.inc (ulps_file_name): Define.
35432         (output_dir): New variable.
35433         (options): Add "output-dir" option.
35434         (parse_opt): Handle 'o' case.
35435         (main): If output_dir is non-NULL use it as a prefix
35436         otherwise use "".
35437         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35439 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35441         [BZ #10060, #10062]
35442         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35443         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35444         fail configure if __sync_val_compare_and_swap is not inlined.
35445         * sysdeps/i386/configure: Regenerate.
35446         * configure.in: Build for i686 when configured for i386.
35447         * configure: Regenerate.
35448         * README: Remove i386 reference.
35450 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35452         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35453         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35455 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35457         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35458         (lmsnanval): New variables.
35459         (F): Add conversion tests.
35460         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35461         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35463         * stdio-common/tstdiomisc.c (F): Properly collect individual
35464         tests' results.
35466         [BZ #14686, #15336]
35467         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35468         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35469         Instead, use input NaN values or generate a qNaN by arithmetic
35470         operation.  Also fix bugs to comply with the standard.
35471         * math/libm-test.inc (remainder_test): Add more tests.
35473         [BZ #15335, #15342]
35474         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35475         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35476         input NaN values or generate a qNaN by arithmetic operation.
35478         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35479         unreachable code.
35481         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35482         definitions.
35484 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35486         [BZ #14478]
35487         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35488         underflowed result.
35489         * math/s_cexpf.c (__cexpf): Likewise.
35490         * math/s_cexpl.c (__cexpl): Likewise.
35491         * math/libm-test.inc (cexp_test): Add more tests.
35493 2013-04-03  Andreas Schwab  <schwab@suse.de>
35495         [BZ #15330]
35496         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35497         order arrays from heap if bigger than alloca cutoff.
35499 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35501         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35502         (SNAN_TESTS_double): Refer to GCC PR56831.
35503         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35504         GCC PR56828.
35506 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35508         * Rules (bench): Move bench.out after the run is complete.
35510         * Rules (bench): Echo currently running benchmark.
35512         * benchtests/Makefile (bench): Add atan and slowatan.
35513         * benchtests/atan-inputs: New file.
35514         * benchtests/slowatan-inputs: New file.
35515         * benchtests/slowatan.c: New file.
35517         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35518         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35519         its value.
35521         [BZ #15305]
35522         * sysdeps/unix/sysv/linux/kernel-features.h
35523         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35524         __ASSUME_XFS_RESTRICTED_CHOWN.
35525         * sysdeps/unix/sysv/linux/pathconf.c
35526         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35527         Save and restore errno.
35529 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35531         [BZ #15327]
35532         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35533         arguments using __kernel_casinh.
35534         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35535         arguments using __kernel_casinhf.
35536         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35537         arguments using __kernel_casinhl.
35538         * math/libm-test.inc (cacosh_test): Add more tests.
35539         * sysdeps/i386/fpu/libm-test-ulps: Update.
35540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35542 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35544         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35545         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35547         * bench/Makefile (bench): Add sin and slowsin.
35548         * benchtests/sin-inputs: New file.
35549         * benchtests/slowsin-inputs: New file.
35550         * benchtests/slowsin.c: New file.
35552         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35553         (bench): Add slowexp and slowpow.
35554         (exp-ITER): Increase iterations.
35555         (pow-ITER): Likewise.
35556         * benchtests/exp-inputs: Change input.
35557         * benchtests/pow-inputs: Likewise.
35558         * benchtests/slowexp-inputs: New file.
35559         * benchtests/slowexp.c: New file.
35560         * benchtests/slowpow-inputs: New file.
35561         * benchtests/slowpow.c: New file.
35563 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35565         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35566         instructions.
35567         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35568         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35569         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35570         * benchtests/Makefile: Add rint benchtest.
35571         * benchtests/rint-inputs: Input for rint benchtest.
35573 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35575         * Versions.def (libm): Add GLIBC_2.18.
35576         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35577         hidden libm prototypes.
35578         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35579         * math/Makefile (libm-calls): Add s_issignaling.
35580         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35581         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35582         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35583         declaration.
35584         * math/math.h [__USE_GNU] (issignaling): New macro.
35585         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35586         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35587         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35588         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35589         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35590         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35591         * manual/arith.texi (issignaling): New section.
35592         * manual/libm-err-tab.pl (@all_functions): Update comment.
35593         * math/gen-libm-test.pl (parse_args): Apply special handling for
35594         issignaling.
35595         * math/libm-test.inc (print_float, issignaling_test): New
35596         functions.
35597         (check_float_internal): Add issignaling checks.
35598         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35599         default definition.
35600         * sysdeps/powerpc/math-tests.h: New file.
35601         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35602         tests.
35603         * math/test-snan.c (TEST_FUNC): Likewise.
35605 2013-03-30  David S. Miller  <davem@davemloft.net>
35607         * po/de.po: Update from translation team.
35609 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35611         [BZ #10357]
35612         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35613         imaginary part less than 1.0 and real part less than 0.5
35614         specially.
35615         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35616         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35617         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35618         (cacos_test): Add more tests.
35619         (casin_test): Likewise.
35620         (casinh_test): Likewise.
35621         * sysdeps/i386/fpu/libm-test-ulps: Update.
35622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35624 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35626         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35627         ONE with its value.
35629         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35630         (__pow_mp): Replace ONE and MONE with their values.
35631         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35632         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35633         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35634         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35635         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35636         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35638         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35640         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35641         (__pow_mp): Replace ZERO and MZERO with their values.
35642         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35643         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35644         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35645         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35646         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35647         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35648         (__sqr): Likewise.
35650         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35652         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35654 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35656         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35657         Declare with __attribute__ ((weak)).
35658         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35659         Call __call_tls_dtors only if it's not NULL.
35661 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35663         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35664         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35665         magic __ehdr_start linker symbol if it's defined.
35666         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35667         them up here if it was already done.
35669         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35670         (_dl_aux_init): Use const in cast when setting it.
35671         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35672         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35673         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35675         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35676         Declare them here.
35677         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35678         * csu/libc-tls.c: Nor here.
35679         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35681         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35682         (__libc_message): Never call vsyslog.
35684 2013-03-28  Alan Modra  <amodra@gmail.com>
35686         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35687         Define as empty.
35688         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35689         Likewise.
35691 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35693         [BZ #15214]
35694         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35695         underflow.
35696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35698 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35700         [BZ #15304]
35701         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35702         Don't add gid passed as argument.
35704         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35706 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35708         [BZ #15307]
35709         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35710         imaginary part between 1.0 and 1.5 and real part less than 0.5
35711         specially.
35712         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35713         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35714         * math/libm-test.inc (cacos_test): Add more tests.
35715         (casin_test): Likewise.
35716         (casinh_test): Likewise.
35717         * sysdeps/i386/fpu/libm-test-ulps: Update.
35718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35720 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35722         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35723         constants.
35724         (norm): Likewise.
35725         (denorm): Likewise.
35726         (__dbl_mp): Likewise.
35727         (add_magnitudes): Likewise.
35728         (sub_magnitudes): Likewise.
35729         (__add): Likewise.
35730         (__sub): Likewise.
35731         (__mul): Likewise.
35732         (__sqr): Likewise.
35733         (__inv): Likewise.
35734         (__dvd): Likewise.
35736         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35737         commented code.
35738         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35739         (__dubcos): Likewise.
35740         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35741         (__ieee754_acos): Likewise.
35742         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35743         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35744         (__exp1): Likewise.
35745         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35746         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35747         (log1): Likewise.
35748         (my_log2): Likewise.
35749         (checkint): Likewise.
35750         * sysdeps/ieee754/dbl-64/e_remainder.c
35751         (__ieee754_remainder): Likewise.
35752         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35753         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35754         (bsloww): Likewise.
35755         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35757         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35758         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35759         MANTISSA_STORE_T to store computations on mantissa.  Use
35760         macros for rounding and division.
35761         (denorm): Likewise.
35762         (__dbl_mp): Likewise.
35763         (add_magnitudes): Likewise.
35764         (sub_magnitudes): Likewise.
35765         (__mul): Likewise.
35766         (__sqr): Likewise.
35767         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35768         powers of two in terms of TWOPOW macro.
35769         (mp_no): Make type of mantissa as MANTISSA_T.
35770         [!RADIXI]: Define RADIXI.
35771         [!TWO52]: Define TWO52.
35772         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35774 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35776         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35777         llroundl symbol when building for PPC32.
35779 2013-03-24  Mark H Weaver  <mhw@netris.org>
35781         * manual/arith.texi (Normalization Functions): Fix prototypes for
35782         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35784 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35786         [BZ #13889]
35787         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35788         high value to check if expl overflow.
35789         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35790         to check for underflow and overflow.
35791         * math/libm-test.inc: Add exp test.
35793 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35795         [BZ #11120]
35796         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35797         with NOT_IN_libc.
35799 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35801         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35802         symbol.
35804 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35806         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35807         wrap blocks consisting of several statements.
35809         * sysdeps/generic/math-tests.h: New file.
35810         * sysdeps/i386/fpu/math-tests.h: Likewise.
35811         * math/test-snan.c: Include it.
35812         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35814 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35816         [BZ #15285]
35817         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35818         (__ieee754_j0l): Do not improve calculations using cos of twice
35819         input for inputs above LDBL_MAX / 2.0L.
35820         (__ieee754_y0l): Likewise.
35821         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35822         (__ieee754_j1l): Do not improve calculations using cos of twice
35823         input for inputs above LDBL_MAX / 2.0L.
35824         (__ieee754_y1l): Likewise.
35825         * math/libm-test.inc (j0_test): Add another test.
35826         (j1_test): Likewise.
35827         (y0_test): Likewise.
35828         (y1_test): Likewise.
35829         * sysdeps/i386/fpu/libm-test-ulps: Update.
35831 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35833         * Rules ($(objpfx)bench-%.c): Include code from a C source
35834         file.
35836 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35838         [BZ #15287]
35839         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35840         imaginary part 1.0 and real part less than 0.5 specially.
35841         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35842         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35843         * math/libm-test.inc (cacos_test): Add more tests.
35844         (casin_test): Likewise.
35845         (casinh_test): Likewise.
35846         * sysdeps/i386/fpu/libm-test-ulps: Update.
35847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35849 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35851         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35852         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35854 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35856         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35857         * config.make.in (config-cflags-sse4): Remove variable.
35858         (config-cflags-avx): Likewise.
35859         (config-cflags-sse2avx): Likewise.
35860         (config-cflags-novzeroupper): Likewise.
35861         (config-asflags-i686): Likewise.
35862         (have-mfma4): Likewise.
35863         (have-as-vis3): Likewise.
35864         (MIG): Likewise.
35865         * configure.in (MIG): Do not AC_SUBST.
35866         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35867         (libc_cv_cc_sse4): Do not AC_SUBST.
35868         (libc_cv_cc_avx): Likewise.
35869         (libc_cv_cc_sse2avx): Likewise.
35870         (libc_cv_cc_novzeroupper): Likewise.
35871         (libc_cv_cc_fma4): Likewise.
35872         (libc_cv_as_i686): Likewise.
35873         (libc_cv_sparc_as_vis3): Likewise.
35874         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35875         LIBC_CONFIG_VAR.
35876         (config-asflags-i686): Likewise.
35877         (config-cflags-avx): Likewise.
35878         (config-cflags-sse2avx): Likewise.
35879         (have-mfma4): Likewise.
35880         (config-cflags-novzeroupper): Likewise.
35881         * sysdeps/mach/configure.in (MIG): Likewise.
35882         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35883         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35884         LIBC_CONFIG_VAR.
35885         (config-cflags-avx): Likewise.
35886         (config-cflags-sse2avx): Likewise.
35887         (have-mfma4): Likewise.
35888         (config-cflags-novzeroupper): Likewise.
35889         * configure: Regenerated.
35890         * sysdeps/i386/configure: Likewise.
35891         * sysdeps/mach/configure: Likewise.
35892         * sysdeps/sparc/configure: Likewise.
35893         * sysdeps/x86_64/configure: Likewise.
35895 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35897         [BZ #14812]
35898         * locale/programs/localedef.c (options): Put N_ translation marker
35899         on argument names, not just descriptions.
35901 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35903         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35905 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35907         [BZ #14176]
35908         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35910 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35912         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35913         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35914         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35915         [!BEFORE_ABORT] (before_abort): New function.
35916         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35917         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35918         (writev_for_fatal): New function.
35919         (WRITEV_FOR_FATAL): New macro; call that.
35920         (backtrace_and_maps): New function.
35921         (BEFORE_ABORT): New macro; call that.
35922         (struct str_list): Type removed.
35923         (__libc_message, __libc_fatal): Functions removed.
35924         Include <sysdeps/posix/libc_fatal.c> instead.
35926 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35928         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35929         constants.
35930         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35931         double constants.
35933 2013-03-19  Andreas Schwab  <schwab@suse.de>
35935         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35936         * sysdeps/gnu/configure: Regenerate.
35938         * configure.in: Substitute libc_cv_rtlddir.
35939         * configure: Regenerate.
35940         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35941         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35942         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35943         * elf/Makefile (install-others, CFLAGS-interp.c)
35944         (ldso_install, common-ldd-rewrite): Likewise.
35945         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35946         $(inst_slibdir)/$(rtld-installed-name).
35947         * scripts/rellns-sh: Add -p option.
35948         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35949         for source.
35951 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35953         * manual/nptl.texi: Renamed to ...
35954         * manual/threads.texi: ... this.
35955         * manual/Makefile (chapters): Update.
35957 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35959         [BZ #14812]
35960         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35961         on argument names, not just descriptions.
35962         * malloc/memusagestat.c (options): Likewise.
35963         * nss/getent.c (options): Likewise.
35965 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35967         [BZ #14812]
35968         * iconv/iconv_prog.c (options): Put N_ translation marker
35969         on argument names, not just descriptions.
35970         * iconv/iconvconfig.c (options): Likewise.
35972 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35974         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35975         implementation which is faster on all x86_64 architectures.
35976         Tested on AMD, Intel Nehalem, SNB, IVB.
35977         * sysdeps/x86_64/strnlen.S: Likewise.
35979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35980         Remove all multiarch strlen and strnlen versions.
35981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35982         Remove strlen and strnlen related parts.
35984         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35985         Inline strlen part.
35986         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35988         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35989         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35990         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35991         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35992         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35993         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35995 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35997         * manual/memory.texi (Malloc Tunable Parameters):
35998         Sort parameters alphabetically. Add comments for missing entries.
36000 2013-03-17  David S. Miller  <davem@davemloft.net>
36002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36004 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36006         [BZ #15283]
36007         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36008         for arguments at most half maximum finite value.
36009         * math/libm-test.inc (j0_test): Add more tests.
36010         (j1_test): Likewise.
36011         (y0_test): Likewise.
36012         (y1_test): Likewise.
36013         * sysdeps/i386/fpu/libm-test-ulps: Update.
36014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36016         [BZ #14155]
36017         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36018         1 / x and functions P and Q for arguments above 0x1p256L.
36019         (__ieee754_y0l): Likewise.
36020         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36021         (__ieee754_y1l): Likewise.
36022         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36023         (j1_test): Likewise.
36024         (y0_test): Likewise.
36025         (y1_test): Likewise.
36027 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36029         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36030         variable.
36032 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36034         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36035         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36036         zero since it's initialized to EXEC_PAGESIZE.
36038         * sysdeps/unix/sysv/linux/ldsodefs.h
36039         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36040         * sysdeps/generic/ldsodefs.h: ... here.
36042 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36044         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36046         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36047         math/test-snan.c.
36048         * math/test-snan.c: Renamed from
36049         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36050         * math/Makefile (tests): Add test-snan.
36051         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36052         test-powerpc-snan.
36054         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36055         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36056         functions.
36057         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36058         __builtin_nan family of functions.
36059         * math/libm-test.inc (initialize): Initialize qnan_value with
36060         __builtin_nan family of functions.
36061         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36062         Remove variables.
36063         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36064         Remove functions.
36065         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36066         storage class.  Initialize qNaN_var and sNaN_var with
36067         __builtin_nan and __builtin_nans families of functions,
36068         respectively.
36070         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36071         (sqrt_test): Remove duplicate test with qNaN input.
36072         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36073         (round_test, signbit_test, significand_test): Note missing +/-Inf
36074         as well as qNaN tests.
36076         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36077         qNaN_var.  Fix a few strings, too.
36078         * math/libm-test.inc (nan_value): Rename to qnan_value.
36079         * math/gen-libm-test.pl (%beautify): Adjust to that.
36080         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36081         * math/test-misc.c (main): Likewise.
36082         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36083         to __qnan_bytes, and __qnan_union, respectively.
36084         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36085         Likewise.
36086         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36087         and lqnanval, respectively.
36088         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36089         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36090         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36091         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36093         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36094         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36095         doubles.
36097         * math/test-misc.c (main): Fix copy'n'pastos.
36098         * misc/tst-efgcvt.c (special): Likewise.
36100         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36101         Remove declarations.
36103 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36105         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36106         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36107         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36108         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36110 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36112         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36113         macro to return vdso values correctly in IFUNC implementations.
36114         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36115         Optimization by using IFUNC.
36117 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36118             Richard Henderson  <rth@redhat.com>
36119             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36121         * Makefile.in (bench): New target.
36122         * NEWS: Mention the benchmark framework.
36123         * Rules (bench): Likewise.
36124         (binaries-bench): Generate binaries for functions to
36125         benchmark.
36126         * benchtests/Makefile: New makefile for benchmark tests.
36127         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36128         programs.
36129         * benchtests/exp-inputs: New input file for EXP function.
36130         * benchtests/pow-inputs: New input file for POW function.
36131         * scripts/bench.pl: New script to generate source files for
36132         benchmark programs.
36134 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36136         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36137         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36138         computations on mantissa.  Use macros for rounding and
36139         division.
36140         (denorm): Likewise.
36141         (__dbl_mp): Likewise.
36142         (add_magnitudes): Likewise.
36143         (sub_magnitudes): Likewise.
36144         (__mul): Likewise.
36145         (__sqr): Likewise.
36146         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36147         powers of two in terms of TWOPOW macro.
36148         (mp_no): Make type of mantissa as MANTISSA_T.
36149         [!RADIXI]: Define RADIXI.
36150         [!TWO52]: Define TWO52.
36151         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36153         * manual/nptl.texi (cindex): Modify threads to pthreads.
36155 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36157         * sysdeps/x86_64/preconfigure: Regenerated.
36159 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36161         [BZ #14155]
36162         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36163         0x1p28 and above.
36164         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36165         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36166         0x1p28 and above.
36167         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36168         * math/libm-test.inc (j0_test): Do not allow one spurious
36169         underflow exception.
36170         (y1_test): Likewise.
36172 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36174         * manual/Makefile (chapters): Add nptl.
36175         * manual/debug.texi (Debugging Support): Add link to Threads
36176         chapter.
36177         * manual/nptl.texi: New file.
36179         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36181 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36183         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36184         for non-NULL pointer before the memory validity test. Pointed
36185         out by Holger Brunck <holger.brunck@keymile.com>.
36187 2013-03-13  Andreas Schwab  <schwab@suse.de>
36189         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36190         instead of .os.
36192 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36194         * timezone/zic.c: Update from tzcode 2013b.
36196 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36198         * manual/install.texi (Configuring and compiling):
36199         Mention i686 and i586.
36200         * INSTALL: Regenerate.
36202 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36204         * sysdeps/init_array/elf-init.c: New file.
36205         * csu/elf-init.c
36206         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36207         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36209         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36210         __gmon_start__ as global, but as static with a .preinit_array pointer.
36211         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36212         * sysdeps/init_array/crti.S: New file, empty except for comments.
36213         * sysdeps/init_array/crtn.S: Likewise.
36215 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36217         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36218         definining bcopy.
36219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36220         Remove Prefer_SSE_for_memop.
36221         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36222         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36223         HAS_PREFER_SSE_FOR_MEMOP.
36224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36225         memset-x86-64.
36226         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36227         Remove bzero, memset ifunc support.
36228         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36229         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36230         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36231         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36233 2013-03-11  Andreas Schwab  <schwab@suse.de>
36235         [BZ #15234]
36236         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36237         by SHLIB_COMPAT.
36238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36239         (GLIBC_2.16): Remove pthread_atfork.
36241 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36243         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36244         (ptestcases.h): Likewise.
36246 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36248         * Makeconfig ($(common-objpfx)config.status): Depend on
36249         sysdeps/*/preconfigure{,.in} too.
36251 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36253         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36254         (__free_hook): Use void * instead of __malloc_ptr_t.
36255         (__malloc_hook): Likewise.
36256         (__realloc_hook): Likewise.
36257         (__memalign_hook): Likewise.
36258         (__after_morecore_hook): Likewise.
36259         * malloc/arena.c (save_malloc_hook): Likewise.
36260         (save_free_hook): Likewise.
36261         * malloc/hooks.c (malloc_hook_ini): Likewise.
36262         (realloc_hook_ini): Likewise.
36263         (memalign_hook_ini): Likewise.
36264         * malloc/malloc.c (malloc_hook_ini): Likewise.
36265         (realloc_hook_ini): Likewise.
36266         (memalign_hook_ini): Likewise.
36267         (__free_hook): Likewise.
36268         (__malloc_hook): Likewise.
36269         (__realloc_hook): Likewise.
36270         (__memalign_hook): Likewise.
36271         (__libc_malloc): Likewise.
36272         (__libc_free): Likewise.
36273         (__libc_realloc): Likewise.
36274         (__libc_memalign): Likewise.
36275         (__libc_valloc): Likewise.
36276         (__libc_pvalloc): Likewise.
36277         (__libc_calloc): Likewise.
36278         (__posix_memalign): Likewise.
36279         * malloc/morecore.c (__sbrk): Likewise.
36280         (__default_morecore): Likewise.
36282         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36284         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36285         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36286         __malloc_ptrdiff_t.
36288         * malloc/malloc.h (__malloc_size_t): Remove macro.
36289         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36290         __malloc_size_t.
36291         (old_memalign_hook): Likewise.
36292         (old_realloc_hook): Likewise.
36293         (struct hdr): Likewise.
36294         (flood): Likewise.
36295         (mallochook): Likewise.
36296         (memalignhook): Likewise.
36297         (reallochook): Likewise.
36298         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36299         (tr_old_realloc_hook): Likewise.
36300         (tr_old_memalign_hook): Likewise.
36301         (tr_mallochook): Likewise.
36302         (tr_reallochook): Likewise.
36303         (tr_memalignhook): Likewise.
36305 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36307         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36308         default_ldbl_pack and using as default implementation.
36309         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36310         implementation.
36311         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36312         redundant definition.
36313         (ldbl_insert_mantissa): Likewise.
36314         (ldbl_canonicalize): Likewise.
36315         (ldbl_nearbyint): Likewise.
36316         (ldbl_pack): Rename to ldbl_pack_ppc.
36317         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36318         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36319         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36321 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36324         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36325         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36326         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36328         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36329         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36330         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36332 2013-03-07  Andreas Jaeger  <aj@suse.de>
36334         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36335         bits/mman-linux.h.
36337 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36339         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36340         Include mpa.h and declare __MPEXP.
36341         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36342         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36343         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36344         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36345         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36346         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36347         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36349         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36350         (__slowpow): Use long double EXPL and LOGL functions to
36351         compute POW.
36352         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36353         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36354         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36355         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36356         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36357         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36360         intermediate variable to calculate exponent.
36361         (__sqr): Likewise.
36362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36363         Likewise.
36364         (__sqr): Likewise.
36366         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36367         [!NO__SQR]: Define __sqr.
36368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36369         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36370         sysdeps/ieee754/dbl-64/mpa.c.
36371         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36373         [BZ #12723]
36374         * posix/Makefile (tests): Add tst-pathconf.
36375         * posix/tst-pathconf.c: New test case.
36376         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36377         _PC_PIPE_BUF.
36378         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36380 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36382         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36384 2013-03-06  Andreas Jaeger  <aj@suse.de>
36386         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36387         definition via __MAP_ANONYMOUS.
36389         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36390         it's not part of Linux headers.
36392         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36393         (MAP_HUGE_MASK): Define.
36395         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36396         Define.
36397         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36398         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36399         Define.
36400         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36401         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36402         Define.
36403         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36404         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36405         Define.
36406         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36408         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36409         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36410         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36411         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36412         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36413         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36415         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36416         Handle f2fs.
36418         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36419         Handle f2fs and efivarfs.
36421         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36422         f2fs.
36424         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36425         (EFIVARFS_MAGIC): Add.
36426         (F2FS_LINK_MAX): Add.
36428 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36430         * stdio-common/vfprintf.c: Replace __builtin_expect with
36431         __glibc_unlikely.
36433 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36435         [BZ #13550]
36436         * sysdeps/generic/bp-sym.h: Remove file.
36437         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36438         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36439         <bp-sym.h> and <bp-asm.h>.
36440         (__longjmp): Don't use BP_SYM.
36441         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36442         and <bp-asm.h>.
36443         (memcpy): Don't use BP_SYM.
36444         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36445         <bp-sym.h> and <bp-asm.h>.
36446         (memcpy): Don't use BP_SYM.
36447         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36448         <bp-asm.h>.
36449         (memcpy): Don't use BP_SYM.
36450         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36451         <bp-asm.h>.
36452         (memset): Don't use BP_SYM.
36453         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36454         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36455         (__bzero): Don't use BP_SYM.
36456         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36457         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36458         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36459         <bp-sym.h> and <bp-asm.h>.
36460         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36461         pointers.
36462         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36463         <bp-sym.h> and <bp-asm.h>.
36464         (memcpy): Don't use BP_SYM.
36465         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36466         <bp-sym.h> and <bp-asm.h>.
36467         (memset): Don't use BP_SYM.
36468         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36469         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36470         (__bzero): Don't use BP_SYM.
36471         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36472         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36473         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36474         <bp-sym.h> and <bp-asm.h>.
36475         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36476         pointers.
36477         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36478         <bp-sym.h> and <bp-asm.h>.
36479         (memcpy): Don't use BP_SYM.
36480         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36481         <bp-sym.h> and <bp-asm.h>.
36482         (memset): Don't use BP_SYM.
36483         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36484         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36485         (__bzero): Don't use BP_SYM.
36486         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36487         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36488         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36489         <bp-sym.h> and <bp-asm.h>.
36490         (__memchr): Don't use BP_SYM.
36491         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36492         <bp-sym.h> and <bp-asm.h>.
36493         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36494         pointers.
36495         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36496         <bp-sym.h> and <bp-asm.h>.
36497         (memcpy): Don't use BP_SYM.
36498         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36499         <bp-sym.h> and <bp-asm.h>.
36500         (__mempcpy): Don't use BP_SYM.
36501         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36502         <bp-sym.h> and <bp-asm.h>.
36503         (__memrchr): Don't use BP_SYM.
36504         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36505         <bp-sym.h> and <bp-asm.h>.
36506         (memset): Don't use BP_SYM.
36507         (__bzero): Likewise.
36508         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36509         <bp-sym.h> and <bp-asm.h>.
36510         (__rawmemchr): Don't use BP_SYM.
36511         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36512         <bp-sym.h> and <bp-asm.h>.
36513         (__STRCMP): Don't use BP_SYM.
36514         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36515         <bp-sym.h> and <bp-asm.h>.
36516         (strchr): Don't use BP_SYM.
36517         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36518         <bp-sym.h> and <bp-asm.h>.
36519         (__strchrnul): Don't use BP_SYM.
36520         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36521         <bp-sym.h> and <bp-asm.h>.
36522         (strlen): Don't use BP_SYM.
36523         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36524         <bp-sym.h> and <bp-asm.h>.
36525         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36526         pointers.
36527         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36528         <bp-sym.h> and <bp-asm.h>.
36529         (__strnlen): Don't use BP_SYM.
36530         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36531         <bp-sym.h> and <bp-asm.h>.
36532         (__GI__setjmp): Don't use BP_SYM.
36533         (_setjmp): Likewise.
36534         (__sigsetjmp): Likewise.
36535         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36536         (L(start_addresses)): Don't use BP_SYM.
36537         (_start): Likewise.
36538         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36539         <bp-asm.h>.
36540         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36541         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36542         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36543         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36544         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36545         <bp-asm.h>.
36546         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36547         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36548         about bounded pointers.
36549         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36550         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36551         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36552         <bp-asm.h>.
36553         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36554         about bounded pointers.  Remove GKM FIXME comments.
36555         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36556         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36557         <bp-asm.h>.
36558         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36559         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36560         Remove GKM FIXME comments.
36561         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36562         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36563         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36564         <bp-asm.h>.
36565         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36566         about bounded pointers.  Remove GKM FIXME comment.
36567         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36568         and <bp-asm.h>.
36569         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36570         pointers.
36571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36572         <bp-sym.h> and <bp-asm.h>.
36573         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36575         <bp-sym.h> and <bp-asm.h>.
36576         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36577         comment.
36579 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36581         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36582         call free(NULL).
36584 2013-03-05  David S. Miller  <davem@davemloft.net>
36586         * po/es.po: Update from translation team.
36588 2013-03-05  Andreas Jaeger  <aj@suse.de>
36590         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36591         <bits/mman-linux.h>.
36592         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36593         is fine.
36594         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36595         <bits/mman-linux.h> to end of file.
36596         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36597         is fine.
36598         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36599         <bits/mman-linux.h> to end of file.
36600         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36601         is fine.
36602         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36603         <bits/mman-linux.h> to end of file.
36605         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36606         (MCL_CURRENT, MCL_FUTURE): Define here.
36608 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36610         [BZ #15232]
36611         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36612         attribute_hidden.
36613         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36615 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36617         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36618         fourth parameter needed for rt_sigprocmask syscall.
36619         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36620         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36621         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36622         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36623         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36624         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36626 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36628         [BZ #13550]
36629         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36630         comment about bounded pointers.
36631         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36632         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36634 2013-03-04  Andreas Jaeger  <aj@suse.de>
36636         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36637         common definitions.
36639         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36640         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36641         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36642         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36643         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36644         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36646 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36648         [BZ #15055]
36649         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36650         __ieee754_sqrl instead of __sqrl.
36652 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36654         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36655         * sysdeps/powerpc/fpu_control.h: ... here.
36656         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36657         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36658         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36659         * sysdeps/powerpc/bits/mathinline.h: ... here.
36661 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36663         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36664         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36665         to just [NEED_DL_SYSINFO_DSO].
36666         * elf/dl-support.c: Likewise.
36667         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36668         * elf/rtld.c (dl_main): Likewise.
36669         * elf/setup-vdso.h (setup_vdso): Likewise.
36670         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36671         * sysdeps/unix/sysv/linux/dl-sysdep.c
36672         (_dl_discover_osversion): Likewise.
36674 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36676         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36677         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36679 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36681         * NEWS: Mention libm performance improvements and non-x86 PI
36682         futex support.
36684         * csu/libc-start.c (__pthread_initialize_minimal): Change
36685         function arguments.
36686         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36688 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36690         [BZ #13550]
36691         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36692         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36693         <bp-sym.h> and <bp-asm.h>.
36694         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36695         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36696         and <bp-asm.h>.
36697         (memcpy): Don't use BP_SYM.
36698         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36699         <bp-asm.h>.
36700         (__mpn_add_n): Don't use BP_SYM.
36701         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36702         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36703         and <bp-asm.h>.
36704         (__mpn_addmul_1): Don't use BP_SYM.
36705         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36706         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36707         <bp-sym.h>.
36708         (_setjmp): Don't use BP_SYM.
36709         (__novmx_setjmp): Likewise.
36710         (__GI__setjmp): Likewise.
36711         (__vmx_setjmp): Likewise.
36712         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36713         <bp-sym.h>.
36714         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36715         (__bzero): Don't use BP_SYM.
36716         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36717         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36718         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36719         <bp-sym.h> and <bp-asm.h>.
36720         (memcpy): Don't use BP_SYM.
36721         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36722         <bp-sym.h> and <bp-asm.h>.
36723         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36724         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36725         <bp-sym.h> and <bp-asm.h>.
36726         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36727         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36728         <bp-asm.h>.
36729         (__mpn_lshift): Don't use BP_SYM.
36730         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36731         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36732         <bp-asm.h>.
36733         (memset): Don't use BP_SYM.
36734         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36735         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36736         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36737         <bp-asm.h>.
36738         (__mpn_mul_1): Don't use BP_SYM.
36739         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36740         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36741         <bp-sym.h> and <bp-asm.h>.
36742         (memcmp): Don't use BP_SYM.
36743         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36744         <bp-sym.h> and <bp-asm.h>.
36745         (memcpy): Don't use BP_SYM.
36746         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36747         <bp-sym.h> and <bp-asm.h>.
36748         (memset): Don't use BP_SYM.
36749         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36750         <bp-sym.h> and <bp-asm.h>.
36751         (strncmp): Don't use BP_SYM.
36752         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36753         <bp-sym.h> and <bp-asm.h>.
36754         (memcpy): Don't use BP_SYM.
36755         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36756         <bp-sym.h> and <bp-asm.h>.
36757         (memset): Don't use BP_SYM.
36758         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36759         <bp-sym.h> and <bp-asm.h>.
36760         (__memchr): Don't use BP_SYM.
36761         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36762         <bp-sym.h> and <bp-asm.h>.
36763         (memcmp): Don't use BP_SYM.
36764         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36765         <bp-sym.h> and <bp-asm.h>.
36766         (memcpy): Don't use BP_SYM.
36767         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36768         <bp-sym.h> and <bp-asm.h>.
36769         (__mempcpy): Don't use BP_SYM.
36770         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36771         <bp-sym.h> and <bp-asm.h>.
36772         (__memrchr): Don't use BP_SYM.
36773         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36774         <bp-sym.h> and <bp-asm.h>.
36775         (memset): Don't use BP_SYM.
36776         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36777         <bp-sym.h> and <bp-asm.h>.
36778         (__rawmemchr): Don't use BP_SYM.
36779         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36780         <bp-sym.h> and <bp-asm.h>.
36781         (__STRCMP): Don't use BP_SYM.
36782         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36783         <bp-sym.h> and <bp-asm.h>.
36784         (strchr): Don't use BP_SYM.
36785         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36786         <bp-sym.h> and <bp-asm.h>.
36787         (__strchrnul): Don't use BP_SYM.
36788         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36789         <bp-sym.h> and <bp-asm.h>.
36790         (strlen): Don't use BP_SYM.
36791         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36792         <bp-sym.h> and <bp-asm.h>.
36793         (strncmp): Don't use BP_SYM.
36794         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36795         <bp-sym.h> and <bp-asm.h>.
36796         (__strnlen): Don't use BP_SYM.
36797         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36798         <bp-asm.h>.
36799         (__mpn_rshift): Don't use BP_SYM.
36800         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36801         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36802         <bp-sym.h> and <bp-asm.h>.
36803         (__sigsetjmp): Don't use BP_SYM.
36804         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36805         (L(start_addresses)): Don't use BP_SYM.
36806         (_start): Likewise.
36807         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36808         <bp-asm.h>.
36809         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36810         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36811         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36812         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36813         <bp-asm.h>.
36814         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36815         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36816         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36817         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36818         <bp-asm.h>.
36819         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36820         comments.
36821         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36822         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36823         <bp-asm.h>.
36824         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36825         FIXME comments.
36826         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36827         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36828         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36829         <bp-asm.h>.
36830         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36831         comment.
36832         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36833         and <bp-asm.h>.
36834         (strncmp): Don't use BP_SYM,
36835         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36836         <bp-asm.h>.
36837         (__mpn_sub_n): Don't use BP_SYM.
36838         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36839         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36840         and <bp-asm.h>.
36841         (__mpn_submul_1): Don't use BP_SYM.
36842         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36844         <bp-sym.h> and <bp-asm.h>.
36845         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36847         <bp-sym.h> and <bp-asm.h>.
36848         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36849         comment.
36851 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36854         Use ZK to minimize writes to Z.
36855         (sub_magnitudes): Simplify code a bit.
36856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36857         Use ZK to minimize writes to Z.
36858         (sub_magnitudes): Simplify code a bit.
36860 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36862         * csu/gmon-start.c: Add special exception to license text.
36864 2013-02-27  Richard Henderson  <rth@redhat.com>
36866         * scripts/config.guess: Update from config.git.
36867         * scripts/config.sub: Likewise.
36869 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36871         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36873         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36875         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36877         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36879         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36881 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36883         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36884         [$(build-shared = yes].
36886 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36888         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36889         (__mul): Reduce iterations for calculating mantissa.
36891         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36892         MPTWO.
36893         (__mpranred): Likewise.
36895         [BZ #15160]
36896         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36897         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36899 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36901         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36902         Define __attribute__.
36904 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36906         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36907         unused.
36908         * posix/regex_internal.h (__attribute): Remove.
36909         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36910         (re_string_context_at): Likewise.
36911         (bitset_not): Use __attribute__ and mark function as possibly
36912         unused.
36913         (bitset_merge): Likewise.
36914         (bitset_mask): Likewise.
36915         (re_string_char_size_at): Likewise.
36916         (re_string_wchar_at): Likewise.
36917         (re_string_elem_size_at): Likewise.
36919 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36921         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36922         code.
36923         (cc32): Likewise.
36925         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36926         (__acr): Likewise.
36927         (__cpy): Likewise.
36928         (norm): Likewise.
36929         (denorm): Likewise.
36930         (__dbl_mp): Likewise.
36931         (add_magnitudes): Likewise.
36932         (sub_magnitudes): Likewise.
36933         (__mul): Likewise.
36934         (__inv): Likewise.
36936         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36937         style.
36939         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36940         style.
36942         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36943         code.
36945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36946         up changes with default code.
36947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36948         Likewise.
36950 2013-02-24  Allan McRae  <allan@archlinux.org>
36952         * manual/socket.texi (The Internet Namespace): Order menu items
36953         to match that in the file.
36955         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36956         node listing of the info page menu.
36958 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36960         [BZ #13550]
36961         * sysdeps/i386/bp-asm.h: Remove file.
36962         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36963         (PARMS): Do not use macros from bp-asm.h.
36964         (S1): Likewise.
36965         (S2): Likewise.
36966         (SIZE): Likewise.
36967         (__mpn_add_n): Do not use BP_SYM
36968         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36969         "bp-asm.h".
36970         (PARMS): Do not use macros from bp-asm.h.
36971         (S1): Likewise.
36972         (SIZE): Likewise.
36973         (__mpn_addmul_1): Do not use BP_SYM
36974         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36975         "bp-asm.h".
36976         (PARMS): Do not use macros from bp-asm.h.
36977         (SIGMSK): Likewise.
36978         (_setjmp): Likewise.  Do not use BP_SYM.
36979         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36980         "bp-asm.h".
36981         (PARMS): Do not use macros from bp-asm.h.
36982         (SIGMSK): Likewise.
36983         (setjmp): Likewise.  Do not use BP_SYM.
36984         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36985         "bp-asm.h".
36986         (PARMS): Do not use macros from bp-asm.h.
36987         (__frexp): Do not use BP_SYM.
36988         (frexp): Likewise.
36989         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36990         "bp-asm.h".
36991         (PARMS): Do not use macros from bp-asm.h.
36992         (__frexpf): Do not use BP_SYM.
36993         (frexpf): Likewise.
36994         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36995         "bp-asm.h".
36996         (PARMS): Do not use macros from bp-asm.h.
36997         (__frexpl): Do not use BP_SYM.
36998         (frexpl): Likewise.
36999         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37000         "bp-asm.h".
37001         (PARMS): Do not use macros from bp-asm.h.
37002         (__remquo): Do not use BP_SYM.
37003         (remquo): Likewise.
37004         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37005         "bp-asm.h".
37006         (PARMS): Do not use macros from bp-asm.h.
37007         (__remquof): Do not use BP_SYM.
37008         (remquof): Likewise.
37009         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37010         "bp-asm.h".
37011         (PARMS): Do not use macros from bp-asm.h.
37012         (__remquol): Do not use BP_SYM.
37013         (remquol): Likewise.
37014         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37015         "bp-asm.h".
37016         (PARMS): Do not use macros from bp-asm.h.
37017         (DEST): Likewise.
37018         (SRC): Likewise.
37019         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37020         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37021         "bp-asm.h".
37022         (PARMS): Do not use macros from bp-asm.h.
37023         (strlen): Do not use BP_SYM.
37024         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37025         "bp-asm.h".
37026         (PARMS): Do not use macros from bp-asm.h.
37027         (S1): Likewise.
37028         (S2): Likewise.
37029         (SIZE): Likewise.
37030         (__mpn_add_n): Do not use BP_SYM.
37031         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37032         "bp-asm.h".
37033         (PARMS): Do not use macros from bp-asm.h.
37034         (S1): Likewise.
37035         (SIZE): Likewise.
37036         (__mpn_addmul_1): Do not use BP_SYM.
37037         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37038         weak_alias.
37039         (bzero): Likewise.
37040         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37041         "bp-asm.h".
37042         (PARMS): Do not use macros from bp-asm.h.
37043         (S): Likewise.
37044         (SIZE): Likewise.
37045         (__mpn_lshift): Do not use BP_SYM.
37046         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37047         "bp-asm.h".
37048         (PARMS): Do not use macros from bp-asm.h.
37049         (DEST): Likewise.
37050         (SRC): Likewise.
37051         (LEN): Likewise.
37052         (memcpy): Likewise.  Do not use BP_SYM.
37053         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37054         libc_hidden_def and weak_alias.
37055         (mempcpy): Do not use BP_SYM in weak_alias.
37056         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37057         "bp-asm.h".
37058         (PARMS): Do not use macros from bp-asm.h.
37059         (DEST): Likewise.
37060         (LEN): Likewise.
37061         [!BZERO_P] (CHR): Likewise.
37062         (memset): Likewise.  Do not use BP_SYM.
37063         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37064         "bp-asm.h".
37065         (PARMS): Do not use macros from bp-asm.h.
37066         (S1): Likewise.
37067         (SIZE): Likewise.
37068         (__mpn_mul_1): Do not use BP_SYM.
37069         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37070         "bp-asm.h".
37071         (PARMS): Do not use macros from bp-asm.h.
37072         (S): Likewise.
37073         (SIZE): Likewise.
37074         (__mpn_rshift): Do not use BP_SYM.
37075         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37076         "bp-asm.h".
37077         (PARMS): Do not use macros from bp-asm.h.
37078         (STR): Likewise.
37079         (CHR): Likewise.
37080         (strchr): Likewise.  Do not use BP_SYM.
37081         (index): Do not use BP_SYM in weak_alias.
37082         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37083         "bp-asm.h".
37084         (PARMS): Do not use macros from bp-asm.h.
37085         (DEST): Likewise.
37086         (SRC): Likewise.
37087         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37088         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37089         "bp-asm.h".
37090         (PARMS): Do not use macros from bp-asm.h.
37091         (strlen): Do not use BP_SYM.
37092         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37093         "bp-asm.h".
37094         (PARMS): Do not use macros from bp-asm.h.
37095         (S1): Likewise.
37096         (S2): Likewise.
37097         (SIZE): Likewise.
37098         (__mpn_sub_n): Do not use BP_SYM.
37099         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37100         "bp-asm.h".
37101         (PARMS): Do not use macros from bp-asm.h.
37102         (S1): Likewise.
37103         (SIZE): Likewise.
37104         (__mpn_submul_1): Do not use BP_SYM.
37105         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37106         "bp-asm.h".
37107         (PARMS): Do not use macros from bp-asm.h.
37108         (S1): Likewise.
37109         (S2): Likewise.
37110         (SIZE): Likewise.
37111         (__mpn_add_n): Do not use BP_SYM.
37112         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37113         weak_alias.
37114         (bzero): Likewise.
37115         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37116         "bp-asm.h".
37117         (PARMS): Do not use macros from bp-asm.h.
37118         (BLK2): Likewise.
37119         (LEN): Likewise.
37120         (memcmp): Do not use BP_SYM.
37121         (bcmp): Do not use BP_SYM in weak_alias.
37122         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37123         "bp-asm.h".
37124         (PARMS): Do not use macros from bp-asm.h.
37125         (DEST): Likewise.
37126         (SRC): Likewise.
37127         (LEN): Likewise.
37128         (memcpy): Likewise.  Do not use BP_SYM.
37129         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37130         "bp-asm.h".
37131         (PARMS): Do not use macros from bp-asm.h.
37132         (DEST): Likewise.
37133         (SRC): Likewise.
37134         (LEN): Likewise.
37135         (memmove): Likewise.  Do not use BP_SYM.
37136         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37137         "bp-asm.h".
37138         (PARMS): Do not use macros from bp-asm.h.
37139         (DEST): Likewise.
37140         (SRC): Likewise.
37141         (LEN): Likewise.
37142         (__mempcpy): Likewise.  Do not use BP_SYM.
37143         (mempcpy): Do not use BP_SYM in weak_alias.
37144         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37145         "bp-asm.h".
37146         (PARMS): Do not use macros from bp-asm.h.
37147         (DEST): Likewise.
37148         (LEN): Likewise.
37149         [!BZERO_P] (CHR): Likewise.
37150         (memset): Likewise.  Do not use BP_SYM.
37151         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37152         "bp-asm.h".
37153         (PARMS): Do not use macros from bp-asm.h.
37154         (STR2): Likewise.
37155         (strcmp): Do not use BP_SYM.
37156         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37157         "bp-asm.h".
37158         (PARMS): Do not use macros from bp-asm.h.
37159         (STR): Likewise.
37160         (DELIM): Likewise.
37161         [USE_AS_STRTOK_R] (SAVE): Likewise.
37162         (FUNCTION): Likewise.  Do not use BP_SYM.
37163         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37164         aliases.
37165         (strtok_r): Likewise.
37166         (__GI___strtok_r): Likewise.
37167         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37168         (PARMS): Do not use macros from bp-asm.h.
37169         (S): Likewise.
37170         (SIZE): Likewise.
37171         (__mpn_lshift): Do not use BP_SYM.
37172         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37173         (PARMS): Do not use macros from bp-asm.h.
37174         (STR): Likewise.
37175         (CHR): Likewise.
37176         (__memchr): Do not use BP_SYM.
37177         (memchr): Do not use BP_SYM in weak_alias.
37178         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37179         (PARMS): Do not use macros from bp-asm.h.
37180         (BLK2): Likewise.
37181         (LEN): Likewise.
37182         (memcmp): Do not use BP_SYM.
37183         (bcmp): Do not use BP_SYM in weak_alias.
37184         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37185         (PARMS): Do not use macros from bp-asm.h.
37186         (S1): Likewise.
37187         (SIZE): Likewise.
37188         (__mpn_mul_1): Do not use BP_SYM.
37189         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37190         "bp-asm.h".
37191         (PARMS): Do not use macros from bp-asm.h.
37192         (STR): Likewise.
37193         (CHR): Likewise.
37194         (__rawmemchr): Do not use BP_SYM.
37195         (rawmemchr): Do not use BP_SYM in weak_alias.
37196         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37197         (PARMS): Do not use macros from bp-asm.h.
37198         (S): Likewise.
37199         (SIZE): Likewise.
37200         (__mpn_rshift): Do not use BP_SYM.
37201         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37202         (PARMS): Do not use macros from bp-asm.h.
37203         (SIGMSK): Likewise.
37204         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37205         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37206         (_start): Do not use BP_SYM.
37207         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37208         (PARMS): Do not use macros from bp-asm.h.
37209         (DEST): Likewise.
37210         (SRC): Likewise.
37211         (__stpcpy): Likewise.  Do not use BP_SYM.
37212         (stpcpy): Do not use BP_SYM in weak_alias.
37213         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37214         "bp-asm.h".
37215         (PARMS): Do not use macros from bp-asm.h.
37216         (DEST): Likewise.
37217         (SRC): Likewise.
37218         (LEN): Likewise.
37219         (__stpncpy): Likewise.  Do not use BP_SYM.
37220         (stpncpy): Do not use BP_SYM in weak_alias.
37221         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37222         (PARMS): Do not use macros from bp-asm.h.
37223         (STR): Likewise.
37224         (CHR): Likewise.
37225         (strchr): Likewise.  Do not use BP_SYM.
37226         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37227         "bp-asm.h".
37228         (PARMS): Do not use macros from bp-asm.h.
37229         (STR): Likewise.
37230         (CHR): Likewise.
37231         (__strchrnul): Likewise.  Do not use BP_SYM.
37232         (strchrnul): Do not use BP_SYM in weak_alias.
37233         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37234         "bp-asm.h".
37235         (PARMS): Do not use macros from bp-asm.h.
37236         (STOP): Likewise.
37237         (strcspn): Do not use BP_SYM.
37238         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37239         "bp-asm.h".
37240         (PARMS): Do not use macros from bp-asm.h.
37241         (STR): Likewise.
37242         (STOP): Likewise.
37243         (strpbrk): Likewise.  Do not use BP_SYM.
37244         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37245         "bp-asm.h".
37246         (PARMS): Do not use macros from bp-asm.h.
37247         (STR): Likewise.
37248         (CHR): Likewise.
37249         (strrchr): Likewise.  Do not use BP_SYM.
37250         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37251         (PARMS): Do not use macros from bp-asm.h.
37252         (SKIP): Likewise.
37253         (strspn): Do not use BP_SYM.
37254         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37255         (PARMS): Do not use macros from bp-asm.h.
37256         (STR): Likewise.
37257         (DELIM): Likewise.
37258         (SAVE): Likewise.
37259         (FUNCTION): Likewise.  Do not use BP_SYM.
37260         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37261         aliases.
37262         (strtok_r): Likewise.
37263         (__GI___strtok_r): Likewise.
37264         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37265         (PARMS): Do not use macros from bp-asm.h.
37266         (S1): Likewise.
37267         (S2): Likewise.
37268         (SIZE): Likewise.
37269         (__mpn_sub_n): Do not use BP_SYM.
37270         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37271         "bp-asm.h".
37272         (PARMS): Do not use macros from bp-asm.h.
37273         (S1): Likewise.
37274         (SIZE): Likewise.
37275         (__mpn_submul_1): Do not use BP_SYM.
37276         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37277         <bp-sym.h>.
37278         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37279         and <bp-asm.h>.
37280         (PARMS): Do not use macros from bp-asm.h.
37281         (FLAGS): Likewise.
37282         (PTID): Likewise.
37283         (TLS): Likewise.
37284         (CTID): Likewise.
37285         (__clone): Do not use BP_SYM.
37286         (clone): Do not use BP_SYM in weak_alias.
37287         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37288         and <bp-asm.h>.
37289         (PARMS): Do not use macros from bp-asm.h.
37290         (LEN): Likewise.
37291         (__mmap64): Do not use BP_SYM.
37292         (mmap64): Do not use BP_SYM in weak_alias.
37293         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37294         <bp-sym.h> and <bp-asm.h>.
37295         (PARMS): Do not use macros from bp-asm.h.
37296         (__posix_fadvise64_l64): Do not use BP_SYM.
37297         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37298         (PARMS): Do not use macros from bp-asm.h.
37299         (NSOPS): Likewise.
37300         (semtimedop): Do not use BP_SYM.
37301         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37302         and <bp-asm.h>.
37304 2013-02-21  Allan McRae  <allan@archlinux.org>
37306         * manual/message.texi (Charset conversion in gettext):
37307         Move @end statement to beginning of line.
37309 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37312         static.
37313         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37314         Likewise.
37316         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37317         (denorm): Likewise.
37318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37319         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37321 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37323         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37324         tail-call to the resolved function if pltexit isn't needed.
37326 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37329         or Y being zero as being unlikely.
37330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37331         Likewise.
37333 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37335         * manual/nss.texi (System Databases and Name Service Switch):
37336         Remove frobnicate @pxref.
37338 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37340         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37341         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37343 2013-02-20  Petr Machata  <pmachata@redhat.com>
37345         * elf/elf.h (R_ARM_TARGET1): New macro.
37346         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37347         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37348         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37349         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37350         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37351         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37352         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37353         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37354         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37355         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37356         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37357         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37358         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37359         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37360         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37361         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37362         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37363         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37364         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37365         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37366         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37367         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37368         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37369         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37370         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37371         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37372         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37373         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37374         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37375         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37376         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37377         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37378         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37379         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37380         (R_ARM_THM_GOT_BREL12): Likewise.
37381         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37382         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37383         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37384         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37385         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37386         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37387         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37388         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37389         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37391 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37393         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37394         __attribute_used__ to __attribute__ ((unused)).
37396 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37398         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37399         powerpc mpa.c.
37400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37401         comment formatting.
37402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37404 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37406         [BZ #13550]
37407         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37408         Remove macro.
37409         (ENTER): Remove both macro definitions.
37410         (LEAVE): Likewise.
37411         (CHECK_BOUNDS_LOW): Likewise.
37412         (CHECK_BOUNDS_HIGH): Likewise.
37413         (CHECK_BOUNDS_BOTH): Likewise.
37414         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37415         (RETURN_BOUNDED_POINTER): Likewise.
37416         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37417         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37418         (POP_ERRNO_LOCATION_RETURN): Likewise.
37419         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37420         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37421         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37422         macros.
37423         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37424         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37425         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37426         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37427         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37428         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37429         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37430         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37431         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37432         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37433         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37434         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37435         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37436         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37437         removed macros.
37438         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37439         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37440         macros.
37441         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37442         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37443         * sysdeps/i386/i586/memset.S (memset): Likewise.
37444         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37445         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37446         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37447         macros.
37448         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37449         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37450         Change uses of L(2) to L(out).
37451         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37452         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37453         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37454         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37455         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37456         removed macros.
37457         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37458         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37459         macros.
37460         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37461         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37462         (RETURN): Do not use macro LEAVE.
37463         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37464         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37465         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37466         * sysdeps/i386/i686/memset.S (memset): Likewise.
37467         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37468         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37469         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37470         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37471         Likewise.
37472         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37473         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37474         L(1_2) and L(1_3) into L(1).
37475         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37476         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37477         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37478         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37479         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37480         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37481         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37482         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37483         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37484         macros.
37485         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37486         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37487         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37488         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37489         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37490         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37491         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37492         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37493         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37494         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37495         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37496         * sysdeps/i386/strspn.S (strspn): Likewise.
37497         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37498         conditional code.
37499         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37500         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37501         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37502         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37503         L(1_3) into L(1_1).
37504         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37505         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37506         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37507         macros.
37508         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37510 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37512         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37513         macro.
37515 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37517         * math/atest-exp.c (exp_mpn): Remove ROUND.
37518         * math/atest-exp2.c (exp_mpn): Likewise.
37519         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37521         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37522         * stdlib/tst-tls-atexit-lib.c: Likewise.
37523         * stdlib/tst-tls-atexit.c: Likewise.
37525 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37527         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37528         and __attribute_alloc_size__.
37530 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37532         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37533         __attribute_alloc_size__.
37534         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37535         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37537 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37539         * include/programs/xmalloc.h: New file.
37540         * catgets/gencat.c: Include it.
37541         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37542         * elf/pldd.c: Likewise.
37543         * iconv/iconv_charmap.c: Likewise.
37544         * iconv/iconvconfig.c: Likewise.
37545         * iconv/strtab.c: Likewise.
37546         * locale/programs/locale.c: Likewise.
37547         * locale/programs/localedef.h: Likewise.
37548         * locale/programs/simple-hash.c: Likewise.
37549         * nscd/nscd.h: Likewise.
37550         * nss/makedb.c: Likewise.
37551         * sysdeps/generic/ldconfig.h: Likewise.
37553 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37555         * Versions.def: Add GLIBC_2.18.
37556         * include/link.h (struct link_map): New member l_tls_dtor_count.
37557         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37558         (__call_tls_dtors): Likewise.
37559         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37560         __cxa_thread_atexit_impl.
37561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37562         Likewise.
37563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37564         Likewise.
37565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37566         Likewise.
37567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37568         Likewise.
37569         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37571         Likewise.
37572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37573         Likewise.
37574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37576         Likewise.
37577         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37578         (tests): Add test case tst-tls-atexit.
37579         (modules-names): Add shared library for tst-tls-atexit.
37580         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37581         (GLIBC_PRIVATE): Add __call_tls_dtors.
37582         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37583         for libstdc++.
37584         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37585         * stdlib/tst-tls-atexit.c: New test case.
37586         * stdlib/tst-tls-atexit-lib.c: New test case.
37588         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37590         * elf/Versions (ld): Add _dl_find_dso_for_object.
37591         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37592         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37593         (dl_open_worker): Use _dl_find_dso_for_object.
37594         * elf/dl-sym.c (do_sym): Likewise.
37595         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37597 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37599         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37600         Syntactic changes only.
37601         (_dl_runtime_profile): Do a tail-call to the resolved function.
37603 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37605         [BZ #13550]
37606         * sysdeps/x86_64/bp-asm.h: Remove file.
37607         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37608         <bp-sym.h> and <bp-asm.h>.
37609         (__clone): Do not use BP_SYM.
37610         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37611         <bp-sym.h> and <bp-asm.h>.
37612         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37613         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37614         "bp-asm.h".
37615         (_setjmp): Do not use BP_SYM.
37616         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37617         "bp-asm.h".
37618         (setjmp): Do not use BP_SYM.
37619         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37620         libc_hidden_def.
37621         (mempcpy): Do not use BP_SYM in weak_alias.
37622         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37623         "bp-asm.h".
37624         (strchr): Do not use BP_SYM.
37625         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37626         "bp-asm.h".
37627         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37628         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37629         (_start): Do not use BP_SYM.
37630         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37631         "bp-asm.h".
37632         (strcat): Do not use BP_SYM.
37633         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37634         "bp-asm.h".
37635         (STRCMP): Do not use BP_SYM.
37636         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37637         "bp-asm.h".
37638         (STRCPY): Do not use BP_SYM.
37639         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37640         "bp-asm.h".
37641         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37642         "bp-asm.h".
37643         (FUNCTION): Do not use BP_SYM.
37644         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37645         weak_alias.
37646         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37648 2013-02-17  Andreas Jaeger  <aj@suse.de>
37650         * time/Versions: Sort entries.
37651         * string/Versions: Likewise.
37652         * resolv/Versions: Likewise.
37653         * posix/Versions: Likewise.
37654         * iconv/Versions: Likewise.
37655         * elf/Versions: Likewise.
37656         * wcsmbs/Versions: Likewise.
37658 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37660         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37661         loop termination condition.
37663         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37664         variable to calculate EZ.
37665         (__sqr): Likewise.
37667         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37668         the lower precision input.
37670 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37672         [BZ #13550]
37673         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37674         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37675         (run-via-rtld-prefix): Do not handle %-bp tests.
37676         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37677         (all-object-suffixes): Remove .ob.
37678         (bppfx): Remove variable.
37679         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37680         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37681         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37682         [$(build-bounded) = yes] (libtype.ob): Likewise.
37683         * Makerules (elide-routines.ob): Remove variable.
37684         (do-tests-clean): Do not handle *-bp.out.
37685         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37686         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37687         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37688         (tests): Do not include $(tests-bp.out).
37689         (xtests): Do not include $(xtests-bp.out).
37690         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37691         [$(build-bounded) = yes] ($(addprefix
37692         $(objpfx),$(binaries-bounded))): Remove rule.
37693         ($(objpfx)%-bp.out): Remove rule.
37694         * config.make.in (build-bounded): Remove variable.
37695         * crypt/Makefile [$(build-bounded) = yes]
37696         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37697         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37698         append to variable.
37699         [$(build-bounded) = yes] (install-lib): Likewise.
37700         [$(build-bounded) = yes] (generated): Likewise.
37701         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37702         Remove rule.
37703         * intl/Makefile [$(build-bounded) = yes]
37704         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37705         * math/Makefile [$(build-bounded) = yes]
37706         ($(tests:%=$(objpfx)%-bp): Likewise.
37707         * misc/Makefile [$(build-bounded) = yes]
37708         ($(objpfx)tst-tsearch-bp): Likewise.
37709         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37710         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37711         Remove dependency.
37712         * string/Makefile (o-objects.ob): Remove variable.
37713         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37714         (CFLAGS-.ob): Remove variable.
37715         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37716         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37717         both definitions of variable.
37718         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37719         (ASFLAGS-.ob): Remove variable.
37721 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37723         [BZ #13550]
37724         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37725         Remove __BOUNDED_POINTERS__ from condition.
37726         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37727         * string/bits/string2.h [!__NO_STRING_INLINES &&
37728         !__BOUNDED_POINTERS__]: Likewise.
37729         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37730         Likewise.
37731         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37732         Remove conditional code.
37733         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37734         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37735         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37736         condition.
37738         [BZ #13550]
37739         * csu/libc-start.c: Do not include <bp-sym.h>.
37740         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37741         * elf/dl-open.c: Do not include <bp-sym.h>.
37742         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37743         * math/fegetenv.c: Do not include <bp-sym.h>.
37744         (fegetenv): Do not use BP_SYM in versioned symbols.
37745         * nptl/sysdeps/pthread/bits/libc-lockP.h
37746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37747         <bp-sym.h>.
37748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37749         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37751         (__pthread_mutex_destroy): Likewise.
37752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37753         (__pthread_mutex_lock): Likewise.
37754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37755         (__pthread_mutex_trylock): Likewise.
37756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37757         (__pthread_mutex_unlock): Likewise.
37758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37759         (__pthread_mutexattr_init): Likewise.
37760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37761         (__pthread_mutexattr_destroy): Likewise.
37762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37763         (__pthread_mutexattr_settype): Likewise.
37764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37765         (__pthread_rwlock_init): Likewise.
37766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37767         (__pthread_rwlock_destroy): Likewise.
37768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37769         (__pthread_rwlock_rdlock): Likewise.
37770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37771         (__pthread_rwlock_tryrdlock): Likewise.
37772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37773         (__pthread_rwlock_wrlock): Likewise.
37774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37775         (__pthread_rwlock_trywrlock): Likewise.
37776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37777         (__pthread_rwlock_unlock): Likewise.
37778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37779         (__pthread_key_create): Likewise.
37780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37781         (__pthread_setspecific): Likewise.
37782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37783         (__pthread_getspecific): Likewise.
37784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37785         Likewise.
37786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37787         (_pthread_cleanup_push_defer): Likewise.
37788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37789         (_pthread_cleanup_pop_restore): Likewise.
37790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37791         (pthread_setcancelstate): Likewise.
37792         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37793         <bp-sym.h>.
37794         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37795         (memchr): Do not use BP_SYM in weak_alias.
37796         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37797         (fegetenv): Do not use BP_SYM in versioned symbols.
37798         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37799         (fesetenv): Do not use BP_SYM in versioned symbols.
37800         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37801         (feupdateenv): Do not use BP_SYM in versioned symbols.
37802         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37803         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37804         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37805         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37806         (open64): Do not use BP_SYM in weak_alias.
37807         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37808         (fegetenv): Do not use BP_SYM in versioned symbols.
37809         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37810         (fesetenv): Do not use BP_SYM in versioned symbols.
37811         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37812         (feupdateenv): Do not use BP_SYM in versioned symbols.
37813         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37814         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37815         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37816         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37817         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37818         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37819         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37820         <bp-sym.h>.
37821         (__libc_start_main): Do not use BP_SYM.
37823 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37826         redundant return line.
37827         (norm): Likewise.
37828         (denorm): Likewise.
37829         (dbl_mp): Likewise.
37830         (sub_magnitudes): Likewise.
37831         (__add): Likewise.
37832         (__sub): Likewise.
37833         (__mul): Likewise.
37834         (__inv): Likewise.
37835         (__dvd): Likewise.
37836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37837         (norm): Likewise.
37838         (denorm): Likewise.
37839         (dbl_mp): Likewise.
37840         (sub_magnitudes): Likewise.
37841         (__add): Likewise.
37842         (__sub): Likewise.
37843         (__mul): Likewise.
37844         (__inv): Likewise.
37845         (__dvd): Likewise.
37847         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37848         instead of __mul.
37849         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37850         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37851         (cc32): Likewise.
37853         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37854         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37855         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37856         of __mul for squares.
37857         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37858         function
37859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37860         Likewise.
37861         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37862         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37864 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37866         [BZ #13550]
37867         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37868         code.
37869         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37870         prototype or function definition.  Rename ubp_* variables and
37871         parameters.  Remove argv definitions conditional on
37872         [__BOUNDED_POINTERS__].
37873         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37874         * elf/dl-runtime.c (_dl_fixup): Likewise.
37875         * include/set-hooks.h (RUN_HOOK): Likewise.
37876         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37877         definition.
37878         * string/strcpy.c (strcpy): Do not use __unbounded.
37879         * sysdeps/generic/frame.h (struct layout): Likewise.
37880         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37881         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37882         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37883         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37884         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37885         (__backtrace): Likewise.
37886         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37887         use __ptrvalue.
37888         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37889         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37890         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37891         Likewise.
37892         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37893         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37894         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37895         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37896         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37897         Do not use __unbounded.
37898         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37899         Rename __unboundedrlimits parameter to rlimits in prototype.
37900         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37901         Do not use __unbounded.
37902         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37903         not use __ptrvalue.
37904         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37905         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37906         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37907         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37908         __ptrvalue or __unbounded.
37909         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37910         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37911         use __unbounded.
37912         (__new_msgctl): Do not use __ptrvalue.
37913         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37914         __unbounded.
37915         (__libc_msgrcv): Do not use __ptrvalue.
37916         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37917         startup_info): Do not use __unbounded.
37918         (__libc_start_main): Likewise.  Rename ubp_* variables and
37919         parameters.  Remove argv definitions conditional on
37920         [__BOUNDED_POINTERS__].
37921         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37922         __ptrvalue.
37923         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37924         use __unbounded.
37925         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37926         or __ptrvalue.
37927         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37928         use __unbounded.
37929         (__new_shmctl): Do not use __ptrvalue.
37930         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37931         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37932         Likewise.
37933         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37934         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37935         (__libc_sigaction): Likewise.
37936         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37937         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37938         Likewise.
37939         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37941 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37943         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37945         * string/mempcpy.c: Implement by calling memcpy.
37947 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37949         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37952         evaluation.
37954         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37955         values in the mantissa.
37957         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37958         minimize writes to Z.
37959         (sub_magnitudes): Simplify code a bit.
37961 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37963         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37964         from the message.  The linker prefixes all warnings with that already.
37966 2013-02-12  Andreas Schwab  <schwab@suse.de>
37968         [BZ #15078]
37969         * posix/regexec.c (extend_buffers): Add parameter min_len.
37970         (check_matching): Pass minimum needed length.
37971         (clean_state_log_if_needed): Likewise.
37972         (get_subexp): Likewise.
37973         * posix/Makefile (tests): Add bug-regex34.
37974         (bug-regex34-ENV): Define.
37975         * posix/bug-regex34.c: New file.
37977         [BZ #11561]
37978         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37979         elements compare against the byte sequence of it, not its name.
37980         * posix/Makefile (tests): Add bug-regex35.
37981         (bug-regex35-ENV): Define.
37982         * posix/bug-regex35.c: New file.
37984 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37986         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37987         comment.
37988         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37989         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37990         (CHECK_EOL): Add undef.
37992 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37994         * bits/stdlib-bsearch.h: New file.
37995         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37996         * stdlib/stdlib.h: Likewise.
37998 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38000         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38001         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38002         declaration.
38003         * manual/search.texi (Array Search Function): Add missing const in
38004         lfind prototype.
38005         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38006         declaration to use rlim_t.
38007         (Basic Scheduling Functions): Remove erroneous const from
38008         sched_getparam prototype.  Remove erroneous * from
38009         sched_get_priority_max and sched_get_priority_min prototypes.
38010         (Resource Usage): Fix summary @comment on vtimes to refer to
38011         sys/vtimes.h rather than vtimes.h.
38012         Add missing *s in vtimes prototype.
38013         (Limits on Resources): Fix ulimit prototype to return long int.
38014         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38015         prototypes to use long int rather than double.
38016         (BSD Random): Fix initstate and setstate to use char *, not void *.
38017         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38018         prototype to make second argument 'struct aiocb64 *const[]'.
38019         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38020         (Status of AIO Operations): Remove erroneous const in aio_return and
38021         aio_return64 prototypes.
38022         (Synchronizing I/O): Fix sync prototype to return void.
38023         * manual/startup.texi (Suboptions): Remove an erroneous const in
38024         getsubopt prototype.
38025         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38026         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38027         use size_t rather than int.
38028         (Scanning All Users): Likewise for getpwent_r.
38029         (Setting Groups): Add missing const to setgroups prototype.
38030         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38031         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38032         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38033         'const void *' rather than 'const char *'.
38034         (Host Address Functions): Likewise for inet_ntop.
38035         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38036         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38037         ssize_t for return value.
38038         (Sending Data): Likewise for send, sendto, sendmsg.
38039         (Socket Option Functions): Add a missing const in setsockopt prototype.
38040         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38041         use wchar_t for the argument.
38042         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38043         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38044         take no arguments.
38045         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38046         double/float/long double for second argument.
38047         Fix return types of significand, significandf, significandl.
38048         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38049         argument in fchmod prototype.
38050         (File Owner): Use uid_t and gid_t in fchown prototype.
38051         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38052         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38053         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38054         use 'const struct dirent **' as argument types to CMP function pointer
38055         argument.
38056         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38057         (File Times): Fix summary magic @comment for struct utimbuf and utime
38058         to refer to utime.h, not time.h.
38059         * manual/string.texi (Argz Functions): Add missing const in
38060         argz_extract and argz_next prototypes.
38061         (Finding Tokens in a String): Likewise for basename.
38062         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38063         (Copying and Concatenation): Fix typo in wmemmove prototype.
38064         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38065         (Signal Stack): Remove erroneous const in sigstack prototype.
38066         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38067         prototype.
38068         (Simple Calendar Time): Likewise for stime.
38069         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38070         prototype.
38071         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38072         say sys/sysctl.h instead.
38073         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38074         and vsyslog prototypes.
38076 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38078         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38079         Remove.
38081 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38083         * misc/sys/mman.h: Fix typo in mremap comment.
38085 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38087         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38088         the '\0' terminator.
38090 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38092         [BZ #13550]
38093         * debug/segfault.c: Don't include <bp-checks.h>.
38094         * sysdeps/generic/bp-checks.h: Remove file.
38095         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38096         (__GETDENTS): Don't use CHECK_N.
38097         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38098         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38099         (__getgroups): Don't use CHECK_N.
38100         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38101         (setgroups): Don't use CHECK_N.
38102         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38103         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38104         (__libc_msgrcv): Don't use CHECK_N.
38105         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38106         (__libc_msgsnd): Don't use CHECK_N.
38107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38108         <bp-checks.h>.
38109         (__libc_pread): Don't use CHECK_N.
38110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38111         include <bp-checks.h>.
38112         (__libc_pread64): Don't use CHECK_N.
38113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38114         include <bp-checks.h>.
38115         (__libc_pwrite): Don't use CHECK_N.
38116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38117         include <bp-checks.h>.
38118         (__libc_pwrite64): Don't use CHECK_N.
38119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38120         <bp-checks.h>.
38121         (__libc_pread): Don't use CHECK_N.
38122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38123         include <bp-checks.h>.
38124         (__libc_pread64): Don't use CHECK_N.
38125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38126         include <bp-checks.h>.
38127         (__libc_pwrite): Don't use CHECK_N.
38128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38129         include <bp-checks.h>.
38130         (__libc_pwrite64): Don't use CHECK_N.
38131         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38132         (do_pread): Don't use CHECK_N.
38133         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38134         (do_pread64): Don't use CHECK_N.
38135         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38136         (do_pwrite): Don't use CHECK_N.
38137         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38138         (do_pwrite64): Don't use CHECK_N.
38139         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38140         (__libc_readv): Don't use CHECK_N.
38141         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38142         (semop): Don't use CHECK_N.
38143         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38144         <bp-checks.h>.
38145         (semtimedop): Don't use CHECK_N.
38146         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38147         (__libc_pread): Don't use CHECK_N.
38148         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38149         <bp-checks.h>.
38150         (__libc_pread64): Don't use CHECK_N.
38151         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38152         <bp-checks.h>.
38153         (__libc_pwrite): Don't use CHECK_N.
38154         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38155         <bp-checks.h>.
38156         (__libc_pwrite64): Don't use CHECK_N.
38157         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38158         <bp-checks.h>.
38159         (__libc_msgrcv): Don't use CHECK_N.
38160         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38161         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38162         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38163         (__libc_writev): Don't use CHECK_N.
38165 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38167         * string/strcpy.c: Removed unused variable.
38169         * Makeconfig (+sysdep-includes): Define with := rather than =.
38170         Use an existing include/ subdir of each sysdeps dir before it.
38172 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38174         * nscd/connection.c (register_traced_file): Comment function.
38175         [HAVE_INOTIFY] (union __inev): Define.
38176         [HAVE_INOTIFY] (inotify_check_files): New function.
38177         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38178         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38179         clear_db_cache.
38180         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38182 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38184         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38185         loaded if not already and that a failure is permanent.
38187 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38189         [BZ #15006]
38190         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38191         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38193 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38195         [BZ #13550]
38196         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38197         (CHECK_1_NULL_OK): Likewise.
38198         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38199         (__fxstat): Do not use CHECK_1.
38200         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38201         <bp-checks.h>.
38202         (___fxstat64): Do not use CHECK_1.
38203         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38204         <bp-checks.h>.
38205         (__fxstatat): Do not use CHECK_1.
38206         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38207         <bp-checks.h>.
38208         (__fxstatat64): Do not use CHECK_1.
38209         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38210         <bp-checks.h>.
38211         (__fxstat): Do not use CHECK_1.
38212         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38213         <bp-checks.h>.
38214         (__fxstatat): Do not use CHECK_1.
38215         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38216         <bp-checks.h>.
38217         (__getresgid): Do not use CHECK_1.
38218         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38219         <bp-checks.h>.
38220         (__getresuid): Do not use CHECK_1.
38221         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38222         <bp-checks.h>.
38223         (__lxstat): Do not use CHECK_1.
38224         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38225         <bp-checks.h>.
38226         (__old_msgctl): Do not use CHECK_1.
38227         (__new_msgctl): Likewise.
38228         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38229         <bp-checks.h>.
38230         (__new_setrlimit): Do not use CHECK_1.
38231         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38232         <bp-checks.h>.
38233         (__old_shmctl): Do not use CHECK_1.
38234         (__new_shmctl): Likewise.
38235         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38236         <bp-checks.h>.
38237         (__xstat): Do not use CHECK_1.
38238         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38239         (__lxstat): Do not use CHECK_1.
38240         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38241         <bp-checks.h>.
38242         (___lxstat64): Do not use CHECK_1.
38243         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38244         (__old_msgctl): Do not use CHECK_1.
38245         (__new_msgctl): Likewise.
38246         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38247         <bp-checks.h>.
38248         (__gettimeofday): Do not use CHECK_1.
38249         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38250         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38251         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38252         <bp-checks.h>.
38253         (__gettimeofday): Do not use CHECK_1.
38254         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38255         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38256         (__new_shmctl): Do not use CHECK_1.
38257         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38258         <bp-checks.h>.
38259         (do_sigtimedwait): Do not use CHECK_1.
38260         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38261         <bp-checks.h>.
38262         (do_sigwaitinfo): Do not use CHECK_1.
38263         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38264         <bp-checks.h>.
38265         (msgctl): Do not use CHECK_1.
38266         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38267         <bp-checks.h>.
38268         (shmctl): Do not use CHECK_1.
38269         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38270         (ustat): Do not use CHECK_1.
38271         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38272         <bp-checks.h>.
38273         (__fxstat): Do not use CHECK_1.
38274         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38275         <bp-checks.h>.
38276         (__fxstatat): Do not use CHECK_1.
38277         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38278         <bp-checks.h>.
38279         (__lxstat): Do not use CHECK_1.
38280         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38281         <bp-checks.h>.
38282         (__xstat): Do not use CHECK_1.
38283         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38284         (__xstat): Do not use CHECK_1.
38285         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38286         (___xstat64): Do not use CHECK_1.
38288         [BZ #13550]
38289         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38290         definitions.
38291         (CHECK_BOUNDS_HIGH): Likewise.
38292         * string/strcpy.c: Do not include <bp-checks.h>.
38293         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38295 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38297         * nscd/nscd-client.h (__nscd_drop_map_ref):
38298         Add __attribute__ ((unused)).
38299         * nis/nss-nisplus.h (niserr2nss): Likewise.
38301         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38302         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38304         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38305         Remove inline keyword.
38306         * include/rounding-mode.h (round_away): Likewise.
38307         * libio/wfileops.c (adjust_wide_data): Likewise.
38308         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38309         (__m128i_strloadu_tolower): Likewise.
38310         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38311         (__m128i_strloadu_tolower): Likewise.
38312         * time/mktime.c (ydhms_diff): Likewise.
38313         * locale/elem-hash.h (elem_hash): Likewise.
38314         * locale/setlocale.c (setdata): Likewise.
38315         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38316         (re_string_wchar_at): Likewise.
38317         (bitset_not, bitset_merge, bitset_mask): Likewise.
38318         [!(__GNUC__ > 3)] (inline): Remove macro.
38319         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38320         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38321         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38322         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38323         * string/memcmp.c (memcmp_bytes): Likewise.
38324         * locale/programs/locarchive.c (compute_hashval): Likewise.
38325         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38326         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38327         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38328         * nss/getent.c (print_rpc, print_protocols): Likewise.
38329         (print_passwd, print_group, print_aliases): Likewise.
38330         * nis/nss-nisplus.h (niserr2nss): Likewise.
38331         * nscd/connections.c (restart_p): Likewise.
38332         Change return type to bool.
38334 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38336         * Makeconfig (all-Depend-files): Add existing
38337         $(sorted-subdirs:=/Depend) files.
38338         (all-subdirs): Remove nss.
38339         * sysdeps/unix/inet/Subdirs: Add it here instead.
38340         * hesiod/Depend: New file.
38342         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38343         instead of calling alloca.
38345         * io/lseek.c (__lseek): Rename to __libc_lseek.
38346         Define __lseek as an alias.
38348         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38350 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38352         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38353         else clause and remove check for non-standard endianness.
38355 2013-02-04  David S. Miller  <davem@davemloft.net>
38357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38359 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38361         [BZ #13550]
38362         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38363         (__ubp_memchr): Remove prototype.
38364         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38365         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38366         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38367         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38368         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38369         Remove alias.
38370         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38371         (__ubp_memchr): Likewise.
38372         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38373         (__ubp_memchr): Likewise.
38374         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38375         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38376         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38377         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38378         CHECK_STRING.
38379         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38380         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38381         (__getcwd): Do not use CHECK_STRING.
38382         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38383         <bp-checks.h>.
38384         (__real_chown): Do not use CHECK_STRING.
38385         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38386         <bp-checks.h>.
38387         (fchownat): Do not use CHECK_STRING.
38388         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38389         CHECK_STRING.
38390         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38391         <bp-checks.h>.
38392         (__lchown): Do not use CHECK_STRING.
38393         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38394         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38395         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38396         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38398         include <bp-checks.h>.
38399         (truncate64): Do not use CHECK_STRING.
38400         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38401         <bp-checks.h>.
38402         (__real_chown): Do not use CHECK_STRING.
38403         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38404         <bp-checks.h>.
38405         (__lchown): Do not use CHECK_STRING.
38406         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38407         <bp-checks.h>.
38408         (__chown): Do not use CHECK_STRING.
38409         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38410         <bp-checks.h>.
38411         (truncate64): Do not use CHECK_STRING.
38412         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38413         Likewise.
38414         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38415         (__xmknod): Do not use CHECK_STRING.
38416         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38417         <bp-checks.h>.
38418         (__xmknodat): Do not use CHECK_STRING.
38419         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38420         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38422 2013-02-04  Andreas Schwab  <schwab@suse.de>
38424         [BZ #14142]
38425         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38426         * include/netdb.h: Likewise for h_errno.
38427         * elf/tst-stackguard1.c: Include <tls.h>.
38429 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38431         * elf/link.h (struct link_map): Extend the l_addr comment.
38432         * include/link.h (struct link_map): Likewise.
38434 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38436         [BZ #13550]
38437         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38438         (BOUNDED_1): Remove macro.
38439         * debug/backtrace.c: Don't include <bp-checks.h>.
38440         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38441         (__backtrace): Likewise.
38442         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38443         <bp-checks.h>.
38444         (__backtrace): Don't use BOUNDED_1.
38445         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38446         <bp-checks.h>.
38447         (__backtrace): Don't use BOUNDED_1.
38448         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38449         (__backtrace): Don't use BOUNDED_1.
38450         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38451         (shmat): Don't use BOUNDED_N.
38453 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38455         [BZ #13550]
38456         * sysdeps/generic/bp-start.h: Remove file.
38457         * csu/libc-start.c: Don't include <bp-start.h>.
38458         (LIBC_START_MAIN): Set up __environ directly instead of using
38459         INIT_ARGV_and_ENVIRON.
38460         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38461         <bp-start.h>.
38463         [BZ #13550]
38464         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38465         definitions.
38466         (CHECK_FCNTL): Likewise.
38467         (CHECK_N_PAGES): Likewise.
38469         [BZ #13550]
38470         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38471         definitions.
38472         (CHECK_SIGSET_NULL_OK): Likewise.
38473         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38474         <bp-checks.h>.
38475         (sigpending): Don't use CHECK_SIGSET.
38476         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38477         <bp-checks.h>.
38478         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38479         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38480         <bp-checks.h>.
38481         (do_sigsuspend): Don't use CHECK_SIGSET.
38482         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38483         use CHECK_SIGSET.
38484         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38485         (do_sigwait): Don't use CHECK_SIGSET.
38486         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38487         use CHECK_SIGSET.
38488         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38489         include <bp-checks.h>.
38490         (sigpending): Don't use CHECK_SIGSET.
38491         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38492         include <bp-checks.h>.
38493         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38494         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38495         <bp-checks.h>.
38496         (sigpending): Don't use CHECK_SIGSET.
38497         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38498         <bp-checks.h>.
38499         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38501         [BZ #13550]
38502         * sysdeps/generic/bp-semctl.h: Remove file.
38503         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38504         <bp-checks.h> and <bp-semctl.h>.
38505         (__old_semctl): Don't use CHECK_SEMCTL.
38506         (__new_semctl): Likewise.
38507         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38508         and <bp-semctl.h>.
38509         (__old_semctl): Don't use CHECK_SEMCTL.
38510         (__new_semctl): Likewise.
38511         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38512         <bp-checks.h> and <bp-semctl.h>.
38513         (__old_semctl): Don't use CHECK_SEMCTL.
38514         (__new_semctl): Likewise.
38515         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38516         <bp-checks.h> and <bp-semctl.h>.
38517         (semctl): Don't use CHECK_SEMCTL.
38519         [BZ #13550]
38520         * Makerules (elide-bp-thunks): Remove variable.
38521         (elide-routines.oS): Don't use $(elide-bp-thunks).
38522         (elide-routines.os): Likewise.
38523         (elide-routines.o): Likewise.
38524         (elide-routines.op): Likewise.
38525         (elide-routines.og): Likewise.
38526         (objects): Don't use $(bp-thunks).
38527         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38528         include.
38529         (common-generated): Do not add s-proto-bp.d.
38530         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38531         (int): Likewise.
38532         (typ): Likewise.
38533         Do not generate makefile rules for bounded-pointer thunks.
38534         * sysdeps/generic/bp-thunks.h: Remove file.
38535         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38536         * sysdeps/unix/s-proto-bp.S: Likewise.
38538         [BZ #15062]
38539         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38540         parts of result separately when argument is not close to line from
38541         -i to i and one part of argument is small.
38542         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38543         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38544         * math/libm-test.inc (cacos_test): Add more tests.
38545         (casin_test): Likewise.
38546         (casinh_test): Likewise.
38547         * sysdeps/i386/fpu/libm-test-ulps: Update.
38548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38550 2013-01-31  David S. Miller  <davem@davemloft.net>
38552         * po/de.po: Update from translation team.
38554 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38556         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38558 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38560         * configure.in (_AC_PROG_CC_C89): New definition.
38561         * configure: Regenerate.
38563         * configure.in (AC_PROG_CPP): New definition.
38564         * configure: Regenerate.
38566 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38568         * debug/tst-backtrace.h: New file.
38569         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38570         (ret): Remove variable.
38571         (x): Likewise.
38572         (FAIL): Remove macro.
38573         (NO_INLINE): Likewise.
38574         (fn1): Use match function instead of strstr.
38575         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38576         (ret): Remove variable.
38577         (x): Likewise.
38578         (FAIL): Remove macro.
38579         (NO_INLINE): Likewise.
38580         (fn): Use match function instead of strstr.
38581         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38582         (ret): Remove variable.
38583         (x): Likewise.
38584         (FAIL): Remove macro.
38585         (NO_INLINE): Likewise.
38586         (handle_signal): Use match function instead of strstr.
38587         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38588         (ret): Remove variable.
38589         (x): Likewise.
38590         (FAIL): Remove macro.
38591         (NO_INLINE): Likewise.
38592         (handle_signal): Use match function instead of strstr.
38594 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38596         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38598 2013-01-23  David S. Miller  <davem@davemloft.net>
38600         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38601         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38602         argument of CAS if possible.
38603         * sysdeps/sparc/sparc64/bits/atomic.h
38604         (__arch_compare_and_exchange_val_32_acq): Likewise.
38605         (__arch_compare_and_exchange_val_64_acq): Likewise.
38607 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38609         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38610         * sysdeps/posix/ulimit.c: ... this.
38611         Include <limits.h>.
38612         * sysdeps/unix/bsd/ulimit.c: Remove file.
38614 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38616         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38617         (LDFLAGS-tst-array5): Likewise.
38619 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38621         [BZ #15036]
38622         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38623         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38624         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38625         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38627 2013-01-21  David S. Miller  <davem@davemloft.net>
38629         * sysdeps/sparc/backtrace.c: New file.
38630         * sysdeps/sparc/sparc32/backtrace.h: New file.
38631         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38632         * sysdeps/sparc/sparc64/backtrace.h: New file.
38633         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38634         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38635         -funwind-tables.
38637 2013-01-21  Andreas Schwab  <schwab@suse.de>
38639         [BZ #15020]
38640         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38641         closed its stdout.
38643 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38646         "mpa2.h".
38647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38649 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38650             Mark Mitchell  <mark@codesourcery.com>
38651             Tom de Vries  <tom@codesourcery.com>
38652             Paul Pluzhnikov  <ppluzhnikov@google.com>
38654         * debug/tst-backtrace2.c: New file.
38655         * debug/tst-backtrace3.c: Likewise.
38656         * debug/tst-backtrace4.c: Likewise.
38657         * debug/tst-backtrace5.c: Likewise.
38658         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38659         (CFLAGS-tst-backtrace3.c): Likewise.
38660         (CFLAGS-tst-backtrace4.c): Likewise.
38661         (CFLAGS-tst-backtrace5.c): Likewise.
38662         (LDFLAGS-tst-backtrace2): Likewise.
38663         (LDFLAGS-tst-backtrace3): Likewise.
38664         (LDFLAGS-tst-backtrace4): Likewise.
38665         (LDFLAGS-tst-backtrace5): Likewise.
38666         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38667         tst-backtrace4 and tst-backtrace5.
38669 2013-01-18  Anton Blanchard  <anton@samba.org>
38670             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38672         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38673         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38674         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38675         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38677         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38678         "+r" and remove output regs list as redundant.  Add explicit inline
38679         asm to specify register of return val to work around compiler codegen
38680         bug.  Remove (int) cast on return value.  Add return type parameter to
38681         use in macro so that this macro does not truncate return value for
38682         64-bit values.
38683         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38684         pass to INTERNAL_VSYSCALL_NCS.
38685         (INLINE_VSYSCALL): Add 'long int' as return type to
38686         INTERNAL_VSYSCALL_NCS macro invocation.
38687         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38688         INTERNAL_VSYSCALL_NCS macro invocation.
38689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38691 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38693         [BZ #14496]
38694         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38695         Fix application of SIMD FP exception mask.
38697         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38698         mp_no from a power of two.
38699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38700         __mpexp_twomm1.  Use __pow_mp.
38702         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38703         multiplication.
38705 2013-01-17  David S. Miller  <davem@davemloft.net>
38707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38709 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38711         [BZ #15023]
38712         * include/complex.h: Condition contents on [!_COMPLEX_H].
38713         (__kernel_casinhf): New prototype.
38714         (__kernel_casinh): Likewise.
38715         (__kernel_casinhl): Likewise.
38716         * math/Makefile (libm_calls): Add k_casinh.
38717         * math/k_casinh.c: New file.
38718         * math/k_casinhf.c: Likewise.
38719         * math/k_casinhl.c: Likewise.
38720         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38721         finite nonzero arguments.
38722         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38723         finite nonzero arguments.
38724         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38725         finite nonzero arguments.
38726         * math/s_casinh.c: Do not include <float.h>.
38727         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38728         * math/s_casinhf.c: Do not include <float.h>.
38729         (__casinhf): Move code for finite nonzero arguments to
38730         k_casinhf.c.
38731         * math/s_casinhl.c: Do not include <float.h>.
38732         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38733         redefine.
38734         (__casinhl): Move code for finite nonzero arguments to
38735         k_casinhl.c.
38736         * math/libm-test.inc (cacos_test): Add more tests.
38737         * sysdeps/i386/fpu/libm-test-ulps: Update.
38738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38740 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38742         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38743         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38744         [!HAVE_MREMAP]: Remove [defined linux] case.
38745         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38747 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38749         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38751 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38753         * elf/elf.h (R_386_SIZE32): New relocation.
38754         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38755         R_386_SIZE32.
38756         (elf_machine_rela): Likewise.
38757         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38758         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38760 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38762         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38763         (FP_FAST_FMA): Do not define.
38764         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38765         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38766         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38767         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38768         !_SOFT_FLOAT]: Likewise.
38769         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38770         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38771         value.
38772         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38773         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38774         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38775         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38776         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38777         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38778         file.
38780 2013-01-16  Andreas Schwab  <schwab@suse.de>
38782         [BZ #14327]
38783         * include/stdlib.h (__mktemp): Add declaration.
38784         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38785         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38787 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38789         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38790         definitions.
38791         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38792         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38793         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38794         definitions here.
38795         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38796         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38797         definitions.
38798         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38799         and ONE.
38800         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38801         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38802         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38803         definitions.
38804         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38805         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38806         definitions.
38807         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38809         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38811 2013-01-15  David S. Miller  <davem@davemloft.net>
38813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38814         trunc{,f} to libm-sysdep_routes.
38815         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38817         file.
38818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38820         file.
38821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38822         file.
38823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38825         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38826         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38827         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38828         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38829         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38830         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38833         nearbyint{,f} to libm-sysdep_routes.
38834         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38836         New file.
38837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38838         file.
38839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38840         New file.
38841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38842         file.
38843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38845         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38846         file.
38847         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38848         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38849         file.
38850         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38851         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38852         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38854         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38855         libc_feholdexcept and libc_fesetenv.
38857 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38859         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38861 2013-01-14  David S. Miller  <davem@davemloft.net>
38863         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38864         (SPARC_ASM_VIS2_IFUNC): Likewise.
38865         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38867         use of 'siam' instruction.
38868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38869         Likewise.
38870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38871         Likewise.
38872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38873         Likewise.
38874         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38875         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38876         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38877         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38879         file.
38880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38881         file.
38882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38883         file.
38884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38885         file.
38886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38888         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38889         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38891         new VIS2 routines.
38892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38895         Likewise.
38896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38901         routines to libm-sysdep_routines.
38902         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38905         fdim/fdimf to libm-sysdep_routines.
38906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38907         file.
38908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38910         file.
38911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38914         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38915         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38916         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38917         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38919 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38921         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38922         to optimize copies.
38924         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38925         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38929         local variable MPTWO.
38930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38931         Likewise.
38933 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38935         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38936         GLOB_NOESCAPE.
38938 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38940         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38942 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38944         * manual/pattern.texi (glob_t): Document gl_flags.
38945         (glob64_t): Likewise.
38947 2013-01-11  David S. Miller  <davem@davemloft.net>
38949         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38950         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38951         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38952         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38953         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38954         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38955         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38956         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38957         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38958         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38959         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38960         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38961         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38963         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38964         sparc V9 rather than using V8 code.
38965         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38966         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38968         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38969         Move to...
38970         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38971         Here.
38973 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38975         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38976         not in the main loop.
38977         * configure: Regenerated.
38979 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38981         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38982         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38983         to just #else.
38984         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38985         [!__GLIBC_HAVE_LONG_LONG] case.
38986         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38987         condition to just #else.
38988         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38989         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38990         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38991         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38992         unconditional.
38993         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38994         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38995         #elif condition to just #else.
38996         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38997         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38998         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38999         #elif condition to just #else.
39001 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39003         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39004         (EF_MIPS_ARCH_64): Fix value.
39005         (EF_MIPS_ARCH_32R2): New.
39006         (EF_MIPS_ARCH_64R2): New.
39008 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39010         * Makeconfig (+link-pie-before-libc): New.
39011         (+link-pie-after-libc): Likewise.
39012         (+link-pie-tests): Likewise.
39013         (+link-pie): Rewritten.
39014         (link-before-libc): Remove $(config-LDFLAGS).
39015         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39016         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39017         (config-LDFLAGS): Renamed to ...
39018         (rtld-LDFLAGS): This.
39019         (rtld-tests-LDFLAGS): New macro.
39020         (link-libc-rpath-link): Likewise.
39021         (link-libc-tests-rpath-link): Likewise.
39022         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39023         (link-libc): Prepand $(link-libc-rpath-link).
39024         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39025         (test-program-prefix): New macro.
39026         (test-via-rtld-prefix): Likewise.
39027         (test-program-cmd): Likewise.
39028         (host-test-program-cmd): Likewise.
39029         * Makefile ($(common-objpfx)testrun.sh): Replace
39030         $(run-program-prefix) with $(test-program-prefix).
39031         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39032         $(rtld-LDFLAGS).
39033         ($(common-objpfx)shlib.lds): Likewise.
39034         (build-module-helper): Likewise.
39035         ($(common-objpfx)format.lds): Likewise.
39036         * Rules (binaries-pie-tests): New.
39037         (binaries-pie-notests): Likewise.
39038         (binaries-pie): Rewritten.
39039         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39040         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39041         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39042         (make-test-out): Replace $(host-built-program-cmd) with
39043         $(host-test-program-cmd).
39044         * config.make.in (build-hardcoded-path-in-tests): New variable.
39045         * configure.in (--enable-hardcoded-path-in-tests): New configure
39046         option.
39047         (hardcoded_path_in_tests): New AC_SUBST.
39048         * configure: Regenerated.
39049         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39050         $(built-program-cmd) with $(test-program-cmd).
39051         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39052         (test_program_cmd): This.
39053         * elf/Makefile ($(objpfx)order.out): Run test with
39054         $(test-program-prefix).
39055         ($(objpfx)order2.out): Likewise.
39056         ($(objpfx)tst-initorder.out): Likewise.
39057         ($(objpfx)tst-initorder2.out): Likewise.
39058         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39059         $(test-program-cmd).
39060         ($(objpfx)tst-array1-static.out): Likewise.
39061         ($(objpfx)tst-array2.out): Likewise.
39062         ($(objpfx)tst-array3.out): Likewise.
39063         ($(objpfx)tst-array4.out): Likewise.
39064         ($(objpfx)tst-array5.out): Likewise.
39065         ($(objpfx)tst-array5-static.out): Likewise.
39066         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39067         $(test-program-cmd).
39068         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39069         $(run-program-prefix) with $(test-program-prefix).
39070         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39071         (test_program_prefix): This.
39072         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39073         $(run-program-prefix) with $(test-program-prefix).
39074         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39075         (test_program_prefix): This.
39076         * iconvdata/tst-tables.sh: Likewise.
39077         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39078         $(run-program-prefix) with $(test-program-prefix).
39079         ($(objpfx)tst-translit.out): Likewise.
39080         ($(objpfx)tst-gettext2.out): Likewise.
39081         ($(objpfx)tst-gettext4.out): Likewise.
39082         ($(objpfx)tst-gettext6.out): Likewise.
39083         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39084         (test_program_prefix): This.
39085         * intl/tst-gettext2.sh: Likewise.
39086         * intl/tst-gettext4.sh  Likewise.
39087         * intl/tst-gettext6.sh: Likewise.
39088         * intl/tst-translit.sh: Likewise.
39089         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39090         with $(test-program-cmd).
39091         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39092         $(run-program-prefix) with $(test-program-prefix).
39093         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39094         (test_program_prefix): This.
39095         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39096         $(run-program-prefix) with $(test-program-prefix).
39097         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39098         (test_program_prefix): This.
39099         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39100         * posix/Makefile ($(objpfx)globtest.out): Replace
39101         $(run-via-rtld-prefix) and $(test-wrapper) with
39102         $(test-program-prefix) and $(test-via-rtld-prefix).
39103         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39104         $(test-program-prefix).
39105         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39106         $(host-test-program-cmd).
39107         (tst-spawn-ARGS): Likewise.
39108         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39109         $(test-program-prefix).
39110         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39111         (test_via_rtld_prefix): This.
39112         (test_wrapper): Renamed to ...
39113         (test_program_prefix): This.
39114         (run_program_prefix): Replaced by test_program_prefix.
39115         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39116         (test_program_prefix): This.
39117         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39118         with $(host-test-program-cmd).
39119         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39120         $(run-program-prefix) with $(test-program-prefix).
39121         ($(objpfx)tst-printf.out): Likewise.
39122         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39123         $(test-program-cmd).
39124         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39125         (test_program_prefix): This.
39126         * stdio-common/tst-unbputc.sh: Likewise.
39127         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39128         $(run-program-prefix) with $(test-program-prefix).
39129         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39130         (test_program_prefix): This.
39131         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39132         $(built-program-cmd) with $(test-program-cmd).
39134 2013-01-11  Andreas Jaeger  <aj@suse.de>
39136         [BZ #15003]
39137         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39138         value. Sync with Linux 3.7.
39140 2013-01-10  David S. Miller  <davem@davemloft.net>
39142         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39143         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39144         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39146 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39148         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39149         never set.
39150         * configure: Regenerated.
39152 2013-01-10  David S. Miller  <davem@davemloft.net>
39154         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39155         sparc V9 rather than using V8 code.
39156         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39157         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39159 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39161         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39162         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39163         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39164         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39165         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39166         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39167         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39168         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39169         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39170         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39171         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39172         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39173         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39174         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39175         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39176         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39177         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39178         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39179         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39180         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39181         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39182         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39183         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39184         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39185         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39186         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39187         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39189 2013-01-10  David S. Miller  <davem@davemloft.net>
39191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39193 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39195         * posix/Makefile (tests-static): New variable.
39196         (tests): Add $(tests-static).
39197         (tst-exec-static-ARGS): New variable.
39198         (tst-spawn-static-ARGS): Likewise.
39199         * posix/tst-exec-static.c: New file.
39200         * posix/tst-spawn-static.c: Likewise.
39201         * posix/tst-exec.c: Support run directly.
39202         * posix/tst-spawn.c: Likewise.
39204 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39206         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39207         long.
39208         * math/bits/mathcalls.h (llrint): Likewise.
39209         (llround): Likewise.
39210         * stdlib/stdlib.h (struct drand48_data): Likewise.
39211         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39212         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39213         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39214         Likewise.
39215         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39216         Likewise.
39217         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39218         (elf_greg_t): Likewise.
39219         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39220         (__jmp_buf): Likewise.
39221         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39222         definitions.
39223         (llrint): Likewise, for all definitions.
39224         (llrintl): Likewise.
39226         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39227         Remove [__GNUC__] condition.
39228         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39229         condition to just [__USE_ISOC99].
39230         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39232 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39234         [BZ #14200]
39235         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39236         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39237         defined.
39238         (_POSIX_V6_ILP32_OFF32): Likewise.
39239         (_XBS5_ILP32_OFF32): Likewise.
39240         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39241         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39243 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39245         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39247         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39248         doubles __mpexp_twomm1.  Adjust usage.
39249         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39250         Remove.
39252 2013-01-10  Andreas Schwab  <schwab@suse.de>
39254         [BZ #14964]
39255         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39256         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39258 2013-01-09  David S. Miller  <davem@davemloft.net>
39260         [BZ #15003]
39261         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39262         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39263         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39264         (TCP_FASTOPEN): Define.
39265         (tcp_repair_opt): New structure.
39266         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39267         enum values.
39268         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39269         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39270         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39271         (tcp_cookie_transactions): New structure.
39273 2013-01-09  Anton Blanchard  <anton@samba.org>
39275         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39276         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39277         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39278         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39280 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39282         * include/features.h (__USE_ANSI): Remove.
39284 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39286         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39288         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39290 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39292         * sysdeps/s390/fpu/libm-test-ulps: Update.
39294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39296         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39297         (__acr): Likewise.
39298         (__cpy): Likewise.
39299         (norm): Likewise.
39300         (denorm): Likewise.
39301         (__mp_dbl): Likewise.
39302         (__dbl_mp): Likewise.
39303         (add_magnitudes): Likewise.
39304         (sub_magnitudes): Likewise.
39305         (__add): Likewise.
39306         (__sub): Likewise.
39307         (__mul): Likewise.
39308         (__inv): Likewise.
39309         (__dvd): Likewise.
39310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39311         (__acr): Likewise.
39312         (__cpy): Likewise.
39313         (norm): Likewise.
39314         (denorm): Likewise.
39315         (__mp_dbl): Likewise.
39316         (__dbl_mp): Likewise.
39317         (add_magnitudes): Likewise.
39318         (sub_magnitudes): Likewise.
39319         (__add): Likewise.
39320         (__sub): Likewise.
39321         (__mul): Likewise.
39322         (__inv): Likewise.
39323         (__dvd): Likewise.
39324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39325         (__acr): Likewise.
39326         (__cpy): Likewise.
39327         (norm): Likewise.
39328         (denorm): Likewise.
39329         (__mp_dbl): Likewise.
39330         (__dbl_mp): Likewise.
39331         (add_magnitudes): Likewise.
39332         (sub_magnitudes): Likewise.
39333         (__add): Likewise.
39334         (__sub): Likewise.
39335         (__mul): Likewise.
39336         (__inv): Likewise.
39337         (__dvd): Likewise.
39339 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39341         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39342         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39343         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39344         2 && __USE_EXTERN_INLINES]: Likewise.
39346 2013-01-08  Andreas Jaeger  <aj@suse.de>
39348         [BZ# 14985]
39349         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39350         Remove.
39351         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39352         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39354 2013-01-07  Anton Blanchard  <anton@samba.org>
39356         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39357         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39358         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39359         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39360         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39361         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39362         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39363         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39365         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39366         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39367         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39368         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39369         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39370         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39371         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39372         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39373         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39374         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39375         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39376         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39377         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39378         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39379         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39380         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39381         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39382         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39383         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39384         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39385         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39386         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39387         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39388         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39389         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39390         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39391         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39392         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39393         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39394         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39395         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39396         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39397         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39398         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39400 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39402         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39403         (__MALLOC_PMT): Likewise.
39404         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39405         [__GNUC__], only on [_LIBC].
39406         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39407         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39408         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39409         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39410         forward declaration.
39411         (realloc_hook_ini): Likewise.
39412         (memalign_hook_ini): Likewise.
39413         (__libc_memalign): Do not use __MALLOC_PMT in variable
39414         declaration.
39415         (__libc_valloc): Likewise.
39416         (__libc_pvalloc): Likewise.
39417         (__libc_calloc): Likewise.
39418         (__posix_memalign): Likewise.
39420         [BZ #14996]
39421         * math/s_casinh.c: Include <float.h>.
39422         (__casinh): Do not do computation with squaring and square root
39423         for large arguments.
39424         * math/s_casinhf.c: Include <float.h>.
39425         (__casinhf): Do not do computation with squaring and square root
39426         for large arguments.
39427         * math/s_casinhl.c: Include <float.h>.
39428         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39429         (__casinhl): Do not do computation with squaring and square root
39430         for large arguments.
39431         * math/libm-test.inc (casin_test): Add more tests.
39432         (casinh_test): Likewise.
39433         * sysdeps/i386/fpu/libm-test-ulps: Update.
39434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39436 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39438         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39439         (__x86_64_raw_data_cache_size): Likewise.
39440         (__x86_64_data_cache_size_half): Likewise.
39441         (__x86_64_raw_data_cache_size_half): Likewise.
39442         (__x86_64_shared_cache_size): Likewise.
39443         (__x86_64_raw_shared_cache_size): Likewise.
39444         (__x86_64_shared_cache_size_half): Likewise.
39445         (__x86_64_raw_shared_cache_size_half): Likewise.
39446         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39447         to ...
39448         (__x86_data_cache_size): This.
39449         (__x86_64_raw_data_cache_size): Renamed to ...
39450         (__x86_raw_data_cache_size): This.
39451         (__x86_64_data_cache_size_half): Renamed to ...
39452         (__x86_data_cache_size_half): This.
39453         (__x86_64_raw_data_cache_size_half): Renamed to ...
39454         (__x86_raw_data_cache_size_half): This.
39455         (__x86_64_shared_cache_size): Renamed to ...
39456         (__x86_shared_cache_size): This.
39457         (__x86_64_raw_shared_cache_size): Renamed to ...
39458         (__x86_raw_shared_cache_size): This.
39459         (__x86_64_shared_cache_size_half): Renamed to ...
39460         (__x86_shared_cache_size_half): This.
39461         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39462         (__x86_raw_shared_cache_size_half): This.
39463         * sysdeps/x86_64/memcpy.S: Updated.
39464         * sysdeps/x86_64/memset.S: Likewise.
39465         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39466         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39467         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39469 2013-01-04  David S. Miller  <davem@davemloft.net>
39471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39473 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39475         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39476         1 to avoid redefinition warning.
39477         (__USE_GNU): Don't define.
39478         (init_signaling_nan): Protoize.
39480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39482 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39484         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39485         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39486         (__cpymn): Likewise.
39487         (norm): Remove commented code.
39488         (denorm): Likewise.
39489         (__mp_dbl): Likewise.
39490         (__inv): Likewise.
39491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39492         (__cpymn): Likewise.
39493         (norm): Remove commented code.
39494         (denorm): Likewise.
39495         (__mp_dbl): Likewise.
39496         (__inv): Likewise.
39498         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39499         mp_no value for 1.0 and 2.0.
39500         (norm): Use RADIXI instead of radixi.d.
39501         (denorm): Likewise.
39502         (__mul): Use 0.0 instead of zero.d.
39503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39504         mp_no value for 1.0 and 2.0.
39505         (norm): Use RADIXI instead of radixi.d.
39506         (denorm): Likewise.
39507         (__mul): Use 0.0 instead of zero.d.
39509 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39511         [BZ #14994]
39512         * math/s_casinh.c (__casinh): Reduce finite argument to first
39513         quadrant then set signs of results at the end.
39514         * math/s_casinhf.c (__casinhf): Likewise.
39515         * math/s_casinhl.c (__casinhl): Likewise.
39516         * math/libm-test.inc (casin_test): Add more tests.
39517         (casinh_test): Likewise.
39518         * sysdeps/i386/fpu/libm-test-ulps: Update.
39519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39521 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39523         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39525         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39527         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39528         declarations.
39529         (denorm): Likewise.
39530         (__mp_dbl): Likewise.
39531         (__inv): Likewise.
39533         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39534         and adjust the header comment.
39536         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39537         variable name from declaration.
39539 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39542         Initialize COMMON_CPUID_INDEX_7 element.
39543         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39544         (CPUID_RTM): Likewise.
39545         (HAS_RTM): Likewise.
39546         (COMMON_CPUID_INDEX_7): New enum.
39548 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39550         [BZ #14981]
39551         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39552         size is zero, record memory as freed.
39554 2013-01-03  Andreas Jaeger  <aj@suse.de>
39556         * po/ia.po: Add new Interlingua translation.
39558 2012-01-03  Allan McRae  <allan@archlinux.org>
39560         * locale/programs/localedef.c: Fix description of '--posix' flag.
39562 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39564         * NEWS: Update dates in second copyright notice.
39565         * README: Update copyright dates in example.
39566         * manual/libc.texinfo: Update copyright dates.
39567         * scripts/test-installation.pl: Update copyright date in --version
39568         output.
39570         * hurd/ctty-input.c: Fix copyright notice formatting.
39571         * hurd/ctty-output.c: Likewise.
39572         * hurd/dtable.c: Likewise.
39573         * hurd/hurd-raise.c: Likewise.
39574         * hurd/hurdprio.c: Likewise.
39575         * hurd/msgportdemux.c: Likewise.
39576         * misc/sys/file.h: Likewise.
39577         * misc/sys/ioctl.h: Likewise.
39578         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39579         * sysdeps/mach/hurd/chdir.c: Likewise.
39580         * sysdeps/mach/hurd/fchdir.c: Likewise.
39581         * sysdeps/mach/hurd/rename.c: Likewise.
39582         * sysdeps/mach/hurd/rmdir.c: Likewise.
39583         * sysdeps/mach/hurd/seekdir.c: Likewise.
39584         * sysdeps/mach/hurd/setsid.c: Likewise.
39585         * sysdeps/posix/wait3.c: Likewise.
39587         * All files with FSF copyright notices: Update copyright dates
39588         using scripts/update-copyrights.
39589         * intl/plural.c: Regenerated.
39590         * locale/programs/charmap-kw.h: Likewise.
39591         * locale/programs/locfile-kw.h: Likewise.
39593 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39595         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39596         four values.
39598         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39599         calculation loop and add branch prediction.
39601         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39602         check access beyond bounds of m1np.
39604         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39605         MPTWO.
39606         (__inv): Remove local variable MPTWO to use the global
39607         constant.
39608         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39609         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39610         variable MPTWO.
39611         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39612         MP3HALFS static const.
39614 2013-01-01  David S. Miller  <davem@davemloft.net>
39616         * po/ca.po: Update from translation team.
39618 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39620         * scripts/update-copyrights: New file.
39621         * Makeconfig: Reformat copyright notice.
39622         * ctype/ctype.h: Likewise.
39623         * debug/swprintf_chk.c: Likewise.
39624         * elf/dl-cache.c: Likewise.
39625         * elf/dl-debug.c: Likewise.
39626         * elf/dl-object.c: Likewise.
39627         * grp/initgroups.c: Likewise.
39628         * hurd/Makefile: Likewise.
39629         * hurd/hurd/signal.h: Likewise.
39630         * hurd/hurdfault.c: Likewise.
39631         * hurd/hurdioctl.c: Likewise.
39632         * hurd/hurdlookup.c: Likewise.
39633         * hurd/intr-msg.c: Likewise.
39634         * iconv/gconv_open.c: Likewise.
39635         * libio/swprintf.c: Likewise.
39636         * locale/lc-ctype.c: Likewise.
39637         * locale/nl_langinfo.c: Likewise.
39638         * mach/Machrules: Likewise.
39639         * mach/Makefile: Likewise.
39640         * malloc/obstack.h: Likewise.
39641         * manual/Makefile: Likewise.
39642         * manual/tsort.awk: Likewise.
39643         * misc/bits/stab.def: Likewise.
39644         * nis/nis_print_group_entry.c: Likewise.
39645         * nis/nis_table.c: Likewise.
39646         * nis/nss_compat/compat-pwd.c: Likewise.
39647         * nis/nss_compat/compat-spwd.c: Likewise.
39648         * po/Makefile: Likewise.
39649         * posix/fnmatch.c: Likewise.
39650         * posix/regex.h: Likewise.
39651         * resolv/Makefile: Likewise.
39652         * resolv/nss_dns/dns-network.c: Likewise.
39653         * resolv/res_hconf.c: Likewise.
39654         * scripts/gen-sorted.awk: Likewise.
39655         * soft-fp/soft-fp.h: Likewise.
39656         * stdio-common/printf.h: Likewise.
39657         * stdlib/monetary.h: Likewise.
39658         * stdlib/random.c: Likewise.
39659         * stdlib/random_r.c: Likewise.
39660         * sysdeps/generic/Makefile: Likewise.
39661         * sysdeps/gnu/Makefile: Likewise.
39662         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39663         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39664         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39665         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39666         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39667         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39668         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39669         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39670         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39671         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39672         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39673         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39674         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39675         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39676         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39677         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39678         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39679         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39680         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39681         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39682         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39683         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39684         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39685         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39686         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39687         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39688         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39689         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39690         * sysdeps/mach/hurd/errnos.awk: Likewise.
39691         * sysdeps/mach/hurd/fork.c: Likewise.
39692         * sysdeps/mach/hurd/getcwd.c: Likewise.
39693         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39694         * sysdeps/mach/hurd/mmap.c: Likewise.
39695         * sysdeps/mach/hurd/utimes.c: Likewise.
39696         * sysdeps/mach/hurd/xmknod.c: Likewise.
39697         * sysdeps/posix/profil.c: Likewise.
39698         * sysdeps/posix/readdir_r.c: Likewise.
39699         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39700         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39701         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39702         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39704         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39705         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39706         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39708         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39709         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39710         * sysdeps/pthread/lio_listio.c: Likewise.
39711         * sysdeps/sparc/dl-procinfo.h: Likewise.
39712         * sysdeps/unix/i386/sysdep.S: Likewise.
39713         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39714         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39715         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39716         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39718         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39719         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39720         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39721         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39722         * sysdeps/wordsize-32/divdi3.c: Likewise.
39723         * time/sys/time.h: Likewise.
39724         * wcsmbs/Makefile: Likewise.
39726 2013-01-01  David S. Miller  <davem@davemloft.net>
39728         * po/fr.po: Update from translation team.
39730         * catgets/gencat.c: Update copyright year.
39731         * csu/version.c: Likewise.
39732         * debug/catchsegv.sh: Likewise.
39733         * debug/pcprofiledump.c: Likewise.
39734         * debug/xtrace.sh: Likewise.
39735         * elf/ldconfig.c: Likewise.
39736         * elf/ldd.bash.in: Likewise.
39737         * elf/pldd.c: Likewise.
39738         * elf/sotruss.ksh: Likewise.
39739         * elf/sprof.c: Likewise.
39740         * iconv/iconv_prog.c: Likewise.
39741         * iconv/iconvconfig.c: Likewise.
39742         * locale/programs/locale.c: Likewise.
39743         * locale/programs/localedef.c: Likewise.
39744         * login/programs/pt_chown.c: Likewise.
39745         * malloc/memusage.sh: Likewise.
39746         * malloc/memusagestat.c: Likewise.
39747         * malloc/mtrace.pl: Likewise.
39748         * nscd/nscd.c: Likewise.
39749         * nss/getent.c: Likewise.
39750         * nss/makedb.c: Likewise.
39751         * posix/getconf.c: Likewise.
39753 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39755         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39756         numbers.
39758 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39760         * math/bits/mathcalls.h (modf): Use __nonnull.
39762 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39764         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39765         (split): Use macro CN instead of the bare value.
39766         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39767         could be used.
39768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39769         instead of the bare value.
39770         (power1): Likewise.
39772 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39774         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39775         __ATAN_TWOM.
39776         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39778         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39779         their values.
39780         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39781         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39782         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39783         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39785 2012-12-28  Andreas Jaeger  <aj@suse.de>
39787         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39788         values are from Linux 3.7.
39790         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39791         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39793 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39795         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39796         TRUE case.
39798         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39799         (norm): Likewise.
39800         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39801         variables with preprocessor constants.
39802         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39803         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39804         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39806 2012-12-27  Bruno Haible  <bruno@clisp.org>
39808         [BZ #14317]
39809         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39810         only if needed.
39812 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39814         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39815         and use variable directly.
39816         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39818         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39819         MPONE.
39820         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39821         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39822         variable MPONE.
39823         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39825         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39826         include directive.  Remove local variable MPONE.
39827         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39828         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39829         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39831 2012-12-25  David S. Miller  <davem@davemloft.net>
39833         * version.h (RELEASE): Set to "development".
39834         (VERSION): Set to "2.17.90".
39835         * NEWS: Add 2.18 section.
39837 2012-12-21  David S. Miller  <davem@davemloft.net>
39839         * po/hr.po: Update from translation team.
39841 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39843         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39845 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39847         * NEWS:  Mention new memcpy for MIPS.
39849 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39851         * manual/contrib.texi (Contributors): Spelling correction.
39853 2012-12-15  David S. Miller  <davem@davemloft.net>
39855         * po/ru.po: Update from translation team.
39857 2012-12-13  David S. Miller  <davem@davemloft.net>
39859         * NEWS: Mention IFUNC testsuite enhancements.
39861         * po/pl.po: Update from translation team.
39862         * po/bg.po: Likewise.
39864         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39865         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39867 2012-12-11  David S. Miller  <davem@davemloft.net>
39869         * po/sv.po: Update from translation team.
39871         * po/vi.po: Update from translation team.
39873         * po/cs.po: Update from translation team.
39875         * po/de.po: Update from translation team.
39876         * po/eo.po: Likewise.
39877         * po/nl.po: Likewise.
39879 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39881         [BZ #14246]
39882         * manual/argp.texi (Argp Helper Functions): Move node to follow
39883         Argp Parsing State.
39885         [BZ #14872]
39886         * manual/conf.texi (Limits on File System Capacity): Mention if
39887         terminating null is included in the max size.
39889 2012-12-10  Andreas Jaeger  <aj@suse.de>
39891         * po/cs.po: Update from translation team.
39893 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39895         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39896         void pointer and cast to uintptr_t.
39897         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39898         path.
39899         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39900         * sysdeps/s390/s390-64/memset.S: Likewise.
39902 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39904         [BZ #14833]
39905         * menual/message.texi (Message Translation): Fix typos.
39906         (Helper programs for gettext): Likewise.
39908 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39910         [BZ #14898]
39911         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39912         Change to -1.
39914 2012-12-07  David S. Miller  <davem@davemloft.net>
39916         * po/libc.pot: Update.
39918 2012-12-07  Richard Henderson  <rth@redhat.com>
39920         [BZ #10114]
39921         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39922         normal/normal case to before the switch.
39923         (_FP_DIV): Likewise.
39925 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39926             Mike Frysinger  <vapier@gentoo.org>
39928         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39929         check for __NR_fadvise64_64.
39931 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39933         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39934         0, not just to plain "0" as a statement.
39935         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39936         with cw.
39938 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39940         * NEWS: Use sourceware.org in Bugzilla URL.
39942 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39945         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39947         * stdio-common/tst-put-error.c (do_test): Add newline to the
39948         padded test to ensure flush.
39950 2012-12-05  Jeff Law  <law@redhat.com>
39952         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39954 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39956         * README: Don't refer to ports add-on as distributed separately.
39957         Mention AArch64 in list of systems supported in the ports add-on.
39959         * LICENSES: Add more non-FSF copyright and license notices.
39961         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39962         ((unused)).
39964         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39966         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39967         10000 as width of padded output.
39969 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39971         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39973         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39974         variable LX with __attribute__ ((unused)).
39975         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39976         Likewise.
39977         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39978         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39979         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39980         with __attribute__ ((unused)).
39982 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39984         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39986 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39988         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39989         (CFLAGS-nldbl-acos.c): New variable.
39990         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39991         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39992         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39993         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39994         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39995         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39996         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39997         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39998         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39999         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40000         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40001         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40002         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40003         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40004         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40005         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40006         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40007         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40008         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40009         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40010         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40011         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40012         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40013         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40014         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40015         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40016         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40017         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40018         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40019         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40020         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40021         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40022         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40023         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40024         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40025         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40026         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40027         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40028         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40029         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40030         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40031         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40032         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40033         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40034         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40035         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40036         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40037         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40038         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40039         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40040         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40041         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40042         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40043         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40044         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40045         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40046         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40047         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40048         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40049         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40050         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40051         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40052         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40053         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40054         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40055         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40056         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40057         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40058         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40059         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40060         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40061         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40062         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40063         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40064         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40065         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40066         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40067         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40068         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40069         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40070         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40071         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40072         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40073         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40074         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40075         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40076         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40077         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40078         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40079         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40080         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40081         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40082         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40083         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40084         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40085         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40086         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40089         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40091         [BZ #14914]
40092         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40093         whole low double instead of just low 47 bits when splitting values
40094         into two parts.
40096 2012-12-03  Allan McRae  <allan@archlinux.org>
40098         * manual/stdio.texi (Predefined Printf Handlers): Remove
40099         @hsep and @vsep usage.
40101 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40103         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40104         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40106 2012-12-03  Jeff Law  <law@redhat.com>
40108         * time/sys/time.h (settimeofday): Do not mark TV argument
40109         as __nonnull.
40111 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40113         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40114         when currently writing and seek to current position when not.
40115         * libio/Makefile (tests): Remove bug-fclose1.
40116         * libio/bug-fclose1.c: Delete.
40118 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40120         * manual/arith.texi (feenableexcept): Fix typo.
40121         (fedisableexcept): Likewise.
40123 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40125         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40126         second, differently-typed declaration, rather than a cast.
40128 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40130         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40131         * include/rpc/svc.h: ... here.
40133 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40135         [BZ #13013]
40136         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40137         depending n and resplen2 to catch cases where answer
40138         equals answerp2.
40140 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40142         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40143         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40145 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40147         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40149 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40151         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40153 2012-11-28  Jeff Law  <law@redhat.com>
40155         [BZ #13761]
40156         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40157         dataset_temporary.  Track alloca usage into alloca_used.
40158         If dataset is large allocate and release it via malloc/free.
40160 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40162         [BZ #14197]
40163         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40165 2012-11-28  David S. Miller  <davem@davemloft.net>
40167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40169 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40171         [BZ #14803]
40172         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40173         of pi/2 rounded to nearest to 64 bits.
40174         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40175         nearest to 64 bits.
40176         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40177         bits.
40179 2012-11-28  Jeff Law <law@redhat.com>
40180             Martin Osvald <mosvald@redhat.com>
40182         [BZ #14889]
40183         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40184         * sunrpc/svc.c: Include time.h.
40185         (__svc_accept_failed): New function.
40186         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40187         any reason other than EINTR, call __svc_accept_failed.
40188         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40189         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40191 2012-11-28  Andreas Schwab  <schwab@suse.de>
40193         * scripts/abilist.awk: Also handle indirect functions in .opd
40194         section.
40196 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40198         [BZ #13881]
40199         * sysdeps/x86/fpu/powl_helper.c: New file.
40200         * sysdeps/x86/fpu/Makefile: Likewise.
40201         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40202         (p3): New object.
40203         (__ieee754_powl): Use __powl_helper for finite arguments except
40204         integer exponents below 8.
40205         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40206         (p3): New object.
40207         (__ieee754_powl): Use __powl_helper for finite arguments except
40208         integer exponents below 8.
40209         * math/libm-test.inc (pow_test): Add more tests and enable some
40210         previously disabled tests.
40211         * sysdeps/i386/fpu/libm-test-ulps: Update.
40212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40214 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40215             Carlos O'Donell  <carlos_odonell@mentor.com>
40217         * nss/makedb.c (is_prime): Assert that input is odd and greater
40218         than 4.  Note that fact in a comment too.
40219         (next_prime): Add 4 to input.
40221 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40223         [BZ #11741]
40224         * libio/Makefile (tests): Add test case tst-fwrite-error.
40225         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40226         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40227         * libio/tst-fwrite-error.c: New test case.
40229 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40231         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40232         before casting to void *.
40233         * include/libc-internal.h (__pointer_type): New macro.
40234         (__integer_if_pointer_type_sub): Likewise.
40235         (__integer_if_pointer_type): Likewise.
40236         (cast_to_integer): Likewise.
40237         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40238         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40239         before casting to atomic64_t.
40240         (atomic_exchange_acq): Likewise.
40241         (__arch_exchange_and_add_body): Likewise.
40242         (__arch_add_body): Likewise.
40243         (atomic_add_negative): Likewise.
40244         (atomic_add_zero): Likewise.
40246 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40248         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40249         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40250         (add_fdes): Likewise.
40251         (linear_search_fdes): Likewise.
40252         (binary_search_unencoded_fdes): Likewise.
40254 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40256         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40258 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40260         * configure.in: Autodetect C++ header directories.
40261         * configure: Regenerated.
40263 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40265         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40267 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40271 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40273         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40274         LDBL_MANT_DIG == 106]: Disable some tests.
40275         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40276         Likewise.
40277         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40278         Likewise.
40280         [BZ #14871]
40281         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40282         input for small inputs.  Return +/- pi/2 for large inputs.
40283         * math/libm-test.inc (atan_test): Add more tests.
40285         * sysdeps/generic/unwind-dw2-fde-glibc.c
40286         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40287         __attribute__ ((unused)).
40289         [BZ #14645]
40290         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40291         x * y if x and y are nonzero and z is zero.
40293         [BZ #14811]
40294         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40295         nonzero exponents with absolute value below 0x1p-117 to +/-
40296         0x1p-117.
40298         [BZ #14869]
40299         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40300         up arguments below 2**-450, not just those below 2**-500.
40301         * math/libm-test.inc (hypot_test): Add another test.
40303         [BZ #14868]
40304         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40305         Return a+b for ratio over 2**120, not 2**60.
40306         * math/libm-test.inc (hypot_test): Add another test.
40308         * math/libm-test.inc (clog_test): Use
40309         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40310         (clog10_test): Likewise.
40312         [BZ #6778]
40313         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40315 2012-11-22  Andreas Schwab  <schwab@suse.de>
40317         * sysdeps/i386/fpu/libm-test-ulps: Update.
40319 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40321         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40322         printf output with newline.
40324 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40326         [BZ #14865]
40327         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40328         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40329         -z nodlopen, -z initfirst and -z execstack support.
40330         * configure: Regenerated.
40332         * elf/elf.h (DF_1_NODIRECT): New macro.
40333         (DF_1_IGNMULDEF): Likewise.
40334         (DF_1_NOKSYMS): Likewise.
40335         (DF_1_NOHDR): Likewise.
40336         (DF_1_EDITED): Likewise.
40337         (DF_1_NORELOC): Likewise.
40338         (DF_1_SYMINTPOSE): Likewise.
40339         (DF_1_GLOBAUDIT): Likewise.
40340         (DF_1_SINGLETON): Likewise.
40341         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40342         DT_1_SUPPORTED_MASK bits.
40343         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40345 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40347         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40349 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40351         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40352         macro.
40354         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40355         (sendmmsg): Move declarations...
40356         * socket/sys/socket.h: ... here.
40357         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40358         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40359         include it from...
40360         * socket/recvmmsg.c: ... this new file.
40361         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40362         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40363         definition of __sendmmsg hidden.
40364         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40365         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40366         Move ENOSYS stub into and include it from...
40367         * socket/sendmmsg.c: ... this new file.
40368         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40369         (sysdep_routines): Move recvmmsg and sendmmsg...
40370         * socket/Makefile (routines): ... here.
40371         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40372         (GLIBC_PRIVATE): Add __sendmmsg.
40373         * include/sys/socket.h (__sendmmsg): Add declarations.
40374         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40375         sendmmsg.
40377 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40379         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40380         variable I1 with __attribute__ ((unused)).
40381         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40383 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40385         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40386         DUMMY variables with __attribute__ ((unused)).
40388         * bits/byteswap.h: Include <bits/types.h>.
40389         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40391 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40393         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40394         string_t.  Do not manually set errno.
40395         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40396         length with __strnlen.  Make sure to both set errno and return it on
40397         failure.
40399 2012-11-19  David S. Miller  <davem@davemloft.net>
40401         With help from Joseph Myers.
40402         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40403         very large arguments properly.
40404         * math/libm-test.inc (atan_test): New tests.
40405         (atan2_test): New tests.
40406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40409 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40411         [BZ #14856]
40412         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40413         Define to 3.
40415         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40416         [POSIX] (EADDRNOTAVAIL): Likewise.
40417         [POSIX] (EAFNOSUPPORT): Likewise.
40418         [POSIX] (EALREADY): Likewise.
40419         [POSIX] (ECONNABORTED): Likewise.
40420         [POSIX] (ECONNREFUSED): Likewise.
40421         [POSIX] (ECONNRESET): Likewise.
40422         [POSIX] (EDESTADDRREQ): Likewise.
40423         [POSIX] (EDQUOT): Likewise.
40424         [POSIX] (EHOSTUNREACH): Likewise.
40425         [POSIX] (EIDRM): Likewise.
40426         [POSIX] (EISCONN): Likewise.
40427         [POSIX] (ELOOP): Likewise.
40428         [POSIX] (EMULTIHOP): Likewise.
40429         [POSIX] (ENETDOWN): Likewise.
40430         [POSIX] (ENETUNREACH): Likewise.
40431         [POSIX] (ENOBUFS): Likewise.
40432         [POSIX] (ENODATA): Likewise.
40433         [POSIX] (ENOLINK): Likewise.
40434         [POSIX] (ENOMSG): Likewise.
40435         [POSIX] (ENOPROTOOPT): Likewise.
40436         [POSIX] (ENOSR): Likewise.
40437         [POSIX] (ENOSTR): Likewise.
40438         [POSIX] (ENOTCONN): Likewise.
40439         [POSIX] (ENOTSOCK): Likewise.
40440         [POSIX] (EOPNOTSUPP): Likewise.
40441         [POSIX] (EOVERFLOW): Likewise.
40442         [POSIX] (EPROTO): Likewise.
40443         [POSIX] (EPROTONOSUPPORT): Likewise.
40444         [POSIX] (EPROTOTYPE): Likewise.
40445         [POSIX] (ESTALE): Likewise.
40446         [POSIX] (ETIME): Likewise.
40447         [POSIX] (ETXTBSY): Likewise.
40448         [POSIX] (EWOULDBLOCK): Likewise.
40449         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40450         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40451         [POSIX] (SEEK_CUR): Likewise.
40452         [POSIX] (SEEK_END): Likewise.
40453         [POSIX || UNIX98] (mode_t): Do not require.
40454         [POSIX] (off_t): Likewise.
40455         [POSIX] (pid_t): Likewise.
40456         [POSIX] (sys/stat.h): Do not allow header.
40457         [POSIX] (unistd.h): Likewise.
40458         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40459         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40460         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40461         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40462         require.
40463         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40464         sigevent): Specify elements.
40465         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40466         entry.
40467         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40468         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40470         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40471         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40472         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40473         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40474         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40475         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40476         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40477         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40478         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40479         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40480         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40481         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40482         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40483         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40484         Likewise.
40485         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40486         Likewise.
40487         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40488         Likewise.
40489         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40490         Likewise.
40491         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40492         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40493         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40494         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40495         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40496         Specify lower bound on value.
40497         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40498         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40499         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40500         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40501         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40502         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40503         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40504         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40505         value.
40506         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40507         as optional.
40508         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40509         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40510         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40511         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40512         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40513         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40514         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40515         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40516         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40517         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40518         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40519         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40520         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40521         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40522         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40523         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40524         entry.
40525         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40526         optional.
40527         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40528         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40529         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40530         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40531         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40532         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40533         Likewise.
40534         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40535         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40536         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40537         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40538         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40539         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40540         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40541         as optional.
40542         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40543         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40544         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40545         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40546         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40547         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40548         specify as optional.
40549         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40550         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40551         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40552         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40553         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40554         [XPG3] (NL_LANGMAX): Likewise.
40555         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40556         [POSIX || XPG3] (NL_NMAX): Likewise.
40557         [POSIX || XPG3] (NL_SETMAX): Likewise.
40558         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40559         [XPG3] (NZERO): Likewise.
40560         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40561         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40562         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40563         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40564         (REG_ERANGE): Expect.
40565         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40566         optional-constant.
40567         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40568         Use (void) in prototype.
40569         [POSIX] (*_t): Allow.
40570         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40571         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40572         (WRDE_BADVAL): Expect.
40574         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40575         expect.
40576         [XPG3 || XPG4] (O_RSYNC): Likewise.
40577         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40578         Likewise.
40579         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40580         [XPG3 || XPG4] (sigqueue): Likewise.
40581         [XPG3 || XPG4] (sigtimedwait): Likewise.
40582         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40583         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40584         [XPG3 || XPG4] (vsnprintf): Likewise.
40585         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40586         Likewise.
40587         [XPG3 || XPG4] (blksize_t): Likewise.
40588         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40589         Likewise.
40590         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40591         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40592         [XPG3 || XPG4] (struct itimerspec): Likewise.
40593         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40594         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40595         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40596         [XPG3 || XPG4] (clockid_t): Likewise.
40597         [XPG3 || XPG4] (timer_t): Likewise.
40598         [XPG3 || XPG4] (clock_getres): Likewise.
40599         [XPG3 || XPG4] (clock_gettime): Likewise.
40600         [XPG3 || XPG4] (clock_settime): Likewise.
40601         [XPG3 || XPG4] (nanosleep): Likewise.
40602         [XPG3 || XPG4] (timer_create): Likewise.
40603         [XPG3 || XPG4] (timer_delete): Likewise.
40604         [XPG3 || XPG4] (timer_gettime): Likewise.
40605         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40606         [XPG3 || XPG4] (timer_settime): Likewise.
40607         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40608         [XPG3 || XPG4] (getlogin_r): Likewise.
40609         [XPG3 || XPG4] (pread): Likewise.
40610         [XPG3 || XPG4] (pthread_atfork): Likewise.
40611         [XPG3 || XPG4] (pwrite): Likewise.
40613         [BZ #14835]
40614         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40615         <bits/siginfo.h>.
40617 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40619         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40620         finalizing MALLSTREAM.
40622         * sysdeps/mach/hurd/syncfs.c: New file.
40624 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40626         [BZ #14719]
40627         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40628         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40629         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40630         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40631         (_nss_dns_gethostbyname4_r): Likewise.
40632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40633         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40635 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40637         [BZ #13763]
40638         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40640 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40642         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40643         * elf/cache.c (print_entry): Print ",AArch64" for
40644         FLAG_AARCH64_LIB64
40646         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40647         * elf/cache.c (print_entry): Print ",hard-float" for
40648         FLAG_ARM_LIBHF.
40650 2012-11-18  David S. Miller  <davem@davemloft.net>
40652         With help from Joseph Myers.
40653         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40654         cutoff to 2**-13.
40655         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40656         cutoff to 2**-25.
40657         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40658         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40659         small.
40660         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40661         * math/libm-test.inc (y0_test): New tests.
40662         (y1_test): New tests.
40663         * sysdeps/i386/fpu/libm-test-ulps: Update.
40664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40667 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40669         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40670         64-bit targets.
40671         * configure: Regenerated.
40673 2012-11-17  David S. Miller  <davem@davemloft.net>
40675         [BZ #14811]
40676         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40677         nonzero exponents with absolute value below 0x1p-128 to +/-
40678         0x1p-128.
40680 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40682         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40684         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40686         * posix/getconf-speclist.c: New file.
40687         * posix/posix-envs.def: Likewise.
40688         * posix/confstr.c (START_ENV_GROUP): New macro.
40689         (END_ENV_GROUP): Likewise.
40690         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40691         (KNOWN_PRESENT_ENV_STRING): Likewise.
40692         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40693         (UNKNOWN_ENVIRONMENT): Likewise.
40694         (confstr): Include posix-envs.def instead of handling
40695         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40696         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40697         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40698         (END_ENV_GROUP): Likewise.
40699         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40700         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40701         (UNKNOWN_ENVIRONMENT): Likewise.
40702         (__sysconf): Include posix-envs.def instead of handling associated
40703         cases directly here.
40704         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40705         preprocessing getconf-speclist.c rather than running getconf or
40706         generating empty file.
40708 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40710         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40712 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40714         [BZ #14672]
40715         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40717 2012-11-16  David S. Miller  <davem@davemloft.net>
40719         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40720         smaller than LDBL_EPSILON/2.0L, just return xm1.
40722 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40724         * elf/tst-array1.c (init): Set constructor priority to 1000.
40725         (fini): Set destructor priority to 1000.
40726         * elf/tst-array2dep.c: Likewise.
40728 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40730         [BZ #11741]
40731         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40732         (_IO_new_file_xsputn): Also return EOF if none of the input
40733         data was written when overflow failed.
40734         * libio/iopadn.c (_IO_padn): Likewise.
40735         * libio/iowpadn.c (_IO_wpadn): Likewise.
40736         * stdio-common/tst-put-error.c: Add copyright notice.
40737         (do_test): Add case for printing padded string.
40738         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40739         _IO_padn returned error.
40740         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40741         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40742         return EOF.
40744 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40746         * libio/libioP.h: Add comment note that the references to C++
40747         bits are now obsolete.
40749 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40751         * math/libm-test.inc (check_complex): Use asprintf.
40753 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40755         * debug/pcprofiledump.c (print_version): Update copyright year.
40756         * malloc/memusagestat.c (print_version): Likewise.
40758 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40760         [BZ #14831]
40761         * elf/Makefile (tests): Add tst-audit8.
40762         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40763         ($(objpfx)tst-audit8.out): New target.
40764         (tst-audit8-ENV): New variable.
40765         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40766         audit if l_reloc_result is NULL.
40767         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40768         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40769         * elf/tst-audit8.c: New file.
40771 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40773         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40774         * misc/Makefile (CFLAGS-select.c): Define.
40775         * posix/Makefile (CFLAGS-pause.c): Define.
40777 2012-11-13  David S. Miller  <davem@davemloft.net>
40779         * crypt/Makefile: Move test targets after toplevel Rules
40780         inclusion.  Grab any necessary sysdep routines when linking.
40781         * crypt/md5.c (md5_process_block): Remove define, we will always
40782         name it __md5_process_block.
40783         (md5_finish_ctx): Update md5_process_block call.
40784         (md5_stream): Likewise.
40785         (md5_process_bytes): Likewise.
40786         (md5_process_block): Rename to __md5_process_block and move to ...
40787         * crypt/md5-block.c: ... here.
40788         * crypt/sha256.c (sha256_process_block): Move to ...
40789         * crypt/sha256-block.c: ... here.
40790         * crypt/sha512.c (sha512_process_block): Move to ...
40791         * crypt/sha512-block.c: ... here.
40792         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40793         path.
40794         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40795         * sysdeps/sparc/sparc64/multiarch/Makefile
40796         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40797         crypt subdir.
40798         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40799         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40800         multiarch changes.
40801         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40802         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40803         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40804         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40805         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40806         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40807         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40808         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40809         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40810         file.
40811         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40812         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40813         file.
40814         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40816 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40818         * timezone/tzselect.ksh: Update from tzcode git revision
40819         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40820         * timezone/zdump.c: Likewise.
40821         * timezone/zic.c: Likewise.
40822         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40823         in TZVERSION setting, not $(PKGVERSION).
40824         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40825         REPORT_BUGS_TO settings.
40827         [BZ #14838]
40828         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40829         macro.
40831 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40833         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40834         detection to immediately after _FP_ROUND().
40835         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40836         bits are 0.
40838 2012-11-11  David S. Miller  <davem@davemloft.net>
40840         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40841         inttypes.h
40842         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40843         __close rather than their public counterparts.
40845 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40847         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40848         file.
40849         [UNIX98] (sem_timedwait): Do not expect.
40850         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40851         [XPG4 || UNIX98] (sockatmark): Do not expect.
40852         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40853         (clock_getcpuclockid): Do not expect.
40854         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40855         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40856         Do not expect.
40857         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40858         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40859         [UNIX98] (vwscanf): Likewise.
40860         [UNIX98] (vswscanf): Likewise.
40862 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40864         * timezone/version.h: Remove file.
40865         * timezone/README: Do not refer to version.h.
40866         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40867         $(objpfx)version.h.
40868         ($(objpfx)zdump.o): Likewise.
40869         ($(objpfx)version.h): New target.
40871         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40872         2012i.
40873         * timezone/README: Don't mention modification to tzselect.ksh.
40874         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40875         work on unmodified tzselect.ksh.  Substitute version numbers in
40876         tzselect.ksh.
40878         * Makefile (format-me): Remove.
40879         (INSTALL): Adjust indentation.  Use commands directly instead of
40880         using $(format-me).
40882         * aclocal.m4 (ACX_PKGVERSION): New macro.
40883         (ACX_BUGURL): Likewise.
40884         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40885         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40886         (REPORT_BUGS_TO): Likewise.
40887         * configure: Regenerated.
40888         * config.h.in (PKGVERSION): New macro.
40889         (REPORT_BUGS_TO): Likewise.
40890         * config.make.in (PKGVERSION): New variable.
40891         (PKGVERSION_TEXI): Likewise.
40892         (REPORT_BUGS_TO): Likewise.
40893         (REPORT_BUGS_TEXI): Likewise.
40894         * Makefile (format-me): Use -I$(common-objpfx)manual.
40895         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40896         ($(common-objpfx)manual/%): New target.
40897         (manual/%): Remove target.
40898         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40899         (print_version): Use PKGVERSION.
40900         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40901         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40902         and REPORT_BUGS_TO.
40903         ($(objpfx)xtrace): Likewise.
40904         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40905         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40906         (print_version): Use PKGVERSION.
40907         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40908         (do_version): Use PKGVERSION.
40909         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40910         REPORT_BUGS_TO.
40911         (common-ldd-rewrite): Likewise.
40912         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40913         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40914         (print_version): Use PKGVERSION.
40915         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40916         * elf/pldd.c (argp_program_bug_address): Remove variable.
40917         (more_help): New function.
40918         (argp): Use more_help.
40919         (print_version): Use PKGVERSION.
40920         * elf/sln.c (main): Use PKGVERSION.
40921         (usage): Use REPORT_BUGS_TO.
40922         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40923         (top level): Use PKGVERSION.
40924         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40925         (print_version): Use PKGVERSION.
40926         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40927         (print_version): Use PKGVERSION.
40928         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40929         (print_version): Use PKGVERSION.
40930         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40931         (print_version): Use PKGVERSION.
40932         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40933         (print_version): Use PKGVERSION.
40934         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40935         (print_version): Use PKGVERSION.
40936         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40937         and BUGURL.
40938         ($(objpfx)memusage): Likewise.
40939         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40940         (do_version): Use PKGVERSION.
40941         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40942         (print_version): Use PKGVERSION.
40943         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40944         ($PKGVERSION): New variable.
40945         ($REPORT_BUGS_TO): Likewise.
40946         (usage): Use $REPORT_BUGS_TO.
40947         (top level): Use $PKGVERSION.
40948         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40949         ($(objpfx)pkgvers.texi): New rule.
40950         ($(objpfx)stamp-pkgvers): Likewise.
40951         * manual/install.texi: Include pkgvers.texi.
40952         (--with-pkgversion): Document new configure option.
40953         (--with-bugurl): Likewise.
40954         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40955         than necessarily for this particular distribution.  Use
40956         REPORT_BUGS_TO for where to report bugs.
40957         * INSTALL: Regenerated.
40958         * manual/libc.texinfo: Include pkgvers.texi.
40959         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40960         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40961         (print_version): Use PKGVERSION.
40962         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40963         (print_version): Use PKGVERSION.
40964         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40965         (print_version): Use PKGVERSION.
40966         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40967         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40968         macro.
40969         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40970         (print_version): Use PKGVERSION.
40971         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40972         (print_version): Use PKGVERSION.
40973         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40974         and PKGVERSION.
40976         * timezone/checktab.awk: Update from tzcode 2012i.
40977         * timezone/ialloc.c: Likewise.
40978         * timezone/private.h: Likewise.
40979         * timezone/scheck.c: Likewise.
40980         * timezone/tzfile.h: Likewise.
40981         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40982         (TZVERSION): Hardcode tzcode version number.
40983         * timezone/zdump.c: Update from tzcode 2012i.
40984         * timezone/zic.c: Likewise.
40985         * timezone/version.h: New file.
40986         * timezone/README: Describe version.h.  Update upstream location.
40988         [BZ #14824]
40989         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40990         (mktemp): Enable declaration.
40991         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40992         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40993         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40995         Likewise.
40996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40997         Likewise.
40998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40999         Likewise.
41000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41001         Likewise.
41002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41003         Likewise.
41004         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41005         Likewise.
41007         [BZ #14821]
41008         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41009         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41010         for copies of such integer values.
41011         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41012         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41014 2012-11-09  Andreas Jaeger  <aj@suse.de>
41016         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41017         definitions and declarations that are provided by
41018         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41020 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41022         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41023         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41024         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41025         definition.
41027 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41029         * elf/elf.h: Update comment before AArch64 relocations.
41031 2012-11-07  David S. Miller  <davem@davemloft.net>
41033         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41034         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41035         (__start_context): Declare.
41036         (__makecontext_ret): Delete.
41037         (__makecontext): Hook up __start_context instead of
41038         __makecontext_ret.
41039         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41040         (sysdep_routines): Add __start_context when in stdlib.
41042 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41044         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41045         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41046         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41047         hardcoded "nm".
41048         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41049         (READELF): New variable.  Use it instead of hardcoded "readelf".
41051 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41053         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41054         * sysdeps/x86/Makefile: Here.
41055         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41056         * sysdeps/x86/tst-xmmymm.sh: This.
41058 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41060         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41061         expectations.
41062         [UNIX98] (pthread_barrier_t): Do not expect.
41063         [UNIX98] (pthread_barrierattr_t): Likewise.
41064         [UNIX98] (pthread_spinlock_t): Likewise.
41065         [UNIX98] (pthread_barrier_destroy): Likewise.
41066         [UNIX98] (pthread_barrier_init): Likewise.
41067         [UNIX98] (pthread_barrier_wait): Likewise.
41068         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41069         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41070         [UNIX98] (pthread_barrierattr_init): Likewise.
41071         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41072         [UNIX98] (pthread_getcpuclockid): Likewise.
41073         [UNIX98] (pthread_mutex_timedlock): Likewise.
41074         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41075         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41076         [UNIX98] (pthread_sigmask): Likewise.
41077         [UNIX98] (pthread_spin_destroy): Likewise.
41078         [UNIX98] (pthread_spin_init): Likewise.
41079         [UNIX98] (pthread_spin_lock): Likewise.
41080         [UNIX98] (pthread_spin_trylock): Likewise.
41081         [UNIX98] (pthread_spin_unlock): Likewise.
41082         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41083         Do not expect.
41084         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41085         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41086         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41087         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41088         [XPG3 || XPG4] (pthread_key_t): Likewise.
41089         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41090         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41091         [XPG3 || XPG4] (pthread_once_t): Likewise.
41092         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41093         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41094         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41095         [XPG3 || XPG4] (pthread_t): Likewise.
41097         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41098         not expect.
41099         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41101         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41102         Change function return type to int.
41104         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41105         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41106         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41107         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41108         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41109         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41110         [!POSIX] (posix_madvise): Likewise.
41111         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41112         && !UNIX98].
41113         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41114         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41115         (mode_t): Likewise.
41116         (posix_mem_offset): Likewise.
41117         (posix_typed_mem_get_info): Likewise.
41118         (posix_typed_mem_open): Likewise.
41120         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41121         Change condition to [XOPEN2K8].
41123         * conform/conformtest.pl: Preprocess allow-header data with -x c
41124         instead of from stdin.
41125         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41126         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41127         [C99-based standards] (cerfc): Likewise.
41128         [C99-based standards] (cexp2): Likewise.
41129         [C99-based standards] (cexpm1): Likewise.
41130         [C99-based standards] (clog10): Likewise.
41131         [C99-based standards] (clog1p): Likewise.
41132         [C99-based standards] (clog2): Likewise.
41133         [C99-based standards] (clgamma): Likewise.
41134         [C99-based standards] (ctgamma): Likewise.
41135         [C99-based standards] (cerff): Likewise.
41136         [C99-based standards] (cerfcf): Likewise.
41137         [C99-based standards] (cexp2f): Likewise.
41138         [C99-based standards] (cexpm1f): Likewise.
41139         [C99-based standards] (clog10f): Likewise.
41140         [C99-based standards] (clog1pf): Likewise.
41141         [C99-based standards] (clog2f): Likewise.
41142         [C99-based standards] (clgammaf): Likewise.
41143         [C99-based standards] (ctgammaf): Likewise.
41144         [C99-based standards] (cerfl): Likewise.
41145         [C99-based standards] (cerfcl): Likewise.
41146         [C99-based standards] (cexp2l): Likewise.
41147         [C99-based standards] (cexpm1l): Likewise.
41148         [C99-based standards] (clog10l): Likewise.
41149         [C99-based standards] (clog1pl): Likewise.
41150         [C99-based standards] (clog2l): Likewise.
41151         [C99-based standards] (clgammal): Likewise.
41152         [C99-based standards] (ctgammal): Likewise.
41153         * conform/data/inttypes.h-data [C99-based standards]: Include
41154         stdint.h-data.  Remove all expectations for stdint.h contents.
41155         [C99-based standards] (PRI*): Do not allow.
41156         [C99-based standards] (SCN*): Likewise.
41157         [C99-based standards] (*_t): Likewise.
41158         [C99-based-standards] (PRId8): Expect macro.
41159         [C99-based-standards] (PRIi8): Likewise.
41160         [C99-based-standards] (PRIo8): Likewise.
41161         [C99-based-standards] (PRIu8): Likewise.
41162         [C99-based-standards] (PRIx8): Likewise.
41163         [C99-based-standards] (PRIX8): Likewise.
41164         [C99-based-standards] (SCNd8): Likewise.
41165         [C99-based-standards] (SCNi8): Likewise.
41166         [C99-based-standards] (SCNo8): Likewise.
41167         [C99-based-standards] (SCNu8): Likewise.
41168         [C99-based-standards] (SCNx8): Likewise.
41169         [C99-based-standards] (PRIdLEAST8): Likewise.
41170         [C99-based-standards] (PRIiLEAST8): Likewise.
41171         [C99-based-standards] (PRIoLEAST8): Likewise.
41172         [C99-based-standards] (PRIuLEAST8): Likewise.
41173         [C99-based-standards] (PRIxLEAST8): Likewise.
41174         [C99-based-standards] (PRIXLEAST8): Likewise.
41175         [C99-based-standards] (SCNdLEAST8): Likewise.
41176         [C99-based-standards] (SCNiLEAST8): Likewise.
41177         [C99-based-standards] (SCNoLEAST8): Likewise.
41178         [C99-based-standards] (SCNuLEAST8): Likewise.
41179         [C99-based-standards] (SCNxLEAST8): Likewise.
41180         [C99-based-standards] (PRIdFAST8): Likewise.
41181         [C99-based-standards] (PRIiFAST8): Likewise.
41182         [C99-based-standards] (PRIoFAST8): Likewise.
41183         [C99-based-standards] (PRIuFAST8): Likewise.
41184         [C99-based-standards] (PRIxFAST8): Likewise.
41185         [C99-based-standards] (PRIXFAST8): Likewise.
41186         [C99-based-standards] (SCNdFAST8): Likewise.
41187         [C99-based-standards] (SCNiFAST8): Likewise.
41188         [C99-based-standards] (SCNoFAST8): Likewise.
41189         [C99-based-standards] (SCNuFAST8): Likewise.
41190         [C99-based-standards] (SCNxFAST8): Likewise.
41191         [C99-based-standards] (PRId16): Likewise.
41192         [C99-based-standards] (PRIi16): Likewise.
41193         [C99-based-standards] (PRIo16): Likewise.
41194         [C99-based-standards] (PRIu16): Likewise.
41195         [C99-based-standards] (PRIx16): Likewise.
41196         [C99-based-standards] (PRIX16): Likewise.
41197         [C99-based-standards] (SCNd16): Likewise.
41198         [C99-based-standards] (SCNi16): Likewise.
41199         [C99-based-standards] (SCNo16): Likewise.
41200         [C99-based-standards] (SCNu16): Likewise.
41201         [C99-based-standards] (SCNx16): Likewise.
41202         [C99-based-standards] (PRIdLEAST16): Likewise.
41203         [C99-based-standards] (PRIiLEAST16): Likewise.
41204         [C99-based-standards] (PRIoLEAST16): Likewise.
41205         [C99-based-standards] (PRIuLEAST16): Likewise.
41206         [C99-based-standards] (PRIxLEAST16): Likewise.
41207         [C99-based-standards] (PRIXLEAST16): Likewise.
41208         [C99-based-standards] (SCNdLEAST16): Likewise.
41209         [C99-based-standards] (SCNiLEAST16): Likewise.
41210         [C99-based-standards] (SCNoLEAST16): Likewise.
41211         [C99-based-standards] (SCNuLEAST16): Likewise.
41212         [C99-based-standards] (SCNxLEAST16): Likewise.
41213         [C99-based-standards] (PRIdFAST16): Likewise.
41214         [C99-based-standards] (PRIiFAST16): Likewise.
41215         [C99-based-standards] (PRIoFAST16): Likewise.
41216         [C99-based-standards] (PRIuFAST16): Likewise.
41217         [C99-based-standards] (PRIxFAST16): Likewise.
41218         [C99-based-standards] (PRIXFAST16): Likewise.
41219         [C99-based-standards] (SCNdFAST16): Likewise.
41220         [C99-based-standards] (SCNiFAST16): Likewise.
41221         [C99-based-standards] (SCNoFAST16): Likewise.
41222         [C99-based-standards] (SCNuFAST16): Likewise.
41223         [C99-based-standards] (SCNxFAST16): Likewise.
41224         [C99-based-standards] (PRId32): Likewise.
41225         [C99-based-standards] (PRIi32): Likewise.
41226         [C99-based-standards] (PRIo32): Likewise.
41227         [C99-based-standards] (PRIu32): Likewise.
41228         [C99-based-standards] (PRIx32): Likewise.
41229         [C99-based-standards] (PRIX32): Likewise.
41230         [C99-based-standards] (SCNd32): Likewise.
41231         [C99-based-standards] (SCNi32): Likewise.
41232         [C99-based-standards] (SCNo32): Likewise.
41233         [C99-based-standards] (SCNu32): Likewise.
41234         [C99-based-standards] (SCNx32): Likewise.
41235         [C99-based-standards] (PRIdLEAST32): Likewise.
41236         [C99-based-standards] (PRIiLEAST32): Likewise.
41237         [C99-based-standards] (PRIoLEAST32): Likewise.
41238         [C99-based-standards] (PRIuLEAST32): Likewise.
41239         [C99-based-standards] (PRIxLEAST32): Likewise.
41240         [C99-based-standards] (PRIXLEAST32): Likewise.
41241         [C99-based-standards] (SCNdLEAST32): Likewise.
41242         [C99-based-standards] (SCNiLEAST32): Likewise.
41243         [C99-based-standards] (SCNoLEAST32): Likewise.
41244         [C99-based-standards] (SCNuLEAST32): Likewise.
41245         [C99-based-standards] (SCNxLEAST32): Likewise.
41246         [C99-based-standards] (PRIdFAST32): Likewise.
41247         [C99-based-standards] (PRIiFAST32): Likewise.
41248         [C99-based-standards] (PRIoFAST32): Likewise.
41249         [C99-based-standards] (PRIuFAST32): Likewise.
41250         [C99-based-standards] (PRIxFAST32): Likewise.
41251         [C99-based-standards] (PRIXFAST32): Likewise.
41252         [C99-based-standards] (SCNdFAST32): Likewise.
41253         [C99-based-standards] (SCNiFAST32): Likewise.
41254         [C99-based-standards] (SCNoFAST32): Likewise.
41255         [C99-based-standards] (SCNuFAST32): Likewise.
41256         [C99-based-standards] (SCNxFAST32): Likewise.
41257         [C99-based-standards] (PRId64): Likewise.
41258         [C99-based-standards] (PRIi64): Likewise.
41259         [C99-based-standards] (PRIo64): Likewise.
41260         [C99-based-standards] (PRIu64): Likewise.
41261         [C99-based-standards] (PRIx64): Likewise.
41262         [C99-based-standards] (PRIX64): Likewise.
41263         [C99-based-standards] (SCNd64): Likewise.
41264         [C99-based-standards] (SCNi64): Likewise.
41265         [C99-based-standards] (SCNo64): Likewise.
41266         [C99-based-standards] (SCNu64): Likewise.
41267         [C99-based-standards] (SCNx64): Likewise.
41268         [C99-based-standards] (PRIdLEAST64): Likewise.
41269         [C99-based-standards] (PRIiLEAST64): Likewise.
41270         [C99-based-standards] (PRIoLEAST64): Likewise.
41271         [C99-based-standards] (PRIuLEAST64): Likewise.
41272         [C99-based-standards] (PRIxLEAST64): Likewise.
41273         [C99-based-standards] (PRIXLEAST64): Likewise.
41274         [C99-based-standards] (SCNdLEAST64): Likewise.
41275         [C99-based-standards] (SCNiLEAST64): Likewise.
41276         [C99-based-standards] (SCNoLEAST64): Likewise.
41277         [C99-based-standards] (SCNuLEAST64): Likewise.
41278         [C99-based-standards] (SCNxLEAST64): Likewise.
41279         [C99-based-standards] (PRIdFAST64): Likewise.
41280         [C99-based-standards] (PRIiFAST64): Likewise.
41281         [C99-based-standards] (PRIoFAST64): Likewise.
41282         [C99-based-standards] (PRIuFAST64): Likewise.
41283         [C99-based-standards] (PRIxFAST64): Likewise.
41284         [C99-based-standards] (PRIXFAST64): Likewise.
41285         [C99-based-standards] (SCNdFAST64): Likewise.
41286         [C99-based-standards] (SCNiFAST64): Likewise.
41287         [C99-based-standards] (SCNoFAST64): Likewise.
41288         [C99-based-standards] (SCNuFAST64): Likewise.
41289         [C99-based-standards] (SCNxFAST64): Likewise.
41290         [C99-based-standards] (PRIdMAX): Likewise.
41291         [C99-based-standards] (PRIiMAX): Likewise.
41292         [C99-based-standards] (PRIoMAX): Likewise.
41293         [C99-based-standards] (PRIuMAX): Likewise.
41294         [C99-based-standards] (PRIxMAX): Likewise.
41295         [C99-based-standards] (PRIXMAX): Likewise.
41296         [C99-based-standards] (SCNdMAX): Likewise.
41297         [C99-based-standards] (SCNiMAX): Likewise.
41298         [C99-based-standards] (SCNoMAX): Likewise.
41299         [C99-based-standards] (SCNuMAX): Likewise.
41300         [C99-based-standards] (SCNxMAX): Likewise.
41301         [C99-based-standards] (PRIdPTR): Likewise.
41302         [C99-based-standards] (PRIiPTR): Likewise.
41303         [C99-based-standards] (PRIoPTR): Likewise.
41304         [C99-based-standards] (PRIuPTR): Likewise.
41305         [C99-based-standards] (PRIxPTR): Likewise.
41306         [C99-based-standards] (PRIXPTR): Likewise.
41307         [C99-based-standards] (SCNdPTR): Likewise.
41308         [C99-based-standards] (SCNiPTR): Likewise.
41309         [C99-based-standards] (SCNoPTR): Likewise.
41310         [C99-based-standards] (SCNuPTR): Likewise.
41311         [C99-based-standards] (SCNxPTR): Likewise.
41312         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41313         allow.
41314         * conform/data/stdint.h-data: Update comments to clarify
41315         requirements.
41316         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41317         type.
41318         [C99-based standards] (INT8_MAX): Likewise.
41319         [C99-based standards] (INT16_MIN): Likewise.
41320         [C99-based standards] (INT16_MAX): Likewise.
41321         [C99-based standards] (INT32_MIN): Likewise.
41322         [C99-based standards] (INT32_MAX): Likewise.
41323         [C99-based standards] (INT64_MIN): Likewise.
41324         [C99-based standards] (INT64_MAX): Likewise.
41325         [C99-based standards] (UINT8_MAX): Likewise.
41326         [C99-based standards] (UINT16_MAX): Likewise.
41327         [C99-based standards] (UINT32_MAX): Likewise.
41328         [C99-based standards] (UINT64_MAX): Likewise.
41329         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41330         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41331         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41332         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41333         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41334         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41335         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41336         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41337         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41338         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41339         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41340         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41341         [C99-based standards] (INT_FAST8_MIN): Likewise.
41342         [C99-based standards] (INT_FAST8_MAX): Likewise.
41343         [C99-based standards] (INT_FAST16_MIN): Likewise.
41344         [C99-based standards] (INT_FAST16_MAX): Likewise.
41345         [C99-based standards] (INT_FAST32_MIN): Likewise.
41346         [C99-based standards] (INT_FAST32_MAX): Likewise.
41347         [C99-based standards] (INT_FAST64_MIN): Likewise.
41348         [C99-based standards] (INT_FAST64_MAX): Likewise.
41349         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41350         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41351         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41352         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41353         [C99-based standards] (INTPTR_MIN): Likewise.
41354         [C99-based standards] (INTPTR_MAX): Likewise.
41355         [C99-based standards] (UINTPTR_MAX): Likewise.
41356         [C99-based standards] (INTMAX_MIN): Likewise.
41357         [C99-based standards] (INTMAX_MAX): Likewise.
41358         [C99-based standards] (UINTMAX_MAX): Likewise.
41359         [C99-based standards] (PTRDIFF_MIN): Likewise.
41360         [C99-based standards] (PTRDIFF_MAX): Likewise.
41361         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41362         [C99-based standards] (SIZE_MAX): Likewise.
41363         [C99-based standards] (WCHAR_MAX): Likewise.
41364         [C99-based standards] (WINT_MAX): Likewise.
41365         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41366         constraint on value.
41367         [C99-based standards] (WCHAR_MIN): Likewise.
41368         [C99-based standards] (WINT_MIN): Likewise.
41369         [C99-based standards] (*_t): Allow.
41370         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41371         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41372         Include math.h-data and complex.h-data.  Remove all expectations
41373         of math.h and complex.h contents.
41374         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41375         at end of line.
41376         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41377         (struct tm): Expect tag.
41378         [C99-based-standards] (wcstof): Expect function.
41379         [C99-based-standards] (wcstold): Likewise.
41380         [C99-based-standards] (wcstoll): Likewise.
41381         [C99-based-standards] (wcstoull): Likewise.
41382         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41383         macro-int-constant.  Specify type.
41384         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41385         constraint on value.
41386         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41387         Specify type.
41388         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41389         Specify value.
41390         [ISO C standards]: Do not allow headers.
41391         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41392         wcs[abcdefghijklmnopqrstuvwxyz]*.
41393         [ISO C standards] (*_t): Do not allow.
41394         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41395         Expect function.
41396         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41397         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41398         Specify type.
41399         [ISO C standards]: Do not allow headers.
41400         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41401         is[abcdefghijklmnopqrstuvwxyz]*.
41402         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41403         to[abcdefghijklmnopqrstuvwxyz]*.
41404         [ISO C standards] (*_t): Do not allow.
41405         * conform/data/stdalign.h-data: New file.
41406         * conform/data/stdbool.h-data: Likewise.
41407         * conform/data/stdnoreturn.h-data: Likewise.
41409 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41411         [BZ #14815]
41412         * manual/filesys.texi (Directory Entries): Typo fix.
41413         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41415 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41417         * elf/elf.h (EM_AARCH64): New macro.
41418         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41419         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41420         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41421         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41422         (R_AARCH64_TLSDESC): Likewise.
41423         (NT_ARM_TLS): Likewise.
41424         (NT_ARM_HW_BREAK): Likewise.
41425         (NT_ARM_HW_WATCH): Likewise.
41427 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41429         [BZ #14811]
41430         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41431         (__ieee754_powl): Saturate nonzero exponents with absolute value
41432         below 0x1p-79 to +/- 0x1p-79.
41433         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41434         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41435         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41436         nonzero exponents with absolute value below 0x1p-32 to +/-
41437         0x1p-32.
41438         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41439         (__ieee754_powl): Saturate nonzero exponents with absolute value
41440         below 0x1p-79 to +/- 0x1p-79.
41441         * math/libm-test.inc (pow_test): Add more tests.
41443 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41445         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41446         _dl_s390_cap_flags with kernel. Increase string length.
41447         (_dl_s390_platforms): Add z196 and zEC12.
41449 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41451         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41452         Change XOPEN21K to XOPEN2K.
41454 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41456         * string/memmove.c: Use memcpy when possible.
41458 2012-11-06  Andreas Jaeger  <aj@suse.de>
41460         * po/eo.po: Update from translation team.
41462 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41464         [BZ #14793]
41465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41466         exponent and small x and y exponents, scale x or y up.  Increase
41467         by 2 the exponent used in scaling up.
41468         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41469         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41470         * math/libm-test.inc (fma_test): Add more tests.
41471         (fma_test_towardzero): Likewise.
41472         (fma_test_downward): Likewise.
41473         (fma_test_upward): Likewise.
41475 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41477         [BZ #14805]
41478         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41479         fenv_t *.
41481         [BZ #14801]
41482         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41483         namespace for names of struct fields.
41484         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41485         fenv_t fields.
41486         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41487         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41489 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41491         [BZ #3665]
41492         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41494 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41496         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41497         PTR_DEMANGLE.
41499         [BZ #5246]
41500         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41501         PTR_DEMANGLE.
41503 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41505         [BZ #14797]
41506         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41507         definitely overflow as x * y not x * y + z.
41508         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41509         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41510         * math/libm-test.inc (fma_test): Add more tests.
41511         (fma_test_towardzero): Likewise.
41512         (fma_test_downward): Likewise.
41513         (fma_test_upward): Likewise.
41515 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41517         [BZ #157]
41519         * include/stub-tag.h: Remove file.
41520         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41521         '#include' of it.
41522         * manual/maint.texi (Porting): Don't reference it.
41523         * Makerules ($(objpfx)stubs): Likewise.
41524         * dirent/closedir.c: Don't include <stub-tag.h>.
41525         * dirent/dirfd.c: Likewise.
41526         * dirent/fdopendir.c: Likewise.
41527         * dirent/getdents.c: Likewise.
41528         * dirent/getdents64.c: Likewise.
41529         * dirent/opendir.c: Likewise.
41530         * dirent/readdir.c: Likewise.
41531         * dirent/readdir64.c: Likewise.
41532         * dirent/readdir64_r.c: Likewise.
41533         * dirent/readdir_r.c: Likewise.
41534         * dirent/rewinddir.c: Likewise.
41535         * dirent/seekdir.c: Likewise.
41536         * dirent/telldir.c: Likewise.
41537         * gmon/profil.c: Likewise.
41538         * grp/setgroups.c: Likewise.
41539         * inet/if_index.c: Likewise.
41540         * io/access.c: Likewise.
41541         * io/chdir.c: Likewise.
41542         * io/chmod.c: Likewise.
41543         * io/chown.c: Likewise.
41544         * io/close.c: Likewise.
41545         * io/dup.c: Likewise.
41546         * io/dup2.c: Likewise.
41547         * io/dup3.c: Likewise.
41548         * io/euidaccess.c: Likewise.
41549         * io/faccessat.c: Likewise.
41550         * io/fchdir.c: Likewise.
41551         * io/fchmod.c: Likewise.
41552         * io/fchmodat.c: Likewise.
41553         * io/fchown.c: Likewise.
41554         * io/fchownat.c: Likewise.
41555         * io/fcntl.c: Likewise.
41556         * io/flock.c: Likewise.
41557         * io/fstatfs.c: Likewise.
41558         * io/fstatfs64.c: Likewise.
41559         * io/fstatvfs.c: Likewise.
41560         * io/fstatvfs64.c: Likewise.
41561         * io/futimens.c: Likewise.
41562         * io/fxstat.c: Likewise.
41563         * io/fxstat64.c: Likewise.
41564         * io/fxstatat.c: Likewise.
41565         * io/fxstatat64.c: Likewise.
41566         * io/getcwd.c: Likewise.
41567         * io/isatty.c: Likewise.
41568         * io/lchmod.c: Likewise.
41569         * io/lchown.c: Likewise.
41570         * io/link.c: Likewise.
41571         * io/linkat.c: Likewise.
41572         * io/lseek.c: Likewise.
41573         * io/lseek64.c: Likewise.
41574         * io/lxstat64.c: Likewise.
41575         * io/mkdir.c: Likewise.
41576         * io/mkdirat.c: Likewise.
41577         * io/mkfifo.c: Likewise.
41578         * io/mkfifoat.c: Likewise.
41579         * io/open.c: Likewise.
41580         * io/open64.c: Likewise.
41581         * io/openat.c: Likewise.
41582         * io/openat64.c: Likewise.
41583         * io/pipe.c: Likewise.
41584         * io/pipe2.c: Likewise.
41585         * io/poll.c: Likewise.
41586         * io/posix_fadvise.c: Likewise.
41587         * io/posix_fadvise64.c: Likewise.
41588         * io/posix_fallocate.c: Likewise.
41589         * io/posix_fallocate64.c: Likewise.
41590         * io/read.c: Likewise.
41591         * io/readlink.c: Likewise.
41592         * io/readlinkat.c: Likewise.
41593         * io/rmdir.c: Likewise.
41594         * io/sendfile.c: Likewise.
41595         * io/sendfile64.c: Likewise.
41596         * io/statfs.c: Likewise.
41597         * io/statfs64.c: Likewise.
41598         * io/statvfs.c: Likewise.
41599         * io/statvfs64.c: Likewise.
41600         * io/symlink.c: Likewise.
41601         * io/symlinkat.c: Likewise.
41602         * io/ttyname.c: Likewise.
41603         * io/ttyname_r.c: Likewise.
41604         * io/umask.c: Likewise.
41605         * io/unlink.c: Likewise.
41606         * io/unlinkat.c: Likewise.
41607         * io/utime.c: Likewise.
41608         * io/utimensat.c: Likewise.
41609         * io/write.c: Likewise.
41610         * io/xmknod.c: Likewise.
41611         * io/xmknodat.c: Likewise.
41612         * io/xstat.c: Likewise.
41613         * io/xstat64.c: Likewise.
41614         * login/getpt.c: Likewise.
41615         * login/grantpt.c: Likewise.
41616         * login/unlockpt.c: Likewise.
41617         * math/e_acoshl.c: Likewise.
41618         * math/e_acosl.c: Likewise.
41619         * math/e_asinl.c: Likewise.
41620         * math/e_atan2l.c: Likewise.
41621         * math/e_atanhl.c: Likewise.
41622         * math/e_coshl.c: Likewise.
41623         * math/e_expl.c: Likewise.
41624         * math/e_fmodl.c: Likewise.
41625         * math/e_gammal_r.c: Likewise.
41626         * math/e_hypotl.c: Likewise.
41627         * math/e_j0l.c: Likewise.
41628         * math/e_j1l.c: Likewise.
41629         * math/e_jnl.c: Likewise.
41630         * math/e_lgammal_r.c: Likewise.
41631         * math/e_log10l.c: Likewise.
41632         * math/e_log2l.c: Likewise.
41633         * math/e_logl.c: Likewise.
41634         * math/e_powl.c: Likewise.
41635         * math/e_rem_pio2l.c: Likewise.
41636         * math/e_sinhl.c: Likewise.
41637         * math/e_sqrtl.c: Likewise.
41638         * math/fclrexcpt.c: Likewise.
41639         * math/fedisblxcpt.c: Likewise.
41640         * math/feenablxcpt.c: Likewise.
41641         * math/fegetenv.c: Likewise.
41642         * math/fegetexcept.c: Likewise.
41643         * math/fegetround.c: Likewise.
41644         * math/feholdexcpt.c: Likewise.
41645         * math/fesetenv.c: Likewise.
41646         * math/fesetround.c: Likewise.
41647         * math/feupdateenv.c: Likewise.
41648         * math/fgetexcptflg.c: Likewise.
41649         * math/fraiseexcpt.c: Likewise.
41650         * math/fsetexcptflg.c: Likewise.
41651         * math/ftestexcept.c: Likewise.
41652         * math/k_cosl.c: Likewise.
41653         * math/k_rem_pio2l.c: Likewise.
41654         * math/k_sinl.c: Likewise.
41655         * math/k_tanl.c: Likewise.
41656         * math/s_asinhl.c: Likewise.
41657         * math/s_atanl.c: Likewise.
41658         * math/s_cbrtl.c: Likewise.
41659         * math/s_erfl.c: Likewise.
41660         * math/s_expm1l.c: Likewise.
41661         * math/s_log1pl.c: Likewise.
41662         * math/s_tanhl.c: Likewise.
41663         * misc/acct.c: Likewise.
41664         * misc/brk.c: Likewise.
41665         * misc/chflags.c: Likewise.
41666         * misc/chroot.c: Likewise.
41667         * misc/fchflags.c: Likewise.
41668         * misc/fgetxattr.c: Likewise.
41669         * misc/flistxattr.c: Likewise.
41670         * misc/fremovexattr.c: Likewise.
41671         * misc/fsetxattr.c: Likewise.
41672         * misc/fsync.c: Likewise.
41673         * misc/ftruncate.c: Likewise.
41674         * misc/futimes.c: Likewise.
41675         * misc/futimesat.c: Likewise.
41676         * misc/getdomain.c: Likewise.
41677         * misc/getdtsz.c: Likewise.
41678         * misc/gethostid.c: Likewise.
41679         * misc/gethostname.c: Likewise.
41680         * misc/getloadavg.c: Likewise.
41681         * misc/getpagesize.c: Likewise.
41682         * misc/getsysstats.c: Likewise.
41683         * misc/getxattr.c: Likewise.
41684         * misc/gtty.c: Likewise.
41685         * misc/ioctl.c: Likewise.
41686         * misc/lgetxattr.c: Likewise.
41687         * misc/listxattr.c: Likewise.
41688         * misc/llistxattr.c: Likewise.
41689         * misc/lremovexattr.c: Likewise.
41690         * misc/lsetxattr.c: Likewise.
41691         * misc/lutimes.c: Likewise.
41692         * misc/madvise.c: Likewise.
41693         * misc/mincore.c: Likewise.
41694         * misc/mlock.c: Likewise.
41695         * misc/mlockall.c: Likewise.
41696         * misc/mmap.c: Likewise.
41697         * misc/mprotect.c: Likewise.
41698         * misc/msync.c: Likewise.
41699         * misc/munlock.c: Likewise.
41700         * misc/munlockall.c: Likewise.
41701         * misc/munmap.c: Likewise.
41702         * misc/preadv.c: Likewise.
41703         * misc/preadv64.c: Likewise.
41704         * misc/ptrace.c: Likewise.
41705         * misc/pwritev.c: Likewise.
41706         * misc/pwritev64.c: Likewise.
41707         * misc/readv.c: Likewise.
41708         * misc/reboot.c: Likewise.
41709         * misc/remap_file_pages.c: Likewise.
41710         * misc/removexattr.c: Likewise.
41711         * misc/revoke.c: Likewise.
41712         * misc/select.c: Likewise.
41713         * misc/setdomain.c: Likewise.
41714         * misc/setegid.c: Likewise.
41715         * misc/seteuid.c: Likewise.
41716         * misc/sethostid.c: Likewise.
41717         * misc/sethostname.c: Likewise.
41718         * misc/setregid.c: Likewise.
41719         * misc/setreuid.c: Likewise.
41720         * misc/setxattr.c: Likewise.
41721         * misc/sstk.c: Likewise.
41722         * misc/stty.c: Likewise.
41723         * misc/swapoff.c: Likewise.
41724         * misc/swapon.c: Likewise.
41725         * misc/sync.c: Likewise.
41726         * misc/syncfs.c: Likewise.
41727         * misc/syscall.c: Likewise.
41728         * misc/truncate.c: Likewise.
41729         * misc/ualarm.c: Likewise.
41730         * misc/usleep.c: Likewise.
41731         * misc/ustat.c: Likewise.
41732         * misc/utimes.c: Likewise.
41733         * misc/vhangup.c: Likewise.
41734         * misc/writev.c: Likewise.
41735         * posix/_exit.c: Likewise.
41736         * posix/alarm.c: Likewise.
41737         * posix/execve.c: Likewise.
41738         * posix/fexecve.c: Likewise.
41739         * posix/fork.c: Likewise.
41740         * posix/fpathconf.c: Likewise.
41741         * posix/getaddrinfo.c: Likewise.
41742         * posix/getegid.c: Likewise.
41743         * posix/geteuid.c: Likewise.
41744         * posix/getgid.c: Likewise.
41745         * posix/getgroups.c: Likewise.
41746         * posix/getlogin.c: Likewise.
41747         * posix/getlogin_r.c: Likewise.
41748         * posix/getpgid.c: Likewise.
41749         * posix/getpid.c: Likewise.
41750         * posix/getppid.c: Likewise.
41751         * posix/getresgid.c: Likewise.
41752         * posix/getresuid.c: Likewise.
41753         * posix/getsid.c: Likewise.
41754         * posix/getuid.c: Likewise.
41755         * posix/glob64.c: Likewise.
41756         * posix/nanosleep.c: Likewise.
41757         * posix/pathconf.c: Likewise.
41758         * posix/pause.c: Likewise.
41759         * posix/posix_madvise.c: Likewise.
41760         * posix/pread.c: Likewise.
41761         * posix/pread64.c: Likewise.
41762         * posix/pwrite.c: Likewise.
41763         * posix/pwrite64.c: Likewise.
41764         * posix/sched_getaffinity.c: Likewise.
41765         * posix/sched_getp.c: Likewise.
41766         * posix/sched_gets.c: Likewise.
41767         * posix/sched_primax.c: Likewise.
41768         * posix/sched_primin.c: Likewise.
41769         * posix/sched_rr_gi.c: Likewise.
41770         * posix/sched_setaffinity.c: Likewise.
41771         * posix/sched_setp.c: Likewise.
41772         * posix/sched_sets.c: Likewise.
41773         * posix/sched_yield.c: Likewise.
41774         * posix/setgid.c: Likewise.
41775         * posix/setlogin.c: Likewise.
41776         * posix/setpgid.c: Likewise.
41777         * posix/setresgid.c: Likewise.
41778         * posix/setresuid.c: Likewise.
41779         * posix/setsid.c: Likewise.
41780         * posix/setuid.c: Likewise.
41781         * posix/sleep.c: Likewise.
41782         * posix/spawni.c: Likewise.
41783         * posix/sysconf.c: Likewise.
41784         * posix/times.c: Likewise.
41785         * posix/wait.c: Likewise.
41786         * posix/wait3.c: Likewise.
41787         * posix/wait4.c: Likewise.
41788         * posix/waitpid.c: Likewise.
41789         * resolv/gai_sigqueue.c: Likewise.
41790         * resource/getpriority.c: Likewise.
41791         * resource/getrlimit.c: Likewise.
41792         * resource/getrusage.c: Likewise.
41793         * resource/nice.c: Likewise.
41794         * resource/setpriority.c: Likewise.
41795         * resource/setrlimit.c: Likewise.
41796         * resource/ulimit.c: Likewise.
41797         * rt/aio_cancel.c: Likewise.
41798         * rt/aio_fsync.c: Likewise.
41799         * rt/aio_read.c: Likewise.
41800         * rt/aio_sigqueue.c: Likewise.
41801         * rt/aio_suspend.c: Likewise.
41802         * rt/aio_write.c: Likewise.
41803         * rt/clock_getres.c: Likewise.
41804         * rt/clock_gettime.c: Likewise.
41805         * rt/clock_nanosleep.c: Likewise.
41806         * rt/clock_settime.c: Likewise.
41807         * rt/lio_listio.c: Likewise.
41808         * rt/mq_close.c: Likewise.
41809         * rt/mq_getattr.c: Likewise.
41810         * rt/mq_notify.c: Likewise.
41811         * rt/mq_open.c: Likewise.
41812         * rt/mq_receive.c: Likewise.
41813         * rt/mq_send.c: Likewise.
41814         * rt/mq_setattr.c: Likewise.
41815         * rt/mq_timedreceive.c: Likewise.
41816         * rt/mq_timedsend.c: Likewise.
41817         * rt/mq_unlink.c: Likewise.
41818         * rt/shm_open.c: Likewise.
41819         * rt/shm_unlink.c: Likewise.
41820         * rt/timer_create.c: Likewise.
41821         * rt/timer_delete.c: Likewise.
41822         * rt/timer_getoverr.c: Likewise.
41823         * rt/timer_gettime.c: Likewise.
41824         * rt/timer_settime.c: Likewise.
41825         * setjmp/__longjmp.c: Likewise.
41826         * setjmp/setjmp.c: Likewise.
41827         * signal/kill.c: Likewise.
41828         * signal/killpg.c: Likewise.
41829         * signal/raise.c: Likewise.
41830         * signal/sigaction.c: Likewise.
41831         * signal/sigaltstack.c: Likewise.
41832         * signal/sigblock.c: Likewise.
41833         * signal/sigignore.c: Likewise.
41834         * signal/sigintr.c: Likewise.
41835         * signal/signal.c: Likewise.
41836         * signal/sigpause.c: Likewise.
41837         * signal/sigpending.c: Likewise.
41838         * signal/sigqueue.c: Likewise.
41839         * signal/sigreturn.c: Likewise.
41840         * signal/sigset.c: Likewise.
41841         * signal/sigsetmask.c: Likewise.
41842         * signal/sigstack.c: Likewise.
41843         * signal/sigsuspend.c: Likewise.
41844         * signal/sigtimedwait.c: Likewise.
41845         * signal/sigvec.c: Likewise.
41846         * signal/sigwait.c: Likewise.
41847         * signal/sigwaitinfo.c: Likewise.
41848         * signal/sysv_signal.c: Likewise.
41849         * socket/accept.c: Likewise.
41850         * socket/accept4.c: Likewise.
41851         * socket/bind.c: Likewise.
41852         * socket/connect.c: Likewise.
41853         * socket/getpeername.c: Likewise.
41854         * socket/getsockname.c: Likewise.
41855         * socket/getsockopt.c: Likewise.
41856         * socket/isfdtype.c: Likewise.
41857         * socket/listen.c: Likewise.
41858         * socket/recv.c: Likewise.
41859         * socket/recvfrom.c: Likewise.
41860         * socket/recvmsg.c: Likewise.
41861         * socket/send.c: Likewise.
41862         * socket/sendmsg.c: Likewise.
41863         * socket/sendto.c: Likewise.
41864         * socket/setsockopt.c: Likewise.
41865         * socket/shutdown.c: Likewise.
41866         * socket/sockatmark.c: Likewise.
41867         * socket/socket.c: Likewise.
41868         * socket/socketpair.c: Likewise.
41869         * stdio-common/ctermid.c: Likewise.
41870         * stdio-common/cuserid.c: Likewise.
41871         * stdio-common/remove.c: Likewise.
41872         * stdio-common/rename.c: Likewise.
41873         * stdio-common/renameat.c: Likewise.
41874         * stdio-common/tempname.c: Likewise.
41875         * stdlib/getcontext.c: Likewise.
41876         * stdlib/makecontext.c: Likewise.
41877         * stdlib/setcontext.c: Likewise.
41878         * stdlib/swapcontext.c: Likewise.
41879         * stdlib/system.c: Likewise.
41880         * streams/fattach.c: Likewise.
41881         * streams/fdetach.c: Likewise.
41882         * streams/getmsg.c: Likewise.
41883         * streams/getpmsg.c: Likewise.
41884         * streams/putmsg.c: Likewise.
41885         * streams/putpmsg.c: Likewise.
41886         * sysdeps/unix/bsd/getpt.c: Likewise.
41887         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41888         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41889         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41891         Likewise.
41892         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41893         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41894         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41895         * sysvipc/msgctl.c: Likewise.
41896         * sysvipc/msgget.c: Likewise.
41897         * sysvipc/msgrcv.c: Likewise.
41898         * sysvipc/msgsnd.c: Likewise.
41899         * sysvipc/semctl.c: Likewise.
41900         * sysvipc/semget.c: Likewise.
41901         * sysvipc/semop.c: Likewise.
41902         * sysvipc/semtimedop.c: Likewise.
41903         * sysvipc/shmat.c: Likewise.
41904         * sysvipc/shmctl.c: Likewise.
41905         * sysvipc/shmdt.c: Likewise.
41906         * sysvipc/shmget.c: Likewise.
41907         * termios/tcdrain.c: Likewise.
41908         * termios/tcflow.c: Likewise.
41909         * termios/tcflush.c: Likewise.
41910         * termios/tcgetattr.c: Likewise.
41911         * termios/tcgetpgrp.c: Likewise.
41912         * termios/tcsendbrk.c: Likewise.
41913         * termios/tcsetattr.c: Likewise.
41914         * termios/tcsetpgrp.c: Likewise.
41915         * time/adjtime.c: Likewise.
41916         * time/clock.c: Likewise.
41917         * time/getitimer.c: Likewise.
41918         * time/gettimeofday.c: Likewise.
41919         * time/setitimer.c: Likewise.
41920         * time/settimeofday.c: Likewise.
41921         * time/stime.c: Likewise.
41922         * time/time.c: Likewise.
41924 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41926         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41927         /usr/old/bin.
41929         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41930         instead of spaces.
41931         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41933 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41935         [BZ #14796]
41936         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41937         FE_TONEAREST before applying Dekker multiplication and Knuth
41938         addition.  Clear inexact exceptions and check for exact zero
41939         results afterwards.
41940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41941         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41942         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41943         * math/libm-test.inc (fma_test): Add more tests.
41944         (fma_test_towardzero): Likewise.
41945         (fma_test_downward): Likewise.
41946         (fma_test_upward): Likewise.
41947         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41948         function.
41949         (libc_fesetround): New macro.
41950         (libc_fesetroundf): Likewise.
41951         (libc_fesetroundl): Likewise.
41952         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41953         function.
41954         (libc_fesetround_387): Likewise.
41955         (libc_fesetroundf): New macro.
41956         (libc_fesetround): Likewise.
41957         (libc_fesetroundl): Likewise.
41958         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41959         function.
41960         (libc_fesetroundf): New macro.
41961         (libc_fesetround): Likewise.
41962         (libc_fesetroundl): Likewise.
41963         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41964         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41965         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41966         libm_hidden_ver.
41967         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41968         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41969         libm_hidden_def.
41970         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41971         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41972         libm_hidden_ver.
41973         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41974         libm_hidden_def.
41976         [BZ #3439]
41977         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41978         integer constant usable in #if and use that to give value to enum
41979         constant.
41980         (FE_DIVBYZERO): Likewise.
41981         (FE_UNDERFLOW): Likewise.
41982         (FE_OVERFLOW): Likewise.
41983         (FE_INVALID): Likewise.
41984         (FE_INVALID_SNAN): Likewise.
41985         (FE_INVALID_ISI): Likewise.
41986         (FE_INVALID_IDI): Likewise.
41987         (FE_INVALID_ZDZ): Likewise.
41988         (FE_INVALID_IMZ): Likewise.
41989         (FE_INVALID_COMPARE): Likewise.
41990         (FE_INVALID_SOFTWARE): Likewise.
41991         (FE_INVALID_SQRT): Likewise.
41992         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41993         (FE_TONEAREST): Likewise.
41994         (FE_TOWARDZERO): Likewise.
41995         (FE_UPWARD): Likewise.
41996         (FE_DOWNWARD): Likewise.
41997         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41998         (FE_DIVBYZERO): Likewise.
41999         (FE_OVERFLOW): Likewise.
42000         (FE_UNDERFLOW): Likewise.
42001         (FE_INEXACT): Likewise.
42002         (FE_TONEAREST): Likewise.
42003         (FE_DOWNWARD): Likewise.
42004         (FE_UPWARD): Likewise.
42005         (FE_TOWARDZERO): Likewise.
42006         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42007         (FE_UNDERFLOW): Likewise.
42008         (FE_OVERFLOW): Likewise.
42009         (FE_DIVBYZERO): Likewise.
42010         (FE_INVALID): Likewise.
42011         (FE_TONEAREST): Likewise.
42012         (FE_TOWARDZERO): Likewise.
42013         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42014         (FE_OVERFLOW): Likewise.
42015         (FE_UNDERFLOW): Likewise.
42016         (FE_DIVBYZERO): Likewise.
42017         (FE_INEXACT): Likewise.
42018         (FE_TONEAREST): Likewise.
42019         (FE_TOWARDZERO): Likewise.
42020         (FE_UPWARD): Likewise.
42021         (FE_DOWNWARD): Likewise.
42022         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42023         (FE_DIVBYZERO): Likewise.
42024         (FE_OVERFLOW): Likewise.
42025         (FE_UNDERFLOW): Likewise.
42026         (FE_INEXACT): Likewise.
42027         (FE_TONEAREST): Likewise.
42028         (FE_DOWNWARD): Likewise.
42029         (FE_UPWARD): Likewise.
42030         (FE_TOWARDZERO): Likewise.
42032 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42034         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42036 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42038         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42039         commands.  Quote $PWD.
42040         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42041         -x" by "export".
42042         (remove_newlines): Remove.
42044 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42046         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42047         * stdlib/stdlib.h (atof): Moved to ...
42048         * include/bits/stdlib-float.h: Here.  New file.
42049         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42050         * stdlib/bits/stdlib-float.h: New file.
42051         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42052         -mno-sse -mno-mmx.
42053         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42054         <xmmintrin.h>.
42056 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42058         * conform/conformtest.pl (@headers): Add fenv.h.
42059         * conform/data/fenv.h-data: New file.
42060         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42061         include of <math/fenv.h>.
42063         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42064         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42065         && !UNIX98].  Enables tests for XOPEN2K8.
42066         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42067         POSIX2008]: Likewise.
42069         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42070         (struct rusage): Do not expect type or its members.
42072         [BZ #3439]
42073         * math/math.h (FP_NAN): Define macro to integer constant usable in
42074         #if and use that to give value to enum constant.
42075         (FP_INFINITE): Likewise.
42076         (FP_ZERO): Likewise.
42077         (FP_SUBNORMAL): Likewise.
42078         (FP_NORMAL): Likewise.
42080 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42082         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42083         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42084         arguments.
42086 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42088         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42089         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42090         autoconf-time if not.
42091         * configure.in: Remove AC_PREREQ.
42093 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42095         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42096         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42097         of the internal implementation.
42099 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42101         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42102         except include of <misc/sys/syslog.h>.
42104 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42107         function returns with a NULL context exit with zero.
42109 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42111         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42113 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42115         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42116         (run_program_cmd): This.
42117         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42118         (tst_langinfo): New variable.  Use it.
42120 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42122         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42123         floating point opcodes.
42125 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42127         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42128         variable.
42130         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42132         * sysdeps/mach/hurd/powerpc: Remove directory.
42133         * sysdeps/mach/powerpc: Likewise.
42135 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42137         * scripts/check-local-headers.sh: Ignore c++ headers.
42139 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42141         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42142         __libc_cleanup_region_start argument.
42144 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42146         [BZ #14784]
42147         [BZ #14785]
42148         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42149         x * y using scaling, not as x * y + z.
42150         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42151         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42152         * math/libm-test.inc (fma_test): Add more tests.
42153         (fma_test_towardzero): Likewise.
42154         (fma_test_downward): Likewise.
42155         (fma_test_upward): Likewise.
42157 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42159         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42161 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42163         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42164         New variable.
42166 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42168         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42170 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42173         Fix sort order.
42174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42175         Likewise.
42177 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42180         Fix the order of the list for glibc 2.17.
42181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42182         Likewise.
42184 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42188 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42190         [BZ #14610]
42191         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42192         for low part of x being zero before using __atanl (y).
42193         * math/libm-test.inc (atan2_test): Add another test.
42195         * manual/install.texi (Configuring and compiling): Document
42196         general use of test-wrapper and test-wrapper-env.
42197         * INSTALL: Regenerated.
42199         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42200         (__fma): Do not extract and scale down low bits on after-rounding
42201         systems when result rounded to normal precision would have normal
42202         exponent.
42203         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42204         (__fmal): Do not extract and scale down low bits on after-rounding
42205         systems when result rounded to normal precision would have normal
42206         exponent.
42207         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42208         (__fmal): Do not extract and scale down low bits on after-rounding
42209         systems when result rounded to normal precision would have normal
42210         exponent.
42211         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42212         macro.
42213         (fma_test): Add more tests.
42214         (fma_test_towardzero): Likewise.
42215         (fma_test_downward): Likewise.
42216         (fma_test_upward): Likewise.
42218 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42220         * sysdeps/i386/tininess.h: Renamed to ...
42221         * sysdeps/x86/tininess.h: This.
42222         * sysdeps/x86_64/tininess.h: Removed.
42224 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42226         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42227         input.  Use $(build-program-cmd).
42228         ($(objpfx)tst-array1-static.out): Likewise.
42229         ($(objpfx)tst-array2.out): Likewise.
42230         ($(objpfx)tst-array3.out): Likewise.
42231         ($(objpfx)tst-array4.out): Likewise.
42232         ($(objpfx)tst-array5.out): Likewise.
42233         ($(objpfx)tst-array5-static.out): Likewise.
42235 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42237         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42238         if defined.
42240         * nss/nsswitch.h (nss_interface_function): Provide new
42241         macro for use with NSS functions.
42242         * grp/initgroups.c: Use new macro.
42243         * nss/getXXbyYY.c: Likewise.
42244         * nss/getXXbyYY_r.c: Likewise.
42245         * nss/getXXent.c: Likewise.
42246         * nss/getXXent_r.c: Likewise.
42247         * sysdeps/posix/getaddrinfo.c: Likewise.
42249 2012-10-30  Andreas Jaeger  <aj@suse.de>
42251         * po/ru.po: Update Russion translation from translation project.
42253 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42255         [BZ #14152]
42256         [BZ #14783]
42257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42258         result and shift together with sticky bit instead of replicating
42259         round-to-nearest rounding.
42260         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42261         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42262         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42263         missing underflow exceptions.
42264         (fma_test_towardzero): Add more tests.
42265         (fma_test_downward): Likewise.
42266         (fma_test_upward): Likewise.
42268         [BZ #14047]
42269         * sysdeps/generic/tininess.h: New file.
42270         * sysdeps/i386/tininess.h: Likewise.
42271         * sysdeps/sh/tininess.h: Likewise.
42272         * sysdeps/x86_64/tininess.h: Likewise.
42273         * stdlib/tst-strtod-underflow.c: Likewise.
42274         * stdlib/tst-tininess.c: Likewise.
42275         * stdlib/strtod_l.c: Include <tininess.h>.
42276         (round_and_return): Do not set errno for exact underflow cases.
42277         Force an underflow exception when setting errno for underflow.
42278         Determine underflow based on rounding to normal precision if
42279         TININESS_AFTER_ROUNDING.
42280         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42281         ERANGE for exact underflow cases.
42282         * stdlib/Makefile (tests): Add tst-tininess and
42283         tst-strtod-underflow.
42284         ($(objpfx)tst-tininess): Use $(link-libm).
42285         ($(objpfx)tst-strtod-underflow): Likewise.
42287 2012-10-30  Andreas Jaeger  <aj@suse.de>
42289         [BZ#14767]
42290         * elf/Makefile (tests): Remove conditional for have-initfini-array
42291         since this is now always required and the variable does not exist
42292         anymore.
42293         (tests-static): Likewise.
42294         (modules-names): Likewise.
42296         * po/eo.po: Add Esperanto translation from translation project.
42298         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42299         merged with constructor/destructor.
42300         (init_array): Likewise.
42301         * elf/tst-array2dep.c (fini_array): Likewise.
42302         (init_array): Likewise.
42304 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42306         * manual/message.texi: Delete @cartouche tags.
42308 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42310         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42311         EOPNOTSUPP.
42312         * sysdeps/mach/hurd/fsync.c: Likewise.
42314         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42315         [_POSIX_REALTIME_SIGNALS]: Change condition to
42316         [_POSIX_REALTIME_SIGNALS > 0].
42318 2012-10-27  Andreas Jaeger  <aj@suse.de>
42320         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42321         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42322         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42323         [__WORDSIZE != 64]: Likewise.
42325 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42327         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42328         *  iconvdata/tst-tables.sh: Likewise.
42330 2012-10-25  David S. Miller  <davem@davemloft.net>
42332         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42333         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42334         of strtoull.
42336         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42337         ifunc-impl-list.c
42338         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42339         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42340         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42341         file.
42343 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42345         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42346         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42347         __getdirentries.
42349 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42350             Jim Blandy  <jimb@codesourcery.com>
42352         * scripts/cross-test-ssh.sh: New file.
42353         * manual/install.texi (Configuring and compiling): Document use of
42354         cross-test-ssh.sh.
42355         * INSTALL: Regenerated.
42357 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42359         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42360         EOPNOTSUPP.
42362 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42364         * Makeconfig (run-program-prefix): Fix comment.
42366 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42367             Jim Blandy  <jimb@codesourcery.com>
42369         * Makeconfig (test-wrapper): New variable,
42370         (test-wrapper-env): Likewise.
42371         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42372         (run-built-tests): Define to yes.
42373         (run-program-prefix): Use $(test-wrapper).
42374         (built-program-cmd): Likewise.
42375         * Rules (make-test-out): Use $(test-wrapper-env) and
42376         $(host-built-program-cmd).
42377         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42378         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42379         tst-pathopt.sh.
42380         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42381         $(test-wrapper-env) to tst-rtld-load-self.sh.
42382         ($(objpfx)order2.out): Use $(test-wrapper).
42383         ($(objpfx)tst-initorder.out): Likewise.
42384         ($(objpfx)tst-initorder2.out): Likewise.
42385         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42386         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42387         (test_wrapper_env): New variable.  Use it to run ld.so.
42388         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42389         Use it to run ld.so.
42390         (test_wrapper_env): Likewise.
42391         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42392         $(test-wrapper) to run-iconv-test.sh.
42393         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42394         (ICONV): Use $test_wrapper.
42395         * posix/Makefile ($(objpfx)globtest.out): Pass
42396         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42397         globtest.sh, not $(run-program-prefix).
42398         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42399         (test_wrapper): Likewise.
42400         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42401         set together with run_via_rtld_prefix.
42402         (run_program_prefix): Define in terms of test_wrapper and
42403         run_via_rtld_prefix.
42405 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42407         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42408         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42409         Targets removed.
42411         [BZ #14743]
42412         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42413         Declare __clock_getres, __clock_gettime, __clock_settime,
42414         __clock_nanosleep, and __clock_getcpuclockid.
42415         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42416         Remove librt_hidden_def (clock_gettime).
42417         * sysdeps/unix/clock_gettime.c: Likewise.
42418         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42419         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42420         * rt/clock_getres.c: Define __clock_getres as an alias.
42421         * sysdeps/posix/clock_getres.c: Likewise.
42422         * rt/clock_settime.c: Define __clock_settime as an alias.
42423         * sysdeps/unix/clock_settime.c: Likewise.
42424         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42425         * sysdeps/unix/clock_nanosleep.c: Likewise.
42426         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42427         * rt/clock-compat.c: New file.
42428         * rt/Makefile (librt-routines): Add clock-compat and move
42429         $(clock-routines) to ...
42430         (routines): ... here, new variable.
42431         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42432         Don't add get_clockfreq here.
42433         * rt/Versions (libc: GLIBC_2.17): New version set.
42434         Add clock_* symbols here.
42435         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42436         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42437         (GLIBC_2.17): Add clock_* symbols.
42438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42442         Likewise.
42443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42444         Likewise.
42445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42449         * NEWS: Mention the move.
42451         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42452         Use __open, __read, __close rather than their public counterparts.
42453         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42454         (__get_clockfreq_via_cpuinfo): Likewise.
42455         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42456         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42458         * config.h.in (HAVE_IFUNC): New #undef.
42459         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42460         was successful.
42461         * configure: Regenerated.
42463 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42465         * configure.in: Move READELF check to start of file.
42466         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42467         libc_cv_asm_gnu_indirect_function in the process.
42468         * configure: Regenerated.
42470 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42472         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42473         send the output to /dev/null.
42474         (libc_cv_cc_with_libunwind): Likewise.
42475         (libc_cv_as_noexecstack): Likewise.
42476         * configure: Regenerate.
42478 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42480         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42482         * posix/globtest.sh (TMPDIR): Do not set.
42483         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42484         (testout): Likewise.
42486 2012-10-24  Andreas Jaeger  <aj@suse.de>
42488         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42489         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42490         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42491         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42492         posix_fadvise64, posix_fallocate64.
42494         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42495         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42496         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42497         Likewise.
42498         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42499         Likewise.
42500         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42502         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42503         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42504         <bits/fcntl-linux.h>.
42505         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42508         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42509         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42510         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42511         [__WORDSIZE != 64]: Likewise.
42513 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42515         * Makeconfig (run-built-tests): New variable.
42516         * Rules [$(cross-compiling) = yes]: Change condition to
42517         [$(run-built-tests) = no].
42518         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42519         to [$(run-built-tests) = yes].
42520         * elf/Makefile [$(cross-compiling) = no]: Likewise
42521         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42522         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42523         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42524         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42525         * io/Makefile [$(cross-compiling) = no]: Likewise.
42526         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42527         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42528         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42529         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42530         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42531         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42532         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42533         * string/Makefile [$(cross-compiling) = no]: Likewise.
42535         * posix/Makefile ($(objpfx)globtest.out): Pass
42536         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42537         $(rtld-installed-name).
42538         * posix/globtest.sh (elf_objpfx): Remove variable.
42539         (rtld_installed_name): Likewise.
42540         (library_path): Likewise.
42541         (run_program_prefix): New variable.  Use for running globtest
42542         binary.
42544 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42545             Joseph Myers  <joseph@codesourcery.com>
42547         * Makeconfig (host-built-program-cmd): New variable.
42548         * elf/Makefile (tst-stackguard1-ARGS): Use
42549         $(host-built-program-cmd).
42550         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42551         (tst-spawn-ARGS): Likewise.
42552         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42554 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42555             Jim Blandy  <jimb@codesourcery.com>
42557         * Makeconfig (run-via-rtld-prefix): New variable.
42558         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42559         (built-program-cmd): Likewise.
42561 2012-10-22  Andreas Jaeger  <aj@suse.de>
42563         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42564         __O_RSYNC if it exists, otherwise to O_SYNC.
42566 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42567             Joseph Myers  <joseph@codesourcery.com>
42569         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42570         /dev/null.
42571         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42572         from /dev/null
42573         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42574         /dev/null.
42576 2012-10-22  Andreas Jaeger  <aj@suse.de>
42578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42579         Define always.
42580         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42582         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42583         bits/fcntl-linux.h.
42585         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42586         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42588         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42589         to __O_LARGEFILE.
42590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42591         to __O_LARGEFILE.
42593 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42594             Joseph Myers  <joseph@codesourcery.com>
42596         * config.make.in (NM): New variable.
42598 2012-10-21  Andreas Jaeger  <aj@suse.de>
42600         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42601         definitions and declarations that are provided by
42602         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42604 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42606         [BZ #14683]
42607         * elf/Makefile (tests-static): Add tst-leaks1-static.
42608         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42609         ($(objpfx)tst-leaks1-static): New rule.
42610         ($(objpfx)tst-leaks1-static-mem): Likewise.
42611         (tst-leaks1-static-ENV): New macro.
42612         * elf/dl-open.c (dl_open_worker): Check the main application
42613         only if SHARED is defined.
42614         * elf/tst-leaks1-static.c: New file.
42616 2012-10-20  Andreas Jaeger  <aj@suse.de>
42618         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42619         generic values for Linux.
42620         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42621         and declarations that are provided by <bits/fcntl-linux.h> and
42622         include <bits/fcntl-linux.h>.
42623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42624         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42626 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42628         * io/fcntl.h: Move include of <bits/types.h> to the top and
42629         include it unconditionally.
42631 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42633         * wcsmbs/Makefile (tests-ifunc): New variable.
42634         (tests): Add $(tests-ifunc).
42635         * wcsmbs/test-wcschr-ifunc.c: New file.
42636         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42637         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42638         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42639         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42640         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42642         * string/Makefile (tests-ifunc): New variable.
42643         (tests): Add $(tests-ifunc).
42644         * string/test-memccpy.c (TEST_NAME): New macro.
42645         * string/test-memchr.c (TEST_NAME): Likewise.
42646         * string/test-memcmp.c (TEST_NAME): Likewise.
42647         * string/test-memcpy.c (TEST_NAME): Likewise.
42648         * string/test-memmem.c (TEST_NAME): Likewise.
42649         * string/test-memmove.c (TEST_NAME): Likewise.
42650         * string/test-memset.c (TEST_NAME): Likewise.
42651         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42652         * string/test-stpcpy.c (TEST_NAME): Likewise.
42653         * string/test-stpncpy.c (TEST_NAME): Likewise.
42654         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42655         * string/test-strcasestr.c (TEST_NAME): Likewise.
42656         * string/test-strcat.c (TEST_NAME): Likewise.
42657         * string/test-strchr.c (TEST_NAME): Likewise.
42658         * string/test-strcmp.c(TEST_NAME): Likewise.
42659         * string/test-strcpy.c (TEST_NAME): Likewise.
42660         * string/test-strcspn.c (TEST_NAME): Likewise.
42661         * string/test-strlen.c (TEST_NAME): Likewise.
42662         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42663         * string/test-strncmp.c (TEST_NAME): Likewise.
42664         * string/test-strncpy.c (TEST_NAME): Likewise.
42665         * string/test-strnlen.c (TEST_NAME): Likewise.
42666         * string/test-strpbrk.c (TEST_NAME): Likewise.
42667         * string/test-strrchr.c (TEST_NAME): Likewise.
42668         * string/test-strspn.c (TEST_NAME): Likewise.
42669         * string/test-strstr.c (TEST_NAME): Likewise.
42670         * string/test-bcopy-ifunc.c: New file.
42671         * string/test-bzero-ifunc.c: Likewise.
42672         * string/test-memccpy-ifunc.c: Likewise.
42673         * string/test-memchr-ifunc.c: Likewise.
42674         * string/test-memcmp-ifunc.c: Likewise.
42675         * string/test-memcpy-ifunc.c: Likewise.
42676         * string/test-memmem-ifunc.c: Likewise.
42677         * string/test-memmove-ifunc.c: Likewise.
42678         * string/test-mempcpy-ifunc.c: Likewise.
42679         * string/test-memset-ifunc.c: Likewise.
42680         * string/test-rawmemchr-ifunc.c: Likewise.
42681         * string/test-stpcpy-ifunc.c: Likewise.
42682         * string/test-stpncpy-ifunc.c: Likewise.
42683         * string/test-strcasecmp-ifunc.c: Likewise.
42684         * string/test-strcasestr-ifunc.c: Likewise.
42685         * string/test-strcat-ifunc.c: Likewise.
42686         * string/test-strchr-ifunc.c: Likewise.
42687         * string/test-strchrnul-ifunc.c: Likewise.
42688         * string/test-strcmp-ifunc.c: Likewise.
42689         * string/test-strcpy-ifunc.c: Likewise.
42690         * string/test-strcspn-ifunc.c: Likewise.
42691         * string/test-strlen-ifunc.c: Likewise.
42692         * string/test-strncasecmp-ifunc.c: Likewise.
42693         * string/test-strncat-ifunc.c: Likewise.
42694         * string/test-strncmp-ifunc.c: Likewise.
42695         * string/test-strncpy-ifunc.c: Likewise.
42696         * string/test-strnlen-ifunc.c: Likewise.
42697         * string/test-strpbrk-ifunc.c: Likewise.
42698         * string/test-strrchr-ifunc.c: Likewise.
42699         * string/test-strspn-ifunc.c: Likewise.
42700         * string/test-strstr-ifunc.c: Likewise.
42702         * debug/Makefile (tests-ifunc): New variable.
42703         (tests): Add $(tests-ifunc).
42704         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42705         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42706         * debug/test-stpcpy_chk-ifunc.c: New file.
42707         * debug/test-strcpy_chk-ifunc.c: Likewise.
42709 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42711         [BZ #13601]
42712         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42713         header is not read in.
42715 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42717         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42718         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42719         directly.  Pass built executable to script as
42720         $(built-program-cmd).
42721         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42722         $testprogram without using LD_LIBRARY_PATH and $ldso.
42724         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42725         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42726         $(rtld-installed-name).
42727         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42728         (rtld_installed_name): Likewise.
42729         (library_path): Likewise.
42730         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42731         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42732         $(run-program-prefix) to tst-tables.sh.
42733         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42734         it to run tst-table-from and tst-table-to.
42735         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42736         Pass it to tst-table.sh.
42737         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42738         $(run-program-prefix) to tst-gettext.sh.
42739         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42740         tst-translit.sh.
42741         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42742         tst-gettext2.sh.
42743         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42744         to run tst-gettext.
42745         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42746         to run tst-gettext2.
42747         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42748         to run tst-translit.
42749         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42750         $(run-program-prefix) to tst-mtrace.sh.
42751         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42752         to run tst-mtrace.
42753         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42754         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42755         $(rtld-installed-name).
42756         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42757         (rtld_installed_name): Likewise.
42758         (run_program_prefix): New variable.  Use it to run wordexp-test.
42760         * Makeconfig (ARCH): Remove all definitions.
42761         (machine): Likewise.
42762         [ARCH]: Remove conditional code.
42763         [!objdir]: Give error.
42764         [!objdir] (objpfx): Remove.
42765         [!objdir] (common-objpfx): Likewise.
42766         [!objdir] (common-objdir): Likewise.
42767         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42768         AC_CONFIG_FILES call.
42769         * configure: Regenerated.
42771         [BZ #13888]
42772         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42773         or TMPDIR.
42774         (testout): Likewise.
42776         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42777         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42778         $(rtld-installed-name).
42779         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42780         (rtld_installed_name): Likwise.
42781         (runit): Remove function.
42782         (run_getconf): New variable,  Use it for running getconf binary.
42784 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42786         [BZ #14716]
42787         * string/test-memmem.c (check_result): New function.
42788         (do_one_test): Use it.
42789         (check1): New function.
42790         (test_main): Use it.
42792 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42794         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42796 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42798         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42799         (_G_LSEEK64): Likewise.
42800         (_G_MMAP64): Likewise.
42801         (_G_FSTAT64): Likewise.
42802         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42803         (_G_LSEEK64): Likewise.
42804         (_G_MMAP64): Likewise.
42805         (_G_FSTAT64): Likewise.
42806         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42807         unconditional.  Call __mmap64 directly.
42808         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42809         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42810         __lseek64 directly.
42811         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42812         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42813         __mmap64 directly.
42814         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42815         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42816         __lseek64 directly.
42817         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42818         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42819         __lseek64 directly.
42820         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42821         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42822         __lseek64 directly.
42823         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42824         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42825         __fxstat64 directly.
42826         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42827         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42828         unconditional.
42829         (freopen64) [!_G_OPEN64]: Remove conditional code.
42830         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42831         unconditional.
42832         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42833         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42834         unconditional.
42835         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42836         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42837         unconditional.
42838         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42839         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42840         unconditional.
42841         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42842         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42843         unconditional.
42844         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42845         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42846         unconditional.
42847         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42848         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42849         unconditional.
42850         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42852 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42854         [BZ #12140]
42855         * manual/memory.texi (Malloc Tunable Parameters): Add note
42856         about free list pointers overwriting some perturb bytes.
42857         Wording suggested by Roland McGrath.
42859 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42861         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42862         (lgamma_test): Likewise.
42863         (tgamma_test): Likewise.
42865 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42867         [BZ #14700]
42868         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42869         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42871 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42873         * NEWS: Mention BZ #14716.
42874         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42875         when removing AVAILABLE1_USES_J macro.
42877 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42879         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42880         (__bswap_64): __uint64_t for unsigned 64-bit int.
42882 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42884         * include/string.h (memmem): Declare libc hidden alias.
42885         * string/memmem.c (memmem): Define libc hidden alias.
42886         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42887         __read, __close instead of open, read, close.
42889 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42891         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42892         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42893         global and hidden.
42894         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42895         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42896         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42897         Likewise.
42898         (__rawmemchr_sse2): Likewise.
42899         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42900         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42901         (__strchr_sse2): Likewise.
42902         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42903         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42904         (__strcasecmp_sse2): Likewise.
42905         (__strncasecmp_sse2): Likewise.
42906         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42907         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42908         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42909         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42910         (__strrchr_sse2): Likewise.
42911         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42912         ifunc-impl-list.c.
42913         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42914         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42915         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42916         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42917         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42918         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42919         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42920         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42921         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42922         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42923         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42924         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42925         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42926         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42927         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42928         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42929         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42930         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42931         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42932         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42933         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42934         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42935         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42936         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42937         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42938         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42939         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42940         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42941         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42942         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42944         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42945         global and hidden.
42946         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42947         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42948         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42949         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42950         Likewise.
42951         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42952         Likewise.
42953         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42954         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42955         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42956         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42957         ifunc-impl-list.c.
42958         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42959         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42960         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42961         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42962         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42963         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42964         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42965         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42966         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42967         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42968         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42969         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42970         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42971         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42972         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42973         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42974         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42975         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42976         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42977         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42978         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42979         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42980         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42981         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42982         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42983         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42984         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42985         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42986         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42987         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42988         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42989         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42990         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42991         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42992         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42993         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42994         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42995         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42996         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42997         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42998         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43000         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43001         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43002         * include/ifunc-impl-list.h: New file.
43003         * misc/ifunc-impl-list.c: Likewise.
43004         * misc/Makefile (routines): Add ifunc-impl-list.
43005         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43006         * string/test-string.h: Include <ifunc-impl-list.h>.
43007         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43008         TEST_NAME]: New variables.
43009         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43010         are defined.
43011         (test_init): Call __libc_ifunc_impl_list to initialize
43012         func_list if TEST_IFUNC and TEST_NAME are defined.
43014         * string/Makefile (strop-tests): Add bcopy and bzero.
43015         * string/test-bcopy.c: New file.
43016         * string/test-bzero.c: Likewise.
43017         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43018         defined.
43019         * string/test-memset.c: Support bzero test if TEST_BZERO is
43020         defined.
43021         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43022         __libc_memmove.
43023         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43024         __libc_memset.
43025         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43026         of memset.
43028 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43030         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43031         * configure: Regenerated.
43033         * Makeconfig (+link-static-before-libc): Don't include
43034         $(link-static-libc).
43036         * libio/libio.h (_IO_pos_t): Remove.
43038 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43040         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43041         McGrath.
43043 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43045         * crypt/crypt-entry.c: Include fips-private.h.
43046         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43047         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43048         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43049         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43051 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43053         * crypt/crypt-private.h: Include stdbool.h.
43054         (_ufc_setup_salt_r): Return bool.
43055         * crypt/crypt-entry.c: Include errno.h.
43056         (__crypt_r): Return NULL with EINVAL for bad salt.
43057         * crypt/crypt_util.c (bad_for_salt): New.
43058         (_ufc_setup_salt_r): Check that salt is long enough and within
43059         the specified alphabet.
43060         * crypt/badsalttest.c: New file.
43061         * crypt/Makefile (tests): Add it.
43062         ($(objpfx)badsalttest): New.
43064 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43066         * NEWS: Add entry for BZ #14602.
43068 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43070         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43071         type-generic.
43072         * math/libm-test.inc: Update comment listing what functions and
43073         macros are tested.
43074         (isgreater_test): New function.
43075         (isgreaterequal_test): Likewise.
43076         (isless_test): Likewise.
43077         (islessequal_test): Likewise.
43078         (islessgreater_test): Likewise.
43079         (isunordered_test): Likewise.
43080         (main): Call the new functions.
43082 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43084         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43085         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43086         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43087         * sysdeps/i386/configure: Regenerated.
43088         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43089         * sysdeps/mach/configure: Regenerated.
43090         * sysdeps/mach/hurd/configure: Regenerated.
43091         * sysdeps/powerpc/configure: Regenerated.
43092         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43093         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43094         * sysdeps/s390/s390-32/configure: Regenerated.
43095         * sysdeps/s390/s390-64/configure: Regenerated.
43096         * sysdeps/sh/configure: Regenerated.
43097         * sysdeps/sparc/configure: Regenerated.
43098         * sysdeps/unix/sysv/linux/configure: Regenerated.
43099         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43100         * sysdeps/x86_64/configure: Regenerated.
43102         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43103         defined.  Don't check if MAP is NULL.
43105 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43107         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43108         (_G_stat64): Likewise.
43109         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43110         (_G_stat64): Likewise.
43111         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43112         instead of struct _G_stat64.
43113         * libio/fileops.c (mmap_remap_check): Likewise.
43114         (decide_maybe_mmap): Likewise.
43115         (_IO_new_file_seekoff): Likewise.
43116         (_IO_file_stat): Likewise.
43117         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43118         _G_off64_t.
43119         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43120         instead of struct _G_stat64.
43121         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43123 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43125         [BZ #14602]
43126         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43127         Replace with ...
43128         (CHECK_EOL): New macro.
43129         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43130         CHECK_EOL.
43131         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43132         Replace with CHECK_EOL.
43133         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43134         Replace with CHECK_EOL.
43136 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43138         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43139         type-generic.
43140         * math/libm-test.inc: Update comment listing what functions and
43141         macros are tested.
43142         (finite_test): New function.
43143         (isinf_test): Likewise.
43144         (isnan_test): Likewise.
43145         (fpclassify_test): Test subnormal input.
43146         (isfinite_test): Likewise.
43147         (isnormal_test): Likewise.
43148         (main): Call the new functions.
43150 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43152         [BZ #14660]
43153         * Makerules (%.dynsym): Force C locale when running
43154         $(OBJDUMP) --dynamic-syms.
43156 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43158         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43159         <stdint.h>.
43161 2012-10-06  David S. Miller  <davem@davemloft.net>
43163         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43164         upper 32-bits of the length value in %o2 since we use branch-on-register
43165         tests which consider the entire 64-bit register.
43167 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43169         * string/test-strstr.c (check2): Add a test for page boundary.
43171 2012-10-05  David S. Miller  <davem@davemloft.net>
43173         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43174         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43175         file.
43176         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43177         sysdep_routines.
43178         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43179         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43180         and bzero when HWCAP_SPARC_CRYPTO is present.
43182 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43184         [BZ #14602]
43185         * string/test-strstr.c (check2): New function.
43186         (test_main): Call check2.
43188         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43189         and bug-strchr1.
43190         * string/bug-strcasestr1.c (do_test): Moved to ...
43191         * string/test-strcasestr.c (check1): Here.  New function.
43192         (do_one_test): Break out result checking code into ...
43193         (check_result): This.  New function.
43194         (do_one_test): Call check_result.
43195         (test_main): Call check1.
43196         * string/bug-strchr1.c (do_test): Moved to ...
43197         * string/test-strchr.c (check1): Here.  New function.
43198         (do_one_test): Break out result checking code into ...
43199         (check_result): This.  New function.
43200         (do_one_test): Call check_result.
43201         (test_main): Call check1.
43202         * string/bug-strstr1.c (main): Moved to ...
43203         * string/test-strstr.c (check1): Here.  New function.
43204         (do_one_test): Break out result checking code into ...
43205         (check_result): This.  New function.
43206         (do_one_test): Call check_result.
43207         (test_main): Call check1.
43208         * string/bug-strcasestr1.c: Removed.
43209         * string/bug-strchr1.c: Likewise.
43210         * string/bug-strstr1.c: Likewise.
43212         * elf/Makefile (dl-routines): Add hwcaps.
43213         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43214         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43215         (_dl_important_hwcaps): Moved to ...
43216         * elf/dl-hwcaps.c: Here.  New file.
43217         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43219         [BZ #14557]
43220         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43221         if IS_IN_rtld isn't defined.
43223         * elf/dl-support.c (_dl_sysinfo_map): New.
43224         Include "get-dynamic-info.h" and "setup-vdso.h".
43225         (_dl_non_dynamic_init): Call setup_vdso.
43226         * elf/dynamic-link.h: Don't include <assert.h>.
43227         (elf_get_dynamic_info): Moved to ...
43228         * elf/get-dynamic-info.h: Here.  New file.
43229         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43230         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43231         * elf/setup-vdso.h: Here.  New file.
43232         * elf/rtld.c: Include "setup-vdso.h".
43233         (dl_main): Call setup_vdso.
43235 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43237         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43238         creal in comment listing functions tested.  List finite, isinf,
43239         isnan, isless, islessequal, isgreater, isgreaterequal,
43240         islessgreater, isunordered, lgamma_r and pow10 as functions and
43241         macros not tested.  Mention which functions not tested are aliases
43242         for other functions.  Fix typo.  Note that signs of NaNs are not
43243         tested.
43245         * scripts/config.guess: Update from config.git.
43246         * scripts/config.sub: Likewise.
43248 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43250         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43251         * misc/madvise.c (madvise): Renamed to __madvise.
43252         Make madvise a weak alias.
43253         * include/sys/mman.h: Declare __madvise.
43254         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43255         * sysdeps/unix/syscalls.list
43256         (madvise): Make __madvise the strong name, and madvise a weak alias.
43257         * sysdeps/unix/sysv/linux/syscalls.list
43258         (madvise, mmap): Remove redundant entries.
43259         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43260         * malloc/malloc.c (mtrim): Likewise.
43261         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43263 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43265         * sysdeps/mach/hurd/dl-cache.c: File removed.
43266         * config.h.in (USE_LDCONFIG): New #undef.
43267         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43268         * configure: Regenerated.
43269         * elf/Makefile (dl-routines): Add dl-cache only under
43270         [$(use-ldconfig) = yes].
43271         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43272         cache on [USE_LDCONFIG].
43273         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43274         [USE_LDCONFIG].
43275         * elf/rtld.c (dl_main): Likewise.
43277 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43279         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43280         _SC_LEVEL4_CACHE_LINESIZE.
43282 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43284         * sysdeps/unix/bsd/confstr.h: File removed.
43286 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43288         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43289         sys/sdt-config.h.
43291 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43293         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43294         Make 'mapoff' field ElfW(Off) rather than off_t.
43296 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43298         * nscd/Makefile: Remove nscd-cflags and all its users.
43299         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43300         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43302         [BZ #10631]
43303         * malloc.c (malloc_printerr): Clarify error message.
43305 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43307         [BZ #14648]
43308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43309         Set bit_FMA_Usable if FMA is supported.
43310         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43311         macro.
43312         (bit_FMA4_Usable): Updated.
43313         (index_FMA_Usable): New macro.
43314         (CPUID_FMA): Likewise
43315         (HAS_FMA): Defined with bit_FMA_Usable.
43317 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43319         * bits/types.h (__swblk_t): Type removed.
43320         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43321         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43322         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43323         (__SWBLK_T_TYPE): Likewise.
43324         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43325         (__SWBLK_T_TYPE): Likewise.
43326         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43327         (__SWBLK_T_TYPE): Likewise.
43328         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43329         (__SWBLK_T_TYPE): Likewise.
43331 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43332             Honza Horak <hhorak@redhat.com>
43334         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43335         (xdr_mapname): Use YPMAXMAP as maxsize.
43336         (xdr_peername): Use YPMAXPEER as maxsize.
43337         (xdr_keydat): Use YPAXRECORD as maxsize.
43338         (xdr_valdat): Use YPMAXRECORD as maxsize.
43340 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43342         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43344         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43345         * csu/init-first.c: ... here.
43346         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43347         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43348         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43349         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43350         * sysdeps/i386/init-first.c: File removed.
43351         * sysdeps/sh/init-first.c: File removed.
43353 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43355         [BZ #14645]
43356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43357         if x * y might underflow to zero and z is zero.
43358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43360         * math/libm-test.inc (min_subnorm_value): New variable.
43361         (fma_test): Add more tests.
43362         (fma_test_towardzero): Likewise.
43363         (fma_test_downward): Likewise
43364         (fma_test_upward): Likewise.
43365         (initialize): Set min_subnorm_value.
43367 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43369         [BZ #14638]
43370         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43371         0 + 0.
43372         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43373         mode for addition resulting in exact zero.
43374         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43375         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43376         exact 0 + 0.
43377         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43378         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43379         * math/libm-test.inc (fma_test): Add more tests.
43380         (fma_test_towardzero): New function.
43381         (fma_test_downward): Likewise.
43382         (fma_test_upward): Likewise.
43383         (main): Call the new functions.
43385 2012-09-28  David S. Miller  <davem@davemloft.net>
43387         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43389 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43391         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43392         instead of SIGALRM.
43394         * sysdeps/gnu/_G_config.h: Moved to ...
43395         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43396         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43397         * sysdeps/generic/_G_config.h: ... here.
43399         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43401         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43403         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43404         Conditionalize target on [libnss_test1.so-version].
43406         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43408         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43409         (elfobjdir): Move out of conditionals.
43411         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43412         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43413         (__nss_lookup_function): Conditionalize label remove_from_tree on
43414         [!DO_STATIC_NSS || SHARED], matching its only use.
43416 2012-09-28  David S. Miller  <davem@davemloft.net>
43418         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43419         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43420         file.
43421         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43422         sysdep_routines.
43423         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43424         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43425         when HWCAP_SPARC_CRYPTO is present.
43427 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43429         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43431 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43433         [BZ #6530]
43434         * stdio-common/vfprintf.c (process_string_arg): Revert
43435         2000-07-22 change.
43437 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43439         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43440         for testcase.
43441         * stdio-common/tst-sprintf.c: Include <locale.h>
43442         (main): Test sprintf's handling of incomplete multibyte
43443         characters.
43445 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43447         * elf/dl-runtime.c (VERSYMIDX): Removed.
43448         * elf/dl-version.c (VERSYMIDX): Likewise.
43449         * elf/do-rel.h (VERSYMIDX): Likewise.
43450         (VALIDX): Likewise.
43451         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43452         * elf/rtld.c (VALIDX): Likewise.
43453         (ADDRIDX): Likewise.
43454         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43455         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43456         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43457         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43458         (VALIDX): Likewise.
43459         (ADDRIDX): Likewise.
43461 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43463         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43465 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43467         [BZ #11438]
43468         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43469         to global scope.
43470         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43471         addresses are in the same scope as 192.0.2/24.
43472         * posix/gai.conf: Document new scope table defaults.
43474 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43476         [BZ #5298]
43477         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43478         for ftell.  Compute offsets from write pointers instead.
43479         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43481 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43483         [BZ #14543]
43484         * libio/Makefile (tests): New test case tst-fseek.
43485         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43486         combination works in wide mode.
43487         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43488         state when the external buffer state changes.
43490 2012-09-27  David S. Miller  <davem@davemloft.net>
43492         [BZ #14376]
43493         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43494         pass reloc->r_addend in as the 'high' argument to
43495         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43499 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43501         * rt/tst-aio2.c: Include <pthread.h>.
43502         * rt/tst-aio3.c: Likewise.
43504 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43506         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43508 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43510         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43511         contents on [SHARED].
43513 2012-09-26  Marek Polacek  <polacek@redhat.com>
43515         [BZ #14530]
43516         [BZ #13741]
43517         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43518         for C++ and GCC <4.3 as well as for non GCC compilers.
43520 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43524 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43526         * Makefile.in (all, install): Declare with .PHONY.
43527         Reported by Michael Hope <michael.hope@linaro.org>.
43529 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43531         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43532         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43533         system header.
43534         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43535         Likewise.
43536         (sydep_routines): Add the new and the internal functions.
43537         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43538         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43540         (GLIBC_2.17): Add the new function.
43541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43542         (GLIBC_2.17): Likewise.
43543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43544         (GLIBC_2.17): Likewise.
43545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43546         (GLIBC_2.17): Likewise.
43547         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43549 2012-09-25  Alan Modra  <amodra@gmail.com>
43551         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43552         Add release barrier before setting once_control to say
43553         initialisation is done.  Add hints on lwarx.  Use macro in
43554         place of isync.
43555         (clear_once_control): Add release barrier.
43557 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43559         [BZ #13629]
43560         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43561         specially.
43562         * math/s_clog10.c (__clog10): Likewise.
43563         * math/s_clog10f.c (__clog10f): Likewise.
43564         * math/s_clog10l.c (__clog10l): Likewise.
43565         * math/s_clogf.c (__clogf): Likewise.
43566         * math/s_clogl.c (__clogl): Likewise.
43567         * math/Makefile (libm-calls): Add x2y2m1.
43568         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43569         (__x2y2m1): Likewise.
43570         (__x2y2m1l): Likewise.
43571         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43572         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43573         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43574         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43575         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43576         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43577         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43578         * sysdeps/i386/fpu/libm-test-ulps: Update.
43579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43581         [BZ #14621]
43582         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43583         int as type of variable DEPTH.
43584         (glob): Use size_t instead of int as type of variables NEWCOUNT
43585         and OLD_PATHC.
43587 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43589         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43590         Add s_sincosf-sse2.
43591         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43592         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43593         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43594         macros for using routine as __sincosf_ia32.
43595         Use macro for function declaration and weak_alias.
43596         * sysdeps/i386/fpu/libm-test-ulps: Update.
43598         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43601         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43602         subnormal argument.
43603         * math/s_cexpf.c (__cexpf): Likewise.
43604         * math/s_csinf.c (__csinf): Likewise.
43605         * math/s_csinhf.c (__csinhf): Likewise.
43606         * math/s_ctanf.c (__ctanf): Likewise.
43607         * math/s_ctanhf.c (__ctanhf): Likewise.
43608         * math/s_ccosh.c (__ccoshf): Likewise.
43609         * math/s_cexp.c (__cexpl): Likewise.
43610         * math/s_csin.c (__csin): Likewise.
43611         * math/s_csinh.c (__csinh): Likewise.
43612         * math/s_ctan.c (__ctan): Likewise.
43613         * math/s_ctanh.c (ctanh): Likewise.
43614         * math/s_ccoshl.c (__ccoshl): Likewise.
43615         * math/s_cexpl.c (__cexpl): Likewise.
43616         * math/s_csinl.c (__csinl): Likewise.
43617         * math/s_csinhl.c (__csinhl): Likewise.
43618         * math/s_ctanl.c (__ctanl): Likewise.
43619         * math/s_ctanhl.c (__ctanhl): Likewise.
43621 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43623         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43624         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43625         (_IO_off_t): Define to __off_t, not _G_off_t.
43626         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43627         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43628         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43629         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43630         type of __dummy and __dummy2 fields.
43631         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43632         (_G_ssize_t): Likewise.
43633         (_G_off_t): Likewise.
43634         (_G_pid_t): Likewise.
43635         (_G_uid_t): Likewise.
43636         (_G_wchar_t): Likewise.
43637         (_G_wint_t): Likewise.
43638         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43639         (_G_ssize_t): Likewise.
43640         (_G_off_t): Likewise.
43641         (_G_pid_t): Likewise.
43642         (_G_uid_t): Likewise.
43643         (_G_wchar_t): Likewise.
43644         (_G_wint_t): Likewise.
43645         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43646         (_G_ssize_t): Likewise.
43647         (_G_off_t): Likewise.
43648         (_G_pid_t): Likewise.
43649         (_G_uid_t): Likewise.
43650         (_G_wchar_t): Likewise.
43651         (_G_wint_t): Likewise.
43653 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43655         * malloc/arena.c: Include malloc-sysdep.h.
43656         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43657         is sufficient to shrink the heap or an unmap is needed.
43658         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43659         new function check_may_shrink_heap.
43660         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43661         new function check_may_shrink_heap.
43663 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43665         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43666         comments.
43668 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43670         * catgets/test-gencat.sh: Add "set -e".
43671         * elf/tst-pathopt.sh: Likewise.
43672         * grp/tst_fgetgrent.sh: Likewise.
43673         * iconvdata/run-iconv-test.sh: Likewise.
43674         * intl/tst-gettext.sh: Likewise.
43675         * intl/tst-gettext2.sh: Likewise.
43676         * intl/tst-gettext4.sh: Likewise.
43677         * intl/tst-gettext6.sh: Likewise.
43678         * intl/tst-translit.sh: Likewise.
43679         * io/ftwtest-sh: Likewise.
43680         * libio/test-freopen.sh: Likewise.
43681         * malloc/tst-mtrace.sh: Likewise.
43682         * posix/globtest.sh: Likewise.
43683         * posix/tst-getconf.sh: Likewise.
43684         * posix/wordexp-tst.sh: Likewise.
43685         * stdio-common/tst-printf.sh: Likewise.
43686         * stdio-common/tst-unbputc.sh: Likewise.
43687         * stdlib/tst-fmtmsg.sh: Likewise.
43688         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43689         * catgets/Makefile: Do not specify -e option when running
43690         testsuite shell scripts.
43691         * elf/Makefile: Likewise.
43692         * grp/Makefile: Likewise.
43693         * iconvdata/Makefile: Likewise.
43694         * intl/Makefile: Likewise.
43695         * io/Makefile: Likewise.
43696         * libio/Makefile: Likewise.
43697         * malloc/Makefile: Likewise.
43698         * posix/Makefile: Likewise.
43699         * stdio-common/Makefile: Likewise.
43700         * stdlib/Makefile: Likewise.
43701         * sysdeps/x86_64/Makefile: Likewise.
43703         * io/ftwtest-sh: Add copyright header.
43704         * posix/globtest.sh: Likewise.
43705         * posix/tst-getconf.sh: Likewise.
43706         * posix/wordexp-tst.sh: Likewise.
43707         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43709 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43711         [BZ #13679]
43712         * Makeconfig (+link): Defined as $(+link-static) if
43713         $(build-shared) isn't yes.
43714         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43715         isn't yes.
43716         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43718         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43720         [BZ #14562]
43721         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43722         new chunk size with MALLOC_ALIGN_MASK.
43724 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43726         [BZ #5044]
43727         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43728         <rounding-mode.h>.
43729         (__printf_fphex): Determine rounding using get_rounding_mode and
43730         round_away.
43731         * stdio-common/tst-printf-round.c (struct hex_test): New
43732         structure.
43733         (hex_tests): New variable.
43734         (test_hex_in_one_mode): New function.
43735         (do_test): Also run tests for hex float output.
43737 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43739         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43740         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43741         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43742         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43743         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43744         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43745         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43746         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43748 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43750         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43751         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43752         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43753         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43755 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43757         [BZ #14579]
43758         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43759         mode only.
43760         * elf/tst-rtld-load-self.sh: New test.
43761         * elf/Makefile: Run it.
43763 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43765         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43766         (tst-writev-ENV): Remove.
43767         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43769 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43771         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43773 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43775         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43776         unconditional.
43777         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43778         Likewise.
43779         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43780         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43781         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43782         Likewise.
43784 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43786         [BZ #14587]
43787         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43788         * config.make.in (have-cpp-asm-debuginfo): Removed.
43789         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43790         * configure: Regenerated.
43792 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43794         [BZ #5044]
43795         * stdio-common/printf_fp.c: Include <stdbool.h> and
43796         <rounding-mode.h>.
43797         (___printf_fp): Determine rounding using get_rounding_mode and
43798         round_away.
43799         * stdio-common/tst-printf-round.c: New file.
43800         * stdio-common/Makefile (tests): Add tst-printf-round.
43801         (link-libm): New variable.
43802         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43804 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43806         [BZ #14576]
43807         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43808         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43809         Likewise.
43810         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43811         Likewise.
43813 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43815         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43816         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43817         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43818         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43820 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43822         [BZ #14518]
43823         * include/rounding-mode.h: New file.
43824         * sysdeps/generic/get-rounding-mode.h: Likewise.
43825         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43826         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43827         (MAX_VALUE): New macro.
43828         (MIN_VALUE): Likewise.
43829         (overflow_value): New function.
43830         (underflow_value): Likewise.
43831         (round_and_return): Use overflow_value and underflow_value to
43832         determine return values in overflow and underflow cases.  Use
43833         round_away to determine rounding depending on rounding mode.
43834         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43835         determine return values in overflow and underflow cases.
43836         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43837         (struct test_results): New structure.
43838         (struct test): Use struct test_results to store expected results
43839         for all rounding modes.
43840         (TEST): Include expected results for all rounding modes.
43841         (test_in_one_mode): New function.
43842         (do_test): Use test_in_one_mode to compute and check results.
43843         Check results for all rounding modes.
43844         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43845         $(link-libm).
43847 2012-12-09  Allan McRae  <allan@archlinux.org>
43849         * sysdeps/i386/fpu/libm-test-ulps: Update
43851 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43853         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43854         (_G_int32_t): Likewise.
43855         (_G_uint16_t): Likewise.
43856         (_G_uint32_t): Likewise.
43857         (_G_HAVE_BOOL): Likewise.
43858         (_G_HAVE_ATEXIT): Likewise.
43859         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43860         (_G_HAVE_IO_FILE_OPEN): Likewise.
43861         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43862         (_G_int32_t): Likewise.
43863         (_G_uint16_t): Likewise.
43864         (_G_uint32_t): Likewise.
43865         (_G_HAVE_BOOL): Likewise.
43866         (_G_HAVE_ATEXIT): Likewise.
43867         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43868         (_G_HAVE_IO_FILE_OPEN): Likewise.
43869         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43870         (_G_int32_t): Likewise.
43871         (_G_uint16_t): Likewise.
43872         (_G_uint32_t): Likewise.
43873         (_G_HAVE_BOOL): Likewise.
43874         (_G_HAVE_ATEXIT): Likewise.
43875         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43876         (_G_HAVE_IO_FILE_OPEN): Likewise.
43878 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43880         * csu/libc-tls.c: Update copyright years.
43882 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43884         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43885         [!_G_USING_THUNKS]: Remove conditional code.
43886         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43887         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43889         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43890         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43891         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43892         (_G_VTABLE_LABEL_PREFIX): Likewise.
43893         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43894         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43895         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43896         (_G_VTABLE_LABEL_PREFIX): Likewise.
43897         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43898         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43899         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43900         (_G_VTABLE_LABEL_PREFIX): Likewise.
43901         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43903 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43905         * libio/Makefile: Include ../Makeconfig before tests.
43906         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43907         only if $(build-shared) is yes.
43909         * iconv/gconv_db.c: Update copyright years.
43911 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43913         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43914         unwind info if defined PIC. Fix special cases description.
43915         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43917         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43918         DP_HI_MASK entry.
43919         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43921 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43923         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43925         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43926         is NULL.
43928         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43929         (LDLIBS-tst-chk4): This.
43930         (LDFLAGS-tst-chk5): Renamed to ...
43931         (LDLIBS-tst-chk5): This.
43932         (LDFLAGS-tst-chk6): Renamed to ...
43933         (LDLIBS-tst-chk6): This.
43934         (LDFLAGS-tst-lfschk4): Renamed to ...
43935         (LDLIBS-tst-lfschk4): This.
43936         (LDFLAGS-tst-lfschk5): Renamed to ...
43937         (LDLIBS-tst-lfschk5): This.
43938         (LDFLAGS-tst-lfschk6): Renamed to ...
43939         (LDLIBS-tst-lfschk6): This.
43941         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43942         on $(common-objpfx)soversions.mk.
43944 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43946         [BZ #10014]
43947         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43948         example host name.
43950 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43952         * malloc/arena.c (arena_get_retry): New function that gets
43953         another arena for the caller to try its request on.
43954         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43955         current arena cannot fulfill the request.
43956         (__libc_memalign): Likewise.
43957         (__libc_memalign): Likewise.
43958         (__libc_pvalloc): Likewise.
43959         (__libc_calloc): Likewise.
43961 2012-09-05  John Tobey  <john.tobey@gmail.com>
43963         [BZ #13542]
43964         * manual/arith.texi (Operations on Complex): Fix description
43965         of carg branch cut.
43967 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43969         [BZ #10014]
43970         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43971         host name.
43973         [BZ #10038]
43974         * manual/memory.texi (Memory): Make order of menu items match
43975         order of sections.
43977 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43979         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43980         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43981         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43983 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43985         * csu/libc-tls.c (static_dtv): Renamed to ...
43986         (_dl_static_dtv): This.  Make it global.
43987         (_dl_initial_dtv): Removed.
43988         (__libc_setup_tls): Updated.
43989         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43990         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43991         DL_INITIAL_DTV.
43993 2012-09-06  Petr Machata  <pmachata@redhat.com>
43995         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43996         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43997         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43998         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44000 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44002         [BZ #14545]
44003         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44004         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44005         freeing dtv[-1].
44007 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44009         [BZ #14544]
44010         * Makeconfig (link-static-before-libc): Replace $(+prector)
44011         with $(+prectorT).
44012         (link-static-after-libc): Replace $(+postctor) with
44013         $(+postctorT).
44014         (link-bounded): Replace $(+prector)/$(+postctor) with
44015         $(+prectorT)/$(+postctorT).
44016         (+prectorT): New macro.
44017         (+postctorT): Likewise.
44019 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44021         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44022         (round_str): Handle values above the maximum for IBM long double
44023         as inexact.
44024         * stdlib/tst-strtod-round.c (tests): Regenerated.
44026 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44028         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44029         assembler flag.
44030         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44031         zarch_nohighgprs around the zarch optimized routines.
44032         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44033         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44034         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44035         for zarch.
44037 2012-09-05  David S. Miller  <davem@davemloft.net>
44039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44041         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44042         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44043         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44044         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44045         entries.
44047 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44049         * malloc/arena.c: Fold copyright years.
44050         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44052 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44054         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44056 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44058         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44060 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44062         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44063         change internal state upon failure.
44065 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44067         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44068         * malloc/memusage.c (mmap): Likewise.
44069         (mmap64, mremap): Likewise.  Adjust name in comment.
44071 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44073         * libio/fileops.c: Fix typos in comments.
44074         * libio/oldfileops.c: Likewise.
44075         * libio/wfileops.c: Likewise.
44077 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44079         [BZ #1349]
44080         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44081         (tst-malloc-usable-ENV): Set environment for test case.
44082         * malloc/hooks.c (malloc_check_get_size): New function to get
44083         requested size.
44084         * malloc/malloc.c (musable): Use malloc_check_get_size.
44085         * malloc/tst-malloc-usable.c: New test case.
44087 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44089         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44091 2012-09-05  Allan McRae  <allan@archlinux.org>
44093         [BZ #13966]
44094         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44095         determine header location.
44096         * configure: Regenerated.
44098 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44100         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44101         float format.
44102         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44103         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44104         format.
44105         (test): Regenerate.
44107 2012-09-04  David S. Miller  <davem@davemloft.net>
44109         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44110         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44111         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44113 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44115         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44116         failures.
44118         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44120 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44122         [BZ #9914]
44123         * libio/iogetdelim.c: Include <limits.h>.
44124         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44125         + len + 1 would overflow.
44127 2012-09-03  Andreas Jaeger  <aj@suse.de>
44129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44130         * sysdeps/i386/fpu/libm-test-ulps: Update.
44132 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44134         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44135         Add s_sinf-sse2, s_conf-sse2.
44137         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44138         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44139         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44140         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44142         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44143         for using routine as __sinf_ia32.
44144         Use macro for function declaration and weak_alias.
44145         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44146         for using routine as __cosf_ia32.
44147         Use macro for function declaration and weak_alias.
44149         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44150         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44152         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44153         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44156         * math/libm-test.inc (cos_test): Add more test cases.
44157         (sin_test): Likewise.
44158         (sincos_test): Likewise.
44160 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44162         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44163         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44164         hidden.
44165         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44167 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44169         [BZ #14538]
44170         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44171         first element of the GOT.
44172         (elf_machine_load_address): Return the difference between
44173         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44175 2012-09-01  Allan McRae  <allan@archlinux.org>
44177         [BZ #13412]
44178         * configure.in (AWK): Require gawk version 3.0 or later.
44179         * configure: Regenerated.
44181 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44183         * sysdeps/unix/sysv/linux/kernel-features.h
44184         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44185         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44186         [__NR_clock_getres]: Make code unconditional.
44187         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44188         (clock_getcpuclockid): Remove code left unreachable by removal of
44189         conditionals.
44190         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44191         code unconditional.
44192         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44193         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44194         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44195         Make code unconditional.
44196         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44197         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44198         * sysdeps/unix/sysv/linux/clock_settime.c
44199         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44200         conditional code.
44201         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44202         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44204 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44206         [BZ #14476]
44207         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44208         scripts/test-installation.pl.
44210         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44211         and $ld_so_version if it is set.
44213 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44215         [BZ #14516]
44216         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44217         failure if reading from procfs failed.
44218         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44220 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44222         * sysdeps/unix/sysv/linux/kernel-features.h
44223         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44224         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44225         Remove conditional code.
44226         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44227         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44228         Remove conditional code.
44229         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44230         * sysdeps/unix/sysv/linux/i386/fxstat.c
44231         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44232         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44233         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44234         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44236         * sysdeps/unix/sysv/linux/i386/lxstat.c
44237         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44239         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44240         Remove conditional code.
44241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44242         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44243         Remove conditional code.
44244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44245         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44246         <kernel-features.h>.
44247         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44248         Remove.
44249         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44250         Remove conditional code.
44251         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44252         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44253         Remove conditional.
44255 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44257         [BZ #5400]
44258         * NEWS: Add fixed bug number.
44260 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44262         [BZ #14519]
44263         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44264         underflowing exponent in case of negative sign.
44265         * stdlib/tst-strtod-round-data: Add more tests.
44266         * stdlib/tst-strtod-round.c (tests): Regenerated.
44268         [BZ #3479]
44269         * stdlib/strtod_l.c (NDIG): Remove.
44270         (HEXNDIG): Likewise.
44271         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44272         smallest representable value.
44273         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44274         lie within an exact representation of 1/2 ulp of the result.
44275         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44276         unconditionally.
44277         (TENS_P9_IDX): Define unconditionally.
44278         (TENS_P9_SIZE): Likewise.
44279         (TENS_P10_IDX): Likewise.
44280         (TENS_P10_SIZE): Likewise.
44281         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44282         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44283         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44284         entries for 10^2^13 and 10^2^14.
44285         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44286         (TENS_P13_IDX): Define.
44287         (TENS_P13_SIZE): Likewise.
44288         (TENS_P14_IDX): Likewise.
44289         (TENS_P14_SIZE): Likewise.
44290         (_fpioconst_pow10): Change array size to
44291         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44292         unconditional.
44293         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44294         1024]: Add entries for 10^2^13 and 10^2^14.
44295         [LAST_POW10 > _LAST_POW10]: Remove #error.
44296         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44297         (_fpioconst_pow10): Change array size to
44298         FPIOCONST_POW10_ARRAY_SIZE.
44299         * stdlib/gen-fpioconst.c: New file.
44300         * stdlib/gen-tst-strtod-round.c: Likewise.
44301         * stdlib/tst-strtod-round-data: Likewise.
44302         * stdlib/tst-strtod-round.c: Likewise.
44303         * stdlib/Makefile (tests): Add tst-strtod-round.
44305         [BZ #14459]
44306         * stdlib/strtod_l.c: Include <stdint.h>.
44307         (NDEBUG): Do not define.
44308         (round_and_return): Change EXPONENT parameter to type intmax_t.
44309         Rearrange calculations to avoid internal overflow possibilities.
44310         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44311         Rearrange calculations to avoid internal overflow possibilities.
44312         Assert that number fits inside MPNSIZE limbs.
44313         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44314         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44315         calculations and add assertions to avoid internal overflow
44316         possibilities.  Add casts to avoid signed/unsigned operations.
44317         * stdlib/tst-strtod-overflow.c: New file.
44318         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44320 2012-08-25  Marek Polacek  <polacek@redhat.com>
44322         * time/time.h: Fix some typos in comments.
44324 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44326         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44327         * posix/tst-rfc3484-2.c: Likewise.
44328         * posix/tst-rfc3484-3.c: Likewise.
44330 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44332         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44333         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44335 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44337         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44338         #include of fxstatat64.c.
44340 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44342         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44343         * shadow/getspent_r.c: Likewise.
44344         * shadow/getspnam.c: Likewise.
44345         * shadow/getspnam_r.c: Likewise.
44346         * gshadow/getsgent.c: Likewise.
44347         * gshadow/getsgent_r.c: Likewise.
44348         * gshadow/getsgnam.c: Likewise.
44349         * gshadow/getsgnam_r.c: Likewise.
44350         * inet/getnetbyad.c: Likewise.
44351         * inet/getnetbyad_r.c: Likewise.
44352         * inet/getnetbynm.c: Likewise.
44353         * inet/getnetbynm_r.c: Likewise.
44354         * inet/getnetent.c: Likewise.
44355         * inet/getnetent_r.c: Likewise.
44356         * inet/getproto.c: Likewise.
44357         * inet/getproto_r.c: Likewise.
44358         * inet/getprtent.c: Likewise.
44359         * inet/getprtent_r.c: Likewise.
44360         * inet/getprtname.c: Likewise.
44361         * inet/getprtname_r.c: Likewise.
44362         * inet/getrpcbyname.c: Likewise.
44363         * inet/getrpcbyname_r.c: Likewise.
44364         * inet/getrpcbynumber.c: Likewise.
44365         * inet/getrpcbynumber_r.c: Likewise.
44366         * inet/getrpcent.c: Likewise.
44367         * inet/getrpcent_r.c: Likewise.
44368         * inet/getaliasent.c: Likewise.
44369         * inet/getaliasent_r.c: Likewise.
44370         * inet/getaliasname.c: Likewise.
44371         * inet/getaliasname_r.c: Likewise.
44372         * nscd/getgrgid_r.c: Likewise.
44373         * nscd/getgrnam_r.c: Likewise.
44374         * nscd/gethstbyad_r.c: Likewise.
44375         * nscd/gethstbynm3_r.c: Likewise.
44376         * nscd/getpwnam_r.c: Likewise.
44377         * nscd/getpwuid_r.c: Likewise.
44378         * nscd/getsrvbynm_r.c: Likewise.
44379         * nscd/getsrvbypt_r.c: Likewise.
44380         * nscd/gai.c: Likewise.
44382         * configure.in (build_nscd): New substituted variable, set
44383         by --disable-build-nscd and defaults to $use_nscd.
44384         * configure: Regenerated.
44385         * config.make.in (build-nscd): New substituted variable.
44386         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44387         Change conditional to require [$(build-nscd) = yes] as well.
44388         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44390         [BZ# 13696]
44391         * configure.in (use_nscd): New substituted variable, set by
44392         --disable-nscd.  If enabled, define USE_NSCD.
44393         * configure: Regenerated.
44394         * config.h.in: Add USE_NSCD.
44395         * config.make.in (use-nscd): New substituted variable.
44396         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44397         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44398         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44399         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44400         (CFLAGS-getgrnam_r.c): Likewise.
44401         (CFLAGS-initgroups.c): Likewise.
44402         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44403         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44404         Variables removed.
44405         * inet/getnetgrent_r.c
44406         (nscd_setnetgrent): New function, broken out of ...
44407         (setnetgrent): ... here.  Call it.
44408         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44409         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44410         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44411         * nscd/Makefile (routines, aux): Move definitions after include of
44412         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44413         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44414         Conditionalize on [USE_NSCD].
44415         (is_nscd, nscd_init_cb): Likewise.
44416         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44417         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44418         * nss/nss_db/db-init.c: Likewise.
44419         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44420         [USE_NSCD].
44421         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44422         (make_request): Use it.
44423         (cache_valid_p): New function.
44424         (__check_pf): Use it.
44425         * NEWS: Add item for --disable-nscd.
44427 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44429         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44430         to support sed >= 4.2.1-20-ga9bf076.
44431         * configure: Regenerated.
44433 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44435         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44436         Conditionalize whole body on [IREL].
44438 2012-08-22  Jeff Law <law@redhat.com>
44440         [BZ #14505]
44441         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44442         if the family is PF_UNSPEC.
44444 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44446         * Makerules (lib-version): Rename from V.
44447         (install-lib-nosubdir): Change V to lib-version.
44449 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44451         [BZ #14252]
44452         * powerpc32/power6/wcschr.c: New file.
44453         * powerpc32/power6/wcscpy.c: New file.
44454         * powerpc32/power6/wcsrchr.c: New file.
44455         * powerpc64/power6/wcschr.c: New file.
44456         * powerpc64/power6/wcscpy.c: New file.
44457         * powerpc64/power6/wcsrchr.c: New file.
44459 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44461         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44462         (two_way_short_needle): Use it.
44463         * string/strstr.c (AVAILABLE1_USES_J): Define.
44464         * string/strcasestr.c: Likewise.
44466         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44467         array references.
44468         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44470         [BZ #11607]
44471         * NEWS: Add an entry.
44472         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44473         define their defaults.
44474         (two_way_short_needle): Detect end-of-string on-the-fly.
44475         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44476         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44477         * string/bug-strcasestr1.c: New test.
44478         * string/Makefile: Run it.
44480 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44482         [BZ #11607]
44483         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44484         the first character.
44486 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44488         * csu/elf-init.c (__libc_csu_irel): Function removed.
44489         * csu/libc-start.c (apply_irel): New function.
44490         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44492 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44494         * sysdeps/unix/sysv/linux/kernel-features.h
44495         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44496         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44497         <kernel-features.h>.
44498         [__NR_fadvise64_64]: Make code unconditional.
44499         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44500         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44501         !__NR_fadvise64_64)]: Likewise.
44502         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44503         !__NR_fadvise64_64))]: Likewise.
44504         [__NR_fadvise64]: Make code unconditional.
44505         [!__NR_fadvise64]: Remove conditional code.
44506         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44507         <kernel-features.h>.
44508         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44509         unconditional.
44510         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44511         conditional code.
44512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44513         not include <kernel-features.h>.
44514         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44515         unconditional.
44516         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44517         conditional code.
44518         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44519         include <kernel-features.h>.
44520         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44521         unconditional.
44522         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44523         conditional code.
44525 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44527         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44528         slight instruction rearrangements per scrollpipe analysis.
44529         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44531 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44533         * manual/syslog.texi (syslog; vsyslog, closelog):
44534         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44535         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44537         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44538         DSOCAPS to match condition on defining it.
44540 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44542         * sysdeps/unix/sysv/linux/kernel-features.h
44543         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44545         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44546         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44548         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44549         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44551         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44552         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44554         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44555         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44557         * sysdeps/unix/sysv/linux/kernel-features.h
44558         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44559         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44560         unconditional.
44561         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44562         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44563         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44564         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44565         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44566         Make code unconditional.
44567         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44568         (__mmap64) [!__NR_mmap2]: Likewise.
44569         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44570         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44571         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44572         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44573         [__NR_mmap2]: Make code unconditional.
44574         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44575         (__mmap64) [!__NR_mmap2]: Likewise.
44577 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44579         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44581 2012-08-18  Andreas Jaeger  <aj@suse.de>
44583         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44585 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44587         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44588         * include/unistd.h (__have_sock_cloexec): Likewise.
44589         (__have_pipe2): Likewise.
44590         (__have_dup3): Likewise.
44592 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44594         [BZ #9685]
44595         * include/unistd.h (__have_pipe2): Change define into an extern int.
44596         (__have_dup3): Likewise.
44597         * socket/have_sock_cloexec.c: Include fcntl.h.
44598         (__have_pipe2): New variable.
44599         (__have_dup3): Likewise.
44601 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44603         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44605 2012-08-17  Marek Polacek  <polacek@redhat.com>
44607         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44608         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44610 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44612         * configure.in: Add AC_SUBST for sysheaders.
44613         * configure: Regenerated.
44614         * config.make.in (sysheaders): New substituted variable.
44616         * sysdeps/unix/mkfifo.c: Moved ...
44617         * sysdeps/posix/mkfifo.c: ... here.
44618         * sysdeps/unix/mkfifoat.c: Moved ...
44619         * sysdeps/posix/mkfifoat.c: ... here.
44621         * sysdeps/unix/utime.c: Moved ...
44622         * sysdeps/posix/utime.c: ... here.
44624         * sysdeps/unix/time.c: Moved ...
44625         * sysdeps/posix/time.c: ... here.
44626         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44627         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44629         * sysdeps/unix/nice.c: Moved ...
44630         * sysdeps/posix/nice.c: ... here.
44632         * sysdeps/unix/alarm.c: Moved ...
44633         * sysdeps/posix/alarm.c: ... here.
44635         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44637 2012-08-17  Jeff Law <law@redhat.com>
44639         * intl/Makefile (codeset_mo): New variable.
44640         ($(codeset_mo)): New target.
44641         (tst-codeset.out): Depend on that.  Remove explicit rule.
44642         (tst-gettext3.out, tst-gettext5.out): Likewise.
44643         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44644         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44645         * intl/tst-codeset.sh: Remove.
44646         * intl/tst-gettext3.sh: Likewise.
44647         * intl/tst-gettext5.sh: Likewise.
44649 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44651         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44652         * sysdeps/unix/syscalls.list: ... here.
44654         * sysdeps/posix/getaddrinfo.c
44655         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44656         (gaiconf_init, gaiconf_reload): Use them.
44657         [!_STATBUF_ST_NSEC]
44658         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44659         Define using time_t rather than struct timespec.
44661         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44662         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44663         Macros removed.
44664         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44665         [!NO_THREADS].
44666         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44667         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44668         Likewise.
44670         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44671         __libc_cleanup_push argument.
44673         * bits/param.h: New file.
44674         * misc/sys/param.h: New file.
44675         * include/sys/param.h: New file.
44676         * misc/Makefile (headers): Add bits/param.h.
44677         * sysdeps/generic/sys/param.h: File removed.
44678         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44679         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44680         * sysdeps/mach/hurd/bits/param.h: New file.
44681         * sysdeps/mach/hurd/sys/param.h: File removed.
44683         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44684         last change.
44686         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44687         [_IO_MTSAFE_IO].
44688         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44689         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44690         New macros.
44692         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44693         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44694         rather than -D_IO_MTSAFE_IO conditionally.
44695         * stdio-common/Makefile (CPPFLAGS): Likewise.
44696         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44697         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44698         Use $(libio-mtsafe).
44699         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44700         of -D_IO_MTSAFE_IO.
44701         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44702         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44703         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44704         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44705         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44706         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44707         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44708         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44709         (CFLAGS-fread_u_chk.c): Likewise.
44710         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44711         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44712         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44713         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44714         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44715         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44716         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44717         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44718         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44720         * libio/Makefile: Test [$(libc-reentrant) = yes]
44721         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44723         * Makeconfig
44724         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44725         * sysdeps/pthread/configure: File removed.
44726         * sysdeps/pthread/Makeconfig: New file.
44727         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44728         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44730 2012-08-16  Gary Benson  <gbenson@redhat.com>
44732         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44733         unmapping the first object in a namespace.
44735 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44737         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44738         (__internal_setnetgrent): ... this.  Add internal_function to
44739         definition.  Add libc_hidden_def.
44740         (setnetgrent): Update caller.
44741         (internal_endnetgrent): Renamed to ...
44742         (__internal_endnetgrent): ... this.  Add internal_function to
44743         definition.  Add libc_hidden_def.
44744         (endnetgrent): Update caller.
44745         (internal_getnetgrent_r): Renamed to ...
44746         (__internal_getnetgrent_r): ... this.  Add internal_function to
44747         definition.  Add libc_hidden_def.
44748         (__getnetgrent_r): Update caller.
44749         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44751 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44753         * stdlib/longlong.h: Update from GCC.
44755 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44757         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44758         on _QL, which is set by umul_ppmm but never used.
44759         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44760         variables, which are set by GMP macros but never used.
44761         * stdio-common/_itowa.c (_itowa): Likewise.
44762         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44763         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44765 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44767         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44768         struct La_sh_regs is not constant.
44769         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44770         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44771         and struct La_sparc64_regs are not constant.
44773 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44775         * sysdeps/unix/sysv/linux/kernel-features.h
44776         (__ASSUME_POSIX_TIMERS): Remove.
44777         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44778         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44779         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44780         Make code unconditional.
44781         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44782         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44783         Make code unconditional.
44784         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44785         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44786         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44787         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44788         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44789         Make code unconditional.
44790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44791         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44792         (__libc_missing_posix_timers): Remove.
44794 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44796         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44797         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44799         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44801         * elf/dl-sym.c: Include <stdlib.h>.
44803         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44804         constants, which avoids warnings in 32-bit builds.
44806         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44807         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44809         * misc/lseek.c: File moved to ...
44810         * io/lseek.c: ... here.
44812         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44814         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44815         shifting LEN more than 31 bits at once.
44817 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44819         [BZ #14195]
44820         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44821         segmentation fault for a case of two empty input strings.
44822         * string/test-strncasecmp.c (check1): Renamed to...
44823         (bz12205): ...this.
44824         (bz14195): Add new testcase for two empty input strings and N > 0.
44825         (test_main): Call new testcase, adapt for renamed function.
44827 2012-08-15  Andreas Jaeger  <aj@suse.de>
44829         [BZ #14090]
44830         * crypt/md5test2.c: New test, based on test supplied by Serge
44831         Belyshev <belyshev@depni.sinp.msu.ru>.
44832         * crypt/Makefile (xtests): Add md5test-giant..
44833         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44835 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44837         [BZ #14090]
44838         * crypt/md5.c (md5_process_block): Don't assume the buffer
44839         length is less than 2**32.
44840         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44841         length is less than 2**64.
44843 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44845         * string/str-two-way.h: Include <sys/param.h>.
44846         (MAX): Macro removed.
44848         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44849         Move #define and #undef of memmove to just before and after
44850         including <string.h>.
44852         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44853         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44854         and after including <string.h>.  Move declarations of
44855         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44856         to before #include "string/memmove.c".
44858         * include/dirent.h: Declare __getdirentries.
44860         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44861         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44863 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44865         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44866         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44867         * sysdeps/i386/configure: Regenerated.
44868         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44869         STABS_CURRENT_FILE, and STABS_FUN.
44870         (END): Remove call to STABS_FUN_END.
44871         (STABS_CURRENT_FILE1): Delete.
44872         (STABS_CURRENT_FILE): Likewise.
44873         (STABS_FUN): Likewise.
44874         (STABS_FUN_END): Likewise.
44875         (STABS_FUN2): Likewise.
44876         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44877         * sysdeps/x86_64/configure: Regenerated.
44879 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44881         * elf/dl-open.c: Include <atomic.h>.
44882         * elf/dl-lookup.c: Likewise.
44884 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44886         * sysdeps/unix/sysv/linux/kernel-features.h
44887         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44888         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44889         unconditionally.
44890         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44891         unconditionally.
44892         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44893         condition on __ASSUME_CLONE_THREAD_FLAGS.
44895 2012-08-14  Andreas Jaeger  <aj@suse.de>
44897         * sysdeps/i386/fpu/libm-test-ulps: Update.
44899 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44901         * include/atomic.h (atomic_exchange_and_add): Split into ...
44902         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44903         New atomic macros.
44905 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44909 2012-08-13  Jeff Law <law@redhat.com>
44911         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44912         null byte in the output string.
44914 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44916         * sysdeps/unix/sysv/linux/kernel-features.h
44917         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44918         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44919         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44920         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44921         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44922         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44923         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44925 2012-08-09  Jeff Law <law@redhat.com>
44927         [BZ #13939]
44928         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44929         When avoid_arena is set, don't retry in the that arena.  Pick the
44930         next one, whatever it might be.
44931         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44932         (arena_lock): Pass in new parameter to arena_get2.
44933         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44934         arena_get2.
44935         (__libc_malloc): Unify retrying after main arena failure with
44936         __libc_memalign version.
44937         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44939 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44941         [BZ #14166]
44942         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44943         to __redirect_strstr.
44944         (__strstr_sse42): Use typeof __redirect_strstr.
44945         (__strstr_ia32): Likewise.
44946         (__libc_strstr): New prototype.
44947         (strstr): Renamed to ...
44948         (__libc_strstr): This.
44949         (strstr): New strong alias of __libc_strstr.
44950         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44951         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44952         __redirect_time.
44953         Include <time.h>.
44954         (__libc_time): New prototype.
44955         (time_ifunc): Replace time with __libc_time.
44956         (time): New strong alias and hidden definition of __libc_time.
44957         (__GI_time): Remove strong alias.
44958         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44959         Include <stddef.h>.
44960         (memmove): Redefined to __redirect_memmove.
44961         (__memmove_sse2): Use typeof __redirect_memmove.
44962         (__memmove_ssse3): Likewise.
44963         (__memmove_ssse3_back): Likewise.
44964         (__libc_memmove): New prototype.
44965         (memmove): Renamed to ...
44966         (__libc_memmove): This.
44967         (memmove): New strong alias of __libc_memmove.
44969 2012-08-08  Mark Salter  <msalter@redhat.com>
44971         * elf/elf.h
44972         (R_MN10300_TLS_GD): Define.
44973         (R_MN10300_TLS_LD): Likewise.
44974         (R_MN10300_TLS_LDO): Likewise.
44975         (R_MN10300_TLS_GOTIE): Likewise.
44976         (R_MN10300_TLS_IE): Likewise.
44977         (R_MN10300_TLS_LE): Likewise.
44978         (R_MN10300_TLS_DTPMOD): Likewise.
44979         (R_MN10300_TLS_DTPOFF): Likewise.
44980         (R_MN10300_TLS_TPOFF): Likewise.
44981         (R_MN10300_SYM_DIFF): Likewise.
44982         (R_MN10300_ALIGN): Likewise.
44983         (R_MN10300_NUM): Update.
44985 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44987         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44988         Remove.
44990 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44992         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44994         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44995         sysdeps/unix -> sysdeps/posix move.
44996         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44998 2012-08-07      Allan McRae     <allan@archlinux.org>
45000         [BZ #14303]
45001         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45002         (SUNOS_CPP): Likewise.
45003         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45004         not found.
45005         (open_input): Call CPP using execvp.
45007 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45009         * sysdeps/unix/sysv/linux/kernel-features.h
45010         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45011         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45012         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45013         (__ASSUME_WAITID_SYSCALL): Likewise.
45014         * sysdeps/unix/sysv/linux/dl-execstack.c
45015         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45016         code unconditional.
45017         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45018         conditional code.
45019         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45020         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45021         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45022         code.
45023         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45024         unconditional.
45025         [__ASSUME_WAITID_SYSCALL]: Likewise.
45026         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45028 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45030         * sysdeps/unix/closedir.c: Renamed to ...
45031         * sysdeps/posix/closedir.c: ... here.
45032         * sysdeps/unix/dirfd.c: Renamed to ...
45033         * sysdeps/posix/dirfd.c: ... here.
45034         * sysdeps/unix/dirstream.h: Renamed to ...
45035         * sysdeps/posix/dirstream.h: ... here.
45036         * sysdeps/unix/fdopendir.c: Renamed to ...
45037         * sysdeps/posix/fdopendir.c: ... here.
45038         * sysdeps/unix/opendir.c: Renamed to ...
45039         * sysdeps/posix/opendir.c: ... here.
45040         * sysdeps/unix/readdir.c: Renamed to ...
45041         * sysdeps/posix/readdir.c: ... here.
45042         * sysdeps/unix/readdir_r.c: Renamed to ...
45043         * sysdeps/posix/readdir_r.c: ... here.
45044         * sysdeps/unix/rewinddir.c: Renamed to ...
45045         * sysdeps/posix/rewinddir.c: ... here.
45046         * sysdeps/unix/seekdir.c: Renamed to ...
45047         * sysdeps/posix/seekdir.c: ... here.
45048         * sysdeps/unix/telldir.c: Renamed to ...
45049         * sysdeps/posix/telldir.c: ... here.
45050         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45051         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45052         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45053         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45055         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45056         * bits/fcntl.h: ... here.
45058         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45059         not 0.
45060         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45061         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45062         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45063         (struct flock): Move l_start, l_len to the beginning.
45064         Use __pid_t for l_pid.
45065         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45066         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45067         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45068         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45069         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45070         [__USE_LARGEFILE64] (struct flock64): New type.
45071         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45073         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45074         * bits/dirent.h: ... here.
45076         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45077         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45079 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45081         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45082         Change from 2.6.0 to 2.6.16.
45083         * sysdeps/unix/sysv/linux/configure: Regenerated.
45084         * sysdeps/unix/sysv/linux/kernel-features.h
45085         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45086         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45087         version.
45088         (__ASSUME_UTIMES): Likewise.
45089         (__ASSUME_CLONE_STOPPED): Remove.
45090         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45091         architectures, not kernel version.
45092         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45093         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45094         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45095         (__ASSUME_WAITID_SYSCALL): Likewise.
45096         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45097         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45098         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45099         refer to older versions.
45101 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45103         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45104         Define alphasort64 as an alias.
45105         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45106         Define versionsort64 as an alias.
45107         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45108         Define scandir64 as an alias.
45109         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45110         Define scandirat64 as an alias.
45111         * dirent/alphasort64.c (alphasort64):
45112         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45113         * dirent/versionsort64.c: Likewise.
45114         * dirent/scandir64.c: Likewise.
45115         * dirent/scandirat64.c: Likewise.
45116         * sysdeps/wordsize-64/alphasort.c: File removed.
45117         * sysdeps/wordsize-64/alphasort64.c: File removed.
45118         * sysdeps/wordsize-64/scandir.c: File removed.
45119         * sysdeps/wordsize-64/scandir64.c: File removed.
45120         * sysdeps/wordsize-64/scandirat.c: File removed.
45121         * sysdeps/wordsize-64/scandirat64.c: File removed.
45122         * sysdeps/wordsize-64/versionsort.c: File removed.
45123         * sysdeps/wordsize-64/versionsort64.c: File removed.
45124         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45125         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45126         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45127         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45128         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45129         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45130         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45131         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45133         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45134         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45135         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45136         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45137         [defined __arch64__ || defined __sparcv9]
45138         (__INO_T_MATCHES_INO64_T): New macro.
45139         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45140         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45141         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45142         * sysdeps/unix/sysv/linux/bits/dirent.h
45143         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45144         (_DIRENT_MATCHES_DIRENT64): New macro.
45146         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45147         Define lockf64 as an alias.
45148         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45149         Define fseeko64 as an alias.
45150         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45151         Define ftello64 as an alias.
45152         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45153         Define _IO_fgetpos64 and fgetpos64 as aliases.
45154         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45155         Define _IO_fsetpos64 and fsetpos64 as aliases.
45156         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45157         Conditionalize body on this.
45158         * libio/fseeko64.c: Likewise.
45159         * libio/ftello64.c: Likewise.
45160         * libio/iofgetpos64.c: Likewise.
45161         * libio/iofsetpos64.c: Likewise.
45162         * sysdeps/wordsize-64/lockf.c: File removed.
45163         * sysdeps/wordsize-64/lockf64.c: File removed.
45164         * sysdeps/wordsize-64/fseeko.c: File removed.
45165         * sysdeps/wordsize-64/fseeko64.c: File removed.
45166         * sysdeps/wordsize-64/ftello.c: File removed.
45167         * sysdeps/wordsize-64/ftello64.c: File removed.
45168         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45169         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45170         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45171         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45172         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45173         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45174         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45175         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45176         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45177         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45178         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45179         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45180         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45181         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45183         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45184         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45185         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45186         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45187         [defined __arch64__ || defined __sparcv9]
45188         (__OFF_T_MATCHES_OFF64_T): New macro.
45189         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45190         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45191         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45192         (__OFF_T_MATCHES_OFF64_T): New macro.
45194 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45196         * stdlib/secure-getenv.c (__secure_getenv): Replace
45197         GLIBC_2_16 with GLIBC_2_17.
45199 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45201         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45202         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45204 2012-08-03  David S. Miller  <davem@davemloft.net>
45206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45208 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45210         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45211         Remove.
45212         (__ASSUME_CORRECT_SI_PID): Likewise.
45213         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45214         (__ASSUME_TMPFS_NAME): Likewise.
45215         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45216         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45217         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45218         (HAVE_AUX_SECURE): Make definition unconditional.
45219         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45220         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45222 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45224         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45225         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45226         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45227         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45228         __eloop_threshold instead of SYMLOOP_MAX.
45230         * sysdeps/generic/eloop-threshold.h: New file.
45231         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45232         of MAXSYMLINKS.
45233         * elf/chroot_canon.c (chroot_canon): Likewise.
45235 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45237         [BZ #13717]
45238         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45239         Change to 2.6.0 everywhere.
45240         * sysdeps/unix/sysv/linux/configure: Regenerated.
45241         * sysdeps/unix/sysv/linux/kernel-features.h
45242         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45243         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45244         kernel versions.
45245         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45246         (__ASSUME_FUTEX_REQUEUE): Remove.
45247         (__ASSUME_STATFS64): Define unconditionally.
45248         (__ASSUME_AT_SECURE): Likewise.
45249         (__ASSUME_CORRECT_SI_PID): Likewise.
45250         (__ASSUME_TGKILL): Define without depending on kernel version for
45251         i386.
45252         (__ASSUME_UTIMES): Likewise.
45253         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45254         kernel version.
45255         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45256         (__ASSUME_TMPFS_NAME): Likewise.
45257         * README: Update reference to Linux kernel versions.
45259 2012-08-02  Marek Polacek  <polacek@redhat.com>
45261         [BZ# 14150]
45262         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45263         libc_cv_asm_type_prefix with %.
45264         * configure: Regenerated.
45265         * include/libc-symbols.h: Remove comment about
45266         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45267         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45268         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45269         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45270         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45271         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45272         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45273         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45274         * elf/tst-unique2mod1.c: Likewise.
45275         * elf/tst-unique1mod2.c: Likewise.
45276         * elf/tst-unique1mod1.c: Likewise.
45277         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45278         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45279         Replace ASM_TYPE_DIRECTIVE with .type.
45280         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45281         * sysdeps/i386/sysdep.h: Likewise.
45282         * sysdeps/x86_64/sysdep.h: Likewise.
45283         * sysdeps/sh/sysdep.h: Likewise.
45284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45285         Do not define ASM_TYPE_DIRECTIVE.
45286         * sysdeps/powerpc/sysdep.h: Likewise.
45287         * sysdeps/powerpc/powerpc32/sysdep.h:
45288         Replace ASM_TYPE_DIRECTIVE with .type.
45289         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45290         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45291         * sysdeps/i386/fpu/e_powf.S: Likewise.
45292         * sysdeps/i386/fpu/e_expl.S: Likewise.
45293         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45294         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45295         * sysdeps/i386/fpu/e_pow.S: Likewise.
45296         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45297         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45298         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45299         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45300         * sysdeps/i386/fpu/e_log2.S: Likewise.
45301         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45302         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45303         * sysdeps/i386/fpu/e_powl.S: Likewise.
45304         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45305         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45306         * sysdeps/i386/fpu/e_logl.S: Likewise.
45307         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45308         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45309         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45310         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45311         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45312         * sysdeps/i386/fpu/e_log.S: Likewise.
45313         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45314         * sysdeps/i386/fpu/e_logf.S: Likewise.
45315         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45316         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45317         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45318         * sysdeps/i386/fpu/e_log10.S: Likewise.
45319         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45320         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45321         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45322         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45323         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45324         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45325         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45326         * sysdeps/i386/i686/strtok.S: Likewise.
45327         * sysdeps/i386/i386-mcount.S: Likewise.
45328         * sysdeps/i386/strtok.S: Likewise.
45329         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45330         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45331         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45332         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45333         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45334         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45335         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45336         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45337         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45338         * sysdeps/x86_64/_mcount.S: Likewise.
45339         * sysdeps/x86_64/strtok.S: Likewise.
45340         * sysdeps/sh/_mcount.S: Likewise.
45342 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45344         * libio/iofopen.c: Include <fcntl.h>.
45345         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45346         (_IO_fopen64, fopen64): Define as aliases.
45347         * libio/iofopen64.c: Include <fcntl.h>.
45348         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45349         Conditionalize body on this.
45350         * sysdeps/wordsize-64/iofopen.c: File removed.
45351         * sysdeps/wordsize-64/iofopen64.c: File removed.
45353 2012-08-01  Marek Polacek  <polacek@redhat.com>
45355         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45356         Use dlfcn directly instead of a variable.
45357         (binfmt-subdir): Do not define.
45358         (dlfcn): Likewise.
45360 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45363         Remove all definitions.
45364         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45365         <kernel-features.h>.
45366         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45367         (miss_F_GETOWN_EX): Remove all definitions.
45368         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45369         macro definition.
45370         [!__ASSUME_FCNTL64]: Remove conditional code.
45371         [__ASSUME_FCNTL64]: Make code unconditional.
45372         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45373         <kernel-features.h>.
45374         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45375         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45376         (lockf64) [__NR_fcntl64]: Make code unconditional.
45377         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45379         * sysdeps/unix/sysv/linux/kernel-features.h
45380         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45381         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45382         Make code unconditional.
45383         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45384         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45386         [__NR_vfork]: Make code unconditional.
45387         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45388         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45390         [__NR_vfork]: Make code unconditional.
45391         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45392         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45394 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45396         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45397         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45399         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45400         Define mkstemp64 as an alias.
45401         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45402         Define mkstemps64 as an alias.
45403         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45404         Define mkostemp64 as an alias.
45405         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45406         Define mkostemps64 as an alias.
45407         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45408         Conditionalize body on this.
45409         * misc/mkostemp64.c: Likewise.
45410         * misc/mkostemps64.c: Likewise.
45411         * misc/mkstemps64.c: Likewise.
45412         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45413         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45414         * sysdeps/wordsize-64/mkostemp.c: File removed.
45415         * sysdeps/wordsize-64/mkstemp.c: File removed.
45416         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45417         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45418         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45419         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45421         [BZ #14138]
45422         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45423         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45424         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45425         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45427         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45428         compat_symbol macros from <shlib-compat.h> rather than the underlying
45429         default_symbol_version and symbol_version macros, so that DEFAULT
45430         lines in shlib-versions are respected.
45431         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45433 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45435         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45436         Declare with warn_unused_result.
45437         (setgid, setregid, setegid, setresgid): Likewise.
45438         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45439         Likewise.
45440         * WUR-REPORT: Remove set*id functions.
45442 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45444         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45446 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45448         [BZ #10191]
45449         * include/sys/socket.h (__libc_accept, __libc_accept4):
45450         Add attribute_hidden.
45451         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45453         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45454         use of PTR_MANGLE.
45455         * inet/getnetgrent_r.c (setup): Likewise.
45457         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45459 2012-07-31  David S. Miller  <davem@davemloft.net>
45461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45463 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45465         [BZ #13629]
45466         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45467         value between 1.0 and 2.0 and smaller part has absolute value less
45468         than 1.0.
45469         * math/s_clog10.c (__clog10): Likewise.
45470         * math/s_clog10f.c (__clog10f): Likewise.
45471         * math/s_clog10l.c (__clog10l): Likewise.
45472         * math/s_clogf.c (__clogf): Likewise.
45473         * math/s_clogl.c (__clogl): Likewise.
45474         * math/libm-test.inc (clog_test): Add more tests.
45475         (clog10_test): Likewise.
45476         * sysdeps/i386/fpu/libm-test-ulps: Update.
45477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45479 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45481         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45482         Exit with zero in case no suitable GID is found, and write a
45483         message to standard error.
45485 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45487         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45488         rather than to 1.
45489         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45490         (MAXPATHLEN): Removed.
45491         (NOGROUP, NODEV): New macros.
45492         (setbit, clrbit, isset, isclr): New macros.
45493         (howmany, roundup, powerof2): New macros.
45494         (DEV_BSIZE): New macro.
45496         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45497         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45499         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45500         definition on [!__NO_LONG_DOUBLE_MATH].
45502         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45503         PTR_MANGLE and PTR_DEMANGLE.
45505         * socket/accept4.c (accept4): Rename to __libc_accept4.
45506         Define accept4 as a weak alias.
45508         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45509         on [_DIRENT_HAVE_D_TYPE].
45510         * io/ftw.c (ftw_dir): Likewise.
45512         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45514         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45516         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45517         Use the BSD numbers rather than the arbitrary ones we had.
45518         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45519         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45520         (SIGXCPU, SIGXFSZ): New macros.
45521         (_NSIG): Now 32.
45523         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45524         initializer on [_LIBC_REENTRANT].
45526         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45527         definitions inside [_POSIX_MAPPED_FILES].
45529         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45531         * dirent/opendir.c: Include <fcntl.h>.
45533         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45534         (__libc_getspecific): Likewise.
45535         (__libc_key_create): Likewise.
45537         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45538         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45539         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45540         (tmpfile64): Define as alias.
45541         * sysdeps/wordsize-64/tmpfile.c: File removed.
45542         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45543         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45544         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45546         * stdio-common/vfscanf.c: Include <stdbool.h>.
45547         * nss/makedb.c: Likewise.
45548         * stdio-common/_i18n_number.h: Likewise.
45549         * argp/argp-help.c: Likewise.
45550         * posix/wordexp.c: Likewise.
45551         * sysdeps/posix/spawni.c: Likewise.
45552         * nss/nss_files/files-initgroups.c: Likewise.
45553         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45554         * nss/nss_files/files-initgroups.c: Likewise.
45555         * nss/nss_db/db-netgrp.c: Likewise.
45556         * nss/nss_db/db-initgroups.c: Likewise.
45557         * io/fchmodat.c: Include <sys/stat.h>.
45559         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45560         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45562         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45563         [HAVE_MMAP].
45565         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45566         Add multiple inclusion protection.
45568 2012-07-27  David S. Miller  <davem@davemloft.net>
45570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45572 2012-07-27  Gary Benson  <gbenson@redhat.com>
45574         [BZ #14298]
45575         * elf/rtld.c: Include <stap-probe.h>.
45576         (dl_main): Added static probes "init_start" and "init_complete".
45577         * elf/dl-load.c: Include <stap-probe.h>.
45578         (lose): Take new parameter "nsid".
45579         Added static probe "map_failed".
45580         (_dl_map_object_from_fd): Pass namespace id to lose.
45581         Added static probe "map_start".
45582         (open_verify): Pass namespace id to lose.
45583         * elf/dl-open.c: Include <stap-probe.h>.
45584         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45585         and "reloc_complete".
45586         * elf/dl-close.c: Include <stap-probe.h>.
45587         (_dl_close_worker): Added static probes "unmap_start" and
45588         "unmap_complete".
45589         * elf/rtld-debugger-interface.txt: New file documenting the above.
45591 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45593         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45594         rather than a string variable.
45595         * sunrpc/rpc_main.c (h_output): Likewise.
45596         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45598 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45600         * inet/check_native.c: New file.
45602 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45604         [BZ #13629]
45605         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45606         if larger part has absolute value 1.0.
45607         * math/s_clog10.c (__clog10): Likewise.
45608         * math/s_clog10f.c (__clog10f): Likewise.
45609         * math/s_clog10l.c (__clog10l): Likewise.
45610         * math/s_clogf.c (__clogf): Likewise.
45611         * math/s_clogl.c (__clogl): Likewise.
45612         * math/libm-test.inc (clog_test): Add more tests.
45613         (clog10_test): Likewise.
45614         * sysdeps/i386/fpu/libm-test-ulps: Update.
45615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45617         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45618         (pltexit): Likewise.
45619         (La_regs): Likewise.
45620         (La_retval): Likewise.
45621         (int_retval): Likewise.
45622         Update #error for removed macros to refer only to definitions in
45623         tst-audit.h.
45624         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45625         macro.
45626         (pltexit): Likewise.
45627         (La_regs): Likewise.
45628         (La_retval): Likewise.
45629         (int_retval): Likewise.
45630         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45631         macro.
45632         (pltexit): Likewise.
45633         (La_regs): Likewise.
45634         (La_retval): Likewise.
45635         (int_retval): Likewise.
45636         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45637         macro.
45638         (pltexit): Likewise.
45639         (La_regs): Likewise.
45640         (La_retval): Likewise.
45641         (int_retval): Likewise.
45642         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45643         macro.
45644         (pltexit): Likewise.
45645         (La_regs): Likewise.
45646         (La_retval): Likewise.
45647         (int_retval): Likewise.
45648         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45649         macro.
45650         (pltexit): Likewise.
45651         (La_regs): Likewise.
45652         (La_retval): Likewise.
45653         (int_retval): Likewise.
45654         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45655         macro.
45656         (pltexit): Likewise.
45657         (La_regs): Likewise.
45658         (La_retval): Likewise.
45659         (int_retval): Likewise.
45660         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45661         macro definitions in tst-audit.h.
45662         * sysdeps/i386/tst-audit.h: New file.
45663         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45664         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45665         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45666         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45667         * sysdeps/sh/tst-audit.h: Likewise.
45668         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45669         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45670         * sysdeps/x86_64/tst-audit.h: Likewise.
45672 2012-07-26  Andreas Jaeger  <aj@suse.de>
45674         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45675         ptrace.
45677         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45678         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45679         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45680         PTRACE_O_MASK.
45681         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45682         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45683         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45685         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45686         value.
45688         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45689         _sigsys.
45690         (si_call_addr, si_syscall, si_arch): Define new macro.
45691         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45692         _sigsys.
45693         (si_call_addr, si_syscall, si_arch): Define new marcro.
45694         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45695         _sigsys.
45696         (si_call_addr, si_syscall, si_arch): Define new macro.
45697         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45698         _sigsys.
45699         (si_call_addr, si_syscall, si_arch): Define new macro.
45701 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45703         [BZ #13717]
45704         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45705         Change to 2.4.21 where previously 2.4.1.
45706         * sysdeps/unix/sysv/linux/configure: Regenerated.
45707         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45708         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45709         Linux kernel version.
45710         (__ASSUME_STD_AUXV): Remove.
45711         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45712         kernel version.
45713         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45714         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45715         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45716         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45717         (__ASSUME_NETLINK_SUPPORT): Likewise.
45718         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45719         (__no_netlink_support): Remove conditional definition.
45720         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45721         Remove.
45722         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45723         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45724         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45725         (if_nameindex_ioctl): Remove.
45726         (if_nameindex_netlink): Do not handle __no_netlink_support.
45727         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45728         code.
45729         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45730         Remove conditional code.
45731         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45732         code.
45733         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45734         unconditional.
45735         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45736         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45737         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45738         Remove.
45739         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45740         [!__ASSUME_STD_AUXV]: Remove conditional code.
45741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45742         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45743         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45745         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45746         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45747         code.
45748         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45750         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45751         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45752         conditional code.
45753         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45755         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45756         code.
45757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45758         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45759         conditional code.
45760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45761         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45762         code unconditional.
45763         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45764         conditional code.
45765         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45766         unconditional.
45767         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45768         conditional code.
45769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45770         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45771         unconditional.
45772         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45773         conditional code.
45774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45775         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45776         code unconditional.
45777         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45778         conditional code.
45779         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45780         unconditional.
45781         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45782         conditional code.
45783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45784         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45785         code unconditional.
45786         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45787         conditional code.
45788         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45789         unconditional.
45790         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45791         conditional code.
45793 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45795         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45796         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45797         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45798         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45799         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45800         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45801         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45802         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45803         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45804         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45805         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45806         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45807         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45808         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45809         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45810         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45811         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45812         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45813         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45814         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45815         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45816         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45817         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45819 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45821         * Versions.def: Add GLIBC_2.17.
45822         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45823         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45824         Introduce __libc_secure_getenv.
45825         * stdlib/Versions (2.17): Add secure_getenv
45826         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45827         * stdlib/secure-getenv.c: Rename __secure_getenv to
45828         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45829         symbol __secure_getenv for GLIBC_2.0.
45830         * stdlib/tst-secure-getenv.c: New.
45831         * stdlib/Makefile (tests): Add testcase.
45832         * manual/startup.texi (Environment Access): Document
45833         secure_getenv.
45834         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45835         __libc_secure_getenv.
45836         * inet/ruserpass.c (ruserpass): Likewise.
45837         * malloc/mtrace.c (mtrace): Likewise.
45838         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45839         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45840         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45841         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45842         HAVE_SECURE_GETENV.
45843         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45844         __secure_getenv to __libc_secure_getenv.
45845         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45847         Likewise.
45848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45849         Likewise.
45850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45852         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45858 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45860         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45861         (struct La_i86_retval): Likewise.
45862         (struct La_x86_64_regs): Likewise.
45863         (struct La_x86_64_retval): Likewise.
45864         (struct La_x32_regs): Likewise.
45865         (struct La_x32_retval): Likewise.
45866         (struct La_ppc32_regs): Likewise.
45867         (struct La_ppc32_retval): Likewise.
45868         (struct La_ppc64_regs): Likewise.
45869         (struct La_ppc64_retval): Likewise.
45870         (struct La_sh_regs): Likewise.
45871         (struct La_sh_retval): Likewise.
45872         (struct La_s390_32_regs): Likewise.
45873         (struct La_s390_32_retval): Likewise.
45874         (struct La_s390_64_regs): Likewise.
45875         (struct La_s390_64_retval): Likewise.
45876         (struct La_sparc32_regs): Likewise.
45877         (struct La_sparc32_retval): Likewise.
45878         (struct La_sparc64_regs): Likewise.
45879         (struct La_sparc64_retval): Likewise.
45880         (struct audit_ifaces): Remove architecture-specific pltenter and
45881         pltexit members.
45882         * sysdeps/i386/ldsodefs.h: New file.
45883         * sysdeps/powerpc/ldsodefs.h: Likewise.
45884         * sysdeps/s390/ldsodefs.h: Likewise.
45885         * sysdeps/sh/ldsodefs.h: Likewise.
45886         * sysdeps/sparc/ldsodefs.h: Likewise.
45887         * sysdeps/x86_64/ldsodefs.h: Likewise.
45889 2012-07-25  Marek Polacek  <polacek@redhat.com>
45891         [BZ #6808]
45892         * math/libm-test.inc (yn_test): Add another test.
45893         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45894         to ERANGE when the result is +-Inf.
45895         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45896         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45897         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45898         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45900 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45902         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45903         equal to 0.
45904         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45905         clock_t.
45906         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45908 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45910         * configure.in <sysdeps resolving>: Correct printing
45911         Implies_before.
45912         * configure: Regenerate.
45914 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45916         * math/w_ilogb.c: Include <limits.h>.
45917         * math/w_ilogbl.c: Likewise.
45919 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45921         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45922         va_copy.  Document allowing for unavailable va_copy only as
45923         pre-C99 compatibility.
45924         * manual/string.texi (Copying and Concatenation): Use va_copy
45925         instead of __va_copy in concat example.
45927 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45929         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45930         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45931         it if not null.
45933         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45934         with O_NOLINK passed to __file_name_lookup.
45936         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45937         with O_NOLINK passed to __file_name_lookup.
45939         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45940         negative N or less than NGIDS.
45942         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45943         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45944         enough.  Use memcpy instead of strncpy.
45946 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45948         * elf/Makefile (check-data): Remove.
45949         (localplt.data): New vpath directive.
45950         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45951         instead of $(check-data).
45952         * scripts/data/localplt-generic.data: Move to ...
45953         * sysdeps/generic/localplt.data: ... here.
45954         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45955         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45956         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45958         ... here.
45959         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45961         ... here.
45962         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45964         ... here.
45965         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45967         ... here.
45968         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45970         ... here.
45971         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45973         ... here.
45975 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45977         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45978         PPC32 and PPC64 files.
45979         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45980         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45982 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45984         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45985         __makecontext_ret to ...
45986         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45987         ... here and call exit if uc_link is NULL.  New file.
45988         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45989         __makecontext_ret.S.
45990         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45991         __makecontext_ret to ...
45992         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45993         ... here and call exit if uc_link is NULL.  New file.
45994         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45995         __makecontext_ret.S.
45997 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45999         * elf/elf.h (R_390_IRELATIVE): New definition.
46000         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46001         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46002         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46003         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46004         (elf_machine_lazy_rel): Likewise.
46005         * sysdeps/s390/dl-irel.h: New file.
46006         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46007         * sysdeps/s390/s390-64/memset.S: New asm code.
46008         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46009         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46010         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46011         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46012         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46013         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46014         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46015         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46016         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46017         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46018         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46019         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46020         * sysdeps/s390/s390-32/memset.S: New asm code.
46021         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46023 2012-07-17  Marek Polacek  <polacek@redhat.com>
46025         [BZ #14349]
46026         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46027         * sysdeps/s390/s390-64/configure.in: Likewise.
46028         * sysdeps/sparc/configure.in: Likewise.
46029         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46030         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46031         * sysdeps/i386/configure.in: Likewise.
46032         * sysdeps/x86_64/configure.in: Likewise.
46033         * sysdeps/sh/configure.in: Likewise.
46034         * sysdeps/s390/s390-32/configure: Regenerated.
46035         * sysdeps/s390/s390-64/configure: Likewise.
46036         * sysdeps/x86_64/configure: Likewise.
46037         * sysdeps/sh/configure: Likewise.
46038         * sysdeps/powerpc/powerpc64/configure: Likewise.
46039         * sysdeps/powerpc/powerpc32/configure: Likewise.
46040         * sysdeps/sparc/configure: Likwise.
46041         * sysdeps/i386/configure: Likewise.
46043         * elf/dl-open.c: Comment fixes.
46045 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46047         * Makefile [CXX] (check-data): Remove.
46048         [CXX] (c++-types.data): New vpath directive.
46049         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46050         vpath.  Do not allow for C++ type data being missing.
46051         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46052         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46053         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46054         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46055         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46056         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46057         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46059         ... here.
46060         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46062         ... here.
46063         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46065         ... here.
46066         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46068         ... here.
46069         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46071         ... here.
46072         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46074         ... here.
46075         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46077         ... here.
46078         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46081         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46082         definitions to architecture-specific files.
46083         (TLS_IE): Likewise.
46084         (TLS_LD): Likewise.
46085         (TLS_GD): Likewise.
46086         * sysdeps/i386/tls-macros.h: New file.
46087         * sysdeps/powerpc/tls-macros.h: Likewise.
46088         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46089         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46090         * sysdeps/sh/tls-macros.h: Likewise.
46091         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46092         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46093         * sysdeps/x86_64/tls-macros.h: Likewise.
46095 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46097         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46098         zero value for regular exit case.
46100         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46101         (__start_context): Preserve zero value for regular exit case.
46103 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46104             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46106         * manual/setjmp.texi (setcontext): Clarify normal process
46107         termination when uc_link is the null pointer.
46108         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46109         exit call.
46111 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46113         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46114         preprocessor.  Test for each exception mask separately.
46116 2012-07-16  Andreas Jaeger  <aj@suse.de>
46118         * po/ru.po: Update from translation team.
46120 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46122         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46123         equal to 0.
46124         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46125         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46126         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46127         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46128         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46130 2012-07-13  Andreas Jaeger  <aj@suse.de>
46132         * po/fr.po: Update from translation team.
46134 2012-07-12  Marek Polacek  <polacek@redhat.com>
46136         [BZ #14173]
46137         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46138         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46139         loop condition.
46141 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46143         [BZ #13717]
46144         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46145         Change to 2.4.1 where previously 2.4.0.
46146         * sysdeps/unix/sysv/linux/configure: Regenerated.
46147         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46148         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46149         version.
46150         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46151         (__ASSUME_AT_CLKTCK): Remove.
46152         (__ASSUME_AT_PAGESIZE): Likewise.
46153         (__ASSUME_AT_XID): Likewise.
46154         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46155         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46156         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46157         unconditionally.
46158         (HAVE_AUX_PAGESIZE): Likewise.
46159         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46160         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46161         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46163 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46165         [BZ #14307]
46166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46167         the temporary buffer used to invoke __gethostbyname2_r,
46168         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46169         host_data / struct gaih_addrtuple.
46170         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46171         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46172         header file nss/nsswitch.h.
46173         * nss/nsswitch.h (global scope): Add definition of implementation
46174         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46175         resolv/nss_dns/dns-host.c).
46177 2012-07-11  Andreas Jaeger  <aj@suse.de>
46179         * po/fr.po: Update from translation team.
46181         * po/sv.po: Update from translation team
46182         * po/fr.po: Another update from translation team.
46184 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46186         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46187         for subnormals or multiply small sinh result by itself.
46188         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46191 2012-07-11  David S. Miller  <davem@davemloft.net>
46193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46195 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46197         [BZ #14347]
46198         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46199         (INTERNAL_MARK): Shift it here.
46201 2012-07-10  Marek Polacek  <polacek@redhat.com>
46203         [BZ #14151]
46204         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46205         libc_cv_asm_global_directive with .globl.
46206         * configure: Regenerated.
46207         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46208         with .globl.
46209         * sysdeps/i386/configure: Regenerated.
46210         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46211         with .globl.
46212         * sysdeps/x86_64/configure: Regenerated.
46213         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46214         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46215         * elf/tst-unique2mod2.c: Likewise.
46216         * elf/tst-unique2mod1.c: Likewise.
46217         * elf/tst-unique1mod2.c: Likewise.
46218         * elf/tst-unique1mod1.c: Likewise.
46219         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46220         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46221         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46222         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46223         * sysdeps/mach/sysdep.h: Likewise.
46224         * sysdeps/i386/sysdep.h: Likewise.
46225         * sysdeps/i386/i386-mcount.S: Likewise.
46226         * sysdeps/x86_64/_mcount.S: Likewise.
46227         * sysdeps/x86_64/sysdep.h: Likewise.
46228         * sysdeps/sh/_mcount.S: Likewise.
46229         * sysdeps/sh/sysdep.h: Likewise.
46230         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46231         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46232         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46233         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46234         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46235         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46236         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46237         * locale/localeinfo.h: Likewise.
46238         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46239         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46241 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46243         [BZ #14336]
46244         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46245         system".
46246         * manual/message.texi (The Uniforum approach): Likewise.
46247         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46248         (glibc iconv Implementation): Likewise.
46250 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46252         [BZ #14337]
46253         * math/s_clog.c (__clog): Avoid scaling a value down where that
46254         could result in underflow.
46255         * math/s_clog10.c (__clog10): Likewise.
46256         * math/s_clog10f.c (__clog10f): Likewise.
46257         * math/s_clog10l.c (__clog10l): Likewise.
46258         * math/s_clogf.c (__clogf): Likewise.
46259         * math/s_clogl.c (__clogl): Likewise.
46260         * math/libm-test.inc (clog_test): Add more tests.
46261         (clog10_test): Likewise.
46262         * sysdeps/i386/fpu/libm-test-ulps: Update.
46263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46265 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46267         [BZ #14283]
46268         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46269         by 7 not 8 to examine high bit of fractional part.
46271         [BZ #14042]
46272         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46273         for call to __mcount_internal.
46274         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46275         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46276         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46278 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46280         [BZ #14154]
46281         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46282         approximation for values within 0x1p-13f of an odd multiple of
46283         pi/4.
46284         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46285         exception.  Add more tests.
46286         * sysdeps/i386/fpu/libm-test-ulps: Update.
46288         [BZ #6778]
46289         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46290         inputs and return -1 for them.  Do not check for +Inf in case not
46291         reachable for +Inf.
46292         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46293         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46294         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46295         and return -1 for them.  Do not check for +Inf in case not
46296         reachable for +Inf.
46297         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46298         define.
46299         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46300         and return -1 for them.  Do not check for +Inf in case not
46301         reachable for +Inf.
46302         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46303         spurious underflow.
46304         * sysdeps/i386/fpu/libm-test-ulps: Update.
46305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46307 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46309         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46311 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46313         [BZ #14157]
46314         [BZ #14331]
46315         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46316         could result in spurious underflow.  Scale down values above
46317         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46318         * math/s_csqrtf.c (__csqrtf): Likewise.
46319         * math/s_csqrtl.c (__csqrtl): Likewise.
46320         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46321         spurious underflow.
46322         * sysdeps/i386/fpu/libm-test-ulps: Update.
46323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46325 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46327         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46328         xopen-msg.sed.
46329         * catgets/xopen-msg.awk: New file.
46330         * catgets/xopen-msg.sed: Removed.
46332         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46333         po2text.sed.
46334         * intl/po2test.awk: New file.
46335         * intl/po2test.sed: Removed.
46337 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46339         [BZ #14328]
46340         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46341         or multiply small sinh result by itself.
46342         * math/s_ctanf.c (__ctanf): Likewise.
46343         * math/s_ctanh.c (__ctanh): Likewise.
46344         * math/s_ctanhf.c (__ctanhf): Likewise.
46345         * math/s_ctanhl.c (__ctanhl): Likewise.
46346         * math/s_ctanl.c (__ctanl): Likewise.
46347         * math/libm-test.inc (ctan_test_tonearest): New function.
46348         (ctan_test_towardzero): Likewise.
46349         (ctan_test_downward): Likewise.
46350         (ctan_test_upward): Likewise.
46351         (ctanh_test_tonearest): Likewise.
46352         (ctanh_test_towardzero): Likewise.
46353         (ctanh_test_downward): Likewise.
46354         (ctanh_test_upward): Likewise.
46355         (main): Call these new functions.
46356         * sysdeps/i386/fpu/libm-test-ulps: Update.
46357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46359 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46361         * .gitignore: Delete /ports entry.
46363 2012-07-03  Andreas Jaeger  <aj@suse.de>
46365         * po/bg.po: Update from translation team.
46366         * po/cs.po: Likewise.
46367         * po/de.po: Likewise.
46368         * po/hr.po: Likewise.
46369         * po/nl.pl: Likewise.
46370         * po/pl.po: Likewise.
46371         * po/vi.po: Likewise.
46373 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46375         * Makeconfig [!+link] (+link-before-libc): New variable.
46376         [!+link] (+link-after-libc): Likewise.
46377         [!+link] (+link-tests): Likewise.
46378         [!+link] (+link): Define in terms of $(+link-before-libc) and
46379         $(+link-after-libc).
46380         [!+link-static] (+link-static-before-libc): New variable.
46381         [!+link-static] (+link-static-after-libc): Likewise.
46382         [!+link-static] (+link-static-tests): Likewise.
46383         [!+link-static] (+link-static): Define in terms of
46384         $(+link-static-before-libc) and $(+link-static-after-libc).
46385         [build-shared] (link-libc-before-gnulib): New variable.
46386         [build-shared] (link-libc-tests): Likewise.
46387         [build-shared] (link-libc): Define in terms of
46388         $(link-libc-before-gnulib).
46389         [!build-shared] (link-libc-tests): New variable.
46390         (link-libc-static-tests): New variable.
46391         [!gnulib] (gnulib-arch): New variable.
46392         [!gnulib] (gnulib-tests): Likewise.
46393         [!gnulib] (static-gnulib-arch): Likewise.
46394         [!gnulib] (static-gnulib-tests): Likewise.
46395         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46396         Define with "=" instead of ":=".
46397         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46398         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46399         * Rules (binaries-all-notests): New variable.
46400         (binaries-all-tests): Likewise.
46401         (binaries-static-notests): Likewise.
46402         (binaries-static-tests): Likewise.
46403         (binaries-all): Define using $(binaries-all-notests) and
46404         $(binaries-all-tests).
46405         (binaries-static): Define using $(binaries-static-notests) and
46406         $(binaries-static-tests).
46407         (binaries-shared-tests): New variable.
46408         (binaries-shared-notests): Likewise.
46409         (binaries-shared): Remove variable.
46410         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46411         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46412         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46413         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46414         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46415         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46416         * elf/Makefile (sln-modules): New variable.
46417         (extra-objs): Add $(sln-modules:=.o).
46418         (ldconfig-modules): Add static-stubs.
46419         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46420         * elf/static-stubs.c: New file.
46422         [BZ #14283]
46423         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46424         by 7 not 8 to examine high bit of fractional part.  Use volatile
46425         variables when splitting into final array of floats if
46426         __FLT_EVAL_METHOD__ != 0.
46427         * math/libm-test.inc (cos_test): Add another test.
46428         (sin_test): Likewise.
46429         * sysdeps/i386/fpu/libm-test-ulps: Update.
46431         [BZ #14273]
46432         * math/libm-test.inc (cosh_test): Add more tests.
46434         * version.h (RELEASE): Set to "development".
46435         (VERSION): Set to "2.16.90".
46437 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46439         * NEWS: Update copyright. Remove last-updated date.
46440         Mention math library bug fixes and timezone data changes.
46441         * README: Mention GNU/Hurd, x32, and HPPA support status.
46443 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46445         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46447 2012-06-27  Andreas Jaeger  <aj@suse.de>
46449         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46451 2012-06-25  Andreas Jaeger  <aj@suse.de>
46453         * sysdeps/s390/fpu/libm-test-ulps: Update.
46455 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46456             Thomas Schwinge  <thomas@codesourcery.com>
46458         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46459         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46460         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46461         fanotify_mark.
46463 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46465         * sysdeps/mach/start.c: Remove file.
46466         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46467         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46468         * sysdeps/sh/init-first.c: Likewise.
46470         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46471         registers for frame unwinding purposes, add CFI directives.
46472         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46473         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46474         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46475         Likewise.
46477         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46478         __fortify_fail returning.
46479         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46481         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46482         sysdeps/sh/____longjmp_chk.S.
46483         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46484         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46485         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46486         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46488         * sysdeps/sh/abort-instr.h: New file.
46489         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46490         process in case exit returns.
46492         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46493         initialize the GOT register before use.
46495         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46496         calculation of ARGC > 4.
46498         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46499         meaningful names to some local labels.
46501 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46502             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46504         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46505         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46506         (__arch_compare_and_exchange_val_16_acq): Likewise.
46507         (__arch_compare_and_exchange_val_32_acq): Likewise.
46508         (atomic_exchange_and_add): Fix gUSA sequence.
46509         (atomic_add): Likewise.
46510         (atomic_add_negative): Likewise.
46511         (atomic_add_zero): Likewise.
46512         (atomic_bit_test_set): Likewise.
46514 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46516         [BZ #13579]
46517         * include/link.h (struct link_map): Add l_free_initfini.
46518         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46519         l_initfini.
46520         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46521         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46522         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46523         set.
46525 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46527         * configure.in: Use AC_LANG_SOURCE.
46528         * configure: Regenerate.
46530 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46532         * configure.in (libc_cv_localstatedir): New substituted variable.
46533         * configure: Regenerated.
46534         * config.make.in (localstatedir): New variable, substituted from
46535         libc_cv_localstatedir.
46536         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46537         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46538         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46539         * sysdeps/gnu/configure: Regenerated.
46541 2012-06-21  Jeff Law  <law@redhat.com>
46543         [BZ #14277]
46544         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46545         free.  Simplify list management for _LIBC case.
46547 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46549         [BZ #14273]
46550         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46551         Clear sign bit of 64-bit integer value before comparing against
46552         overflow value.
46554         * sysdeps/mach/configure: Regenerated.
46556 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46558         [BZ #14278]
46559         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46561 2012-06-21  Jeff Law  <law@redhat.com>
46563         [BZ #13882]
46564         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46565         uint16_t for elements in the "seen" array to avoid char overflows.
46566         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46567         * elf/dl-open.c (dl_open_worker): Likewise.
46569 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46571         * scripts/list-sources.sh: Scan PORTS for translations.
46572         * po/libc.pot: Regenerated.
46574 2012-06-21  Andreas Jaeger  <aj@suse.de>
46576         [BZ #12194]
46577         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46578         warning.
46579         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46580         * bits/byteswap-16.h (__bswap_16): Likewise.
46581         * bits/byteswap.h (__bswap_constant_16): Likewise.
46583 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46585         [BZ #14117]
46586         * sysdeps/i386/fpu_control.h: Removed.
46587         * sysdeps/x86_64/fpu_control.h: Moved to ...
46588         * sysdeps/x86/fpu_control.h: Here.
46590         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46591         (_FPU_SETCW): Likewise.
46593 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46595         [BZ #14117]
46596         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46597         * sysdeps/x86/fpu/bits/mathinline.h: This.
46598         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46600         [BZ #14050]
46601         [BZ #14117]
46602         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46603         functions if __x86_64__ is defined.
46605 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46607         * string/endian.h: Add !__ASSEMBLER__ condition for including
46608         conversion interfaces.
46610 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46612         [BZ #14241]
46613         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46614         of ABS(x) in calculating zero to negative powers other than odd
46615         integers.
46616         * math/libm-test.inc (pow_test): Add more tests.
46618 2012-06-15  Andreas Jaeger  <aj@suse.de>
46620         * manual/contrib.texi (Contributors): Update entry of Liubov
46621         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46622         Machado Filho.
46624 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46626         * string/string.h: Add __wur to GNU version of strerror_r.
46628 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46630         [BZ #14229]
46631         * string/Makefile (tests): Add tst-strtok_r.
46632         * string/tst-strtok_r.c: New file.
46633         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46634         RAX_LP/RDX_LP on SAVE_PTR.
46636 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46638         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46640 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46642         * libm_test.inc (csqrt_test): Allow more spurious underflow
46643         exceptions.
46644         (j0_test): Likewise.
46645         (j1_test): Likewise.
46646         (y0_test): Likewise.
46647         (y1_test): Likewise.
46649 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46651         * po/Makefile (libc.pot): Use UTF-8 charset.
46653 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46655         [BZ #14210]
46656         Suppress sign-conversion warning from FD_SET.
46657         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46658         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46659         not unsigned long int.
46660         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46662 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46664         [BZ #14050]
46665         [BZ #14117]
46666         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46667         __extern_always_inline instead of __extern_inline.
46668         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46669         (__signbit): Likewise.
46670         (__signbitl): Support C++ namespace.
46671         (lrintf): New inline function.
46672         (lrint): Likewise.
46673         (llrintf): Likewise.
46674         (llrint): Likewise.
46675         (fmaxf): Likewise.
46676         (fmax): Likewise.
46677         (fminf): Likewise.
46678         (fmin): Likewise.
46679         (rint): Likewise.
46680         (rintf): Likewise.
46681         (ceil): Likewise.
46682         (ceilf): Likewise.
46683         (floor): Likewise.
46684         (floorf): Likewise.
46685         (nearbyint): Likewise.
46686         (nearbyintf): Likewise.
46688 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46690         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46691         non-default versions.
46693 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46695         [BZ #14218]
46696         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46698 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46700         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46701         (FE_UPWARD, FE_DOWNWARD): Don't define.
46702         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46703         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46705         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46706         reading it.
46707         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46708         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46710 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46712         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46713         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46714         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46715         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46717 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46719         [BZ #14117]
46720         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46721         * sysdeps/i386/fpu/Implies: New file.
46722         * sysdeps/x86_64/fpu/Implies: Likewise.
46723         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46724         * sysdeps/x86/fpu/bits/fenv.h: This.
46726         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46727         __SSE_MATH__.
46729 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46731         [BZ #14134]
46732         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46733         character 0xffff that matches the last element of the
46734         conversion table.
46736 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46738         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46739         fmodl commit.
46741 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46743         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46744         values higher than 25.6283.
46746 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46748         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46749         subnormal exponent extraction and add some __builtin_expect.
46750         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46751         Fix for subnormal mantissa calculation.
46753 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46755         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46756         cpu2 is -1 and errno is not ENOSYS.
46758 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46760         [BZ #14117]
46761         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46762         * sysdeps/x86/bits/string.h: This.
46763         * sysdeps/x86_64/bits/string.h: Removed.
46765         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46766         if not compiling for x86-64, but compiling for >= i486.
46768         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46769         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46771         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46772         New macro from Linux kernel 3.4.0.
46773         (FP_XSTATE_MAGIC2): Likewise.
46774         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46775         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46776         (struct _fpx_sw_bytes): New struct.
46777         (struct _xsave_hdr): Likewise.
46778         (struct _ymmh_state): Likewise.
46779         (struct _xstate): Likewise.
46781         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46782         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46783         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46784         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46785         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46786         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46788         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46789         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46790         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46791         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46792         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46793         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46795 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46797         [BZ #13743]
46798         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46799         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46800         (sysdep_headers): Include sys/platform/ppc.h.
46801         * sysdeps/powerpc/test-gettimebase.c: Test for
46802         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46803         * manual/Makefile (appendices): Include platform.texi.
46804         * manual/contrib.texi (Contributors): Update @node pointers.
46805         * manual/maint.texi (Maintenance): Likewise.
46806         (Platform): New node.
46807         * manual/platform.texi: New file.  Document the new features.
46809 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46810             Jakub Jelinek  <jakub@redhat.com>
46812         [BZ #14188]
46813         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46814         where __builtin_expect is unavailable.
46816 2012-06-03  David S. Miller  <davem@davemloft.net>
46818         * stdlib/longlong.h: Updated from GCC.
46820 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46822         [BZ #14042]
46823         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46824         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46825         __mcount_internal.
46826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46827         (GLIBC_2.16): Likewise.
46829 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46831         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46833 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46836         (default-abi): New variable.
46837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46838         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46839         variable.
46840         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46841         Likewise.
46842         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46843         Likewise.
46844         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46845         Likewise.
46847         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46848         definition.  Document in comment.
46850 2012-06-01  David S. Miller  <davem@davemloft.net>
46852         * stdlib/longlong.h: Updated from GCC.
46854 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46856         [BZ #14117]
46857         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46858         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46859         sys/debugreg.h sys/io.h here.
46860         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46861         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46862         sys/io.h.
46863         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46864         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46865         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46866         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46867         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46868         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46870         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46871         Define only if __x86_64__ is defined.
46873 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46875         [BZ #14048]
46876         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46877         Use int64_t for variable i.
46878         * math/libm-test.inc (fmod_test): Add more tests.
46880         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46881         z computation is not scheduled after fetestexcept.
46882         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46883         Use math_force_eval instead of asm to ensure calculation scheduled
46884         before exception test.
46885         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46886         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46888 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46890         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46891         computation is not scheduled after fetestexcept.
46893 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46895         [BZ #14117]
46896         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46897         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46899 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46901         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46902         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46904 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46906         [BZ #14117]
46907         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46908         <bits/wordsize.h>.
46909         (__WCHAR_MIN): Support __WORDSIZE == 64.
46910         (__WCHAR_MAX): Likewise.
46912         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46913         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46915         [BZ #14183]
46916         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46917         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46919         [BZ #14117]
46920         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46921         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46923         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46924         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46926         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46927         Defined to 1 if __x86_64__ isn't defined.
46928         (_STAT_VER_LINUX_OLD): New.
46929         (st_atime): Remove duplicate.
46930         (st_mtime): Likewise.
46931         (st_ctime): Likewise.
46933 2012-05-31  David S. Miller  <davem@davemloft.net>
46935         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46936         entries.
46938 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46940         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46941         gen-libm-test.pl.
46943         [BZ #14132]
46944         * elf/dl-reloc.c: Include <_itoa.h>.
46945         (_dl_reloc_bad_type): Remove use of INTUSE.
46946         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46947         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46948         * stdio-common/psiginfo.c (psiginfo): Likewise.
46949         * stdio-common/psignal.c (psignal): Likewise.
46950         * string/strsignal.c (strsignal): Likewise.
46951         * include/signal.h (_sys_siglist): Declare hidden proto.
46952         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46953         INTVARDEF with libc_hidden_data_def.
46954         * stdio-common/itoa-udigits.c: Likewise.
46955         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46956         (_itoa_lower_digits_internal): Remove declaration.
46957         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46958         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46959         (_sys_sigabbrev_internal): Remove aliases.
46960         (_sys_siglist): Define hidden alias.
46962 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46964         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46965         bits/sysctl.h.
46967 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46969         [BZ #14117]
46970         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46971         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46973         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46974         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46975         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46976         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46977         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46978         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46980         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46981         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46982         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46984         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46985         with __addr.
46986         (insw): Likewise.
46987         (insl): Likewise.
46988         (outsb): Likewise.
46989         (outsw): Likewise.
46990         (outsl): Likewise.
46992         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46993         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46994         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46996         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46997         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46998         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46999         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47000         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47001         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47003         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47004         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47006         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47007         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47009         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47010         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47011         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47013         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47014         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47015         to ...
47016         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47018         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47019         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47020         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47022         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47023         for x86-64.
47024         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47026 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47028         * math/math.h (M_El): Use two more decimal places.
47029         (M_LOG2El): Likewise.
47030         (M_LOG10El): Likewise.
47031         (M_LN2l): Likewise.
47032         (M_LN10l): Likewise.
47033         (M_PIl): Likewise.
47034         (M_PI_2l): Likewise.
47035         (M_PI_4l): Likewise.
47036         (M_1_PIl): Likewise.
47037         (M_2_PIl): Likewise.
47038         (M_2_SQRTPIl): Likewise.
47039         (M_SQRT2l): Likewise.
47040         (M_SQRT1_2l): Likewise.
47042 2012-05-31  David S. Miller  <davem@davemloft.net>
47044         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47045         values between float registers.
47046         * sysdeps/sparc/sparc64/memset.S: Likewise.
47047         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47049 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47051         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47052         -D_FORTIFY_SOURCE=1.
47053         (CPPFLAGS-tst-longjmp_chk.c): Define.
47054         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47055         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47056         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47057         CFLAGS-tst-wchar-h.c.
47059 2012-05-31  Marek Polacek  <polacek@redhat.com>
47061         [BZ #14132]
47062         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47063         __endmntent_internal): Remove declaration.
47064         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47065         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47066         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47068 2012-05-30  David S. Miller  <davem@davemloft.net>
47070         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47071         (___Q_simulate_exceptions): Use real FP ops rather than writing
47072         into the %fsr.
47073         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47074         Likewise.
47076 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47078         [BZ #14117]
47079         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47080         * sysdeps/x86/bits/xtitypes.h: This.
47082         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47083         * sysdeps/x86/bits/wordsize.h: This.
47085         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47086         * sysdeps/x86/bits/huge_vall.h: This.
47088         * sysdeps/i386/bits/select.h: Removed.
47089         * sysdeps/x86_64/bits/select.h: Renamed to ...
47090         * sysdeps/x86/bits/select.h: This.
47092         * sysdeps/i386/bits/setjmp.h: Removed.
47093         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47094         * sysdeps/x86/bits/setjmp.h: This.
47096         * sysdeps/i386/bits/mathdef.h: Removed.
47097         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47098         * sysdeps/x86/bits/mathdef.h: This.
47100 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47102         [BZ #14132]
47103         * include/sys/socket.h (__connect_internal)
47104         (__libc_sa_len_internal): Remove declaration.
47105         (__connect, __libc_sa_len): Declare hidden_proto.
47106         (SA_LEN): Remove use of INTUSE.
47107         * socket/connect.c: Add libc_hidden_def.
47108         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47109         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47110         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47111         alias.
47112         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47113         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47114         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47115         of adding _internal alias.
47117 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47119         [BZ #14117]
47120         * sysdeps/i386/bits/link.h: Removed.
47121         * sysdeps/i386/bits/linkmap.h: Likewise.
47122         * sysdeps/x86_64/bits/link.h: Renamed to ...
47123         * sysdeps/x86/bits/link.h: This.
47124         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47125         * sysdeps/x86/bits/linkmap.h: This.
47127         * sysdeps/i386/bits/endian.h: Removed.
47128         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47129         * sysdeps/x86/bits/endian.h: This.
47131         * sysdeps/i386/bits/byteswap.h: Removed.
47132         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47133         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47134         * sysdeps/x86/bits/byteswap.h: This.
47135         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47136         * sysdeps/x86/bits/byteswap-16.h: This.
47137         * sysdeps/i386/Implies: Add x86.
47138         * sysdeps/x86_64/Implies: Likewise.
47140 2012-05-30  David S. Miller  <davem@davemloft.net>
47142         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47143         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47144         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47145         (FP_TRAPPING_EXCEPTIONS): Define.
47146         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47147         (FP_TRAPPING_EXCEPTIONS): Define.
47148         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47149         subnormals only when inexact has been signalled or underflow
47150         exceptions are enabled.
47151         (_FP_PACK_CANONICAL): Likewise.
47153 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47155         [BZ #14183]
47156         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47157         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47159 2012-05-30  Richard Henderson  <rth@twiddle.net>
47161         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47162         with #ifndef NOT_IN_libc.
47164         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47165         marked to avoid plt entry.
47167 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47169         [BZ #14112]
47170         * Makeconfig (default-abi): New macro.
47171         (abi-includes): Likewise.
47172         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47173         $(abi-$(default-abi)-lib-soname) for soname if defined.
47174         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47175         abi-variants.
47176         * Makefile (installed-stubs): Likewise.
47177         * include/stubs-biarch.h: Removed.
47178         * scripts/lib-names.awk: Only handle one library at a time.
47179         * scripts/soversions.awk: Remove WORDSIZE support.
47180         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47181         entries.
47182         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47183         Removed.
47184         (syscall-list-default-condition): Likewise.
47185         (syscall-list-default-condition): Likewise.
47186         (syscall-list-includes): Likewise.
47187         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47188         syscall-list-* with abi-*.  Handle undefined abi-variants.
47189         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47190         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47191         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47192         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47193         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47194         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47195         Removed.
47196         (syscall-list-32-options): Likewise.
47197         (syscall-list-32-condition): Likewise.
47198         (syscall-list-64-options): Likewise.
47199         (syscall-list-64-condition): Likewise.
47200         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47201         macro.
47202         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47203         Renamed to ...
47204         (abi-*): This.
47205         (abi-64-ld-soname): New macro.
47206         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47207         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47208         Renamed to ...
47209         (abi-*): This.
47210         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47211         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47213 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47215         * sysdeps/unix/sysv/linux/kernel-features.h
47216         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47217         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47218         include <kernel-features.h>.
47219         [!__NR_ftruncate64]: Remove conditional code.
47220         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47221         [__NR_ftruncate64]: Make code unconditional.
47222         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47223         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47224         include <kernel-features.h>.
47225         [!__NR_ftruncate64]: Remove conditional code.
47226         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47227         [__NR_ftruncate64]: Make code unconditional.
47228         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47230         include <kernel-features.h>.
47231         [!__NR_ftruncate64]: Remove conditional code.
47232         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47233         [__NR_ftruncate64]: Make code unconditional.
47234         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47236         include <kernel-features.h>.
47237         [!__NR_ftruncate64]: Remove conditional code.
47238         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47239         [__NR_ftruncate64]: Make code unconditional.
47240         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47242         * configure.in (libc_cv_fpie): Weaken to a compile test using
47243         LIBC_TRY_CC_OPTION.
47244         * configure: Regenerated.
47246 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47252         Refreshed.
47253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47259         Refreshed.
47261 2012-05-27  David S. Miller  <davem@davemloft.net>
47263         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47264         (___Q_zero): New.
47265         (__Q_simulate_exceptions): Return void.  Change to simulate
47266         exceptions by writing into the %fsr.
47267         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47268         (__Qp_handle_exceptions): Likewise.
47269         (numbers): Delete.
47270         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47271         __Qp_handle_exceptions.
47272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47273         __Qp_handle_exceptions.
47274         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47275         as unused and give dummy FP_RND_NEAREST initializer.
47276         (FP_INHIBIT_RESULTS): Define.
47277         (___Q_simulate_exceptions): Update declaration.
47278         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47279         formatting.
47280         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47281         as unused and give dummy FP_RND_NEAREST initializer.
47282         (__Qp_handle_exceptions): Update declaration.
47283         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47284         formatting.
47286 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47288         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47289         the temporary FPU control word.
47290         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47291         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47292         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47293         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47294         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47295         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47296         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47297         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47298         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47299         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47300         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47302 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47304         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47305         fields.
47307 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47309         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47310         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47311         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47312         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47313         Likewise.
47314         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47315         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47316         Likewise.
47318 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47320         * po/h.po: Update from translation team.
47322 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47324         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47326         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47327         handling of denormals.
47328         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47329         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47330         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47331         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47332         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47333         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47334         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47335         Likewise.
47337 2012-05-26  Marek Polacek  <polacek@redhat.com>
47339         [BZ #14152]
47340         * math/libm-test.inc (fma_test): Don't always expect underflow
47341         exception.
47343 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47345         [BZ #12416]
47346         * elf/tst-execstack.c: Include stackinfo.h.
47347         (do_test): Adjust test case to ensure that pthread_getattr_np
47348         behaviour remains the same after marking stack executable.
47350 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47352         * sysdeps/unix/sysv/linux/kernel-features.h
47353         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47354         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47355         kernel-features.h.
47356         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47357         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47358         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47359         kernel-features.h.
47360         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47361         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47363 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47365         * configure.in: Define the default includes to being none.
47366         * configure: Regenerated.
47368 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47370         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47371         * sysdeps/x86_64/setjmp.S: Likewise.
47372         * sysdeps/i386/bsd-setjmp.S: Likewise.
47373         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47374         * sysdeps/i386/setjmp.S: Likewise.
47375         * sysdeps/i386/__longjmp.S: Likewise.
47376         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47377         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47379         * include/stap-probe.h: New file.
47380         * configure.in: Handle --enable-systemtap.
47381         * configure: Regenerated.
47382         * config.h.in (USE_STAP_PROBE): New #undef.
47383         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47384         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47385         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47387 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47389         [BZ #13717]
47390         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47391         to 2.4.0 where earlier.
47392         * sysdeps/unix/sysv/linux/configure: Regenerated.
47393         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47394         <kernel-features.h>.
47395         [__ASSUME_32BITUIDS]: Make code unconditional.
47396         [!__ASSUME_32BITUIDS]: Remove conditional code.
47397         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47398         <kernel-features.h>.
47399         [__ASSUME_32BITUIDS]: Make code unconditional.
47400         [!__ASSUME_32BITUIDS]: Remove conditional code.
47401         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47402         [__ASSUME_32BITUIDS]: Make code unconditional.
47403         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47404         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47405         <kernel-features.h>.
47406         [__ASSUME_32BITUIDS]: Make code unconditional.
47407         [!__ASSUME_32BITUIDS]: Remove conditional code.
47408         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47409         <kernel-features.h>.
47410         [__ASSUME_32BITUIDS]: Make code unconditional.
47411         [!__ASSUME_32BITUIDS]: Remove conditional code.
47412         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47413         <kernel-features.h>.
47414         [__ASSUME_32BITUIDS]: Make code unconditional.
47415         [!__ASSUME_32BITUIDS]: Remove conditional code.
47416         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47417         <kernel-features.h>.
47418         [__ASSUME_32BITUIDS]: Make code unconditional.
47419         [!__ASSUME_32BITUIDS]: Remove conditional code.
47420         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47421         <kernel-features.h>.
47422         [__ASSUME_32BITUIDS]: Make code unconditional.
47423         [!__ASSUME_32BITUIDS]: Remove conditional code.
47424         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47425         <kernel-features.h>.
47426         [__ASSUME_32BITUIDS]: Make code unconditional.
47427         [!__ASSUME_32BITUIDS]: Remove conditional code.
47428         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47429         <kernel-features.h>.
47430         [__ASSUME_32BITUIDS]: Make code unconditional.
47431         [!__ASSUME_32BITUIDS]: Remove conditional code.
47432         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47433         <kernel-features.h>.
47434         [__ASSUME_32BITUIDS]: Make code unconditional.
47435         [!__ASSUME_32BITUIDS]: Remove conditional code.
47436         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47437         <kernel-features.h>.
47438         [__ASSUME_32BITUIDS]: Make code unconditional.
47439         [!__ASSUME_32BITUIDS]: Remove conditional code.
47440         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47441         <kernel-features.h>.
47442         [__ASSUME_32BITUIDS]: Make code unconditional.
47443         [!__ASSUME_32BITUIDS]: Remove conditional code.
47444         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47445         <kernel-features.h>.
47446         [__NR_setresgid] (__setresgid): Do not declare.
47447         [__ASSUME_32BITUIDS]: Make code unconditional.
47448         [!__ASSUME_32BITUIDS]: Remove conditional code.
47449         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47450         <kernel-features.h>.
47451         [__NR_setresuid] (__setresuid): Do not declare.
47452         [__ASSUME_32BITUIDS]: Make code unconditional.
47453         [!__ASSUME_32BITUIDS]: Remove conditional code.
47454         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47455         <kernel-features.h>.
47456         [__ASSUME_32BITUIDS]: Make code unconditional.
47457         [!__ASSUME_32BITUIDS]: Remove conditional code.
47458         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47459         <kernel-features.h>.
47460         [__ASSUME_32BITUIDS]: Make code unconditional.
47461         [!__ASSUME_32BITUIDS]: Remove conditional code.
47462         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47463         <kernel-features.h>.
47464         [__ASSUME_32BITUIDS]: Make code unconditional.
47465         [!__ASSUME_32BITUIDS]: Remove conditional code.
47466         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47467         <kernel-features.h>.
47468         [__ASSUME_32BITUIDS]: Make code unconditional.
47469         [!__ASSUME_32BITUIDS]: Remove conditional code.
47470         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47471         <kernel-features.h>.
47472         [__ASSUME_32BITUIDS]: Make code unconditional.
47473         [!__ASSUME_32BITUIDS]: Remove conditional code.
47474         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47475         <kernel-features.h>.
47476         [__ASSUME_32BITUIDS]: Make code unconditional.
47477         [!__ASSUME_32BITUIDS]: Remove conditional code.
47478         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47479         <kernel-features.h>.
47480         [__ASSUME_32BITUIDS]: Make code unconditional.
47481         [!__ASSUME_32BITUIDS]: Remove conditional code.
47482         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47483         <kernel-features.h>.
47484         [__ASSUME_32BITUIDS]: Make code unconditional.
47485         [!__ASSUME_32BITUIDS]: Remove conditional code.
47486         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47487         <kernel-features.h>.
47488         [__ASSUME_32BITUIDS]: Make code unconditional.
47489         [!__ASSUME_32BITUIDS]: Remove conditional code.
47490         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47491         <kernel-features.h>.
47492         [__ASSUME_32BITUIDS]: Make code unconditional.
47493         [!__ASSUME_32BITUIDS]: Remove conditional code.
47494         * sysdeps/unix/sysv/linux/kernel-features.h
47495         (__ASSUME_SETRESUID_SYSCALL): Remove.
47496         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47497         (__ASSUME_32BITUIDS): Likewise.
47498         (__ASSUME_LDT_WORKS): Likewise.
47499         (__ASSUME_O_DIRECTORY): Likewise.
47500         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47501         architecture but not kernel version.
47502         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47503         (__ASSUME_MMAP2_SYSCALL): Likewise.
47504         (__ASSUME_STAT64_SYSCALL): Likewise.
47505         (__ASSUME_IPC64): Likewise.
47506         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47507         <kernel-features.h>.
47508         [__ASSUME_32BITUIDS]: Make code unconditional.
47509         [!__ASSUME_32BITUIDS]: Remove conditional code.
47510         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47511         <kernel-features.h>.
47512         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47513         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47514         132096]: Remove conditional code.
47515         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47516         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47517         <kernel-features.h>.
47518         [__ASSUME_32BITUIDS]: Make code unconditional.
47519         [!__ASSUME_32BITUIDS]: Remove conditional code.
47520         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47521         <kernel-features.h>.
47522         [__ASSUME_32BITUIDS]: Make code unconditional.
47523         [!__ASSUME_32BITUIDS]: Remove conditional code.
47524         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47525         <kernel-features.h>.
47526         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47527         unconditional.
47528         (__setresgid): Do not declare.
47529         [__ASSUME_32BITUIDS]: Make code unconditional.
47530         [!__ASSUME_32BITUIDS]: Remove conditional code.
47531         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47532         <kernel-features.h>.
47533         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47534         unconditional.
47535         (__setresuid): Do not declare.
47536         [__ASSUME_32BITUIDS]: Make code unconditional.
47537         [!__ASSUME_32BITUIDS]: Remove conditional code.
47538         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47539         <kernel-features.h>.
47540         [__ASSUME_32BITUIDS]: Make code unconditional.
47541         [!__ASSUME_32BITUIDS]: Remove conditional code.
47542         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47543         <kernel-features.h>.
47544         [__ASSUME_32BITUIDS]: Make code unconditional.
47545         [!__ASSUME_32BITUIDS]: Remove conditional code.
47547 2012-05-25  Richard Henderson  <rth@twiddle.net>
47549         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47550         dl_hwcap to ifunc resolver.
47551         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47552         elf_ifunc_invoke.
47553         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47554         dl_hwcap to ifunc resolver.
47555         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47557 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47559         [BZ #14153]
47560         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47561         for |x| <= 2**-26, not 2**-57.
47562         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47563         exception.
47565 2012-05-24  Jeff Law  <law@redhat.com>
47567         * stdio-common/Makefile (tests): Add bug25.
47568         * stdio-common/bug25.c: New test.
47570 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47572         [BZ #13576]
47573         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47574         multiple of MALLOC_ALIGNMENT in size.
47575         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47577 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47579         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47580         Require >= 256.
47581         (FILENAME_MAX): Use macro-int-constant.
47582         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47583         (_IOFBF): Use macro-int-constant.
47584         (_IOLBF): Likewise.
47585         (_IONBF): Likewise.
47586         (SEEK_CUR): Likewise.
47587         (SEEK_END): Likewise.
47588         (SEEK_SET): Likewise.
47589         (TMP_MAX): Likewise.
47590         (EOF): Use macro-int-constant.  Require < 0.
47591         (NULL): Use macro-constant.  Require == 0.
47592         (stdin): Require type to be FILE *.
47593         (stdout): Likewise.
47594         (stderr): Likewise.
47595         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47596         macro-int-constant.
47597         (EXIT_SUCCESS): Likewise.
47598         (NULL): Use macro-constant.  Require == 0.
47599         (RAND_MAX): Use macro-int-constant.
47600         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47601         [C99-based standards] (strtof): Require function.
47602         [C99-based standards] (strtold): Likewise.
47603         [C99-based standards] (strtoll): Likewise.
47604         [C99-based standards] (strtoull): Likewise.
47605         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47606         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47607         [ISO || ISO99 || ISO11] (math.h): Likewise.
47608         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47609         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47610         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47612 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47614         [BZ #14132]
47615         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47616         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47617         * intl/dgettext.c (DCGETTEXT): Likewise.
47618         * intl/gettext.c (DCGETTEXT): Likewise.
47619         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47620         * posix/regex_internal.h (gettext): Likewise.
47621         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47622         Remove declaration.
47623         * include/argz.h (__argz_count_internal)
47624         (__argz_stringify_internal): Remove declaration.
47625         (__argz_count, __argz_stringify): Declare hidden proto.
47626         * intl/dcgettext.c: Remove use of INTDEF.
47627         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47628         * string/argz-stringify.c: Likewise.
47629         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47630         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47631         Declare hidden proto.
47632         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47633         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47634         Declare hidden proto.
47635         * include/stdio.h (__asprintf_internal): Don't declare.
47636         (__asprintf): Don't define as macro.  Declare hidden proto.
47637         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47638         (__fsetlocking): Declare hidden proto.
47639         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47640         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47641         hidden proto.
47642         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47643         (_IO_setlinebuf): Remove use of INTUSE.
47644         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47645         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47646         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47647         Remove declaration.
47648         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47649         (_IO_do_flush): Remove use of INTUSE.
47650         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47651         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47652         (_IO_adjust_column, _IO_least_wmarker)
47653         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47654         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47655         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47656         (_IO_default_doallocate, _IO_wdefault_doallocate)
47657         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47658         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47659         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47660         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47661         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47662         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47663         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47664         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47665         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47666         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47667         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47668         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47669         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47670         proto.
47671         (_IO_flush_all_internal, _IO_adjust_column_internal)
47672         (_IO_default_uflow_internal, _IO_default_finish_internal)
47673         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47674         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47675         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47676         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47677         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47678         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47679         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47680         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47681         (_IO_file_close_internal, _IO_file_close_it_internal)
47682         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47683         (_IO_file_init_internal, _IO_file_attach_internal)
47684         (_IO_file_fopen_internal, _IO_file_read_internal)
47685         (_IO_file_sync_internal, _IO_file_seek_internal)
47686         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47687         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47688         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47689         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47690         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47691         (_IO_list_all_internal, _IO_link_in_internal)
47692         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47693         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47694         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47695         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47696         (_IO_do_write_internal, _IO_padn_internal)
47697         (_IO_getline_info_internal, _IO_getline_internal)
47698         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47699         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47700         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47701         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47702         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47703         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47704         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47705         with libc_hidden_ver, remove use of INTUSE.
47706         * libio/genops.c: Likewise.
47707         * libio/freopen.c: Likewise.
47708         * libio/freopen64.c: Likewise.
47709         * libio/iofclose.c: Likewise.
47710         * libio/iofdopen.c: Likewise.
47711         * libio/iofflush.c: Likewise.
47712         * libio/iofflush_u.c: Likewise.
47713         * libio/iofgets.c: Likewise.
47714         * libio/iofgets_u.c: Likewise.
47715         * libio/iofopen.c: Likewise.
47716         * libio/iofopncook.c: Likewise.
47717         * libio/iofread.c: Likewise.
47718         * libio/iofread_u.c: Likewise.
47719         * libio/ioftell.c: Likewise.
47720         * libio/iofwrite.c: Likewise.
47721         * libio/iogetline.c: Likewise.
47722         * libio/iogets.c: Likewise.
47723         * libio/iogetwline.c: Likewise.
47724         * libio/iopadn.c: Likewise.
47725         * libio/iopopen.c: Likewise.
47726         * libio/ioseekoff.c: Likewise.
47727         * libio/ioseekpos.c: Likewise.
47728         * libio/iosetbuffer.c: Likewise.
47729         * libio/iosetvbuf.c: Likewise.
47730         * libio/ioungetc.c: Likewise.
47731         * libio/ioungetwc.c: Likewise.
47732         * libio/iovdprintf.c: Likewise.
47733         * libio/iovsprintf.c: Likewise.
47734         * libio/iovsscanf.c: Likewise.
47735         * libio/memstream.c: Likewise.
47736         * libio/obprintf.c: Likewise.
47737         * libio/oldfileops.c: Likewise.
47738         * libio/oldiofclose.c: Likewise.
47739         * libio/oldiofdopen.c: Likewise.
47740         * libio/oldiofopen.c: Likewise.
47741         * libio/oldiopopen.c: Likewise.
47742         * libio/oldstdfiles.c: Likewise.
47743         * libio/putc.c: Likewise.
47744         * libio/setbuf.c: Likewise.
47745         * libio/setlinebuf.c: Likewise.
47746         * libio/stdfiles.c: Likewise.
47747         * libio/strops.c: Likewise.
47748         * libio/vasprintf.c: Likewise.
47749         * libio/vscanf.c: Likewise.
47750         * libio/vsnprintf.c: Likewise.
47751         * libio/vswprintf.c: Likewise.
47752         * libio/wfiledoalloc.c: Likewise.
47753         * libio/wfileops.c: Likewise.
47754         * libio/wgenops.c: Likewise.
47755         * libio/wmemstream.c: Likewise.
47756         * libio/wstrops.c: Likewise.
47757         * libio/__fpurge.c: Likewise.
47758         * libio/__fsetlocking.c: Likewise.
47759         * assert/assert.c: Likewise.
47760         * debug/fgets_chk.c: Likewise.
47761         * debug/fgets_u_chk.c: Likewise.
47762         * debug/fread_chk.c: Likewise.
47763         * debug/fread_u_chk.c: Likewise.
47764         * debug/gets_chk.c: Likewise.
47765         * debug/obprintf_chk.c: Likewise.
47766         * debug/vasprintf_chk.c: Likewise.
47767         * debug/vdprintf_chk.c: Likewise.
47768         * debug/vsnprintf_chk.c: Likewise.
47769         * debug/vsprintf_chk.c: Likewise.
47770         * malloc/mtrace.c: Likewise.
47771         * misc/error.c: Likewise.
47772         * misc/syslog.c: Likewise.
47773         * stdio-common/asprintf.c: Likewise.
47774         * stdio-common/fxprintf.c: Likewise.
47775         * stdio-common/getw.c: Likewise.
47776         * stdio-common/isoc99_fscanf.c: Likewise.
47777         * stdio-common/isoc99_scanf.c: Likewise.
47778         * stdio-common/isoc99_vfscanf.c: Likewise.
47779         * stdio-common/isoc99_vscanf.c: Likewise.
47780         * stdio-common/isoc99_vsscanf.c: Likewise.
47781         * stdio-common/printf-prs.c: Likewise.
47782         * stdio-common/printf_fp.c: Likewise.
47783         * stdio-common/printf_fphex.c: Likewise.
47784         * stdio-common/printf_size.c: Likewise.
47785         * stdio-common/putw.c: Likewise.
47786         * stdio-common/scanf.c: Likewise.
47787         * stdio-common/sprintf.c: Likewise.
47788         * stdio-common/tmpfile.c: Likewise.
47789         * stdio-common/vfprintf.c: Likewise.
47790         * stdio-common/vfscanf.c: Likewise.
47791         * stdlib/strfmon_l.c: Likewise.
47792         * sunrpc/openchild.c: Likewise.
47793         * sunrpc/xdr_stdio.c: Likewise.
47794         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47795         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47797 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47799         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47801         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47802         in the third column, to generate for the shared library an IFUNC
47803         that uses _dl_vdso_vsym.
47804         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47805         * Makeconfig (object-suffixes-noshared): New variable.
47807         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47808         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47809         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47810         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47812         [BZ #14132]
47813         * include/sys/time.h (__gettimeofday): Remove macro.
47814         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47815         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47816         Remove INTDEF.
47817         (__gettimeofday): Add libc_hidden_def.
47818         (gettimeofday): Add libc_hidden_weak.
47819         * sysdeps/mach/gettimeofday.c: Likewise.
47820         * sysdeps/posix/gettimeofday.c: Likewise.
47821         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47822         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47823         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47824         (__gettimeofday_internal): Remove strong_alias.
47825         (__gettimeofday): Add libc_hidden_def.
47826         (gettimeofday): Add libc_hidden_weak.
47827         * sysdeps/unix/syscalls.list (gettimeofday):
47828         Remove __gettimeofday_internal alias.
47830 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47831             H.J. Lu  <hongjiu.lu@intel.com>
47833         [BZ #12495]
47834         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47835         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47836         (largebin_index_32_big): New.
47837         (largebin_index): Use it for 16-byte alignment.
47838         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47839         correction with front_misalign.
47841 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47845         Likewise.
47846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47847         Likewise.
47848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47849         Likewise.
47850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47851         Likewise.
47852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47853         Likewise.
47854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47855         Likewise.
47856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47857         Likewise.
47858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47859         Likewise.
47860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47861         Likewise.
47862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47863         Likewise.
47864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47865         Likewise.
47866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47867         Likewise.
47869         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47870         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47872 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47874         [BZ #10846]
47875         [BZ #14036]
47876         * math/libm-test.inc (exp_test): Add test from bug 14036.
47877         (pow_test): Add test from bug 10846.
47879         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47880         and other flags.
47881         (special_function): Do not include flags in test name.
47882         (parse_args): Likewise.
47883         * sysdeps/i386/fpu/libm-test-ulps: Update.
47884         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47885         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47886         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47889         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47890         exceptions.
47891         * math/libm-test.inc ("Philosophy"): Update comment about
47892         exception testing.
47893         (UNDERFLOW_EXCEPTION): New macro.
47894         (UNDERFLOW_EXCEPTION_OK): Likewise.
47895         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47896         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47897         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47898         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47899         (INVALID_EXCEPTION_OK): Update value.
47900         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47901         (OVERFLOW_EXCEPTION_OK): Likewise.
47902         (IGNORE_ZERO_INF_SIGN): Likewise.
47903         (test_exceptions): Handle underflow exceptions.
47904         (acos_test): Update for underflow exception expectations.
47905         (cexp_test): Likewise.
47906         (clog_test): Likewise.
47907         (clog10_test): Likewise.
47908         (csqrt_test): Likewise.
47909         (ctan_test): Likewise.
47910         (ctanh_test): Likewise.
47911         (exp_test): Likewise.
47912         (exp10_test): Likewise.
47913         (exp2_test): Likewise.
47914         (expm1_test): Likewise.
47915         (fma_test): Likewise.
47916         (j0_test): Likewise.
47917         (jn_test): Likewise.
47918         (nexttoward_test): Likewise.
47919         (pow_test): Likewise.
47920         (scalbn_test): Likewise.
47921         (scalbln_test): Likewise.
47922         (tan_test): Likewise.
47923         (y1_test): Likewise.
47924         * sysdeps/i386/fpu/libm-test-ulps: Update.
47925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47927 2012-05-23  David S. Miller  <davem@davemloft.net>
47929         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47930         (__libc_sigaction): Remove unused local variables.
47932 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47934         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47936 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47938         mktime: avoid signed integer overflow
47939         * time/mktime.c (__mktime_internal): Do not mishandle the case
47940         where diff == INT_MIN.
47942         mktime: simplify computation of average
47943         * time/mktime.c (ranged_convert): Use new time_t_avg function
47944         instead of rolling our own (probably-slower) code.
47946         mktime: do not assume signed right shift propagates sign bit
47947         * time/mktime.c (isdst_differ): New static function.
47948         (__mktime_internal): No need to normalize tm_isdst now.
47949         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47950         tm_isdst values.
47952         mktime: merge another wrapv change from gnulib
47953         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47954         from some compilers.
47956         mktime: remove incorrect attempt at unusual arithmetics
47957         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47958         The code didn't really work on such machines anyway.
47959         (TYPE_MINIMUM): Assume two's complement.
47960         (twos_complement_arithmetic): Verify that long_int and time_t
47961         are two's complement (or unsigned, in the latter case).
47963         mktime: check signed shifts on long_int and time_t, too
47964         * time/mktime.c (SHR): Check that shifts work as desired
47965         on the types long_int and time_t too, as SHR is used on
47966         such types.
47968         mktime: do not assume 'long' is wide enough
47969         * time/mktime.c (verify): Move decl up.
47970         (long_int): New type.
47971         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47972         to remove assumption in the code that 'long' is wide enough to
47973         store year values.  This assumption is not true on x32 and on
47974         some non-glibc platforms.
47976         mktime: merge wrapv change from gnulib
47977         * time/mktime.c (WRAPV): New macro.
47978         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47979         (guess_time_tm, __mktime_internal): Do not assume that signed
47980         integer overflow wraps around; modern compilers generate code
47981         where this assumption is no longer valid.
47983 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47985         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47986         Replace "jmp L(pseudo_end)" with "ret".
47987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47988         Likewise.
47990 2012-05-23  Andreas Jaeger  <aj@suse.de>
47992         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47993         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47995 2012-05-23  Andreas Jaeger  <aj@suse.de>
47996             Maximilian Attems  <max@stro.at>
47998         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47999         New macros.
48001 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48003         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48004         code so that pseudo_end is just ret and the stack pointer is
48005         correct also for static library in error case.
48007 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48009         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48010         move to syscalls.list.
48011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48016         * manual/install.texi (Running make install): Do not mention Linux
48017         kernel version for which pt_chown is not needed.
48018         (Linux): Do not mention problems with nscd with 2.0 kernels.
48019         * INSTALL: Regenerated.
48021 2012-05-23  Andreas Jaeger  <aj@suse.de>
48023         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48024         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48025         macro.
48026         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48027         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48028         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48029         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48030         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48031         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48032         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48033         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48034         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48035         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48036         * sysdeps/unix/sysv/linux/bits/in.h
48037         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48039 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48041         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48042         (PREPARE_VERSION): Just use assert instead, it will be elided
48043         under [NDEBUG] anyway.
48045 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48047         * sysdeps/unix/sysv/linux/Makefile: Include
48048         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48049         (sysdep_routines): Remove sysctl.
48050         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48051         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48052         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48053         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48054         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48056 2012-05-22  Andreas Jaeger  <aj@suse.de>
48058         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48059         that pseudo_end is just ret and the stack pointer is correct also
48060         for static library in error case.
48062 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48064         [BZ #14122]
48065         * nss/nsswitch.c (defconfig_entries): New variable.
48066         (__nss_database_lookup): Don't leak defconfig entries.
48067         (nss_parse_service_list): Don't leak on error paths.
48068         (free_database_entries): New function.
48069         (free_defconfig): New function.
48070         (free_mem): Move common code to free_database_entries.
48072 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48074         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48075         Add arch_prctl.
48076         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48078         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48079         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48080         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48081         New macro.
48082         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48083         (INTERNAL_SYSCALL_TYPES): Likewise.
48084         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48085         (LOAD_REGS_TYPES_[1-6]): Likewise.
48086         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48087         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48089 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48091         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48092         copysignl for GLIBC_2_0.
48093         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48094         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48095         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48096         logbl for GLIBC_2_0.
48097         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48098         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48100 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48102         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48103         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48105         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48106         Use "neg %eax".
48108         * time/mktime.c: Update copyright years.
48110 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48112         mktime: merge comment-quoting-style change from gnulib
48113         * time/mktime.c: Quote 'like this' in comments.
48114         The GNU coding standards suggest that we no longer quote `like this',
48115         as "`" and "'" are typically rendered asymmetrically nowadays.
48116         The typical gnulib style is to quote 'like this' when quoting
48117         code, and "like this" when quoting English.
48119         * time/mktime.c (compile-command): Add "-I.".
48121         mktime: merge mktime-internal.h change from gnulib
48122         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48124         mktime: merge time_r change from gnulib
48125         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48127         mktime: merge DEBUG change from gnulib
48128         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48129         case system <time.h> has a #define.
48131         mktime: merge <sys/types.h> change from gnulib
48132         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48133         since <time.t> is now guaranteed to define time_t.
48135         mktime: merge HAVE_CONFIG_H change from gnulib
48136         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48138 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48140         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48141         Use "neg %eax".
48143         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48144         __rlim_t cast.
48145         (struct rusage): Use anonymous union to pad each field to
48146         __syscall_slong_t.
48148 2012-05-21  David S. Miller  <davem@davemloft.net>
48150         * Makefules (o-iterator): Remove .s cases.
48151         (compile-command.s): Delete.
48152         (COMPILE.s): Delete.
48153         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48155 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48157         * configure.in (libc_cv_predef_stack_protector): Only consider
48158         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48159         * configure: Regenerated.
48161 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48163         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48164         New macro.  Use R*LP on int and pointer.
48165         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48166         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48167         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48168         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48170         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48171         [__WORDSIZE_TIME64_COMPAT32] instead of
48172         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48173         (struct utmp): Likewise.
48174         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48175         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48176         Renamed to ...
48177         (__WORDSIZE_TIME64_COMPAT32): This.
48178         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48179         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48180         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48181         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48182         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48183         (__WORDSIZE_TIME64_COMPAT32): New macro.
48185 2012-05-21  Andreas Jaeger  <aj@suse.de>
48187         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48188         only if [SHARED]. Add prototype for __wcschr_ia32.
48190 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48192         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48193         of %rbp unmolested in the jmp_buf while mangling the low bits.
48194         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48195         unmolested high bits of %rbp while demangling the low bits.
48196         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48198 2012-05-21  Andreas Jaeger  <aj@suse.de>
48200         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48201         * sunrpc/svc_simple.c: Use it for registerrpc.
48202         * sunrpc/xcrypt.c: Use it for passwd2des.
48204         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48206 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48208         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48209         Don't define if [__SYSCALL_WORDSIZE != 32].
48210         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48211         New macro.
48213 2012-05-21  Bruno Haible  <bruno@clisp.org>
48214             Andreas Jaeger  <aj@suse.de>
48216         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48217         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48218         inptr and inend for must_buffer_ch.
48219         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48220         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48221         * stdio-common/Makefile (tests): Remove bug15.
48222         (bug15-ENV): Remove macro.
48223         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48224         anymore.
48226 2012-05-19  Andreas Jaeger  <aj@suse.de>
48227             Roland McGrath  <roland@hack.frob.com>
48229         * manual/contrib.texi: Completely rewritten. It contains now an
48230         alphabetical list of contributors and their contributions.
48232 2012-05-21  Richard Henderson  <rth@twiddle.net>
48234         * misc/getauxval.c (__getauxval): Use unsigned long int.
48235         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48236         (getauxval): Use unsigned long int.
48238 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48240         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48242 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48244         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48245         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48246         __alignof__ (long double).
48248 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48252 2012-05-20  Richard Henderson  <rth@twiddle.net>
48254         * misc/getauxval.c: New file.
48255         * misc/sys/auxv.h: New file.
48256         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48257         (routines): Add getauxval.
48258         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48259         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48260         * elf/dl-sysdep.c (_dl_auxv): Remove.
48261         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48262         * elf/dl-support.c (_dl_auxv): New variable.
48263         (_dl_aux_init): Initialize it.
48264         * manual/startup.texi (Auxiliary Vector): New node.
48265         * sysdeps/generic/bits/hwcap.h: New file.
48266         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48267         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48268         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48269         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48270         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48271         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48273         Update.
48274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48277         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48283 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48287 2012-05-19  David S. Miller  <davem@davemloft.net>
48289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48291 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48293         [BZ #14123]
48294         * math/s_ccosh.c: Include <float.h>
48295         (__ccosh): Avoid internal overflow calculating sinh and cosh
48296         values before multiplying by sin and cos values.
48297         * math/s_ccoshf.c: Likewise.
48298         * math/s_ccoshl.c: Likewise.
48299         * math/s_csin.c: Likewise.
48300         * math/s_csinf.c: Likewise.
48301         * math/s_csinl.c: Likewise.
48302         * math/s_csinh.c: Likewise.
48303         * math/s_csinhf.c: Likewise.
48304         * math/s_csinhl.c: Likewise.
48305         * math/libm-test.inc (ccos_test): Add more tests.
48306         (ccosh_test): Likewise.
48307         (csin_test): Likewise.
48308         (csinh_test): Likewise.
48309         * sysdeps/i386/fpu/libm-test-ulps: Update.
48310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48312 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48314         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48315         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48317         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48319 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48321         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48322         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48323         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48324         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48325         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48326         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48327         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48328         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48329         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48330         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48331         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48332         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48333         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48334         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48335         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48336         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48337         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48338         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48339         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48340         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48341         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48342         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48343         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48344         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48345         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48346         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48347         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48348         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48349         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48350         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48351         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48353 2012-05-18  Andreas Jaeger  <aj@suse.de>
48355         * csu/.gitignore: Delete.
48357 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48359         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48360         (timex): Use __syscall_slong_t.
48362 2012-05-18  Andreas Jaeger  <aj@suse.de>
48363             Carlos O'Donell  <carlos_odonell@mentor.com>
48365         * manual/install.texi (Configuring and compiling): Update
48366         description about files modified in the source directory.
48367         * INSTALL: Regenerated.
48369 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48371         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48372         value.  Use "or" to set return value to -1.
48373         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48374         negate return value.
48376 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48378         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48379         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48380         failure if the compiler has Graphite support disabled.
48381         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48382         Likewise.
48383         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48384         (CFLAGS-memmove.c): Likewise.
48385         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48386         Likewise.
48388 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48390         * sysdeps/x86_64/x32/_itoa.h: New file.
48392         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48393         getdents system call only if kernel and user dirents have the
48394         same d_ino and d_off.
48396         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48397         LLONG_MAX != LONG_MAX.
48398         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48399         (_fitoa_word): Likewise.
48401         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48402         years.
48403         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48404         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48405         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48407         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48408         include <bits/wordsize.h>.  Check __x86_64__ instead of
48409         __WORDSIZE.
48410         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48411         if __x86_64__ is defined.  Use anonymous union on fpstate.
48413         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48414         anonymous union.
48416 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48418         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48419         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48420         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48421         Refer to _rtld_local_ro instead of _rtld_global_ro.
48422         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48423         Likewise.
48424         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48425         Likewise.
48426         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48427         Likewise.
48428         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48429         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48430         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48432         * sysdeps/powerpc/powerpc32/dl-machine.c
48433         (__elf_machine_runtime_setup) [PROF]: Don't reference
48434         _dl_prof_resolve.
48436 2012-05-18  Andreas Jaeger  <aj@suse.de>
48438         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48439         function only available for GCCs before 3.4 since GCC 3.4
48440         introduced a builtin.
48441         (lrint): Likewise.
48442         (llrintf): Likewise.
48443         (llrint): Likewise.
48444         (fmaxf): Likewise.
48445         (fmax): Likewise.
48446         (fminf): Likewise.
48447         (fmin): Likewise.
48448         (rint): Likewise.
48449         (rintf): Likewise.
48450         (nearbyint): Likewise.
48451         (nearbyintf): Likewise.
48452         (ceil): Likewise.
48453         (ceilf): Likewise.
48454         (floor): Likewise.
48455         (floorf): Likewise.
48457 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48459         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48460         on both fields and cast pointer to __syscall_ulong_t.
48462         * bits/types.h (__fsword_t): New type.
48463         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48464         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48465         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48466         (__FSWORD_T_TYPE): Likewise.
48467         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48468         (__FSWORD_T_TYPE): Likewise.
48469         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48470         (__FSWORD_T_TYPE): Likewise.
48471         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48472         (__FSWORD_T_TYPE): Likewise.
48473         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48474         __SWORD_TYPE with __fsword_t.
48475         (statfs64): Likewise.
48477 2012-05-17  David S. Miller  <davem@davemloft.net>
48479         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48481 2012-05-17  Andreas Jaeger  <aj@suse.de>
48483         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48484         warning.
48486 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48488         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48490 2012-05-17  Andreas Jaeger  <aj@suse.de>
48492         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48493         when it is used.
48495 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48497         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48499 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48501         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48502         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48504 2012-05-17  Andreas Jaeger  <aj@suse.de>
48505             Carlos O'Donell  <carlos_odonell@mentor.com>
48507         [BZ #14059]
48508         * sysdeps/x86_64/multiarch/init-arch.h
48509         (bit_YMM_Usable): Rename to...
48510         (bit_AVX_Usable): ... this.
48511         (bit_FMA4_Usable): New macro.
48512         (bit_XMM_state): New macro.
48513         (bit_YMM_state): New macro.
48514         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48515         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48516         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48517         (CPUID_OSXSAVE): New macro.
48518         (CPUID_AVX): New macro.
48519         (CPUID_FMA4): New macro.
48520         (index_YMM_Usable): Rename to...
48521         (index_AVX_Usable): ... this.
48522         (HAS_AVX): Use HAS_ARCH_FEATURE.
48523         (HAS_FMA4): Likewise.
48524         (HAS_YMM_USABLE): Remove.
48525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48526         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48527         are present.
48528         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48529         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48530         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48531         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48532         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48534 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48536         * math/libm-test.c: Support platforms without multiple rounding modes.
48537         * math/bug-nextafter.c: Support platforms without FP exceptions.
48538         * math/bug-nexttoward.c: Likewise.
48539         * math/test-fenv.c: Likewise.
48540         * math/test-misc.c: Likewise.
48541         * stdlib/bug-getcontext.c: Likewise.
48543 2012-05-17  Andreas Jaeger  <aj@suse.de>
48545         * manual/examples/search.c (critter_cmp): Change signature to
48546         avoid warnings.
48547         * manual/string.texi (Collation Functions): Likewise.
48549 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48551         * bits/types.h: Fold copyright years.
48552         * bits/typesizes.h: Likewise.
48553         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48554         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48555         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48556         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48557         * time/time.h: Likewise.
48559 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48561         [BZ #208]
48562         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48563         in instead of returning them.  Return void.
48564         (__libc_mallinfo): Accumulate over all arenas.
48565         (__malloc_stats): Adjust for change in int_mallinfo interface.
48567 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48569         [BZ #10375]
48570         * configure.in (NM): Add AC_CHECK_TOOL for it.
48571         (libc_extra_cflags): New substituted variable.
48572         Check for -fstack-protector being used implicitly.
48573         * configure: Regenerated.
48574         * config.make.in (config-extra-cflags): New variable,
48575         gets @libc_extra_cflags@.
48576         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48578         [BZ #10375]
48579         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48580         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48581         * configure: Regenerated.
48582         * config.make.in (CPPUNDEFS): New substituted variable.
48583         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48584         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48585         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48587 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48589         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48590         (mq_attr): Use __syscall_slong_t.
48592 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48594         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48595         Check __x86_64__ instead of __WORDSIZE.
48596         (_STAT_VER_LINUX): Likewise.
48597         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48598         __syscall_ulong_t and __syscall_slong_t.
48599         (stat64): Likewise.
48601 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48603         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48605 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48607         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48609 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48611         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48612         __syscall_ulong_t.
48614         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48615         include <bits/wordsize.h>.  Check __x86_64__ instead of
48616         __WORDSIZE.
48617         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48618         defined.
48619         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48621         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48622         include <bits/wordsize.h>.  Check __x86_64__ instead of
48623         __WORDSIZE.
48624         (user_regs_struct): Use "__extension__ unsigned long long"
48625         instead of "unsigned long" if __x86_64__ is defined.
48626         (user): Likewise.  Pad after pointer field if __ILP32__ is
48627         defined.
48629 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48631         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48632         versions 5 to 9.
48633         * configure: Regenerated.
48634         * manual/install.texi (texinfo): Increase version requirement to
48635         4.5 or later.
48636         * INSTALL: Regenerated.
48638         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48640 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48642         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48644         * sysdeps/x86_64/x32/ffs.c: New file.
48646         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48647         __syscall_ulong_t.
48648         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48649         defined.  Use __syscall_ulong_t.
48650         (shminfo): Use __syscall_ulong_t.
48651         (shm_info): Likewise.
48653         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48654         __syscall_ulong_t.
48656         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48657         <bits/wordsize.h>.
48658         (msgqnum_t): Use __syscall_ulong_t.
48659         (msglen_t): Likewise.
48660         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48661         __syscall_ulong_t.
48663         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48664         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48666         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48668         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48669         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48671         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48672         __syscall_slong_t.
48674         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48675         include <bits/wordsize.h>.  Check __x86_64__ instead of
48676         __WORDSIZE.
48678         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48679         "unsigned long long int" if __x86_64__ is defined.
48680         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48682         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48683         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48684         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48686         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48687         <stdint.h>.
48688         (GET_PC): Cast to uintptr_t first.
48689         (GET_FRAME): Likewise.
48690         (GET_STACK): Likewise.
48692         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48693         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48694         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48695         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48696         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48697         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48698         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48699         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48700         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48701         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48702         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48703         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48704         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48705         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48706         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48707         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48708         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48709         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48710         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48711         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48712         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48713         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48714         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48715         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48716         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48717         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48718         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48719         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48720         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48722 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48724         * Makerules (+depfiles): Also collect depfiles from .oS in
48725         $(extra-objs).
48726         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48727         .oS, $(libnldbl-routines)).
48729         * Makerules (native-compile-mkdep-flags): Define.
48730         * sunrpc/Makefile (extra-objs): Add $(addprefix
48731         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48732         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48733         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48734         calling $(make-target-directory).
48736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48738         * bits/types.h (__snseconds_t): Removed.
48739         * time/time.h (struct timespec): Replace __snseconds_t with
48740         __syscall_slong_t.
48741         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48742         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48743         Likewise.
48744         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48745         (__SNSECONDS_T_TYPE): Likewise.
48746         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48747         (__SNSECONDS_T_TYPE): Likewise.
48748         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48749         (__SNSECONDS_T_TYPE): Likewise.
48751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48753         * sysdeps/mach/hurd/bits/typesizes.h
48754         (__SYSCALL_SLONG_TYPE): New macro.
48755         (__SYSCALL_ULONG_TYPE): Likewise.
48757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48759         * bits/types.h (__syscall_slong_t): New type.
48760         (__syscall_ulong_t): Likewise.
48762         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48763         (__SYSCALL_ULONG_TYPE): Likewise.
48764         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48765         (__SYSCALL_SLONG_TYPE): Likewise.
48766         (__SYSCALL_ULONG_TYPE): Likewise.
48767         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48768         (__SYSCALL_SLONG_TYPE): Likewise.
48769         (__SYSCALL_ULONG_TYPE): Likewise.
48770         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48771         (__SYSCALL_SLONG_TYPE): Likewise.
48772         (__SYSCALL_ULONG_TYPE): Likewise.
48774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48776         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48777         Add sigaltstack-offsets.sym.
48778         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48779         <sigaltstack-offsets.h>.
48780         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48781         longjmp_msg pointer.
48782         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48783         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48784         signal stack.
48785         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48787 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48789         * elf/stackguard-macros.h: Remove file.
48790         * sysdeps/generic/stackguard-macros.h: New file.
48791         * sysdeps/i386/stackguard-macros.h: Likewise.
48792         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48793         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48794         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48795         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48796         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48797         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48798         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48799         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48800         <elf/stackguard-macros.h>.
48802         [BZ #14109]
48803         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48804         __aligned__ in attribute.
48805         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48806         (gregset_t): Likewise.
48808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48810         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48811         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48812         * sysdeps/x86_64/x32/Implies-after: New file.
48814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48816         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48817         and access return value for _dl_profile_fixup.  Use R10_LP to
48818         load frame size.
48820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48822         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48826         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48827         * sysdeps/x86_64/x32/sysdep.h: New file.
48829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48831         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48832         * sysdeps/x86_64/setjmp.S: Likewise.
48834 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48836         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48837         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48838         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48839         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48840         remove unused global constant.
48842 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48844         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48845         include of <not-cancel.h>.
48847 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48849         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48851 2012-05-15  Jeff Law  <law@redhat.com>
48852             Andreas Jaeger  <aj@suse.de>
48854         [BZ #13594]
48855         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48856         out from...
48857         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48858         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48859         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48860         code changing __hst_map_handle.map.
48862 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48864         * configure.in (sysnames): Look for Implies-before and Implies-after
48865         files.
48866         * configure: Regenerated.
48868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48870         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48871         8-byte data alignment with LP_SIZE alignment.
48873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48875         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48876         into R10_LP.
48878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48880         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48884         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48885         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48886         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48887         Likewise.
48888         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48892         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48893         (stackinfo_sub_sp): Likewise.
48895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48897         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48898         RAX_LP.
48900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48902         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48903         into R*_LP.
48905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48907         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48908         sizes into R*_LP.
48910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48912         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48916         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48917         into R11_LP and load __x86_64_shared_cache_size_half into
48918         R8_LP.
48920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48922         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48923         R8_LP.
48925 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48927         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48928         logb for POWER7.
48929         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48930         logbf for POWER7.
48931         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48932         logbl for POWER7.
48933         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48934         powerpc32/power7/fpu/s_logb.c via #include.
48935         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48936         powerpc32/power7/fpu/s_logbf.c via #include.
48937         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48938         powerpc32/power7/fpu/s_logbl.c via #include.
48940 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48942         * README.libm: Remove file.
48944 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48946         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48947         count for x32.  Use R*_LP and omit operand-size suffix.
48949 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48951         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48952         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48953         * sysdeps/x86_64/x32/shlib-versions: New file.
48955 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48957         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48958         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48959         Use _dl_fatal_printf instead.
48961 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48963         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48964         set if not set by the user.  Do not allow for being unset.
48965         * sysdeps/unix/sysv/linux/configure: Regenerated.
48967 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48969         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48970         the `q' suffix from lea and replace .quad with ASM_ADDR.
48972 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48975         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48976         instead of $17.
48977         (PTR_DEMANGLE): Likewise.
48979 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48981         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48982         (LP_OP): Likewise.
48983         (ASM_ADDR): Likewise.
48984         (RAX_LP): Likewise.
48985         (RBP_LP): Likewise.
48986         (RBX_LP): Likewise.
48987         (RCX_LP): Likewise.
48988         (RDI_LP): Likewise.
48989         (RSI_LP): Likewise.
48990         (RSP_LP): Likewise.
48991         (R8_LP): Likewise.
48992         (R9_LP): Likewise.
48993         (R10_LP): Likewise.
48994         (R10_LP): Likewise.
48995         (R11_LP): Likewise.
48996         (R12_LP): Likewise.
48997         (R13_LP): Likewise.
48998         (R14_LP): Likewise.
48999         (R15_LP): Likewise.
49001 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49003         * sysdeps/x86_64/x32/dl-machine.h: New file.
49005 2012-05-14  Andreas Jaeger  <aj@suse.de>
49007         * manual/Makefile (subdir): Remove export of subdir.
49008         (all): Remove target.
49009         (.PHONY): Remove all from list.
49010         (mkinstalldirs): Remove.
49011         (.PHONY): Remove installdirs from list.
49012         ($(inst_infodir)/libc.info): Use make-target-directory.
49013         (installdirs): Remove.
49014         (subdir_%): Remove.
49015         (glibc-targets): Remove.
49016         (lib): Remove.
49017         (stubs): Remove.
49018         ($(objpfx)stubs ../po/manual.pot): Remove.
49019         ($(objpfx)stamp%): Remove.
49020         (make-target-directory): Remove.
49021         (subdir_install): Remove.
49022         (routines): Remove.
49023         (aux): Remove.
49024         (sources): Remove.
49025         (objects): Remove.
49026         (headers): Remove.
49028         [BZ #13750]
49029         * manual/.gitignore: Remove, it's not needed anymore.
49030         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49031         all files in it.
49032         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49033         directory.
49034         (texis): Renamed to $(objpfx)texis.
49035         (texis-path): New, contains path to generated files.
49036         (chapters.%): Use texis-path for complete path, add extra argument
49037         libc-texinfo.sh.
49038         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49039         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49040         (summary,texi, stamp-summary): Use complete path of
49041         files. Generate files in build dir.
49042         (dir-add.texi): Build in build dir.
49043         (libm-err.texi,stamp-libm-err): Likewise.
49044         (version.texi, stamp-version): Likewise.
49045         (.%c.texi): Likewise.
49046         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49047         (mostlyclean): Remove target.
49048         (realclean): Remove target.
49049         (generated): Add new variable with contents from mostlyclean and
49050         realclean, remove entries duplicated in common-mostlyclean, add
49051         stamp-libm-err and stamp-version.
49052         (generated-dirs): Add libc directory.
49053         ($(inst_infodir)/libc.info): Install files from build dir.
49055         * manual/install.texi (Configuring and compiling): Adjust since
49056         the info files are not part of the tar ball anymore.
49058 2012-05-14  Andreas Jaeger  <aj@suse.de>
49060         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49061         variable.
49063 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49065         [BZ #13717]
49066         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49067         to 2.2.0 where earlier.
49068         * sysdeps/unix/sysv/linux/configure: Regenerated.
49069         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49070         Remove conditional code.
49071         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49072         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49073         Remove conditional code.
49074         [!__NR_lchown]: Likewise.
49075         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49076         [__NR_lchown]: Likewise.
49077         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49078         comment referencing __ASSUME_LCHOWN_SYSCALL.
49079         * sysdeps/unix/sysv/linux/i386/sigaction.c
49080         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49081         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49082         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49083         Remove conditional code.
49084         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49085         (__protocol_available): Remove #if 0 code.
49086         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49087         conditional code.
49088         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49089         * sysdeps/unix/sysv/linux/kernel-features.h
49090         (__ASSUME_GETCWD_SYSCALL): Don't define.
49091         (__ASSUME_REALTIME_SIGNALS): Likewise.
49092         (__ASSUME_PREAD_SYSCALL): Likewise.
49093         (__ASSUME_PWRITE_SYSCALL): Likewise.
49094         (__ASSUME_POLL_SYSCALL): Likewise.
49095         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49096         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49097         non-SPARC.
49098         (__ASSUME_SIOCGIFNAME): Don't define.
49099         (__ASSUME_MSG_NOSIGNAL): Likewise.
49100         (__ASSUME_SENDFILE): Define unconditionally.
49101         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49102         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49103         conditional code.
49104         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49105         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49106         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49107         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49108         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49109         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49110         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49112         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49113         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49115         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49116         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49118         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49119         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49121         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49122         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49124         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49125         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49127         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49128         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49130         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49131         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49133         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49134         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49135         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49136         Remove conditional code.
49137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49138         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49139         Remove conditional code.
49140         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49141         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49142         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49143         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49144         Remove conditional code.
49145         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49146         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49147         Remove conditional code.
49148         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49149         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49150         Remove conditional code.
49151         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49152         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49153         Remove conditional code.
49154         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49155         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49156         Remove conditional code.
49157         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49158         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49159         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49160         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49161         * sysdeps/unix/sysv/linux/sigaction.c
49162         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49163         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49164         * sysdeps/unix/sysv/linux/sigpending.c
49165         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49166         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49167         * sysdeps/unix/sysv/linux/sigprocmask.c
49168         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49169         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49170         * sysdeps/unix/sysv/linux/sigsuspend.c
49171         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49172         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49173         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49174         (__libc_missing_rt_sigs): Remove.
49175         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49176         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49177         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49178         Remove conditional code.
49179         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49180         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49181         return 1.
49182         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49183         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49184         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49185         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49187 2012-05-14  Andreas Jaeger  <aj@suse.de>
49189         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49190         it's not used in glibc.
49191         (__coshm1): Likewise.
49192         (__acosh1p): Likewise.
49193         (__sgn): Likewise.
49195         * manual/string.texi (Copying and Concatenation): Add missing
49196         variable in concat example.
49197         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49199 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49201         [BZ #14103]
49202         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49203         __builtin_clzl with __builtin_clzll.
49205 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49207         [BZ #14104]
49208         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49209         libc_freeres_ptr.
49211 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49213         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49214         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49215         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49216         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49218 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49220         * NEWS: Update ia64 info.
49222 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49224         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49225         used as bcopy.
49227 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49229         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49230         * sysdeps/unix/syscalls.list (dup3): Likewise.
49231         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49232         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49234 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49236         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49237         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49239 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49241         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49242         thread pointer.
49243         (TLS_IE): Use mov/add instead of movq/addq to load thread
49244         pointer.
49245         (TLS_GD_PREFIX): New.
49246         (TLS_GD): Use it.
49248 2012-05-11  David S. Miller  <davem@davemloft.net>
49250         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49251         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49252         (_FPU_SETCW): Likewise.
49254 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49256         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49257         is 32-byte aligned.
49259 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49261         [BZ #11837]
49262         * iconvdata/gb18030.c: Update tables.
49263         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49264         characters specially.
49265         (BODY for TO_LOOP): Add encoding of missing ranges.
49267 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49269         [BZ #13673]
49270         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49271         * sysdeps/mach/hurd/dup3.c: Likewise.
49272         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49273         * sysdeps/powerpc/memmove.c:: Likewise.
49275 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49277         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49278         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49280 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49282         * elf/elf.h (R_X86_64_RELATIVE64): New.
49283         (R_X86_64_NUM): Updated.
49284         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49285         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49286         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49287         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49288         tst-quad1pie tst-quad2pie
49289         (modules-names): Add tst-quadmod1 tst-quadmod2.
49290         ($(objpfx)tst-quad1): New dependency.
49291         ($(objpfx)tst-quad2): Likewise.
49292         ($(objpfx)tst-quad1pie): Likewise.
49293         ($(objpfx)tst-quad2pie): Likewise.
49294         * sysdeps/x86_64/tst-quad1.c: New file.
49295         * sysdeps/x86_64/tst-quad1pie.c: New file.
49296         * sysdeps/x86_64/tst-quad2.c: Likewise.
49297         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49298         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49299         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49300         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49301         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49303 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49305         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49306         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49307         * streams/stropts.h (t_scalar_t): Define type.
49309         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49310         (_PATH_PRESERVE): Set to "/var/lib".
49311         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49313         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49314         instead of int.
49316         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49317         if __dir_mkfile succeeded.
49319         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49320         checking for _hurd_dtablesize.  Unlock it right after having
49321         finished _hurd_dtable allocation.
49323 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49325         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49326         * sysdeps/mach/hurd/configure: Regenerated.
49327         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49328         special-casing to...
49329         * sysdeps/gnu/configure.in: ... this new file.
49330         * sysdeps/unix/sysv/linux/configure: Regenerated.
49331         * sysdeps/gnu/configure: New generated file.
49333         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49334         for Linux: use nsec instead of usec, as well as:
49335         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49336         members of type struct timespec.
49337         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49338         New macros.
49339         (struct stat64): Likewise.
49340         (_STATBUF_ST_NSEC): New macro.
49341         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49343         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49344         __strtoul_internal rather than strtoul.
49346 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49348         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49349         and reject them.
49351 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49353         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49354         which preserves existing values.
49355         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49357 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49359         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49360         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49361         greater than FD_SETSIZE.
49363 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49365         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49366         allocated, call __vm_protect to finish enabling the existing space, and
49367         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49368         allocate the remainder.
49370 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49372         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49373         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49375 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49377         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49378         sysdeps/mach/hurd/readlink.c.
49380         * posix/tst-sysconf.c (posix_options): Only use
49381         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49382         _POSIX_SYNCHRONIZED_IO when they are defined
49383         * sysdeps/mach/hurd/bits/posix_opt.h:
49384         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49385         (_XOPEN_REALTIME): Undefine macro.
49386         (_XOPEN_REALTIME_THREADS): Undefine macro.
49387         (_XOPEN_SHM): Undefine macro.
49388         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49389         macro to -1.
49390         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49391         macro to -1.
49392         (_POSIX_ASYNC_IO): Undefine macro.
49393         (_POSIX_PRIORITIZED_IO): Undefine macro.
49394         (_POSIX_SPIN_LOCKS): Define macro to -1.
49396         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49397         SA_NODEFER, SA_RESETHAND.
49398         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49399         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49400         F_DUPFD_CLOEXEC.
49402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49404         * elf/Makefile (pldd-modules): Define unconditionally.
49406 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49408         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49412         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49413         Return ENOENT when name is empty.
49414         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49416 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49418         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49420         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49424         Fix mlock in all cases except non-readable pages.
49425         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49426         instead of VM_PROT_ALL as parameter to __vm_wire function.
49428         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49429         (__mkdir): When path is `/', just fail with EEXIST.
49430         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49432 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49434         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49435         <sys/uio.h> (for writev).
49436         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49437         and <sys/param.h> (for MIN).
49439 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49441         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49442         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49443         if interrupted.
49445 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49447         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49448         Depend on against $(link-rpcuserlibs).
49450 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49452         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49453         (__libc_stack_end): Do not use attribute_relro.
49454         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49455         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49456         to libthread-provided value.
49457         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49458         attribute_relro.
49460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49462         [BZ #3748]
49463         * bits/libc-lock.h (__libc_once_get): New macro.
49464         * sysdeps/mach/bits/libc-lock.h: Likewise.
49465         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49466         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49467         instead of using implementation details.
49469         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49470         * libio/freopen.c: Likewise.
49471         * libio/freopen64.c: Likewise.
49472         * misc/syslog.c: Likewise.
49473         * nscd/connections.c: Likewise.
49474         * nscd/netgroupcache.c: Likewise.
49475         * sysdeps/posix/getcwd.c: Likewise.
49477 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49479         * math/w_ilogbf.c: Add #include <limits.h>.
49481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49483         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49484         path instead of returning without unlocking.
49486         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49487         immediate-write ioctls.
49488         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49490 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49492         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49493         __builtin_frame_address instead of making assumptions about the
49494         location of the return address relative to DATA.  Force early load of
49495         the return address.
49496         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49497         __builtin_frame_address.
49499         dup3 for GNU Hurd.
49500         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49501         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49502         implement dup3 and do some further code clean-ups.
49503         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49504         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49506 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49508         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49510         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49511         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49512         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49513         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49514         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49515         d->port.lock.
49517         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49518         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49519         when handler == SIG_ERR, not when handler != SIG_ERR.
49521 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49523         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49524         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49525         definitions.
49527         accept4 for GNU Hurd.
49528         * include/sys/socket.h (__libc_accept4): New prototype.
49529         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49530         to implement __libc_accept4.
49531         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49532         __libc_accept4.
49533         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49535         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49536         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49537         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49538         signal-defines.sym.
49540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49542         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49544 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49546         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49547         assertion on O_CLOEXEC flag.
49548         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49549         * hurd/intern-fd.c: Likewise.
49550         * hurd/port2fd.c: Likewise.
49552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49554         [BZ #3906]
49555         * bits/in.h (IPV6_PKTINFO): Define new macro.
49556         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49558 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49560         [BZ #13954]
49561         [BZ #13955]
49562         [BZ #13956]
49563         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49564         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49565         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49566         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49567         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49568         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49569         * math/libm-test.inc (logb_test) : Additional logb tests.
49571 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49572             Andreas Jaeger  <aj@suse.de>
49574         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49575         * configure: Regenerated.
49576         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49577         * config.make.in (link-obsolete-rpc): New substituted variable.
49578         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49579         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49580         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49581         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49582         so that libc.a contains the symbols.
49583         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49584         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49585         * sunrpc/auth_none.c: Likewise.
49586         * sunrpc/auth_unix.c: Likewise.
49587         * sunrpc/authdes_prot.c: Likewise.
49588         * sunrpc/authuxprot.c: Likewise.
49589         * sunrpc/clnt_gen.c: Likewise.
49590         * sunrpc/clnt_perr.c: Likewise.
49591         * sunrpc/clnt_raw.c: Likewise.
49592         * sunrpc/clnt_simp.c: Likewise.
49593         * sunrpc/clnt_tcp.c: Likewise.
49594         * sunrpc/clnt_udp.c: Likewise.
49595         * sunrpc/clnt_unix.c: Likewise.
49596         * sunrpc/des_crypt.c: Likewise.
49597         * sunrpc/des_soft.c: Likewise.
49598         * sunrpc/get_myaddr.c: Likewise.
49599         * sunrpc/key_call.c: Likewise.
49600         * sunrpc/key_prot.c: Likewise.
49601         * sunrpc/netname.c: Likewise.
49602         * sunrpc/pm_getmaps.c: Likewise.
49603         * sunrpc/pm_getport.c: Likewise.
49604         * sunrpc/pmap_clnt.c: Likewise.
49605         * sunrpc/pmap_prot.c: Likewise.
49606         * sunrpc/pmap_prot2.c: Likewise.
49607         * sunrpc/pmap_rmt.c: Likewise.
49608         * sunrpc/publickey.c: Likewise.
49609         * sunrpc/rpc_cmsg.c: Likewise.
49610         * sunrpc/rpc_common.c: Likewise.
49611         * sunrpc/rpc_dtable.c: Likewise.
49612         * sunrpc/rpc_prot.c: Likewise.
49613         * sunrpc/rpc_thread.c: Likewise.
49614         * sunrpc/rtime.c: Likewise.
49615         * sunrpc/svc.c: Likewise.
49616         * sunrpc/svc_auth.c: Likewise.
49617         * sunrpc/svc_raw.c: Likewise.
49618         * sunrpc/svc_run.c: Likewise.
49619         * sunrpc/svc_tcp.c: Likewise.
49620         * sunrpc/svc_udp.c: Likewise.
49621         * sunrpc/svc_unix.c: Likewise.
49622         * sunrpc/svcauth_des.c: Likewise.
49623         * sunrpc/xcrypt.c: Likewise.
49624         * sunrpc/xdr.c: Likewise.
49625         * sunrpc/xdr_array.c: Likewise.
49626         * sunrpc/xdr_float.c: Likewise.
49627         * sunrpc/xdr_intXX_t.c: Likewise.
49628         * sunrpc/xdr_mem.c: Likewise.
49629         * sunrpc/xdr_rec.c: Likewise.
49630         * sunrpc/xdr_ref.c: Likewise.
49631         * sunrpc/xdr_sizeof.c: Likewise.
49632         * sunrpc/xdr_stdio.c: Likewise.
49634 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49636         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49637         change.  Update copyright years.
49639 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49641         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49643 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49644             Joseph Myers  <joseph@codesourcery.com>
49645             Paul Pluzhnikov  <ppluzhnikov@google.com>
49647         [BZ #14012]
49648         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49649         requiring rpcgen.
49650         [cross-compiling] (extra-libs): Likewise.
49651         [cross-compiling] (extra-libs-others): Likewise.
49652         [cross-compiling] (librpcsvc-routines): Likewise.
49653         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49654         [cross-compiling] (omit-deps): Likewise.
49655         (sunrpc-CPPFLAGS): New variable.
49656         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49657         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49658         (cross-rpcgen-objs): New variable.
49659         (extra-objs): Append $(cross-rpcgen-objs).
49660         ($(cross-rpcgen-objs)): New rule.
49661         ($(objpfx)cross-rpcgen): Likewise.
49662         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49663         comment.
49664         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49665         ($(objpfx)x%.stmp): Likewise.
49666         * sunrpc/proto.h [IS_IN_build] (_): Define.
49667         [IS_IN_build] (_libc_intl_domainname): Likewise.
49669 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49671         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49672         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49673         and R_X86_64_TPOFF64.
49675 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49677         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49678         sysdeps/unix/sysv/syscalls.list.
49679         (stime): Likewise.
49680         (utime): Likewise.
49681         * sysdeps/unix/sysv/syscalls.list: Remove file.
49683 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49685         [BZ #3440]
49686         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49687         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49688         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49689         (__LC_IDENTIFICATION): Make these macros useful in #if
49690         expressions, as required by C99.
49692 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49694         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49695         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49696         after this.
49698 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49700         * stdlib/longlong.h: Updated from GCC.
49702 2012-05-09  Andreas Jaeger  <aj@suse.de>
49704         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49705         default is first entry.
49706         (run_mode): Set type.
49707         (main): Remove informal message about syslog.
49708         (options): Fix typo.
49710         [BZ #14053]
49711         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49712         to asm.
49713         (lrint): Likewise.
49714         (llrintf): Likewise.
49715         (llrint): Likewise.
49716         (rint): Likewise.
49717         (rintf): Likewise.
49718         (nearbyint): Likewise.
49719         (nearbyintf): Likewise.
49721 2012-05-09  Andreas Jaeger  <aj@suse.de>
49722             Pedro Alves  <palves@redhat.com>
49724         * nscd/nscd.c (run_mode): Use enum.
49725         (main): Cleanup coding style issue.
49727 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49728             Andreas Jaeger  <aj@suse.de>
49730         * nscd/nscd.c (go_background): Replaced with...
49731         (run_mode): ... this.
49732         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49733         (options): Add -F --foreground.
49734         (main): Implement it.
49735         (parse_opt): Parse it.
49737 2012-05-09  Andreas Jaeger  <aj@suse.de>
49739         [BZ #14083]
49740         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49741         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49742         -Wconversion warning.
49743         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49744         Likewise.
49746 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49748         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49749         == 0.
49750         (LC_ALL): Use macro-int-constant.
49751         (LC_COLLATE): Likewise.
49752         (LC_CTYPE): Likewise.
49753         (LC_MESSAGES): Likewise.
49754         (LC_MONETARY): Likewise.
49755         (LC_NUMERIC): Likewise.
49756         (LC_TIME): Likewise.
49757         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49758         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49759         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49760         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49761         Specify type.
49762         [C99-based standards] (float_t): Expect type.
49763         [C99-based standards] (double_t): Expect type.
49764         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49765         type.
49766         [C99-based standards] (HUGE_VALL): Likewise.
49767         [C99-based standards] (INFINITY): Likewise.
49768         [C99-based standards] (NAN): Likewise.
49769         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49770         [C99-based standards] (FP_NAN): Likewise.
49771         [C99-based standards] (FP_NORMAL): Likewise.
49772         [C99-based standards] (FP_SUBNORMAL): Likewise.
49773         [C99-based standards] (FP_ZERO): Likewise.
49774         [C99-based standards] (FP_FAST_FMA): Use
49775         optional-macro-int-constant.  Specify type.  Require == 1.
49776         [C99-based standards] (FP_FAST_FMAF): Likewise.
49777         [C99-based standards] (FP_FAST_FMAL): Likewise.
49778         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49779         [C99-based standards] (FP_ILOGBNAN): Likewise.
49780         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49781         Specify type.
49782         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49783         [C99-based standards] (math_errhandling): Specify type.
49784         [ISO99 || ISO11] (signgam): Do not allow.
49785         [non-C99-based standards] (copysignf): Do not allow.
49786         [non-C99-based standards] (exp2f): Likewise.
49787         [non-C99-based standards] (log2f): Likewise.
49788         [non-C99-based standards] (modff): Allow.
49789         [non-C99-based standards] (erff): Do not allow.
49790         [non-C99-based standards] (erfcf): Likewise.
49791         [non-C99-based standards] (gammaf): Likewise.
49792         [non-C99-based standards] (hypotf): Likewise.
49793         [non-C99-based standards] (j0f): Likewise.
49794         [non-C99-based standards] (j1f): Likewise.
49795         [non-C99-based standards] (jnf): Likewise.
49796         [non-C99-based standards] (lgammaf): Likewise.
49797         [non-C99-based standards] (tgammaf): Likewise.
49798         [non-C99-based standards] (y0f): Likewise.
49799         [non-C99-based standards] (y1f): Likewise.
49800         [non-C99-based standards] (ynf): Likewise.
49801         [non-C99-based standards] (isnanf): Likewise.
49802         [non-C99-based standards] (acoshf): Likewise.
49803         [non-C99-based standards] (asinhf): Likewise.
49804         [non-C99-based standards] (atanhf): Likewise.
49805         [non-C99-based standards] (cbrtf): Likewise.
49806         [non-C99-based standards] (expm1f): Likewise.
49807         [non-C99-based standards] (ilogbf): Likewise.
49808         [non-C99-based standards] (log1pf): Likewise.
49809         [non-C99-based standards] (logbf): Likewise.
49810         [non-C99-based standards] (nextafterf): Likewise.
49811         [non-C99-based standards] (remainderf): Likewise.
49812         [non-C99-based standards] (rintf): Likewise.
49813         [non-C99-based standards] (scalbf): Likewise.
49814         [non-C99-based standards] (copysignl): Likewise.
49815         [non-C99-based standards] (exp2l): Likewise.
49816         [non-C99-based standards] (log2l): Likewise.
49817         [non-C99-based standards] (modfl): Allow.
49818         [non-C99-based standards] (erfl): Do not allow.
49819         [non-C99-based standards] (erfcl): Likewise.
49820         [non-C99-based standards] (gammal): Likewise.
49821         [non-C99-based standards] (hypotl): Likewise.
49822         [non-C99-based standards] (j0l): Likewise.
49823         [non-C99-based standards] (j1l): Likewise.
49824         [non-C99-based standards] (jnl): Likewise.
49825         [non-C99-based standards] (lgammal): Likewise.
49826         [non-C99-based standards] (tgammal): Likewise.
49827         [non-C99-based standards] (y0l): Likewise.
49828         [non-C99-based standards] (y1l): Likewise.
49829         [non-C99-based standards] (ynl): Likewise.
49830         [non-C99-based standards] (isnanl): Likewise.
49831         [non-C99-based standards] (acoshl): Likewise.
49832         [non-C99-based standards] (asinhl): Likewise.
49833         [non-C99-based standards] (atanhl): Likewise.
49834         [non-C99-based standards] (cbrtl): Likewise.
49835         [non-C99-based standards] (expm1l): Likewise.
49836         [non-C99-based standards] (ilogbl): Likewise.
49837         [non-C99-based standards] (log1pl): Likewise.
49838         [non-C99-based standards] (logbl): Likewise.
49839         [non-C99-based standards] (nextafterl): Likewise.
49840         [non-C99-based standards] (remainderl): Likewise.
49841         [non-C99-based standards] (rintl): Likewise.
49842         [non-C99-based standards] (scalbl): Likewise.
49843         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49844         [non-C99-based standards] (FP_*): Do not allow.
49845         [C99-based standards] (FP_*): Change to
49846         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49847         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49848         allow.
49849         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49850         (SIG_ERR): Likewise.
49851         [X/Open-based standards] (SIG_HOLD): Likewise.
49852         (SIG_IGN): Likewise.
49853         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49854         positive value.
49855         (SIGFPE): Likewise.
49856         (SIGILL): Likewise.
49857         (SIGINT): Likewise.
49858         (SIGSEGV): Likewise.
49859         (SIGTER): Likewise.
49860         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49861         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49862         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49863         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49864         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49865         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49866         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49867         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49868         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49869         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49870         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49871         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49872         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49873         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49874         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49875         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49876         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49877         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49878         [X/Open-based standards] (SIGTRAP): Likewise.
49879         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49880         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49881         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49882         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49883         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49884         allow.
49886 2012-05-08  Ian Wienand  <ianw@vmware.com>
49888         [BZ #14080]
49889         * time/tzset.c (__tzset_parse_tz): Update default rules for
49890         daylight time changes in the Energy Policy Act of 2005.
49892 2012-05-09  Andreas Jaeger  <aj@suse.de>
49894         [BZ #13983]
49895         * elf/ldconfig.c (parse_conf): Change string to make clear that
49896         ldconfig only issued a warning if ld.so.conf does not exist.
49898 2012-05-08  David S. Miller  <davem@davemloft.net>
49900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49901         movxtod instead of popping the value on the stack.
49903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49905 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49907         * config.h.in: Add HAVE_ARM_PCS_VFP.
49909 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49911         [BZ #13979]
49912         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49913         checking but the checks are disabled for any reason.
49915 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49917         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49918         and ELF64_R_TYPE with ELFW(R_TYPE).
49920 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49922         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49923         (ulimit): Likewise.
49925         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49926         (settimeofday): Likewise.
49928 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49930         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49931         a struct th_u2 inside the union, and move tu_block/tu_code into
49932         a new th_u3 union of tu_block/tu_code inside of that.  Move
49933         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49934         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49935         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49936         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49937         (th_stuff): Change to th_u1.tu_stuff.
49938         (th_data): Define.
49939         (th_msg): Change to th_u1.th_u2.tu_data.
49941 2012-05-07  David S. Miller  <davem@davemloft.net>
49943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49945         [BZ #14074]
49946         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49947         (SETUP_PIC_REG): Use it.
49948         (SETUP_PIC_REG_LEAF): Use it.
49950 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49952         [BZ #13885]
49953         [BZ #13923]
49954         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49955         USE_AS_EXPM1L.
49956         (EXPL_FINITE): Likewise.
49957         (FLDLOG): Likewise.
49958         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49959         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49960         e_expl.S.
49961         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49962         USE_AS_EXPM1L.
49963         (EXPL_FINITE): Likewise.
49964         (FLDLOG): Likewise.
49965         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49966         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49967         e_expl.S.
49968         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49969         test of -max_value argument for long double.
49970         * sysdeps/i386/fpu/libm-test-ulps: Update.
49971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49973 2012-05-06  David S. Miller  <davem@davemloft.net>
49975         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49976         quad soft-float symbols whose references which are compiler
49977         generated.
49978         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49980 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49982         [BZ #13884]
49983         [BZ #13914]
49984         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49985         USE_AS_EXP10L.
49986         (EXPL_FINITE): Likewise.
49987         (FLDLOG): Likewise.
49988         (c0): Likewise.
49989         (c1): Likewise.
49990         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49991         Adjust comments for base varying.
49992         (__expl_finite): Change alias to EXPL_FINITE.
49993         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49994         e_expl.S.
49995         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49996         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49997         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49998         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49999         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50000         USE_AS_EXP10L.
50001         (EXPL_FINITE): Likewise.
50002         (FLDLOG): Likewise.
50003         (c0): Likewise.
50004         (c1): Likewise.
50005         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50006         Adjust comments for base varying.
50007         (__expl_finite): Change alias to EXPL_FINITE.
50008         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50009         tests for bugs.
50010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50012         [BZ #14064]
50013         * math/libm-test.inc (check_float_internal): Correct ulp
50014         calculation for subnormal expected results.
50016 2012-05-06  Andreas Jaeger  <aj@suse.de>
50018         * Makeconfig (+math-flags): New, set to -frounding-math.
50019         (+cflags): Add +math-flags so that all of glibc gets compiled with
50020         it.
50022         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50024 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50026         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50027         Disable one test.
50029         [BZ #13787]
50030         [BZ #13922]
50031         [BZ #14036]
50032         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50033         (__ieee754_expl): Allow for and saturate large arguments.
50034         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50035         (u_threshold): Likewise.
50036         (__exp): Call __ieee754_exp before checking for overflow and
50037         underflow.
50038         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50039         (u_threshold): Likewise.
50040         (__expf): Call __ieee754_expf before checking for overflow and
50041         underflow.
50042         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50043         (u_threshold): Likewise.
50044         (__expl): Call __ieee754_expl before checking for overflow and
50045         underflow.
50046         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50047         (__ieee754_expl): Allow for and saturate large arguments.
50048         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50049         missing overflow exception on overflow.
50050         (expm1_test): Do not allow missing overflow exception on overflow.
50052         * sysdeps/i386/fpu/e_expl.c: Move to ...
50053         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50054         rather than using inline asm.
50055         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50056         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50057         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50059         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50060         (nice): Likewise.
50061         (poll): Likewise.
50062         (signal): Likewise.
50063         (time): Likewise.
50064         (times): Likewise.
50066 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50068         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50069         sysdeps/unix/common/syscalls.list.
50070         (fchmod): Likewise.
50071         (fchown): Likewise.
50072         (ftruncate): Likewise.
50073         (getrusage): Likewise.
50074         (gettimeofday): Likewise.
50075         (setpgid): Likewise.
50076         (setregid): Likewise.
50077         (setreuid): Likewise.
50078         (sigaction): Likewise.
50079         (truncate): Likewise.
50080         (vhangup): Likewise.
50081         * sysdeps/unix/common/syscalls.list: Remove file.
50082         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50083         * sysdeps/unix/sysv/linux/Implies: Likewise.
50085 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50087         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50089         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50090         Moved to ...
50091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50092         Here.
50093         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50094         to ...
50095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50096         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50097         to ...
50098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50099         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50100         to ...
50101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50102         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50103         to ...
50104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50105         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50106         to ...
50107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50108         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50109         to ...
50110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50111         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50112         to ...
50113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50114         Here.
50115         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50116         to ...
50117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50118         Here.
50119         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50120         to ...
50121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50122         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50123         Moved to ...
50124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50125         Here.
50126         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50127         to ...
50128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50130 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50132         * sysdeps/unix/common/bits/dirent.h: Remove file.
50133         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50135         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50136         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50137         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50138         * sysdeps/unix/bsd/isatty.c: Likewise.
50139         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50140         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50141         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50143 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50145         [BZ #13563]
50146         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50147         long double comparison inaccuracies.
50148         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50151 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50153         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50154         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50156 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50158         [BZ #14049]
50159         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50160         nonzero digits before rounding a hex value.
50161         * stdlib/tst-strtod.c (tests): Add another test.
50163 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50165         * sysdeps/s390/fpu/libm-test-ulps: Update.
50167 2012-05-03  Andreas Jaeger  <aj@suse.de>
50169         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50170         does not get optimized out.
50171         (malloc_opt_barrier): New.
50173 2012-05-03  Andreas Jaeger  <aj@suse.de>
50174             Roland McGrath  <roland@hack.frob.com>
50176         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50177         intermediate file deletion.
50178         (generated): Add .symlist files.
50180 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50182         [BZ #13775]
50183         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50184         Redirect under this condition.
50185         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50186         [__USE_GNU] (__dprintf_chk): Not under this condition.
50187         [__USE_GNU] (__vdprintf_chk): Likewise.
50188         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50189         under this condition.
50190         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50191         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50192         [__USE_XOPEN2K8] (vdprintf): Likewise.
50193         [__USE_GNU] (__dprintf_chk): Not under this condition.
50194         [__USE_GNU] (__vdprintf_chk): Likewise.
50195         [__USE_GNU] (dprintf): Likewise.
50196         [__USE_GNU] (vdprintf): Likewise.
50198 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50200         * elf/Makefile (common-generated): Set this instead of generated for
50201         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50202         $(all-built-dso)-derived lists.
50204 2012-05-03  Andreas Jaeger  <aj@suse.de>
50206         * sysdeps/i386/fpu/libm-test-ulps: Update.
50208         * FAQ: Removed.
50209         * FAQ.in: Likewise.
50210         * scripts/gen-FAQ.pl: Likewise.
50211         * manual/install.texi (Installation): Point to online location of
50212         FAQ.
50213         * Makefile (files-for-dist): Remove FAQ.
50214         (FAQ): Remove.
50216 2012-05-02  Allan McRae  <allan@archlinux.org>
50218         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50219         (LDFLAGS-reldepmod5.so): Likewise.
50220         (LDFLAGS-reldep6mod1.so): Likewise.
50221         (LDFLAGS-reldep6mod4.so): Likewise.
50222         (LDFLAGS-reldep8mod3.so): Likewise.
50223         (LDFLAGS-unload4mod1.so): Likewise.
50224         (LDFLAGS-unload4mod2.so): Likewise.
50225         (LDFLAGS-tst-initorder): Likewise.
50226         (LDFLAGS-tst-initordera2.so): Likewise.
50227         (LDFLAGS-tst-initordera3.so): Likewise.
50228         (LDFLAGS-tst-initordera4.so): Likewise.
50229         (LDFLAGS-tst-initorderb2.so): Likewise.
50230         (LDFLAGS-noload): Likewise.
50231         (LDFLAGS-next): Likewise.
50232         (LDFLAGS-order2mod1.so): Likewise.
50233         (LDFLAGS-order2mod2.so): Likewise.
50234         (LDFLAGS-tst-initorder2): Likewise.
50235         (LDFLAGS-tst-initorder2a.so): Likewise.
50236         (LDFLAGS-tst-initorder2b.so): Likewise.
50237         (LDFLAGS-tst-initorder2c.so): Likewise.
50238         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50240 2012-05-02  David S. Miller  <davem@davemloft.net>
50242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50244 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50246         [BZ #14055]
50247         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50249 2012-05-02  Andreas Jaeger  <aj@suse.de>
50251         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50252         since we manipulate rounding mode.
50253         (CPPFLAGS-test-idouble.c): Likewise.
50254         (CPPFLAGS-test-ifloat.c): Likewise.
50255         (CFLAGS-test-ldouble.c): Likewise.
50256         (CFLAGS-test-double.c): Likewise.
50257         (CFLAGS-test-float.c): Likewise.
50258         (CFLAGS-test-misc.c): Likewise.
50259         (CFLAGS-test-test-fenv.c): Likewise.
50261 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50263         [BZ #2550]
50264         [BZ #2570]
50265         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50266         comparisons to determine direction to adjust input.
50268 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50270         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50271         output to the target.
50273         * scripts/localplt.awk: New file.
50274         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50275         (check-localplt-CFLAGS): Variable removed.
50276         ($(all-built-dso:=.jmprel)): New static pattern rule.
50277         (generated): Add those targets.
50278         (localplt-built-dso): New variable.
50279         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50281         * elf/check-localplt.c: File removed.
50283         * scripts/check-execstack.awk: New file.
50284         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50285         (check-execstack-CFLAGS): Variable removed.
50286         ($(objpfx)check-execstack.h): Target removed.
50287         ($(objpfx)execstack-default): New target.
50288         (generated): Add that instead of check-execstack.h.
50289         ($(all-built-dso:=.phdr)): New static pattern rule.
50290         (generated): Add those targets.
50291         * elf/check-execstack.c: File removed.
50293         * scripts/check-textrel.awk: New file.
50294         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50295         (check-textrel-CFLAGS): Variable removed.
50296         (all-built-dso): Use := to define.o
50297         ($(all-built-dso:=.dyn)): New static pattern rule.
50298         (generated): Add those targets.
50299         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50300         * config.make.in (READELF): New substituted variable.
50301         * elf/check-textrel.c: File removed.
50303 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50305         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50306         allow.
50307         * conform/data/ctype.h-data [C99-based standards] (isblank):
50308         Expect function.
50309         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50310         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50311         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50312         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50313         Specify type.  Require positive value.
50314         (EILSEQ): Likewise.
50315         (ERANGE): Likewise.
50316         [ISO || POSIX] (EILSEQ): Do not expect.
50317         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50318         Specify type.  Require positive value.
50319         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50320         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50321         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50322         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50323         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50324         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50325         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50326         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50327         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50328         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50329         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50330         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50331         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50332         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50333         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50334         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50335         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50336         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50337         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50338         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50339         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50340         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50341         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50342         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50343         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50344         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50345         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50346         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50347         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50348         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50349         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50350         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50351         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50352         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50353         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50354         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50355         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50356         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50357         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50358         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50359         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50360         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50361         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50362         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50363         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50364         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50365         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50366         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50367         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50368         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50369         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50370         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50371         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50372         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50373         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50374         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50375         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50376         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50377         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50378         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50379         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50380         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50381         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50382         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50383         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50384         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50385         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50386         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50387         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50388         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50389         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50390         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50391         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50392         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50393         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50394         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50395         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50396         Require >= 2.
50397         (FLT_ROUNDS): Expect as macro, not constant.
50398         (FLT_MANT_DIG): Use macro-int-constant.
50399         (DBL_MANT_DIG): Likewise.
50400         (LDBL_MANT_DIG): Likewise.
50401         (FLT_DIG): Likewise.
50402         (DBL_DIG): Likewise.
50403         (LDBL_DIG): Likewise.
50404         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50405         (DBL_MIN_EXP): Likewise.
50406         (LDBL_MIN_EXP): Likewise.
50407         (FLT_MAX_EXP): Use macro-int-constant.
50408         (DBL_MAX_EXP): Likewise.
50409         (LDBL_MAX_EXP): Likewise.
50410         (FLT_MAX_10_EXP): Likewise.
50411         (DBL_MAX_10_EXP): Likewise.
50412         (LDBL_MAX_10_EXP): Likewise.
50413         (FLT_MAX): Use macro-constant.
50414         (DBL_MAX): Likewise.
50415         (LDBL_MAX): Likewise.
50416         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50417         (DBL_EPSILON): Likewise.
50418         (LDBL_EPSILON): Likewise.
50419         (FLT_MIN): Likewise.
50420         (DBL_MIN): Likewise.
50421         (LDBL_MIN): Likewise.
50422         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50423         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50424         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50425         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50426         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50427         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50428         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50429         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50430         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50431         [ISO11] (FLT_TRUE_MIN): Likewise.
50432         [ISO11] (LDBL_TRUE_MIN): Likewise.
50433         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50434         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50435         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50436         (SCHAR_MAX): Likewise.
50437         (UCHAR_MAX): Likewise.
50438         (CHAR_MIN): Likewise.
50439         (CHAR_MAX): Likewise.
50440         (MB_LEN_MAX): Use macro-int-constant.
50441         (SHRT_MIN): Use macro-int-constant.  Specify type.
50442         (SHRT_MAX): Likewise.
50443         (USHRT_MAX): Likewise.
50444         (INT_MAX): Likewise.
50445         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50446         bound negative.
50447         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50448         bound with "U".
50449         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50450         bound with "L".
50451         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50452         bound negative.  Suffix upper bound with "L".
50453         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50454         bound with "UL".
50455         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50456         Specify type.
50457         [C99-based standards] (LLONG_MAX): Likewise.
50458         [C99-based standards] (ULLONG_MAX): Likewise.
50459         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50460         == 0.
50461         [ISO11] (max_align_t): Require type.
50462         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50464         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50465         from $CFLAGS, without defining away __attribute__ calls.
50466         (checknamespace): Use $CFLAGS_namespace.
50468         * conform/conformtest.pl (@keywords): Only include C99 keywords
50469         for standards based on C99 or C11.
50471         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50472         Disable tests.
50473         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50474         UNIX98]: Likewise.
50476         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50477         usability of symbols in #if.
50479         * conform/conformtest.pl: If macro or constant types start
50480         "promoted:", expect the symbol to be of the following type
50481         promoted by the integer promotions.
50483         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50484         in one place.  Also handle "macro-constant".
50486         * conform/conformtest.pl: Only accept expected macro values with
50487         "==".  Parse all "macro" lines in one place.
50488         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50490         * conform/conformtest.pl: Handle braced types on "constant" lines
50491         instead of handling "typed-constant".
50492         * conform/data/signal.h-data: Use "constant" instead of
50493         "typed-constant".
50495         * conform/conformtest.pl: Handle "optional-" at start of lines in
50496         one place rather than duplicating several cases.  Handle each
50497         format of "macro" line with initial "optional-".
50499         * conform/conformtest.pl: Only accept expected constant or
50500         optional-constant values with "==".  Parse all "constant" lines in
50501         one place.  Parse all "optional-constant" lines in one place.
50502         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50503         * conform/data/fmtmsg.h-data: Likewise.
50504         * conform/data/netinet/in.h-data: Likewise.
50505         * conform/data/tar.h-data: Likewise.
50506         * conform/data/limits.h-data: Use "==" form on "constant" and
50507         "optional-constant" lines.
50509         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50510         Use -std=c99 for XOPEN2K.
50511         (@knownproblems): Remove.
50512         (newtoken): Don't check %isknown.
50514         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50515         Do not expect macro.
50516         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50517         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50518         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50519         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50520         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50521         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50522         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50523         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50524         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50525         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50526         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50527         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50528         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50529         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50530         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50531         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50532         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50533         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50534         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50535         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50536         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50537         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50538         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50539         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50540         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50541         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50542         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50543         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50544         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50545         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50546         [XPG3] (acosh): Likewise.
50547         [XPG3] (asinh): Likewise.
50548         [XPG3] (atanh): Likewise.
50549         [XPG3] (cbrt): Likewise.
50550         [XPG3] (expm1): Likewise.
50551         [XPG3] (ilogb): Likewise.
50552         [XPG3] (log1p): Likewise.
50553         [XPG3] (logb): Likewise.
50554         [XPG3] (nextafter): Likewise.
50555         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50556         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50557         [XPG3] (remainder): Likewise.
50558         [XPG3] (rint): Likewise.
50559         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50560         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50561         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50562         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50563         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50564         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50565         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50566         [UNIX98 || XOPEN2K] (scalb): Expect.
50567         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50568         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50569         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50570         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50571         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50572         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50573         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50574         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50575         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50576         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50577         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50578         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50579         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50580         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50581         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50582         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50583         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50584         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50585         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50586         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50587         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50588         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50589         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50590         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50591         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50592         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50593         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50594         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50595         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50596         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50597         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50598         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50599         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50600         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50601         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50602         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50603         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50604         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50605         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50606         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50607         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50608         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50609         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50610         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50611         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50612         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50613         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50614         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50615         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50616         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50617         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50618         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50619         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50620         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50621         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50622         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50623         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50624         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50625         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50626         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50627         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50628         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50629         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50630         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50631         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50632         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50633         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50634         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50635         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50636         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50637         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50638         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50639         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50640         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50641         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50642         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50643         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50644         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50645         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50646         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50647         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50648         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50649         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50650         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50651         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50652         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50653         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50654         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50655         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50656         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50657         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50658         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50659         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50660         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50661         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50662         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50663         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50664         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50665         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50666         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50667         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50668         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50669         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50670         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50671         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50672         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50673         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50674         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50675         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50676         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50677         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50678         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50679         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50680         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50681         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50682         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50683         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50684         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50685         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50686         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50687         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50688         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50689         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50690         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50691         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50692         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50693         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50694         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50695         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50696         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50697         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50698         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50699         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50700         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50701         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50702         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50703         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50705         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50706         _XOPEN_SOURCE_EXTENDED for XPG4.
50708         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50710         * Makeconfig (localtime): Remove variable.
50711         (inst_localtime-file): Likewise.
50713 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50716         Update.
50717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50718         Update.
50719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50720         Update.
50721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50722         Update.
50723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50724         Update.
50725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50726         Update.
50727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50728         Update.
50729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50730         Update.
50731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50732         Update.
50734 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50736         [BZ #2550]
50737         [BZ #2570]
50738         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50739         comparisons to determine direction to adjust input.
50740         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50741         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50742         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50743         Likewise.
50744         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50745         Likewise.
50746         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50747         Likewise.
50748         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50749         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50750         Likewise.
50751         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50752         Likewise.
50753         * math/libm-test.inc (nexttoward_test): Add more tests.
50755 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50757         [BZ #14040]
50758         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50759         in version GLIBC_2.1, not GLIBC_2.0.
50760         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50761         Likewise.
50763 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50765         [BZ #13942]
50766         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50767         (1 - x) * (1 + x).
50768         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50769         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50770         * math/libm-test.inc (acos_test): Add more tests.
50771         (asin_test): Likewise.
50772         * sysdeps/i386/fpu/libm-test-ulps: Update.
50773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50775         [BZ #14034]
50776         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50777         of square root.
50778         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50779         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50780         * math/libm-test.inc (acos_test_tonearest): New function.
50781         (acos_test_towardzero): Likewise.
50782         (acos_test_downward): Likewise.
50783         (acos_test_upward): Likewise.
50784         (asin_test_tonearest): Likewise.
50785         (asin_test_towardzero): Likewise.
50786         (asin_test_downward): Likewise.
50787         (asin_test_upward): Likewise.
50788         (main): Call the new functions.
50789         * sysdeps/i386/fpu/libm-test-ulps: Update.
50790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50792         [BZ #13884]
50793         [BZ #13924]
50794         * math/e_exp10.c: Include <float.h>.
50795         (__ieee754_exp10): Handle underflow here rather than multiplying
50796         large negative argument by M_LN10.
50797         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50798         of __ieee754_expf.
50799         * math/e_exp10l.c: Include <float.h>.
50800         (__ieee754_exp10l): Handle underflow here rather than multiplying
50801         large negative argument by M_LN10l.
50802         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50803         spurious overflow exception on underflow.
50805 2012-04-29  Marek Polacek  <polacek@redhat.com>
50807         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50808         (__fortify_function): New macro.
50809         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50810         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50811         __extern_always_inline.
50812         * libio/bits/stdio2.h: Likewise.
50813         * libio/bits/stdio.h: Likewise.
50814         * string/string.h: Likewise.
50815         * string/bits/string3.h: Likewise.
50816         * include/stdio.h: Likewise.
50817         * stdlib/bits/stdlib.h: Likewise.
50818         * stdlib/stdlib.h: Likewise.
50819         * rt/bits/mqueue2.h: Likewise.
50820         * rt/mqueue.h: Likewise.
50821         * posix/bits/unistd.h: Likewise.
50822         * posix/unistd.h: Likewise.
50823         * io/bits/poll2.h: Likewise.
50824         * io/bits/fcntl2.h: Likewise.
50825         * io/fcntl.h: Likewise.
50826         * io/sys/poll.h: Likewise.
50827         * misc/bits/syslog.h: Likewise.
50828         * misc/bits/syslog-ldbl.h: Likewise.
50829         * misc/sys/syslog.h: Likewise.
50830         * socket/bits/socket2.h: Likewise.
50831         * socket/sys/socket.h: Likewise.
50832         * debug/tst-chk1.c: Likewise.
50833         * wcsmbs/bits/wchar2.h: Likewise.
50834         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50835         * wcsmbs/wchar.h: Likewise.
50837 2012-04-29  Andreas Jaeger  <aj@suse.de>
50839         * Makerules (tests): Remove enable-check-abi protection.
50840         (check-abi-warn): Remove.
50841         (check-abi-%): Remove check-abi-warn usage.
50843         * configure.in: Remove check-abi configure option.
50844         * configure: Regenerated.
50845         * config.make.in (enable-check-abi): Remove.
50847 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50849         [BZ #14033]
50850         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50851         double functions to double *_finite functions.
50853         [BZ #13941]
50854         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50855         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50856         LDBL_MIN_EXP.
50857         * stdio-common/Makefile (tests): Add tst-sprintf3.
50858         * stdio-common/tst-sprintf3.c: New file.
50860         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50861         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50863 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50865         * conform/conformtest.pl: Remove duplicate typed-constant
50866         handling.
50868 2012-04-28  David S. Miller  <davem@davemloft.net>
50870         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50871         (check-abi-%): Remove AWK script prerequisite and explicit
50872         abilist directory.
50873         (check-abi): Rewrite to just diff the symlist with the abilist.
50874         (config-tls, config-abi-config): Delete, no longer used.
50875         (update-abi-%): Remove AWK script and explicit abilist directory.
50876         (update-abi): Rewrite to simply compare and conditionally copy the
50877         symlist and the sysdep abilist file.  Remove update-abi-config
50878         checks.
50879         * abilist/ld.abilist: Remove.
50880         * abilist/libBrokenLocale.abilist: Remove.
50881         * abilist/libanl.abilist: Remove.
50882         * abilist/libcrypt.abilist: Remove.
50883         * abilist/libdl.abilist: Remove.
50884         * abilist/librt.abilist: Remove.
50885         * abilist/libthread_db.abilist: Remove.
50886         * abilist/libutil.abilist: Remove.
50887         * scripts/extract-abilist.awk: Remove.
50888         * scripts/merge-abilist.awk: Remove.
50889         * sysdeps/generic/libcidn.abilist: New file.
50890         * sysdeps/generic/libnss_compat.abilist: New file.
50891         * sysdeps/generic/libnss_db.abilist: New file.
50892         * sysdeps/generic/libnss_dns.abilist: New file.
50893         * sysdeps/generic/libnss_files.abilist: New file.
50894         * sysdeps/generic/libnss_hesiod.abilist: New file.
50895         * sysdeps/generic/libnss_nis.abilist: New file.
50896         * sysdeps/generic/libnss_nisplus.abilist: New file.
50897         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50898         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50899         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50900         file.
50901         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50902         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50903         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50904         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50905         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50906         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50907         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50908         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50909         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50910         file.
50911         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50912         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50913         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50914         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50915         file.
50916         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50917         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50918         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50919         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50920         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50921         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50922         file.
50923         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50924         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50925         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50926         file.
50927         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50928         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50929         New file.
50930         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50931         New file.
50932         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50933         New file.
50934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50935         New file.
50936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50937         New file.
50938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50939         New file.
50940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50941         New file.
50942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50943         New file.
50944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50945         New file.
50946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50947         New file.
50948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50949         New file.
50950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50951         New file.
50952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50953         New file.
50954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50955         file.
50956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50957         New file.
50958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50959         New file.
50960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50961         file.
50962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50963         New file.
50964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50965         New file.
50966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50967         file.
50968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50969         New file.
50970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50971         New file.
50972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50973         New file.
50974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50975         New file.
50976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50977         New file.
50978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50979         New file.
50980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50982         file.
50983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50984         New file.
50985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50986         file.
50987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50988         file.
50989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50990         file.
50991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50992         file.
50993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50994         file.
50995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50996         New file.
50997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50998         file.
50999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51000         file.
51001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51002         New file.
51003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51004         file.
51005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51007         file.
51008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51009         New file.
51010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51011         file.
51012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51013         file.
51014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51015         file.
51016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51017         file.
51018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51019         file.
51020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51021         New file.
51022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51023         file.
51024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51025         file.
51026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51027         New file.
51028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51029         file.
51030         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51031         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51032         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51033         file.
51034         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51035         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51036         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51037         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51038         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51039         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51040         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51041         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51042         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51043         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51046         file.
51047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51048         New file.
51049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51050         file.
51051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51052         file.
51053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51054         file.
51055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51056         file.
51057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51058         file.
51059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51060         New file.
51061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51062         New file.
51063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51064         file.
51065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51066         New file.
51067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51068         file.
51069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51071         file.
51072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51073         New file.
51074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51075         file.
51076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51077         file.
51078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51079         file.
51080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51081         file.
51082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51083         file.
51084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51085         New file.
51086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51087         New file.
51088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51089         file.
51090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51091         New file.
51092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51093         file.
51095 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51097         * conform/conformtest.pl: Fix typo in handling typed-constant from
51098         allow-header.
51100 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51102         * README: Cut down references to pre-2.6 Linux kernels and
51103         Linuxthreads.  Update lists of configurations in libc and ports
51104         and sort alphabetically.  Say "or newer" with Linux kernel version
51105         requirements.
51107         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51109 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51111         [BZ #887]
51112         * math/libm-test.inc (logb_test_downward): New test to expose
51113         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51114         rounding mode.
51116 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51118         [BZ #14027]
51119         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51120         to be done.
51121         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51122         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51124 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51126         * sysdeps/unix/i386/brk.S: Remove file.
51127         * sysdeps/unix/i386/dl-brk.S: Likewise.
51128         * sysdeps/unix/i386/pipe.S: Likewise.
51129         * sysdeps/unix/i386/sigreturn.S: Likewise.
51130         * sysdeps/unix/i386/syscall.S: Likewise.
51131         * sysdeps/unix/i386/vfork.S: Likewise.
51132         * sysdeps/unix/i386/wait.S: Likewise.
51134         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51135         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51137         * configure.in (arm*-none*): Do not allow without
51138         --enable-hacker-mode.
51139         (netbsd*): Remove case setting base_os.
51140         (386bsd*): Likewise.
51141         (freebsd*): Likewise.
51142         (bsdi*): Likewise.
51143         (osf*): Likewise.
51144         (sunos*): Likewise.
51145         (ultrix*): Likewise.
51146         (newsos*): Likewise.
51147         (dynix*): Likewise.
51148         (*bsd*): Likewise.
51149         (sysv*): Likewise.
51150         (isc*): Likewise.
51151         (esix*): Likewise.
51152         (sco*): Likewise.
51153         (minix*): Likewise.
51154         (irix4*): Likewise.
51155         (irix6*): Likewise.
51156         (solaris[2-9]*): Likewise.
51157         (none): Likewise.
51158         * configure: Regenerated.
51160 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51162         [BZ #11521]
51163         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51164         overflow or cancellation in calculating denominator.
51165         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51166         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51167         down expression to avoid unexpected rounding in newer GCCs.
51168         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51170 2012-04-26  David S. Miller  <davem@davemloft.net>
51172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51173         long-double compat symbols.
51174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51188 2012-04-25  David S. Miller  <davem@davemloft.net>
51190         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51191         HWCAP_* values only after the memory barriers have been defined.
51192         (atomic_full_barrier): Define.
51193         (atomic_read_barrier): Define.
51194         (atomic_write_barrier): Define.
51196 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51198         * shlib-versions: Add libgcc_s version information.
51199         * sysdeps/generic/libgcc_s.h: Remove.
51200         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51201         libgcc_s.h.
51202         * sysdeps/gnu/unwind-resume.c: Likewise.
51203         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51205 2012-04-25  David S. Miller  <davem@davemloft.net>
51207         * sysdeps/unix/sparc/brk.S: Delete.
51208         * sysdeps/unix/sparc/dl-brk.S: Delete.
51209         * sysdeps/unix/sparc/pipe.S: Delete.
51210         * sysdeps/unix/sparc/sysdep.S: Delete.
51211         * sysdeps/unix/sparc/sysdep.h: Delete.
51212         * sysdeps/unix/sparc/vfork.S: Delete.
51213         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51214         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51215         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51216         (ret_ERRVAL, r0, r1, MOVE): Define.
51217         (JUMPTARGET): Remove.
51218         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51219         sysdeps/unix/sparc/sysdep.h
51220         (ENTRY, END): Remove.
51221         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51223 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51225         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51226         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51227         -DIS_IN_build.
51229         * timezone/README: Update upstream location and email address for
51230         tzcode and tzdata.
51231         * timezone/zdump.c: Update from tzcode 2012b.
51232         * timezone/zic.c: Likewise.
51234         * configure.in (libc_cv_as_needed): Remove test.
51235         * configure: Regenerated.
51236         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51237         conditional definition.
51238         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51239         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51240         * config.make.in (have-as-needed): Remove variable.
51242 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51243             Paul Pluzhnikov  <ppluzhnikov@google.com>
51245         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51246         strings correctly.
51248 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51250         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51251         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51252         * sysdeps/sh/strlen.S: Likewise.
51254 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51256         * sysdeps/unix/fork.S: Remove file.
51257         * sysdeps/unix/i386/fork.S: Likewise.
51258         * sysdeps/unix/sparc/fork.S: Likewise.
51260         * sysdeps/unix/system.c: Remove file.
51261         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51263         * sysdeps/unix/getegid.S: Remove file.
51264         * sysdeps/unix/geteuid.S: Likewise.
51266 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51268         * scripts/check-localplt.awk: New file.
51269         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51270         of diff.
51271         * scripts/data/localplt-generic.data: Add a comment.
51273         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51274         NODE when __dir_mkfile failed.
51275         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51276         Reported by Ludovic Courtès <ludo@gnu.org>.
51278 2012-04-24  Andreas Jaeger  <aj@suse.de>
51280         * Makerules (common-clean): Also remove gen-as-const-headers
51281         files.
51283 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51285         * Makerules (native-compile): Do not change working directory for
51286         build.  Use $(OUTPUT_OPTION) in command.
51287         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51289 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51291         [BZ #13886]
51292         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51293         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51294         * math/libm-test.inc (floor_test): Add more tests.
51295         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51297 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51299         * sysdeps/unix/getdents.c: Remove file.
51300         * sysdeps/unix/sysv/getdents.c: Likewise.
51301         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51303         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51304         sysdeps/unix/mman/syscalls.list.
51305         (mmap): Likewise.
51306         (mprotect): Likewise.
51307         (msync): Likewise.
51308         (munmap): Likewise.
51309         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51310         * sysdeps/unix/mman/syscalls.list: Remove.
51311         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51313         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51314         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51315         * configure: Regenerated.
51316         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51317         $(libgcc_s_suffix).
51318         * config.make.in (libgcc_s_suffix): Remove variable.
51320 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51322         * sysdeps/unix/sysv/gethostname.c: Move to ...
51323         * sysdeps/posix/gethostname.c: ... here.
51325         * sysdeps/unix/execve.S: Remove file.
51327         * sysdeps/unix/_exit.S: Remove file.
51329 2012-04-23  Andreas Jaeger  <aj@suse.de>
51331         [BZ #13739]
51332         * manual/Makefile: Remove make dist support, there's no
51333         need for a stand-alone documentation tar ball.
51334         (TEXI2DVI): Define always, it's not in Makeconfig.
51335         (dist): Removed.
51336         (tar-it): Removed.
51337         (edition): Removed.
51338         (glibc-doc-$(edition).tar): Removed
51339         (%.Z): Removed.
51340         (%.gz): Removed.
51341         (%.uu): Removed.
51342         (ETAGS): Remove, it's in Makeconfig.
51343         (move-if-change): Remove, it's in Makeconfig.
51345 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51347         [BZ #13970]
51348         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51349         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51350         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51351         (strtod_l, strtof_l, strtold_l): Remove __wur.
51352         It is not necessarily an error to ignore strtol's return value.
51353         One can reliably look at the stored endptr to decide whether
51354         the number had valid syntax.
51356 2012-04-21  Andreas Jaeger  <aj@suse.de>
51358         [BZ #13739]
51359         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51361 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51363         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51364         * sysdeps/unix/sysv/Versions: Remove file.
51366 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51368         [BZ #13927]
51369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51371 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51373         [BZ #7064]
51374         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51375         version from __vm86.
51377 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51379         * sysdeps/unix/common/lxstat.c: Remove file.
51380         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51382         * sysdeps/unix/sysv/Makefile: Remove file.
51384         * sysdeps/unix/sysv/direct.h: Remove file.
51386         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51387         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51388         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51389         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51390         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51391         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51392         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51394         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51396         * sysdeps/unix/xmknod.c: Remove file.
51397         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51399         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51401         * sysdeps/unix/sysv/i386/time.S: Remove file.
51403         * sysdeps/unix/fxstat.c: Remove file.
51404         * sysdeps/unix/xstat.c: Likewise.
51405         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51407         * sysdeps/unix/sysv/sigaction.c: Remove file.
51409         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51410         (sysdep_headers): Remove variable.
51411         [termio.h not in sysdep_headers] (generated): Likewise.
51412         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51413         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51414         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51415         * sysdeps/unix/sysv/tcflow.c: Likewise.
51416         * sysdeps/unix/sysv/tcflush.c: Likewise.
51417         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51418         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51419         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51420         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51421         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51423         * sysdeps/unix/siglist.c: Remove file.
51425         * sysdeps/unix/getppid.S: Remove file.
51427         * sysdeps/unix/mkdir.c: Remove file.
51428         * sysdeps/unix/rmdir.c: Likewise.
51430 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51432         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51433         ERR_MAX value.
51434         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51435         errlist-compat value.
51437 2012-04-18  David S. Miller  <davem@davemloft.net>
51439         * sysdeps/generic/memcopy.h (reg_char): Delete.
51440         * debug/strcat_chk.c: Use char, not reg_char.
51441         * debug/strcpy_chk.c: Likewise.
51442         * debug/strncat_chk.c: Likewise.
51443         * debug/strncpy_chk.c: Likewise.
51444         * string/memchr.c: Likewise.
51445         * string/memrchr.c: Likewise.
51446         * string/rawmemchr.c: Likewise.
51447         * string/strcat.c: Likewise.
51448         * string/strchr.c: Likewise.
51449         * string/strchrnul.c: Likewise.
51450         * string/strcmp.c: Likewise.
51451         * string/strcpy.c: Likewise.
51452         * string/strncat.c: Likewise.
51453         * string/strncmp.c: Likewise.
51454         * string/strncpy.c: Likewise.
51456 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51458         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51459         __builtin_memcopy is called when src and dest ranges are known to not
51460         overlap.
51462 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51464         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51465         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51466         fwd_align_merge macro call.
51467         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51468         bwd_align_merge macro call.
51469         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51471 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51473         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51474         bwd_align_merge macros.
51475         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51476         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51477         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51479 2012-04-18  David S. Miller  <davem@davemloft.net>
51481         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51483 2012-04-18  Andreas Jaeger  <aj@suse.de>
51485         [BZ# 6794]
51486         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51487         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51488         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51490         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51491         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51492         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51494         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51495         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51496         Adjust for changed ldbl-128 files.
51498         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51499         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51500         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51502 2012-04-17  David S. Miller  <davem@davemloft.net>
51504         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51506 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51508         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51509         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51510         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51511         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51512         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51513         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51515 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51517         [BZ #6794]
51518         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51519         * math/libm-test.inc: Add ilogb errno and exception tests.
51520         * math/w_ilogb.c: New file: ilogb wrapper.
51521         * math/w_ilogbf.c: New file: ilogbf wrapper.
51522         * math/w_ilogbl.c: New file: ilogbl wrapper.
51523         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51524         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51525         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51526         exception being thrown with 0.0 as argument.
51527         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51528         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51529         exception being thrown with 0.0 as argument.
51530         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51531         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51532         exception being thrown with 0.0 as argument.
51533         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51534         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51535         exception being thrown with 0.0 as argument.
51536         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51537         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51538         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51539         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51540         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51541         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51542         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51543         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51544         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51546 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51548         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51549         with altivec.
51551 2012-04-16  Marek Polacek  <polacek@redhat.com>
51553         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51555 2012-04-16  Marek Polacek  <polacek@redhat.com>
51557         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51558         operands of fdivp instruction.
51560 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51562         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51563         * elf/tst-auditmod3b.c: Likewise.
51564         * elf/tst-auditmod4b.c: Likewise.
51565         * elf/tst-auditmod5b.c: Likewise.
51566         * elf/tst-auditmod6b.c: Likewise.
51567         * elf/tst-auditmod6c.c: Likewise.
51568         * elf/tst-auditmod7b.c: Likewise.
51569         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51570         * sysdeps/x86_64/preconfigure.in: Likewise.
51571         * sysdeps/x86_64/preconfigure: Regenerated.
51573 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51575         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51576         __ILP32__.
51578 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51580         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51581         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51583 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51585         [BZ #13973]
51586         * locale/iso-639.def: Fix gl language name. Spotted by
51587         Yaron Shahrabani.
51589 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51591         [BZ #2074]
51592         * libio/libio.h (__io_write_fn): Update comment.
51594 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51596         [BZ #2074]
51597         * stdio.texi (Hook Functions): The user provided writer function
51598         is not allowed to return -1.
51600 2012-04-11  David S. Miller  <davem@davemloft.net>
51602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51604 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51606         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51607         Add a leading slash to rtkaio.
51609 2012-04-11  Jim Meyering  <meyering@redhat.com>
51611         [BZ #11959]
51612         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51613         It is not necessarily an error to ignore fwrite's return
51614         value.  One can reliably use ferror to test for errors after
51615         the fact.
51617 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51619         * bits/types.h (__snseconds_t): New type.
51620         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51622         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51623         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51624         (__SNSECONDS_T_TYPE): Likewise.
51625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51626         (__SNSECONDS_T_TYPE): Likewise.
51627         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51628         (__SNSECONDS_T_TYPE): Likewise.
51630 2012-04-10  Andreas Jaeger  <aj@suse.de>
51632         [BZ #2636]
51633         * manual/time.texi (Processor Time): Return type of times is
51634         elapsed real time since an arbitrary point in the past.
51635         (CPU Time): Move CLK_TCK from here...
51636         (Processor Time): ...to here.  Correct description.
51637         * manual/conf.texi (Constants for Sysconf): Correct description of
51638         _SC_CLK_TCK.
51640 2012-04-10  David S. Miller  <davem@davemloft.net>
51642         [BZ #13967]
51643         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51644         where the is a gap between DT_REL(A) and DT_JMPREL.
51646 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51648         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51649         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51650         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51652 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51654         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51655         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51656         (dl_main): Handle --inhibit-cache.
51657         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51658         _dl_inhibit_cache.
51659         * elf/dl-load.c (_dl_map_object): Use it.
51660         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51662 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51664         [BZ #13872]
51665         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51666         (__ieee754_powl): Saturate large exponents rather than testing for
51667         overflow of y*log2(x).
51668         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51669         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51670         exceptions.
51672         [BZ #11521]
51673         * math/s_ctan.c: Include <float.h>.
51674         (__ctan): Avoid internal overflow or cancellation in calculating
51675         denominator.
51676         * math/s_ctanf.c: Likewise.
51677         * math/s_ctanl.c: Likewise.
51678         * math/s_ctanh.c: Likewise.
51679         * math/s_ctanhf.c: Likewise.
51680         * math/s_ctanhl.c: Likewise.
51681         * math/libm-test.inc (ctan_test): Add more tests.
51682         (ctanh_test): Likewise.
51683         * sysdeps/i386/fpu/libm-test-ulps: Update.
51684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51686 2012-04-09  Andreas Jaeger  <aj@suse.de>
51688         [BZ #6894]
51689         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51690         is an optional BSD extension.
51692         [BZ #10254]
51693         * manual/stdio.texi (Opening Streams): Document additional fopen
51694         parameters.
51696 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51698         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51699         %eax without telling the compiler.
51701 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51703         [BZ # 13963]
51704         * manual/install.texi: Use sourceware.org.
51706 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51708         [BZ #13873]
51709         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51710         (__ieee754_pow): Generate overflow and underflow using huge*huge
51711         and tiny*tiny rather than just returning constant infinity or zero
51712         for large exponents.
51713         * math/libm-test.inc (pow_test): Require overflow exceptions for
51714         applicable cases of large exponents.
51716         [BZ #706]
51717         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51718         (__ieee754_pow): Use iterative multiplication algorithm only for
51719         integer exponents with absolute value below 1024.  Check for odd
51720         integer exponents when using algorithm for real exponents.
51721         * math/libm-test.inc (pow_test): Add more tests.
51722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51724 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51726         [BZ #13705]
51727         * math/libm-test.inc (exp_test): Do not allow overflow exception
51728         on underflow test.
51730 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51732         [BZ #13705]
51733         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51734         instead of __kernel_standard_f.
51736 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51738         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51739         * sysdeps/x86_64/memset_chk.S: Likewise.
51741 2012-04-08  Andreas Jaeger  <aj@suse.de>
51743         [BZ #10153]
51744         * manual/startup.texi (Environment Access): Describe return value
51745         for putenv and setenv.
51747         [BZ #6895]
51748         * manual/filesys.texi (Directory Entries): Add description for
51749         DT_LNK.
51751         [BZ #6890]
51752         * manual/filesys.texi (Directory Entries): Clarify that it's file
51753         system not operating system in the description of DT_UNKNOWN.
51755         [BZ #6578]
51756         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51758 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51760         [BZ #6649]
51761         * manual/llio.texi (Opening and Closing Files): Add cross
51762         reference to explain mode argument.
51764 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51766         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51767         * sysdeps/x86_64/memset_chk.S: Likewise.
51769 2012-04-07  David S. Miller  <davem@davemloft.net>
51771         * elf/elf.h (R_SPARC_WDISP10): Define.
51772         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51773         R_SPARC_SIZE32.
51774         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51775         R_SPARC_SIZE64 and R_SPARC_H34.
51777 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51779         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51780         conditions and remove no longer applicable assertion.
51782 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51784         * bits/byteswap.h: Include <features.h>.
51785         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51786         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51788 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51790         * bits/byteswap.h (__bswap_16): Removed.
51791         Include <bits/byteswap-16.h> to get __bswap_16.
51792         * sysdeps/i386/bits/byteswap.h: Likewise.
51793         * sysdeps/s390/bits/byteswap.h: Likewise.
51794         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51795         * bits/byteswap-16.h: New file.
51796         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51797         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51798         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51799         * string/Makefile (headers): Add bits/byteswap-16.h.
51801 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51803         [BZ #13895]
51804         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51805         extra indirection.
51806         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51807         * nss/tst-nss-static.c: New.
51809 2012-04-06  Robert Millan  <rmh@gnu.org>
51811         [BZ #6486]
51812         * manual/llio.texi (File Position Primitive): lseek
51813         refers to WHENCE when it really means OFFSET.
51815 2012-04-06  Andreas Jaeger  <aj@suse.de>
51817         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51818         strncmp declarations.
51820         * abilist/libc.abilist: Add __poll and __ppoll.
51822 2012-04-05  David S. Miller  <davem@davemloft.net>
51824         * scripts/check-local-headers.sh: Accept a host triplet in the
51825         path matched by the exclude regexp.
51827         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51828         definition.
51829         * sysdeps/powerpc/powerpc32/dl-machine.h
51830         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51831         * sysdeps/s390/s390-32/dl-machine.h
51832         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51833         * sysdeps/sparc/sparc32/dl-machine.h
51834         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51835         * sysdeps/sparc/sparc64/dl-machine.h
51836         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51838         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51839         lazy binding.
51840         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51841         undefined symbol errors.
51843         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51844         DT_NEEDED entries.
51846 2012-04-05  Michael Matz  <matz@suse.de>
51848         [BZ #13592]
51849         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51851 2012-04-05  Andreas Jaeger  <aj@suse.de>
51853         [BZ #13908]
51854         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51855         comment.
51857 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51859         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51860         which ROUND is no valid rounding mode.
51862 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51864         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51865         read again.
51866         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51868 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51870         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51871         an exception using FPU order intentionally.
51873 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51875         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51876         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51877         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51878         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51880 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51882         [BZ #12340]
51883         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51884         EINVAL when BUFLEN is too smal.
51886 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51888         [BZ #13553]
51889         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51890         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51892 2012-04-03  Andreas Jaeger  <aj@suse.de>
51894         [BZ #13938]
51895         * manual/setjmp.texi (System V contexts): Fix sentence.
51897         [BZ #13926]
51898         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51899         New macro for this case.
51900         [!__GNUC__] (__bswap_64): New inline function for this case.
51901         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51902         * bits/byteswap.h: Likewise.
51903         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51904         ull, guard with __GLIBC_HAVE_LONG_LONG.
51906         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51907         __GLIBC_HAVE_LONG_LONG.
51909         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51910         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51912 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51914         [BZ #13691]
51915         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51916         inptr and inend, rather than using last_ch.
51918 2012-04-02  David S. Miller  <davem@davemloft.net>
51920         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51921         * stdio-common/printf-parse.h (read_int): Change return type to
51922         'int', return -1 on INT_MAX overflow.
51923         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51924         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51925         overflows INT_MAX.  Check for overflow of in-format-string precision
51926         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51927         SIZE_MAX not INT_MAX for integer overflow test.
51928         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51929         skip the construct in the format string but do not record anything.
51930         * stdio-common/bug22.c: Adjust to test both width/prevision
51931         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51932         explicitly for proper errno values.
51934 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51936         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51937         CHAR_MAX.
51938         * string/test-strcmp.c [! WIDE]: Likewise.
51939         * time/tst-mktime2.c: Likewise for INT_MAX.
51940         * string/test-string.h: #include <sys/param.h> for MIN.
51942         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51943         * sysdeps/i386/init-first.c (init): Likewise.
51944         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51945         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51946         * sysdeps/sh/init-first.c (init): Likewise.
51948 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51950         * po/ru.po: Update from translation team.
51951         * po/vi.po: Likewise.
51953 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51955         * resolv/nss_dns/dns-host.c: Merge copyright years.
51957 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51959         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51960         Optimize memcpy with prefetch if
51961         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51962         src, dst pointers have unequal 16 byte alignments.
51964 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51966         [BZ #13928]
51967         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51968         from a CNAME entry and return the minimum ttl for the query.
51969         (gaih_getanswer_slice): Likewise.
51971 2012-03-30  Jeff Law  <law@redhat.com>
51973         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51974         due to long keys.
51975         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51976         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51978         * resolv/nss_dns/dns-host.c: Update copyright year.
51980 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51982         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51983         requests to save a system call.  Fix check that all bytes are sent.
51985         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51986         comments for sendmmsg.
51988 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51990         [BZ #13691]
51991         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51992         with only 1 character between 0x0041 and 0x01b0.
51993         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51994         * wcsmbs/tst-mbsnrtowcs.c: New file.
51996 2012-03-29  David S. Miller  <davem@davemloft.net>
51998         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51999         small copies by hand.
52001 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52003         [BZ #13761]
52004         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52005         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52006         group memberships.
52008 2012-03-28  David S. Miller  <davem@davemloft.net>
52010         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52011         that branches into memcpy.
52012         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52014         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52015         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52016         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52017         bits.
52018         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52019         implementation too.
52020         * sysdeps/sparc/mempcpy.S: New file.
52022         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52023         the IFUNC routine in the libc case.
52024         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52026         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52027         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52028         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52029         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52030         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52031         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52032         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52033         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52035         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52036         loop to 256 bytes instead of 64 bytes and fix test signedness.
52038         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52039         * sysdeps/sparc/sparc32/Makefile: rather than here...
52040         * sysdeps/sparc/sparc64/Makefile: and here.
52042 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52044         * malloc/mallocbug.c: Avoid warnings about unused variables.
52046 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52048         [BZ #13760]
52049         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52050         in the right place. Discard and retry query if response is
52051         larger than input buffer size.
52053 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52055         [BZ #369]
52056         [BZ #2678]
52057         [BZ #3866]
52058         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52059         x for large integer exponent.
52060         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52061         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52062         sign of result as needed afterwards.
52063         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52064         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52065         result for underflowing pow the same as for overflow.
52066         (__kernel_standard_l): Handle powl overflow and underflow here
52067         rather than calling __kernel_standard.
52068         * math/libm-test.inc (pow_test): Add more tests.
52070         [BZ #3868]
52071         [BZ #13879]
52072         [BZ #13910]
52073         [BZ #13911]
52074         [BZ #13912]
52075         [BZ #13913]
52076         [BZ #13915]
52077         [BZ #13916]
52078         [BZ #13917]
52079         [BZ #13918]
52080         [BZ #13919]
52081         [BZ #13920]
52082         [BZ #13921]
52083         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52084         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52085         (__kernel_standard_l): New function.
52086         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52087         __kernel_standard.
52088         * math/w_acosl.c (__acosl): Likewise.
52089         * math/w_asinl.c (__asinl): Likewise.
52090         * math/w_atan2l.c (__atan2l): Likewise.
52091         * math/w_atanhl.c (__atanhl): Likewise.
52092         * math/w_coshl.c (__coshl): Likewise.
52093         * math/w_exp10l.c (__exp10l): Likewise.
52094         * math/w_exp2l.c (__exp2l): Likewise.
52095         * math/w_fmodl.c (__fmodl): Likewise.
52096         * math/w_hypotl.c (__hypotl): Likewise.
52097         * math/w_j0l.c (__j0l, __y0l): Likewise.
52098         * math/w_j1l.c (__j1l, __y1l): Likewise.
52099         * math/w_jnl.c (__jnl, __ynl): Likewise.
52100         * math/w_lgammal.c (__lgammal): Likewise.
52101         * math/w_log10l.c (__log10l): Likewise.
52102         * math/w_log2l.c (__log2l): Likewise.
52103         * math/w_logl.c (__logl): Likewise.
52104         * math/w_powl.c (__powl): Likewise.
52105         * math/w_remainderl.c (__remainderl): Likewise.
52106         * math/w_scalbl.c (sysv_scalbl): Likewise.
52107         * math/w_sinhl.c (__sinhl): Likewise.
52108         * math/w_sqrtl.c (__sqrtl): Likewise.
52109         * math/w_tgammal.c (__tgammal): Likewise.
52110         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52111         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52112         * math/libm-test.inc (acos_test): Add more tests.
52113         (acosh_test): Likewise.
52114         (asin_test): Likewise.
52115         (atanh_test): Likewise.
52116         (exp_test): Likewise.
52117         (exp10_test): Likewise.
52118         (exp2_test): Likewise.
52119         (expm1_test): Likewise.
52120         (lgamma_test): Likewise.
52121         (log_test): Likewise.
52122         (log10_test): Likewise.
52123         (log1p_test): Likewise.
52124         (log2_test): Likewise.
52125         (pow_test): Do not allow some spurious overflow exceptions.
52126         (sqrt_test): Add more tests.
52127         (tgamma_test): Likewise.
52128         (y0_test): Likewise.
52129         (y1_test): Likewise.
52130         (yn_test): Likewise.
52132 2012-03-27  Anton Blanchard  <anton@samba.org>
52134         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52135         MAP_HUGETLB.
52136         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52137         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52138         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52140 2012-03-27  David S. Miller  <davem@davemloft.net>
52142         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52144         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52145         have-as-vis3 check.
52147 2012-03-27  Andreas Jaeger  <aj@suse.de>
52149         * sysdeps/x86_64/elf/configure.in: Moved to ...
52150         * sysdeps/x86_64/configure.in: ... here.
52151         * sysdeps/x86_64/elf/start.S: Moved to ...
52152         * sysdeps/x86_64/start.S: ... here.
52153         * sysdeps/x86_64/elf/configure: Delete.
52155         * sysdeps/x86_64/configure.in: Merge contents from
52156         sysdeps/i386/configure.in (without i686 check).
52158         * sysdeps/i386/elf/Versions: Merge into ...
52159         * sysdeps/i386/Versions: ... this.
52160         * sysdeps/i386/elf/Versions: Delete file.
52161         * sysdeps/i386/elf/start.S: Moved to ...
52162         * sysdeps/i386/start.S: ...here.
52163         * sysdeps/i386/elf/configure.in: Merge into...
52164         * sysdeps/i386/configure.in: ...here.
52165         * sysdeps/i386/elf/configure.in: Delete file.
52166         * sysdeps/i386/elf/configure: Delete file.
52168         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52169         * debug/backtracesyms.c: ... here.
52170         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52171         * debug/backtracesymsfd.c: ... here.
52172         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52173         * sysdeps/generic/ifunc-sel.h: ... here.
52175         * sysdeps/unix/i386/start.c: Delete file.
52176         * sysdeps/unix/sparc/start.c: Delete file.
52177         * sysdeps/unix/start.c: Delete file.
52179         * sysdeps/sh/elf/configure.in: Moved to ...
52180         * sysdeps/sh/configure.in: ... here.
52181         * sysdeps/sh/elf/start.S: Moved to ...
52182         * sysdeps/sh/start.S: ... here.
52183         * sysdeps/sh/elf/configure: Delete file.
52185         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52186         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52187         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52188         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52189         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52190         * sysdeps/powerpc/powerpc64/start.S: here.
52191         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52192         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52193         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52194         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52195         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52197         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52198         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52199         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52200         * sysdeps/powerpc/powerpc32/start.S: ... here.
52201         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52202         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52203         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52205         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52206         * sysdeps/powerpc/ifunc-sel.h: ... here.
52207         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52208         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52210         * sysdeps/sparc/elf/configure.in: Moved to ...
52211         * sysdeps/sparc/configure.in: ... here.
52212         * sysdeps/sparc/elf/configure: Delete file.
52213         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52214         * sysdeps/sparc/sparc32/start.S: ... here.
52215         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52216         * sysdeps/sparc/sparc64/start.S: ... here.
52217         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52218         * sysdeps/sparc/sparc32/Makefile: ... this.
52219         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52220         * sysdeps/sparc/sparc64/Makefile: ... this.
52222         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52223         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52224         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52225         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52226         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52227         * sysdeps/s390/s390-32/setjmp.S: ... here.
52228         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52229         * sysdeps/s390/s390-32/configure.in: ... here.
52230         * sysdeps/s390/s390-32/elf/configure: Delete file.
52231         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52232         * sysdeps/s390/s390-32/start.S: ... here.
52234         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52235         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52236         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52237         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52238         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52239         * sysdeps/s390/s390-64/setjmp.S: ... here.
52240         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52241         * sysdeps/s390/s390-64/configure.in: ... here
52242         * sysdeps/s390/s390-64/elf/configure: Delete file.
52243         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52244         * sysdeps/s390/s390-64/start.S: ... here.
52245         * sysdeps/s390/s390-64/elf/configure: Delete.
52247         * configure.in: Remove support for elf directories in sysdeps.
52249         * configure: Regenerated.
52250         * sysdeps/i386/configure: Regenerated.
52251         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52252         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52253         * sysdeps/s390/s390-32/configure: Regenerated.
52254         * sysdeps/s390/s390-64/configure: Regenerated.
52255         * sysdeps/sh/configure: Regenerated.
52256         * sysdeps/sparc/configure: Regenerated.
52257         * sysdeps/x86_64/configure: Regenerated.
52259 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52263         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52264         denormal result into account.
52266 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52268         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52269         Reported by Allan McRae <allan@archlinux.org>.
52271 2012-03-23  Jeff Law  <law@redhat.com>
52273         * nss/getnssent.c (__nss_getent): Fix typo.
52275 2012-03-23  David S. Miller  <davem@davemloft.net>
52277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52279 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52281         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52282         to pad to uint64_t for each field.
52283         (dl_tls_index): Replace unsigned long with uint64_t.
52285 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52286         Paul Pluzhnikov  <ppluzhnikov@google.com>
52288         [BZ #6528]
52289         * grp/Makefile (otherlibs): Don't set it.
52290         * inet/Makefile (otherlibs): Likewise.
52291         * login/Makefile (otherlibs): Likewise.
52292         * nscd/Makefile (otherlibs): Likewise.
52293         * posix/Makefile (otherlibs): Likewise.
52294         * pwd/Makefile (otherlibs): Likewise.
52295         * rt/Makefile (otherlibs): Likewise.
52296         * sunrpc/Makefile (otherlibs): Likewise.
52297         * nss/Makefile (otherlibs): Likewise.
52298         Add libnss_files to routines and static-only-routines.
52299         ($(objpfx)getent): Remove rule.
52300         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52301         static-only-routines.
52303 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52305         [BZ #13892]
52306         * math/s_cexp.c: Include <float.h>.
52307         (__cexp): Handle exp result overflowing not necessarily
52308         overflowing both real and imaginary parts of result.
52309         * math/s_cexpf.c: Likewise.
52310         * math/s_cexpl.c: Likewise.
52311         * math/libm-test.inc (cexp_test): Add more tests.
52312         * sysdeps/i386/fpu/libm-test-ulps: Update.
52313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52315 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52317         * include/link.h (ELFW): New macro.
52318         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52319         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52321 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52323         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52324         with uint64_t.
52326 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52328         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52329         declaration.
52330         (struct La_x32_retval): Likewise.
52332 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52334         * sysdeps/x86_64/preconfigure.in: New file.
52335         * sysdeps/x86_64/preconfigure: New generated file.
52337 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52339         [BZ #13824]
52340         * math/e_exp2l.c: Include <float.h>.
52341         (__ieee754_exp2l): Handle overflow and underflow cases
52342         separately.  Only pass fractional part of argument to
52343         __ieee754_expl.
52344         * math/libm-test.inc (exp2_test): Add more tests.
52346         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52347         negating x to take absolute value.
52348         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52349         Likewise.
52350         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52351         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52352         Likewise.
52353         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52354         computing low part if x was negated.
52355         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52357 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52359         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52360         la_x32_gnu_pltexit.
52361         (pltexit): Cast int_retval to ptrdiff_t.
52362         * elf/tst-auditmod3b.c: Likewise.
52363         * elf/tst-auditmod4b.c: Likewise.
52364         * elf/tst-auditmod5b.c: Likewise.
52365         * elf/tst-auditmod6b.c: Likewise.
52366         * elf/tst-auditmod6c.c: Likewise.
52367         * elf/tst-auditmod7b.c: Likewise.
52369         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52370         and x32_gnu_pltexit.
52372         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52373         __ELF_NATIVE_CLASS.
52374         (La_x32_regs): New macro.
52375         (La_x32_retval): Likewise.
52376         (la_x32_gnu_pltenter): New function prototype.
52377         (la_x32_gnu_pltexit): Likewise.
52379 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52381         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52382         exponent.
52384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52386         * configure.in (libc_cv_cc_nofma): Check for option to disable
52387         generation of FMA instructions.
52388         * configure: Regenerate.
52389         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52390         * sysdeps/ieee754/dbl-64/Makefile: New file.
52391         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52392         Remove brandred-fma4.
52393         (CFLAGS-brandred-fma4.c): Remove.
52394         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52395         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52396         define.
52397         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52398         define.
52400 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52402         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52403         LLONG_MAX != LONG_MAX.
52404         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52405         (_fitoa_word): Likewise.
52406         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52407         LLONG_MAX != LONG_MAX.
52408         * stdio-common/_itowa.h: Include <_itoa.h>.
52409         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52410         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52411         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52412         only if not defined.
52413         (_ITOA_WORD_TYPE): Likewise.
52414         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52415         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52417 2012-03-21  David S. Miller  <davem@davemloft.net>
52419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52421 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52423         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52424         of x86_64 when setting libc_cv_slibdir, libdir and
52425         libc_cv_localedir.
52426         * sysdeps/unix/sysv/linux/configure: Regenerated.
52428 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52430         * manual/lang.texi (Old Varargs): Remove section.
52431         (How Variadic): Update menu.
52432         (va_start): Do not mention varargs.h.
52434 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52435             Joseph Myers  <joseph@codesourcery.com>
52437         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52438         link test.
52439         * configure: Regenerated.
52441 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52443         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52444         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52445         conformtest.pl
52447 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52449         * NOTES: Remove.
52450         * Makefile (files-for-dist): Remove NOTES.
52451         (NOTES): Remove rule.
52452         * README: Don't refer to NOTES.
52453         * manual/creature.texi: Don't include macros.texi.
52454         * manual/intro.texi (creature.texi): Remove comment referring to
52455         NOTES.
52457         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52458         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52459         * configure: Regenerated.
52460         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52461         LIBC_TRY_CC_OPTION.
52462         (libc_cv_as_i686): Likewise.
52463         (libc_cv_cc_avx): Likewise.
52464         (libc_cv_cc_sse2avx): Likewise.
52465         (libc_cv_cc_fma4): Likewise.
52466         (libc_cv_cc_novzeroupper): Likewise.
52467         * sysdeps/i386/configure: Regenerated.
52469         [BZ #13883]
52470         * sysdeps/i386/fpu/s_cexp.S: Remove.
52471         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52472         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52473         * math/libm-test.inc (cexp_test): Add more tests.
52474         * sysdeps/i386/fpu/libm-test-ulps: Update.
52475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52477 2012-03-21  Allan McRae  <allan@archlinux.org>
52479         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52481 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52483         [BZ #13871]
52484         * math/w_exp2.c: Do not include <float.h>.
52485         (o_threshold, u_threshold): Remove.
52486         (__exp2): Calculate result before checking finiteness and calling
52487         __kernel_standard.
52488         * math/w_exp2f.c: Likewise.
52489         * math/w_exp2l.c: Likewise.
52490         * math/libm-test.inc (exp2_test): Require overflow exception for
52491         1e6 input.
52493         [BZ #3866]
52494         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52495         range of signed 64-bit integers before using fistpll.  Remove
52496         checks for whether integers fit in mantissa bits.
52497         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52498         the range of signed 32-bit integers before using fistpl.  Remove
52499         checks for whether integers fit in mantissa bits.
52500         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52501         (__ieee754_powl): Test for y outside the range of signed 64-bit
52502         integers before using fistpll.  Reduce 64-bit values to 63-bit
52503         ones as needed.
52504         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52505         divide-by-zero is raised for zero to large negative powers.
52506         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52507         (__ieee754_powl): Test for y outside the range of signed 64-bit
52508         integers before using fistpll.  Reduce 64-bit values to 63-bit
52509         ones as needed.
52510         * math/libm-test.inc (pow_test): Add more tests.
52512 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52514         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52515         <stdio-common/_itoa.h>.
52516         * debug/segfault.c: Likewise.
52517         * elf/dl-cache.c: Likewise.
52518         * elf/dl-minimal.c: Likewise.
52519         * elf/dl-misc.c: Likewise.
52520         * elf/dl-sysdep.c: Likewise.
52521         * elf/dl-version.c: Likewise.
52522         * elf/rtld.c: Likewise.
52523         * hurd/hurdsock.c: Likewise.
52524         * hurd/lookup-retry.c: Likewise.
52525         * malloc/malloc.c: Likewise.
52526         * malloc/mtrace.c: Likewise.
52527         * nscd/nscd_getgr_r.c: Likewise.
52528         * nscd/nscd_getpw_r.c: Likewise.
52529         * nscd/nscd_getserv_r.c: Likewise.
52530         * posix/getopt_init.c: Likewise.
52531         * posix/wordexp.c: Likewise.
52532         * stdio-common/_itoa.c: Likewise.
52533         * stdio-common/printf_fphex.c: Likewise.
52534         * stdio-common/vfprintf.c: Likewise.
52535         * string/_strerror.c: Likewise.
52536         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52537         * sysdeps/i386/i686/hp-timing.h: Likewise.
52538         * sysdeps/mach/_strerror.c: Likewise.
52539         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52540         * sysdeps/mach/hurd/sethostid.c: Likewise.
52541         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52542         * sysdeps/mach/xpg-strerror.c: Likewise.
52543         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52544         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52545         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52546         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52547         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52548         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52549         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52550         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52551         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52552         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52553         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52554         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52555         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52556         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52557         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52558         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52559         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52560         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52561         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52562         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52563         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52565         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52567         * stdio-common/_itoa.h: Moved to ...
52568         * sysdeps/generic/_itoa.h: Here.
52570         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52572         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52573         instead of "_itoa.h" and "_itowa.h".
52574         * stdio-common/vfprintf.: Likewise.
52576 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52578         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52579         <bits/wordsize.h>.
52580         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52581         (__signbit): Likwise.
52582         (llrintf): Likwise.
52583         (llrint): Likwise.
52585 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52587         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52588         __WORDSIZE != 64.
52590 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52592         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52593         OVERFLOW_EXCEPTION_OK.
52594         * math/libm-test.inc ("Philosophy"): Update comment about
52595         exception testing.
52596         (OVERFLOW_EXCEPTION): Define.
52597         (OVERFLOW_EXCEPTION_OK): Likewise.
52598         (INVALID_EXCEPTION_OK): Renumber.
52599         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52600         (IGNORE_ZERO_INF_SIGN): Likewise.
52601         (test_exceptions): Handle FE_OVERFLOW.
52602         (exp10_test): Expect overflow exceptions.
52603         (exp2_test): Likewise.
52604         (expm1_test): Likewise.
52605         (nextafter_test): Likewise.
52606         (pow_test): Likewise.
52607         (scalbn_test): Likewise.
52608         (scalbln_test): Likewise.
52610 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52612         * sysdeps/x86_64/bits/atomic.h
52613         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52614         64bit integer.
52615         (atomic_exchange_acq): Likewise.
52616         (__arch_exchange_and_add_body): Likewise.
52617         (__arch_add_body): Likewise.
52618         (atomic_add_negative): Likewise.
52619         (atomic_add_zero): Likewise.
52621 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52623         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52624         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52626 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52628         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52629         Check __x86_64__ instead of __WORDSIZE.
52631 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52633         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52635 2012-03-19  David S. Miller  <davem@davemloft.net>
52637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52639         * sysdeps/sparc/fpu/fenv_private.h: New file.
52640         * sysdeps/sparc/fpu/math_private.h: Use it.
52641         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52642         Remove.
52643         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52644         (libc_feholdexcept_setroundl): Remove.
52645         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52646         Remove.
52647         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52648         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52650 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52652         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52653         int64_t instead of long int.
52654         (INSERT_WORDS64): Likwise.
52656 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52658         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52659         _Unwind_GetCFA return to _Unwind_Ptr first.
52661 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52663         [BZ #13629]
52664         * math/s_clog.c: Include <float.h>.
52665         (__clog): Scale large or subnormal inputs.
52666         * math/s_clogf.c: Likewise.
52667         * math/s_clogl.c: Likewise.
52668         * math/s_clog10.c: Include <float.h>.
52669         (M_LOG10_2): Define.
52670         (__clog10): Scale large or subnormal inputs.
52671         * math/s_clog10f.c: Likewise.
52672         * math/s_clog10l.c: Likewise.
52673         * math/libm-test.inc (clog_test): Add more tests.
52674         (clog10_test): Likewise.
52675         * sysdeps/i386/fpu/libm-test-ulps: Update.
52676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52678         [BZ #11451]
52679         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52680         x and y.
52681         * math/libm-test.inc (atan2_test): Add another test.
52683         * Makerules (common-objdir-compile): Remove.
52684         * sysdeps/unix/Makefile (config-generated): Do not add
52685         $(unix-generated) to variable.
52686         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52687         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52688         Remove rule.
52689         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52690         Likewise.
52691         [generic bits/local_lim.h] (before-compile): Do not append to
52692         variable.
52693         [generic bits/local_lim.h] (common-generated): Likewise.
52694         [generic sys/param.h] (before-compile): Do not append to variable.
52695         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52696         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52697         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52698         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52699         include.
52700         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52701         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52702         [generic sys/param.h] ($(addprefix
52703         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52704         [generic sys/param.h] (common-generated): Do not append to
52705         variable.
52706         [generic sys/param.h] (sysdep_headers): Likewise.
52707         [generic bits/errno.h] (before-compile): Do not append to
52708         variable.
52709         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52710         rule.
52711         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52712         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52713         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52714         [generic bits/errno.h] (common-generated): Do not append to
52715         variable.
52716         [generic bits/ioctls.h] (before-compile): Do not append to
52717         variable.
52718         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52719         rule.
52720         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52721         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52722         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52723         rule.
52724         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52725         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52726         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52727         [generic bits/ioctls.h] (common-generated): Do not append to
52728         variable.
52729         [generic sys/syscall.h] (syscall.h): Remove variable.
52730         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52731         rule.
52732         [generic sys/syscall.h] (before-compile): Do not append to
52733         variable.
52734         [generic sys/syscall.h] (common-generated): Likewise.
52735         * sysdeps/unix/errnos-tmpl.c: Remove file.
52736         * sysdeps/unix/errnos.awk: Likewise.
52737         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52738         * sysdeps/unix/ioctls.awk: Likewise.
52739         * sysdeps/unix/mk-local_lim.c: Likewise.
52740         * sysdeps/unix/snarf-ioctls: Likewise.
52742 2012-03-19  Richard Henderson  <rth@twiddle.net>
52744         * sysdeps/i386/fpu/fenv_private.h: New file.
52745         * sysdeps/i386/fpu/math_private.h: Use it.
52746         (math_opt_barrier, math_force_eval): Remove.
52747         (libc_feholdexcept_setround_53bit): Remove.
52748         (libc_feupdateenv_53bit): Remove.
52749         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52750         (math_opt_barrier, math_force_eval): Remove.
52751         (libc_feholdexcept): Remove.
52752         (libc_feholdexcept_setround): Remove.
52753         (libc_fetestexcept, libc_fesetenv): Remove.
52754         (libc_feupdateenv_test): Remove.
52755         (libc_feupdateenv, libc_feholdsetround): Remove.
52756         (libc_feresetround): Remove.
52758         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52759         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52761         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52762         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52763         (libc_feupdateenv_testl): New.
52764         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52765         (libc_feupdateenv_testf): New.
52766         (libc_feupdateenv): Use libc_feupdateenv_test.
52767         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52768         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52770         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52771         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52772         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52773         (libc_feresetround_noex): New.
52774         (libc_feresetround_noexf): New.
52775         (libc_feresetround_noexl): New.
52776         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52777         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52778         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52779         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52780         SET_RESTORE_ROUND.
52781         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52782         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52783         (__cos): Likewise.
52784         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52785         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52786         SET_RESTORE_ROUND_NOEX.
52787         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52788         SET_RESTORE_ROUND_NOEXF.
52789         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52790         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52791         (libc_feholdsetroundf): New.
52792         (libc_feresetround, libc_feresetroundf): New.
52794         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52795         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52796         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52798         * sysdeps/generic/math_private.h: Include <fenv.h>.
52799         (default_libc_feholdexcept): New.
52800         (default_libc_feholdexcept_setround): New.
52801         (default_libc_fesetenv, default_libc_feupdateenv): New.
52802         (libc_feholdexcept): Only define if undefined.
52803         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52804         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52805         (libc_feholdexcept_setroundl): Likewise.
52806         (libc_feholdexcept_setround_53bit): Likewise.
52807         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52808         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52809         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52810         (libc_feupdateenv_53bit): Likewise.
52811         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52812         (libc_feholdexcept): Convert from macro to inline function.
52813         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52814         (libc_fesetenv, libc_feupdateenv): Likewise.
52816         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52817         not previously defined.
52818         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52819         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52820         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52821         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52822         * sysdeps/ieee754/flt-32/math_private.h: New file.
52823         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52824         math_private.h below SET_FLOAT_WORD.
52825         (__isnan, __isinf_ns, __finite): Remove.
52826         (__isnanf, __isinf_nsf, __finitef): Remove.
52828 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52832 2012-03-17  David S. Miller  <davem@davemloft.net>
52834         [BZ #6471]
52835         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52836         for 2.16.
52838 2012-03-16  David S. Miller  <davem@davemloft.net>
52840         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52841         warnings.
52843         [BZ #6471]
52844         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52845         properly.
52846         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52847         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52848         sysdep_routines when subdir is sysvipc.
52849         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52850         __getshmlba helper.
52852         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52854 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52856         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52857         [__LP64__].
52859 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52861         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52862         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52863         (__lround): Renamed to ...
52864         (__llround): This.  Replace long int with long long int.
52865         Define lround functions as aliases of llround functions.
52866         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52868 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52870         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52871         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52872         adresses to uintptr_t.  Replace "long int" and "unsigned long
52873         int" with "greg_t" on va_arg.
52875 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52877         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52878         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52880         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52881         Move e_machine check before EI_CLASS check.  Handle x32
52882         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52883         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52884         SKIP_EM_IA_64 and include
52885         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52887         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52888         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52889         (add_system_dir): New macro.
52891         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52892         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52894 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52896         [BZ #2551]
52897         [BZ #2552]
52898         [BZ #2553]
52899         [BZ #2554]
52900         [BZ #2562]
52901         [BZ #2563]
52902         [BZ #2565]
52903         [BZ #2566]
52904         [BZ #2576]
52905         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52906         (y0): Likewise.
52907         * math/w_j0f.c (j0f): Likewise.
52908         (y0f): Likewise.
52909         * math/w_j0l.c (__j0l): Likewise.
52910         (__y0l): Likewise.
52911         * math/w_j1.c (j1): Likewise.
52912         (y1): Likewise.
52913         * math/w_j1f.c (j1f): Likewise.
52914         (y1f): Likewise.
52915         * math/w_j1l.c (__j1l): Likewise.
52916         (__y1l): Likewise.
52917         * math/w_jn.c (jn): Likewise.
52918         (yn): Likewise.
52919         * math/w_jnf.c (jnf): Likewise.
52920         (ynf): Likewise.
52921         * math/w_jnl.c (__jnl): Likewise.
52922         (__ynl): Likewise.
52923         * math/libm-test.inc (j0_test): Add more tests.
52924         (j1_test): Likewise.
52925         (jn_test): Likewise.  Add trailing semicolon to existing test.
52926         (y0_test): Likewise.
52927         (y1_test): Likewise.
52928         * sysdeps/i386/fpu/libm-test-ulps: Update.
52929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52931         [BZ #13851]
52932         [BZ #13854]
52933         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52934         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52935         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52936         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52937         (__tanl): Set errno for infinite argument.
52938         * sysdeps/i386/fpu/mptan.c: Remove.
52939         * sysdeps/i386/fpu/s_tan.S: Likewise.
52940         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52941         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52942         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52943         * math/libm-test.inc (tan_test): Add more tests and enable more
52944         tests for double and long double.
52945         * sysdeps/i386/fpu/libm-test-ulps: Update.
52946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52948 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52950         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52951         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52953 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52955         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52956         * configure.in: Use it for both main tree and add-ons.
52957         * configure: Regenerated.
52959 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52961         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52963 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52965         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52966         in comment.
52968         [BZ #13851]
52969         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52970         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52971         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52972         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52973         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52974         infinite argument.
52975         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52976         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52977         != 0 for prec == 2.
52978         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52979         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52980         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52981         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52982         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52983         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52984         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52985         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52986         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52987         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52988         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52989         * math/libm-test.inc (cos_test): Add more tests and enable more
52990         tests for long double.
52991         (sin_test): Likewise.
52992         (sincos_test): Likewise.
52993         * sysdeps/i386/fpu/libm-test-ulps: Update.
52994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52996 2012-03-16  David S. Miller  <davem@davemloft.net>
52998         * sysdeps/sparc/fpu/math_private.h: New file.
53000 2012-03-15  David S. Miller  <davem@davemloft.net>
53002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53003         file.
53004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53006         file.
53007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53012         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53013         sysdep routines.
53014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53016         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53017         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53019         * sysdeps/sparc/sparc-ifunc.h: New file.
53020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53021         sparc-ifunc.h
53022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53024         Likewise.
53025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53026         Likewise.
53027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53031         Likewise.
53032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53037         Likewise.
53038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53039         Likewise.
53040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53044         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53046         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53047         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53049         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53052         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53053         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53054         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53055         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53056         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53057         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53058         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53059         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53060         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53061         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53062         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53063         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53065 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53067         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53068         scaling.
53069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53071 2012-03-15  Andreas Jaeger  <aj@suse.de>
53073         [BZ #13852]
53074         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53075         ieee754/flt-32 implementation for sin, cos and sincos.
53076         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53077         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53078         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53079         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53080         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53081         ieee754/flt-32 implementation for tan.
53083         * math/libm-test.inc (cos_test): Enable some large input tests for
53084         float as well
53085         (sin_test): Likewise.
53086         (sincos_test): Likewise.
53087         (tan_test): Add tests for large input.
53089         * sysdeps/i386/fpu/libm-test-ulps: Update.
53091 2012-03-15  Andreas Jaeger  <aj@suse.de>
53093         [BZ #13658]
53094         * math/libm-test.inc (cos_test): Add more test cases.
53095         (sin_test): Likewise.
53096         (sincos_test): Likewise.
53098 2012-03-15  Andreas Jaeger  <aj@suse.de>
53100         [BZ #13837]
53101         * math/libm-test.inc (cos_test): Add a test case for large input
53102         value.
53103         (sin_test): Likewise.
53104         (sincos_test): Likewise.
53106 2012-03-15  Andreas Jaeger  <aj@suse.de>
53107             Joseph Myers  <joseph@codesourcery.com>
53109         [BZ #13658]
53110         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53111         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53112         * sysdeps/i386/fpu/branred.c: Likewise.
53113         * sysdeps/i386/fpu/dosincos.c: Likewise.
53114         * sysdeps/i386/fpu/mpa.c: Likewise.
53115         * sysdeps/i386/fpu/s_cos.S: Likewise.
53116         * sysdeps/i386/fpu/s_sin.S: Likewise.
53117         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53118         * sysdeps/i386/fpu/sincos32.c: Likewise.
53120         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53121         Define.
53122         (libc_feupdateenv_53bit): Define.
53123         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53124         Define.
53125         (libc_feupdateenv_53bit): Define.
53127         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53128         53 bit (without extend i386 double precision).
53130         * math/libm-test.inc (sincos_test): Add tests for large input.
53131         (sin): Likewise.
53132         (cos): Likewise.
53134         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53136 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53140 2012-03-15  David S. Miller  <davem@davemloft.net>
53142         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53143         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53144         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53145         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53158         file.
53159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53161         file.
53162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53164         file.
53165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53167         file.
53168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53169         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53170         fmin/fmax sysdep routines.
53171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53173 2012-03-14  David S. Miller  <davem@davemloft.net>
53175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53178         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53179         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53180         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53181         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53182         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53184         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53188         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53189         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53190         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53195         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53196         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53197         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53198         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53199         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53200         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53201         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53202         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53203         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53204         routines.
53205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53206         file.
53207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53209         file.
53210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53212         file.
53213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53215         file.
53216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53218         file.
53219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53221         file.
53222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53223         file.
53224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53225         file.
53226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53227         file.
53228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53229         New file.
53230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53231         file.
53232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53233         file.
53234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53236         file.
53237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53239         file.
53240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53242         file.
53243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53245         VIS3 routines.
53247         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53248         New file.
53250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53252         * sysdeps/sparc/configure.in: New file.
53253         * sysdeps/sparc/configure: Generate.
53254         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53255         * configure: Regenerate.
53256         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53257         * config.make.in (have-as-vis3): New.
53258         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53259         available use -Av9d instead of -Av9a.
53260         * sysdeps/sparc/sparc64/Makefile: Likewise.
53261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53263         New file.
53264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53265         file.
53266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53267         New file.
53268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53269         file.
53270         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53271         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53272         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53273         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53274         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53276         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53277         fzeros/fnegs to load 0x80000000 into a float register instead of
53278         using the stack.
53279         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53281 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53283         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53284         bits/syscall.h.
53285         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53286         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53287         ($(inst_includedir)/bits/syscall.h): Remove rule.
53288         ($(objpfx)bits/syscall.d): Include instead of
53289         $(objpfx)syscall-list.d.
53290         (generated): Change syscall-list.h and syscall-list.d to
53291         bits/syscall.h and bits/syscall.d.
53293 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53295         [BZ #13846]
53296         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53298 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53300         [BZ #13841]
53301         * math/s_csqrt.c: Include <float.h>.
53302         (__csqrt): Scale large or subnormal inputs.
53303         * math/s_csqrtf.c: Likewise.
53304         * math/s_csqrtl.c: Likewise.
53305         * math/libm-test.inc (csqrt_test): Add more tests.
53306         * sysdeps/i386/fpu/libm-test-ulps: Update.
53307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53309         [BZ #13840]
53310         * math/libm-test.inc (hypot_test): Add more tests.
53312 2012-03-13  David S. Miller  <davem@davemloft.net>
53314         [BZ #13840]
53315         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53316         double-precision for the calculation instead of scaling.
53318 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53320         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53321         manipulate bits before adding and subtracting TWO52[sx].
53322         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53323         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53324         Likewise.
53325         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53327 2012-03-13  David S. Miller  <davem@davemloft.net>
53329         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53330         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53331         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53332         rtld-global-offsets.h
53333         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53335         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53336         large parameters.
53338         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53340         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53341         'err' in the ifdef scope in which it is actually used.
53343         * nss/nss_db/db-init.c: Include string.h
53345 2012-03-12  David S. Miller  <davem@davemloft.net>
53347         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53348         masking out of the most significant byte of random value used.
53349         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53350         Fix coding style in previous change.
53352         * sysdeps/unix/sysv/linux/kernel-features.h
53353         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53354         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53355         expression.
53356         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53357         later.
53359 2012-03-11  David S. Miller  <davem@davemloft.net>
53361         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53362         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53363         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53364         for 'resultvar' otherwise things get truncated on 64-bit.
53366         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53367         Fix masking out of the most significant byte of random value used.
53369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53371 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53375 2012-03-09  David S. Miller  <davem@davemloft.net>
53377         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53378         variables with appropriate CPP guards.
53379         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53380         from the frame pointer, not the stack pointer.  Correct layout
53381         comments.  Fix test on resulting framesize and the management of
53382         the outregs buffer for pltexit.  Preserve floating point return
53383         values across _dl_call_pltexit call.
53384         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53385         framesize and the management of the outregs buffer for pltexit.
53386         Preserve floating point return values across _dl_call_pltexit
53387         call.
53388         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53389         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53390         (la_sparc64_gnu_pltexit): New functions.
53391         (print_exit): Fix format string for return register value.
53393 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53395         * sunrpc/Makefile (others): Add rpcgen.
53396         ($(objpfx)rpcgen): Remove special build rule and dependency on
53397         libc.
53398         * sunrpc/rpcgen.c: New file.
53400 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53402         [BZ #13673]
53403         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53404         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53405         * sysdeps/i386/crti.S: Likewise.
53406         * sysdeps/i386/crtn.S: Likewise.
53407         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53408         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53409         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53410         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53411         * sysdeps/sh/crti.S: Likewise.
53412         * sysdeps/sh/crtn.S: Likewise.
53413         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53415         [BZ #13673]
53416         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53417         with URL.
53418         * locale/programs/locfile-kw.gperf: Likewise.
53419         * locale/programs/charmap-kw.h: Regenerated.
53420         * locale/programs/locfile-kw.h: Likewise.
53422         [BZ #13673]
53423         * intl/plural.y: Replace FSF snail mail address with URL.
53424         * intl/plural.c: Regenerated.
53426 2012-03-09  Richard Henderson  <rth@twiddle.net>
53428         * include/math_private.h: Remove file.
53429         * math/math_private.h: Move file ...
53430         * sysdeps/generic/math_private.h: ... here.
53432         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53433         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53434         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53436         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53437         and <math_private.h>.
53438         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53439         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53440         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53441         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53442         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53443         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53444         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53445         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53446         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53447         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53448         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53449         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53450         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53451         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53452         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53453         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53454         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53455         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53456         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53457         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53458         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53459         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53460         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53461         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53462         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53463         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53464         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53465         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53466         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53467         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53468         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53469         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53470         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53471         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53472         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53473         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53474         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53475         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53476         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53477         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53478         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53479         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53480         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53481         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53482         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53483         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53484         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53485         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53486         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53487         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53488         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53489         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53490         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53491         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53492         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53493         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53494         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53495         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53496         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53497         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53498         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53499         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53500         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53501         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53502         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53503         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53504         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53505         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53506         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53507         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53508         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53509         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53510         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53511         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53512         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53513         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53514         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53515         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53516         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53517         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53518         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53519         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53520         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53521         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53522         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53523         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53524         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53525         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53526         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53527         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53528         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53529         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53530         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53531         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53532         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53533         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53534         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53535         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53536         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53537         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53538         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53539         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53540         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53541         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53542         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53543         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53544         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53545         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53546         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53547         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53548         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53549         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53550         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53551         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53552         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53553         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53554         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53555         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53556         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53557         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53558         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53559         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53560         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53561         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53562         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53563         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53564         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53565         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53566         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53567         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53568         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53569         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53570         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53571         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53572         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53573         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53574         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53575         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53576         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53577         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53578         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53579         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53580         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53581         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53582         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53583         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53584         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53585         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53586         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53587         * sysdeps/ieee754/k_standard.c: Likewise.
53588         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53589         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53590         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53591         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53592         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53593         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53594         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53595         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53596         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53597         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53598         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53599         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53600         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53601         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53602         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53603         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53604         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53605         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53606         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53607         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53608         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53609         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53610         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53611         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53612         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53613         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53614         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53615         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53616         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53617         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53618         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53619         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53620         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53621         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53622         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53623         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53624         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53625         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53626         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53627         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53628         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53629         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53630         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53631         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53632         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53633         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53634         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53635         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53636         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53637         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53638         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53639         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53640         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53641         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53642         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53643         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53644         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53645         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53646         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53647         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53648         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53649         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53650         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53651         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53652         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53653         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53654         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53655         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53656         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53657         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53658         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53659         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53660         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53661         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53662         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53663         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53664         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53665         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53666         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53667         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53668         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53669         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53670         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53671         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53672         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53673         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53674         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53675         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53676         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53677         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53678         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53679         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53680         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53681         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53682         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53683         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53684         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53685         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53686         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53687         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53688         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53689         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53690         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53691         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53692         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53693         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53694         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53695         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53696         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53697         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53698         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53699         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53700         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53701         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53702         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53703         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53704         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53705         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53706         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53707         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53708         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53709         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53710         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53711         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53712         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53713         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53714         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53715         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53716         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53717         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53718         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53719         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53720         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53721         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53722         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53723         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53724         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53725         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53726         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53727         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53728         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53729         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53730         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53731         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53732         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53733         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53734         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53735         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53736         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53737         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53738         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53739         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53740         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53741         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53742         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53743         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53744         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53745         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53746         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53747         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53748         * sysdeps/ieee754/s_lib_version.c: Likewise.
53749         * sysdeps/ieee754/s_matherr.c: Likewise.
53750         * sysdeps/ieee754/s_signgam.c: Likewise.
53751         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53752         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53753         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53754         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53755         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53756         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53757         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53758         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53759         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53760         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53761         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53762         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53763         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53764         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53765         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53766         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53767         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53768         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53769         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53770         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53771         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53773 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53775         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53776         * sunrpc/rpc_main.c: Likewise.
53777         * sunrpc/rpc_svcout.c: Likewise.
53779 2012-03-09  David S. Miller  <davem@davemloft.net>
53781         * include/math_private.h: New file.
53783 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53785         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53786         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53787         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53788         from <bits/socket_type.h>.
53789         (enum __socket_type): Don't define here.
53790         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53792         bits/socket_type.h.
53794         [BZ #13566]
53795         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53796         checking __USE_GNU.
53798         * Makerules ($(inst_includedir)/%.h): New rule.
53799         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53800         (install-others): Remove variable setting.
53801         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53803 2012-03-08  Richard Henderson  <rth@twiddle.net>
53805         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53806         from macro to inline function; merge with the
53807         !__LIBC_INTERNAL_MATH_INLINES version.
53808         (__ieee754_sqrtf): Likewise.
53810         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53811         to inline function.
53812         (__rintf, __floor, __floorf): Likewise.
53814         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53815         macro to inline function.
53816         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53818         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53819         not <math/math_private.h>.
53821 2012-03-08  David S. Miller  <davem@davemloft.net>
53823         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53824         copyright year.
53825         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53827 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53829         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53830         normalization.
53831         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53832         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53834 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53836         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53837         be defined individually, they must be defined as a block.  Define
53838         S for printing a string instead of hidint the different by using a
53839         macro for adding the 'l'.
53840         * stdio-common/tst-fphex-wide.c: Adjust.
53842 2012-03-07  Marek Polacek  <polacek@redhat.com>
53844         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53846 2012-03-08  Marek Polacek  <polacek@redhat.com>
53848         [BZ #13806]
53849         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53850         * stdio-common/tst-fphex.c: Define a few macros to make the
53851         test reusable.  Use them.
53852         * stdio-common/tst-fphex-wide.c: New file.
53854 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53856         [BZ #6911]
53857         * manual/macros.texi (gnusystems): New macro.
53858         (nongnusystems): Likewise.
53859         (gnulinuxhurdsystems): Likewise.
53860         (gnuhurdsystems): Likewise..
53861         (gnulinuxsystems): Likewise.
53862         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53863         variants of the GNU system, not "GNU system".
53864         * manual/conf.texi: Likewise.
53865         * manual/errno.texi: Likewise.  Update example of errno macro
53866         expansion.
53867         * manual/filesys.texi: Likewise.
53868         (getumask): Document as specific to GNU/Hurd.
53869         * manual/install.texi: Likewise.  Reword some references to
53870         GNU/Linux.
53871         * manual/intro.texi: Likewise.
53872         * manual/io.texi: Likewise.
53873         (File Name Portability): Detail which constraints are inapplicable
53874         to all GNU systems and which are only inapplicable to GNU/Hurd.
53875         * manual/job.texi: Likewise.
53876         * manual/llio.texi: Likewise.
53877         (O_NOCTTY): Document as present on GNU/Linux.
53878         * manual/maint.texi: Likewise.
53879         * manual/memory.texi: Likewise.
53880         * manual/pattern.texi: Likewise.
53881         * manual/pipe.texi: Likewise.
53882         * manual/process.texi: Likewise.
53883         * manual/resource.texi: Likewise.
53884         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53885         child on GNU/Hurd.
53886         * manual/setjmp.texi: Likewise.
53887         * manual/signal.texi: Likewise.
53888         * manual/startup.texi: Likewise.
53889         * manual/stdio.texi: Likewise.
53890         * manual/terminal.texi: Likewise.
53891         (ONLCR): Document as POSIX.
53892         (OXTABS): Document availability on GNU/Linux as XTABS.
53893         (ONOEOT): Document availability separately from other bits.
53894         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53895         * manual/time.texi: Likewise.
53896         * manual/users.texi: Likewise.
53897         * INSTALL: Regenerated.
53898         * sysdeps/gnu/errlist.c: Regenerated.
53900         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53901         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53902         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53903         puts.
53904         * configure: Regenerated.
53906 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53908         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53909         default includes instead of AC_HEADER_CHECK.
53910         * sysdeps/i386/configure: Regenerated.
53912         [BZ #10716]
53913         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53914         * math/s_cacoshf.c (__cacoshf): Likewise.
53915         * math/s_cacoshl.c (__cacoshl): Likewise.
53916         * math/s_casinh.c (__casinh): Set signs of result from argument.
53917         * math/s_casinhf.c (__casinhf): Likewise.
53918         * math/s_casinhl.c (__casinhl): Likewise.
53919         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53920         (casinh_test): Add more tests.
53921         * sysdeps/i386/fpu/libm-test-ulps: Update.
53922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53924 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53926         * po/zh_TW.po: Update from translation team.
53928         * login/Makefile (distribute): Remove variable.
53929         * catgets/Makefile: Likewise.
53930         * mach/Makefile: Likewise.
53931         * malloc/Makefile: Likewise.
53932         * misc/Makefile: Likewise.
53933         * iconv/Makefile: Likewise.
53934         * nscd/Makefile: Likewise.
53935         * hurd/Makefile: Likewise.
53936         * manual/Makefile: Likewise.
53937         * locale/Makefile: Likewise.
53938         * intl/Makefile: Likewise.
53939         * conform/Makefile: Likewise.
53940         * nss/Makefile: Likewise.
53941         * time/Makefile: Likewise.
53942         * soft-fp/Makefile: Likewise.
53943         * dirent/Makefile: Likewise.
53944         * gmon/Makefile: Likewise.
53945         * po/Makefile: Likewise.
53946         * rt/Makefile: Likewise.
53947         * socket/Makefile: Likewise.
53948         * math/Makefile: Likewise.
53949         * signal/Makefile: Likewise.
53950         * debug/Makefile: Likewise.
53951         * elf/Makefile: Likewise.
53952         * timezone/Makefile: Likewise.
53953         * stdlib/Makefile: Likewise.
53954         * iconvdata/Makefile: Likewise.
53955         * sunrpc/Makefile: Likewise.
53956         * io/Makefile: Likewise.
53957         * argp/Makefile: Likewise.
53958         * inet/Makefile: Likewise.
53959         * hesiod/Makefile: Likewise.
53960         * grp/Makefile: Likewise.
53961         * csu/Makefile: Likewise.
53962         * wctype/Makefile: Likewise.
53963         * crypt/Makefile: Likewise.
53964         * libio/Makefile: Likewise.
53965         * string/Makefile: Likewise.
53966         * nis/Makefile: Likewise.
53967         * resolv/Makefile: Likewise.
53968         * stdio-common/Makefile: Likewise.
53969         * wcsmbs/Makefile: Likewise.
53970         * dlfcn/Makefile: Likewise.
53971         * posix/Makefile: Likewise.
53973         [BZ #6959]
53974         * timezone/Makefile: Don't install timezone files, just the programs
53975         and scripts.
53977 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53979         * nss/databases.def: Add missing gshadow entry.
53981         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53983 2012-03-06  Marek Polacek  <polacek@redhat.com>
53985         [BZ #13726]
53986         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53987         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53988         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53989         * stdio-common/tst-long-dbl-fphex.c: New file.
53991 2012-03-06  David S. Miller  <davem@davemloft.net>
53993         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53994         (set_obp_int): New function.
53995         (get_obp_int): New function.
53996         (__get_clockfreq_via_dev_openprom): Likewise.
53997         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53998         Avoid unused variable warnings on 'val' and use builtin_expect.
53999         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54000         __builtin_expect.
54001         (INLINE_CLONE_SYSCALL): Likewise.
54003 2012-03-05  David S. Miller  <davem@davemloft.net>
54005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54007 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54011         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54012         only for |x| >= 40.
54013         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54015 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54017         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54018         Replace gettimeofday with __vdso_gettimeofday.
54020         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54021         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54022         __vdso_clock_gettime and __vdso_getcpu.
54024         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54025         time with __vdso_time.
54027 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54029         * manual/lang.texi (size_t): Note types to which size_t may be
54030         equivalent with the GNU C Library, but do not describe when
54031         differences between them are significant.
54033 2012-03-05  Andreas Jaeger  <aj@suse.de>
54035         * sysdeps/i386/fpu/libm-test-ulps: Update.
54037 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54039         [BZ #3976]
54040         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54041         (__ieee754_pow): Save and restore rounding mode and use
54042         round-to-nearest for main computations.
54043         * math/libm-test.inc (pow_test_tonearest): New function.
54044         (pow_test_towardzero): Likewise.
54045         (pow_test_downward): Likewise.
54046         (pow_test_upward): Likewise.
54047         (main): Call the new functions.
54048         * sysdeps/i386/fpu/libm-test-ulps: Update.
54049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54051         [BZ #3976]
54052         * math/libm-test.inc (cosh_test_tonearest): New function.
54053         (cosh_test_towardzero): Likewise.
54054         (cosh_test_downward): Likewise.
54055         (cosh_test_upward): Likewise.
54056         (sinh_test_tonearest): Likewise.
54057         (sinh_test_towardzero): Likewise.
54058         (sinh_test_downward): Likewise.
54059         (sinh_test_upward): Likewise.
54060         (main): Call the new functions.
54061         * sysdeps/i386/fpu/libm-test-ulps: Update.
54062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54064 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54066         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54067         default stack guard is set in last bytes.
54068         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54070 2012-03-05  Kees Cook  <keescook@chromium.org>
54072         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54074         [BZ #13656]
54075         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54076         possibly allocate from heap instead of stack.
54077         * stdio-common/bug-vfprintf-nargs.c: New file.
54078         * stdio-common/Makefile (tests): Add nargs overflow test.
54080 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54084 2012-03-03  Marek Polacek  <polacek@redhat.com>
54086         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54087         * math/math_private.h: Likewise.
54088         * stdlib/tst-strtod.c: Likewise.
54089         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54090         * sysdeps/x86_64/bits/atomic.h: Likewise.
54092 2012-03-02  David S. Miller  <davem@davemloft.net>
54094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54098         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54099         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54100         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54101         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54103 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54105         [BZ #13792]
54106         * manual/examples/README: New file, says the example source files
54107         can be used under GPL>=2.
54108         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54109         line containing just "*/".
54110         * manual/examples/add.c: Add copyright header (GPL>=2).
54111         * manual/examples/argp-ex1.c: Likewise.
54112         * manual/examples/argp-ex2.c: Likewise.
54113         * manual/examples/argp-ex3.c: Likewise.
54114         * manual/examples/argp-ex4.c: Likewise.
54115         * manual/examples/atexit.c: Likewise.
54116         * manual/examples/db.c: Likewise.
54117         * manual/examples/dir.c: Likewise.
54118         * manual/examples/dir2.c: Likewise.
54119         * manual/examples/execinfo.c: Likewise.
54120         * manual/examples/filecli.c: Likewise.
54121         * manual/examples/filesrv.c: Likewise.
54122         * manual/examples/fmtmsgexpl.c: Likewise.
54123         * manual/examples/genpass.c: Likewise.
54124         * manual/examples/inetcli.c: Likewise.
54125         * manual/examples/inetsrv.c: Likewise.
54126         * manual/examples/isockad.c: Likewise.
54127         * manual/examples/longopt.c: Likewise.
54128         * manual/examples/memopen.c: Likewise.
54129         * manual/examples/memstrm.c: Likewise.
54130         * manual/examples/mkfsock.c: Likewise.
54131         * manual/examples/mkisock.c: Likewise.
54132         * manual/examples/mygetpass.c: Likewise.
54133         * manual/examples/pipe.c: Likewise.
54134         * manual/examples/popen.c: Likewise.
54135         * manual/examples/rprintf.c: Likewise.
54136         * manual/examples/search.c: Likewise.
54137         * manual/examples/select.c: Likewise.
54138         * manual/examples/setjmp.c: Likewise.
54139         * manual/examples/sigh1.c: Likewise.
54140         * manual/examples/sigusr.c: Likewise.
54141         * manual/examples/stpcpy.c: Likewise.
54142         * manual/examples/strdupa.c: Likewise.
54143         * manual/examples/strftim.c: Likewise.
54144         * manual/examples/strncat.c: Likewise.
54145         * manual/examples/subopt.c: Likewise.
54146         * manual/examples/swapcontext.c: Likewise.
54147         * manual/examples/termios.c: Likewise.
54148         * manual/examples/testopt.c: Likewise.
54149         * manual/examples/testpass.c: Likewise.
54150         * manual/examples/timeval_subtract.c: Likewise.
54152         [BZ #13792]
54153         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54154         function to ...
54155         * manual/timeval_subtract.c.texi: ... here, new file.
54157 2012-03-02  David S. Miller  <davem@davemloft.net>
54159         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54161 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54163         [BZ #3976]
54164         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54165         (__sin): Save and restore rounding mode and use round-to-nearest
54166         for all computations.
54167         (__cos): Save and restore rounding mode and use round-to-nearest
54168         for all computations.
54169         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54170         <fenv.h>.
54171         (tan): Save and restore rounding mode and use round-to-nearest for
54172         all computations.
54173         * math/libm-test.inc (cos_test_tonearest): New function.
54174         (cos_test_towardzero): Likewise.
54175         (cos_test_downward): Likewise.
54176         (cos_test_upward): Likewise.
54177         (sin_test_tonearest): Likewise.
54178         (sin_test_towardzero): Likewise.
54179         (sin_test_downward): Likewise.
54180         (sin_test_upward): Likewise.
54181         (tan_test_tonearest): Likewise.
54182         (tan_test_towardzero): Likewise.
54183         (tan_test_downward): Likewise.
54184         (tan_test_upward): Likewise.
54185         (main): Call the new functions.
54186         * sysdeps/i386/fpu/libm-test-ulps: Update.
54187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54189         [BZ #10135]
54190         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54191         small n, then large n, before computing and testing k+n.
54192         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54193         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54194         Likewise.
54195         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54196         Likewise.
54197         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54198         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54199         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54200         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54201         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54202         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54203         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54204         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54205         * math/libm-test.inc (scalbn_test): Add more tests.
54206         (scalbln_test): Likewise.
54208         * manual/filesys.texi (mode_t): Describe constraints on size and
54209         signedness, not exact equivalence to a particular type.
54210         (ino_t): Likewise.
54211         (ino64_t): Likewise.
54212         (dev_t): Likewise.
54213         (nlink_t): Likewise.
54214         (blkcnt_t): Likewise.
54215         (blkcnt64_t): Likewise.
54216         * manual/llio.texi (off_t): Likewise.
54218         [BZ #3976]
54219         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54220         (__ieee754_exp): Save and restore rounding mode and use
54221         round-to-nearest for all computations.
54222         * math/libm-test.inc (exp_test_tonearest): New function.
54223         (exp_test_towardzero): Likewise.
54224         (exp_test_downward): Likewise.
54225         (exp_test_upward): Likewise.
54226         (main): Call the new functions.
54227         * sysdeps/i386/fpu/libm-test-ulps: Update.
54228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54230 2012-03-01  Chris Demetriou  <cgd@google.com>
54232         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54233         have predictable order.
54235 2012-03-01  David S. Miller  <davem@davemloft.net>
54237         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54239         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54240         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54241         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54242         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54244         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54245         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54246         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54248         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54249         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54250         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54251         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54252         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54256         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54257         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54258         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54260         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54261         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54262         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54263         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54264         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54265         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54266         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54267         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54268         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54269         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54270         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54271         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54272         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54273         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54274         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54275         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54276         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54277         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54278         * sysdeps/sparc/elf/configure: Regenerated.
54280 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54282         * configure.in (AS, LD): Require binutils 2.20 or later.
54283         * configure: Regenerated.
54284         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54285         as required minimum version.
54286         * INSTALL: Regenerated.
54288         [BZ #2541]
54289         [BZ #4108]
54290         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54291         before squaring exponent.
54292         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54293         bottom long double and 27 bits of top long double before squaring
54294         exponent.
54295         * math/libm-test.inc (erfc_test): Add more tests.
54296         * sysdeps/i386/fpu/libm-test-ulps: Update.
54297         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54300 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54302         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54303         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54304         containing bit-fields.
54305         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54306         * soft-fp/single.h (_FP_UNION_S): Likewise.
54307         * soft-fp/double.h (_FP_UNION_D): Likewise.
54309 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54311         [BZ #13786]
54312         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54313         not include ../strcmp.S.
54314         [USE_AS_STRNCASECMP_L]: Likewise.
54315         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54316         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54317         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54318         (__strncasecmp_l_ia32): Define as alias to
54319         __strncasecmp_l_nonascii.
54321         [BZ #5794]
54322         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54323         * sysdeps/i386/fpu/libm-test-ulps: Update.
54324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54326         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54329 2012-02-29  Jeff Law  <law@redhat.com>
54331         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54332         out of bounds read.
54334 2012-02-29  Marek Polacek  <polacek@redhat.com>
54336         [BZ #13706]
54337         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54338         * elf/Makefile: Add rules to run tst-unused-dep.out.
54340 2012-02-28  David S. Miller  <davem@davemloft.net>
54342         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54343         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54344         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54345         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54346         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54347         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54349 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54351         * math/libm-test.inc (llround_test): Move one test from
54352         lround_test.  Use TEST_f_L in moved test.
54353         (lround_test): Move misplaced test to llround_test.  Add testcase
54354         from bug 2561.
54356 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54358         * sysdeps/x86_64/fpu/e_expf.S: New file.
54359         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54361 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54363         [BZ #13637]
54364         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54365         of remain_len that may cause incomplete multi-byte character and
54366         false match.
54367         * posix/bug-regex33.c: New file.
54368         * posix/Makefile (tests): Add bug-regex33.
54370 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54372         * manual/macros.texi: New file.
54373         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54374         * manual/libc.texinfo: Include macros.texi.
54375         * manual/creatute.texi: Likewise.
54376         * manual/install.texi: Likewise.
54377         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54378         @glibcadj{} in references to the GNU C Library.
54379         * manual/charset.texi: Likewise.
54380         * manual/conf.texi: Likewise.
54381         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54382         when not using those macros.
54383         * manual/creature.texi: Likewise.
54384         * manual/crypt.texi: Likewise.
54385         * manual/errno.texi: Likewise.
54386         * manual/filesys.texi: Likewise.
54387         * manual/header.texi: Likewise.
54388         * manual/install.texi: Likewise.
54389         * manual/intro.texi: Likewise.
54390         * manual/io.texi: Likewise.
54391         * manual/job.texi: Likewise.
54392         * manual/lang.texi: Likewise.
54393         * manual/libc.texiinfo: Likewise.
54394         * manual/llio.texi: Likewise.
54395         * manual/locale.texi: Likewise.
54396         * manual/maint.texi: Likewise.
54397         * manual/math.texi: Likewise.
54398         * manual/memory.texi: Likewise.
54399         * manual/message.texi: Likewise.
54400         * manual/nss.texi: Likewise.
54401         * manual/pattern.texi: Likewise.
54402         * manual/process.texi: Likewise.
54403         * manual/resource.texi: Likewise.
54404         * manual/search.texi: Likewise.
54405         * manual/setjmp.texi: Likewise.
54406         * manual/signal.texi: Likewise.
54407         * manual/socket.texi: Likewise.
54408         * manual/startup.texi: Likewise.
54409         * manual/stdio.texi: Likewise.
54410         * manual/string.texi: Likewise.
54411         * manual/sysinfo.texi: Likewise.
54412         * manual/syslog.texi: Likewise.
54413         * manual/terminal.texi: Likewise.
54414         * manual/time.texi: Likewise.
54415         * manual/users.texi: Likewise.
54416         * INSTALL: Regenerated.
54417         * NOTES: Regenerated.
54418         * sysdeps/gnu/errlist.c: Regenerated.
54420 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54422         * include/dirent.h: Include <dirstream.h> before
54423         <dirent/dirent.h>.
54425 2012-02-28  David S. Miller  <davem@davemloft.net>
54427         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54428         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54429         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54430         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54432 2012-02-27  David S. Miller  <davem@davemloft.net>
54434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54436         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54437         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54440         frame pointer instead of stack pointer relative arg slot.
54441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54442         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54443         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54445 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54447         [BZ #3992]
54448         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54450 2012-02-27  David S. Miller  <davem@davemloft.net>
54452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54456         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54457         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54458         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54459         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54461 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54463         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54464         later.  Allow versions 5-9.
54465         * configure: Regenerated.
54466         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54467         required minimum version and 4.6 as recommended version.  Do not
54468         mention bugs in GCC 2.7 and 2.8.
54469         * INSTALL: Regenerated.
54471 2012-02-27  David S. Miller  <davem@davemloft.net>
54473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54477         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54478         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54479         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54480         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54482         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54483         manipulate bits before adding and subtracting TWO112[sx].
54484         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54486 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54488         [BZ #13775]
54489         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54490         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54491         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54492         being in POSIX, because they are in 1003.1-2008.
54494         * rt/tst-aio.c: Include <fcntl.h>.
54495         * rt/tst-aio7.c: Likewise.
54496         * rt/tst-aio64.c: Likewise.
54498         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54500 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54502         * manual/install.texi (--with-headers): Describe headers as
54503         interface headers, not private headers.
54504         (Specific advice for GNU/Linux systems): Describe use of headers
54505         from "make headers_install", not private headers from older
54506         kernels.
54507         * INSTALL: Regenerated.
54508         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54509         Change to 2.6.19.
54510         * sysdeps/unix/sysv/linux/configure: Regenerated.
54512         * manual/llio.texi (fclean): Remove documentation.
54514         * manual/Makefile (libc-texi-generated): New variable.  Include
54515         version.texi.
54516         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54517         $(libc-texi-generated), not duplicated list of files.
54518         (version.texi, stamp-version): New rules.
54519         (realclean): Remove $(libc-texi-generated), not individual files
54520         from that list.  Do not remove dir-add.texinfo.
54521         * manual/libc.texinfo: Comment out uses of edition numbers and
54522         references to printed manual.  Remove last-updated dates.
54523         (EDITION): Comment out.
54524         (ISBN): Likewise.
54525         (VERSION, UPDATED): Remove.
54526         (version.texi): Include.
54528 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54530         * sysdeps/posix/spawni.c: Include <signal.h>.
54531         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54532         * sysdeps/pthread/aio_fsync.c: Likewise.
54534 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54536         * conform/Makefile (tests): Run only when not cross-compiling and
54537         when fast-check is not defined.
54539         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54540         * conform/data/limits.h-data: Fixes for POSIX2008.
54541         * conform/run-conformtest.sh: Run all tests.
54542         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54543         headers.
54544         * include/bits/dlfcn.h: Likewise.
54545         * include/langinfo.h: Likewise.
54546         * include/monetary.h: Likewise.
54547         * include/sys/poll.h: Likewise.
54549         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54550         for __USE_GNU.
54551         * posix/spawn.h: Define __need_sigset_t.
54552         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54553         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54554         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54555         to get sigevent_t only.
54556         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54557         only for __USE_GNU.
54558         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54559         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54560         process_vm_writev only for __USE_GNU.
54561         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54563         * conform/Makefile: For now ignore errors from run-conformtest.
54564         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54565         POSIX to avoid namespace pollution.  Don't prepend headers.
54566         * conform/data/aio.h-data: Fixes for POSIX testing.
54567         * conform/data/fcntl.h-data: Likewise.
54568         * conform/data/glob.h-data: Likewise.
54569         * conform/data/grp.h-data: Likewise.
54570         * conform/data/pthread.h-data: Likewise.
54571         * conform/data/pwd.h-data: Likewise.
54572         * conform/data/signal.h-data: Likewise.
54573         * conform/data/spawn.h-data: Likewise.
54574         * conform/data/stdio.h-data: Likewise.
54575         * conform/data/stdlib.h-data: Likewise.
54576         * conform/data/stropts.h-data: Likewise.
54577         * conform/data/sys/mman.h-data: Likewise.
54578         * conform/data/sys/stat.h-data: Likewise.
54579         * conform/data/sys/types.h-data: Likewise.
54580         * conform/data/sys/wait.h-data: Likewise.
54581         * conform/data/time.h-data: Likewise.
54582         * conform/data/unistd.h-data: Likewise.
54583         * conform/data/utime.h-data: Likewise.
54585         * io/sys/stat.h: fchmod was always in POSIX.
54586         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54587         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54588         * rt/aio.h: Define __need_timespec before including <time.h>.
54589         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54590         struct.  Add forward declaration of pthread_attr_t and use it in
54591         sigevent.
54592         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54593         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54594         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54595         always remove CLK_TCK definition.
54597 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54599         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54601 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54603         * conform/run-conformtest.sh: New file.
54604         * conform/Makefile: Run run-conformtest for tests.
54605         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54606         support.
54608         * conform/data/uchar.h-data: New file.
54609         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54610         * conform/data/arpa/inet.h-data: Likewise.
54611         * conform/data/assert.h-data: Likewise.
54612         * conform/data/complex.h-data: Likewise.
54613         * conform/data/cpio.h-data: Likewise.
54614         * conform/data/ctype.h-data: Likewise.
54615         * conform/data/dirent.h-data: Likewise.
54616         * conform/data/dlfcn.h-data: Likewise.
54617         * conform/data/errno.h-data: Likewise.
54618         * conform/data/fcntl.h-data: Likewise.
54619         * conform/data/float.h-data: Likewise.
54620         * conform/data/fmtmsg.h-data: Likewise.
54621         * conform/data/fnmatch.h-data: Likewise.
54622         * conform/data/ftw.h-data: Likewise.
54623         * conform/data/glob.h-data: Likewise.
54624         * conform/data/grp.h-data: Likewise.
54625         * conform/data/iconv.h-data: Likewise.
54626         * conform/data/inttypes.h-data: Likewise.
54627         * conform/data/langinfo.h-data: Likewise.
54628         * conform/data/libgen.h-data: Likewise.
54629         * conform/data/limits.h-data: Likewise.
54630         * conform/data/locale.h-data: Likewise.
54631         * conform/data/math.h-data: Likewise.
54632         * conform/data/monetary.h-data: Likewise.
54633         * conform/data/mqueue.h-data: Likewise.
54634         * conform/data/ndbm.h-data: Likewise.
54635         * conform/data/net/if.h-data: Likewise.
54636         * conform/data/netdb.h-data: Likewise.
54637         * conform/data/netinet/in.h-data: Likewise.
54638         * conform/data/nl_types.h-data: Likewise.
54639         * conform/data/poll.h-data: Likewise.
54640         * conform/data/pthread.h-data: Likewise.
54641         * conform/data/pwd.h-data: Likewise.
54642         * conform/data/regex.h-data: Likewise.
54643         * conform/data/sched.h-data: Likewise.
54644         * conform/data/search.h-data: Likewise.
54645         * conform/data/semaphore.h-data: Likewise.
54646         * conform/data/setjmp.h-data: Likewise.
54647         * conform/data/signal.h-data: Likewise.
54648         * conform/data/spawn.h-data: Likewise.
54649         * conform/data/stdarg.h-data: Likewise.
54650         * conform/data/stdio.h-data: Likewise.
54651         * conform/data/stdlib.h-data: Likewise.
54652         * conform/data/string.h-data: Likewise.
54653         * conform/data/strings.h-data: Likewise.
54654         * conform/data/stropts.h-data: Likewise.
54655         * conform/data/sys/ipc.h-data: Likewise.
54656         * conform/data/sys/mman.h-data: Likewise.
54657         * conform/data/sys/msg.h-data: Likewise.
54658         * conform/data/sys/resource.h-data: Likewise.
54659         * conform/data/sys/select.h-data: Likewise.
54660         * conform/data/sys/sem.h-data: Likewise.
54661         * conform/data/sys/shm.h-data: Likewise.
54662         * conform/data/sys/socket.h-data: Likewise.
54663         * conform/data/sys/stat.h-data: Likewise.
54664         * conform/data/sys/statvfs.h-data: Likewise.
54665         * conform/data/sys/time.h-data: Likewise.
54666         * conform/data/sys/timeb.h-data: Likewise.
54667         * conform/data/sys/times.h-data: Likewise.
54668         * conform/data/sys/types.h-data: Likewise.
54669         * conform/data/sys/uio.h-data: Likewise.
54670         * conform/data/sys/un.h-data: Likewise.
54671         * conform/data/sys/utsname.h-data: Likewise.
54672         * conform/data/sys/wait.h-data: Likewise.
54673         * conform/data/syslog.h-data: Likewise.
54674         * conform/data/tar.h-data: Likewise.
54675         * conform/data/termios.h-data: Likewise.
54676         * conform/data/utime.h-data: Likewise.
54677         * conform/data/utmpx.h-data: Likewise.
54678         * conform/data/varargs.h-data: Likewise.
54679         * conform/data/wchar.h-data: Likewise.
54680         * conform/data/wctype.h-data: Likewise.
54681         * conform/data/wordexp.h-data: Likewise.
54683         * include/stropts.h: New file.
54684         * include/uchar.h: New file.
54685         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54686         * include/assert.h: Likewise.
54687         * include/ctype.h: Likewise.
54688         * include/dirent.h: Likewise.
54689         * include/dlfcn.h: Likewise.
54690         * include/fcntl.h: Likewise.
54691         * include/fnmatch.h: Likewise.
54692         * include/glob.h: Likewise.
54693         * include/grp.h: Likewise.
54694         * include/libio.h: Likewise.
54695         * include/locale.h: Likewise.
54696         * include/math.h: Likewise.
54697         * include/net/if.h: Likewise.
54698         * include/netdb.h: Likewise.
54699         * include/netinet/in.h: Likewise.
54700         * include/pthread.h: Likewise.
54701         * include/pwd.h: Likewise.
54702         * include/regex.h: Likewise.
54703         * include/sched.h: Likewise.
54704         * include/search.h: Likewise.
54705         * include/setjmp.h: Likewise.
54706         * include/signal.h: Likewise.
54707         * include/stdio.h: Likewise.
54708         * include/stdlib.h: Likewise.
54709         * include/string.h: Likewise.
54710         * include/sys/cdefs.h: Likewise.
54711         * include/sys/mman.h: Likewise.
54712         * include/sys/msg.h: Likewise.
54713         * include/sys/resource.h: Likewise.
54714         * include/sys/select.h: Likewise.
54715         * include/sys/socket.h: Likewise.
54716         * include/sys/stat.h: Likewise.
54717         * include/sys/statvfs.h: Likewise.
54718         * include/sys/time.h: Likewise.
54719         * include/sys/times.h: Likewise.
54720         * include/sys/uio.h: Likewise.
54721         * include/sys/utsname.h: Likewise.
54722         * include/sys/wait.h: Likewise.
54723         * include/termios.h: Likewise.
54724         * include/time.h: Likewise.
54725         * include/ulimit.h: Likewise.
54726         * include/unistd.h: Likewise.
54727         * include/utime.h: Likewise.
54728         * include/wchar.h: Likewise.
54729         * include/wctype.h: Likewise.
54730         * include/wordexp.h: Likewise.
54732         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54734         * time/time.h: TIME_UTC must be a macro.
54735         Make timespec_get available for ISO C11 only as well.
54737 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54739         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54740         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54742 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54744         * configure.in: Use -o not -a in test for unsupported multi-arch.
54746 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54748         * manual/texinfo.tex: Update to version 2012-01-19.16.
54750 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54752         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54754 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54756         [BZ #13738]
54757         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54758         * manual/fdl-1.3.texi: New file.
54759         * manual/fdl-1.1.texi: File removed.
54761         [BZ #13738]
54762         * manual/libc.texinfo (FDL_VERSION): New @set.
54763         Use it for mention of FDL in cover text.
54764         (Documentation License): Use it in @include file name.
54766 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54767             Roland McGrath  <roland@hack.frob.com>
54769         [BZ #5461]
54770         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54771         (not LONG_LONG_MAX and LONG_LONG_MIN.
54772         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54773         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54774         name.
54775         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54777 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54779         [BZ #2547]
54780         [BZ #11365]
54781         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54782         manipulate bits before adding and subtracting TWO23[sx].
54783         * math/libm-test.inc (nearbyint_test): Add more tests.
54785 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54787         [BZ #2548]
54788         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54789         bits before adding and subtracting TWO23[sx].
54790         * math/libm-test.inc (rint_test): Add more tests.
54791         (rint_test_tonearest): Likewise.
54792         (rint_test_towardzero): Likewise.
54793         (rint_test_downward): Likewise.
54794         (rint_test_upward: Likewise.
54796 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54798         [BZ #10110]
54799         * include/stdc-predef.h: New file.  Extracted from features.h.
54800         * include/features.h: Include stdc-predef.h.
54801         * Makefile (headers): Add stdc-predef.h.
54802         * CONFORMANCE (Compiler limitations): Update.
54804 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54806         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54808 2012-02-21  David S. Miller  <davem@davemloft.net>
54810         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54811         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54813 2012-02-20  David S. Miller  <davem@davemloft.net>
54815         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54816         using a normal save/restore sequence, rather than allocating a
54817         dummy stack frame just to store a frame pointer and restore.
54818         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54820 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54822         * manual/install.texi: Fix stray word in line-wrapped comment.
54824 2012-02-20  David S. Miller  <davem@davemloft.net>
54826         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54827         both binutils and gcc support GOTDATA.
54829         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54830         "rd %pc" in the PIC register setup sequences.
54832         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54833         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54834         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54835         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54836         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54837         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54838         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54839         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54840         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54841         (SYSCALL_ERROR_HANDLER): Likewise.
54842         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54843         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54845         (SYSCALL_ERROR_HANDLER): Likewise.
54847         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54848         (HAVE_GCC_GOTDATA): New.
54849         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54850         relocation support in both binutils and gcc.
54851         * sysdeps/sparc/elf/configure: Regenerate.
54853         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54854         * sysdeps/sparc/sparc32/elf/configure: Delete.
54855         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54856         * sysdeps/sparc/sparc64/elf/configure: Delete.
54857         * sysdeps/sparc/elf/configure.in: New file.
54858         * sysdeps/sparc/elf/configure: Generate.
54860         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54861         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54862         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54863         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54864         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54866 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54868         * manual/install.texi: Do not mention specific glibc version
54869         numbers.
54870         * manual/libc.texinfo (VERSION, UPDATED): Update.
54871         (@copying): Use @copyright{} and range of years.
54873 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54875         [BZ #13695]
54876         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54877         [crti.S not in sysdirs] (generated): Do not append.
54878         [crti.S not in sysdirs] (omit-deps): Likewise.
54879         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54880         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54881         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54882         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54883         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54884         Likewise.
54885         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54886         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54887         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54888         * csu/defs.awk: Remove file.
54889         * sysdeps/generic/initfini.c: Likewise.
54890         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54891         variable.
54892         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54893         Likewise.
54895 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54897         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54898         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54899         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54900         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54901         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54902         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54903         <bits/epoll.h>.
54904         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54905         (__EPOLL_PACKED): Define to empty if not defined by
54906         <bits/epoll.h>.
54907         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54908         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54909         bits/epoll.h.
54911 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54913         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54914         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54915         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54916         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54917         <bits/timerfd.h>.
54918         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54919         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54920         bits/timerfd.h.
54922 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54924         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54925         in C locale.
54926         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54927         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54928         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54931 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54933         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54934         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54936 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54938         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54939         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54940         defined.
54941         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54942         Likewise.
54943         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54944         entry for 2.16.
54946 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54948         * math/w_acos.c: Use non-signaling floating-point comparisons.
54949         * math/w_acosf.c: Likewise.
54950         * math/w_acosh.c: Likewise.
54951         * math/w_acoshf.c: Likewise.
54952         * math/w_acoshl.c: Likewise.
54953         * math/w_acosl.c: Likewise.
54954         * math/w_asin.c: Likewise.
54955         * math/w_asinf.c: Likewise.
54956         * math/w_asinl.c: Likewise.
54957         * math/w_atanh.c: Likewise.
54958         * math/w_atanhf.c: Likewise.
54959         * math/w_atanhl.c: Likewise.
54960         * math/w_exp2.c: Likewise.
54961         * math/w_exp2f.c: Likewise.
54962         * math/w_exp2l.c: Likewise.
54963         * math/w_j0.c: Likewise.
54964         * math/w_j0f.c: Likewise.
54965         * math/w_j0l.c: Likewise.
54966         * math/w_j1.c: Likewise.
54967         * math/w_j1f.c: Likewise.
54968         * math/w_j1l.c: Likewise.
54969         * math/w_jn.c: Likewise.
54970         * math/w_jnf.c: Likewise.
54971         * math/w_log.c: Likewise.
54972         * math/w_log10.c: Likewise.
54973         * math/w_log10f.c: Likewise.
54974         * math/w_log10l.c: Likewise.
54975         * math/w_log2.c: Likewise.
54976         * math/w_log2f.c: Likewise.
54977         * math/w_log2l.c: Likewise.
54978         * math/w_logf.c: Likewise.
54979         * math/w_logl.c: Likewise.
54980         * math/w_sqrt.c: Likewise.
54981         * math/w_sqrtf.c: Likewise.
54982         * math/w_sqrtl.c: Likewise.
54983         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54984         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54985         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54986         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54987         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54989 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54991         [BZ #9739]
54992         * manual/string.texi (strnlen): Use correct parameter name in
54993         equivalent expression.
54995 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54997         [BZ #11174]
54998         * manual/users.texi (seteuid): Consistently use neweuid for
54999         argument name.
55001 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55003         [BZ #13704]
55004         * manual/nss.texi (Services in the NSS configuration): Correct
55005         list of services in example configuration file.
55007 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55009         [BZ #11322]
55010         * manual/arith.texi: Remove statements about negative zero
55011         behaving identically to zero.
55013 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55015         [BZ #5993]
55016         * manual/install.texi: Do not document upgrading from libc5.
55018 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55020         [BZ #4596]
55021         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55023 2012-02-18  David S. Miller  <davem@davemloft.net>
55025         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55026         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55027         %o7 across the call.
55028         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55029         instead.
55030         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55031         SETUP_PIC_REG_LEAF.
55032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55033         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55034         * sysdeps/sparc/crtn.S: Likewise.
55036 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55038         * aout/Makefile: Remove.
55040 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55042         [BZ #13058]
55043         * manual/examples/argp-ex1.c (main): Format definition in GNU
55044         style.
55045         * manual/examples/argp-ex2.c (main): Likewise.
55046         * manual/examples/argp-ex3.c (main): Likewise.
55047         * manual/examples/argp-ex4.c (main): Likewise.
55048         * manual/examples/longopt.c (main): Use new-style prototype
55049         definition.
55050         * manual/examples/strncat.c (main): Specify return type and use
55051         (void) for arguments.
55052         * manual/examples/subopt.c (main): Use char **argv argument.
55054 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55056         [BZ #5077]
55057         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55058         rounding modes.
55060 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55062         [BZ #6907]
55063         * manual/string.texi (strchr): Change when strchrnul is
55064         recommended.
55066 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55068         [BZ #174]
55069         * manual/locale.texi (setlocale): Document LOCPATH.
55071 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55073         [BZ #10210]
55074         * manual/process.texi (execle): Move @dots{} before last argument.
55076 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55078         [BZ #12047]
55079         * manual/charset.texi (Generic Charset Conversion): Fix typo
55080         (LC_TYPE -> LC_CTYPE).
55082 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55084         [BZ #5805]
55085         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55086         (scalbnf): Likewise.
55087         (scalbnl): Likewise.
55088         (scalbln): Likewise.
55089         (scalblnf): Likewise.
55090         (scalblnl): Likewise.
55091         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55092         (vwarnx): Likewise.
55093         (verr): Likewise.
55094         (verrx): Likewise.
55095         * manual/filesys.texi (telldir): Use braces around return type.
55096         * manual/llio.texi (mmap): Add space after comma.
55097         (mmap64): Likewise.
55098         * manual/math.texi (jn): Use @var{} on parameter names.
55099         (jnf): Likewise.
55100         (jnl): Likewise.
55101         (yn): Likewise.
55102         (ynf): Likewise.
55103         (ynl): Likewise.
55104         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55105         line.
55106         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55107         "...".
55108         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55109         (sched_get_priority_max): Likewise.
55110         * manual/signal.texi (sigvec): Add space after comma.
55111         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55112         names.
55113         (if_indextoname): Likewise.
55114         (if_freenameindex): Likewise.
55115         (sendto): Use ',' instead of '.' in prototype.
55116         * manual/startup.texi (syscall): Use @dots{} instead of literal
55117         "...".
55118         * manual/stdio.texi (__fpending): Separate initial words of
55119         paragraph from @deftypefun line.
55120         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55121         "...".
55122         (vsyslog): Use @var{} on parameter names.
55123         * manual/terminal.texi (stty): Use @var{} on parameter names.
55124         * manual/users.texi (getutmp): Use @var{} on parameter names.
55125         (getutmpx): Likewise.
55127 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55129         [BZ #6884]
55130         * manual/stdio.texi (fopen): Fix typos in description of
55131         ",ccs=STRING".
55133 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55135         [BZ #4026]
55136         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55137         get clock_id definition.
55139 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55141         [BZ #4822]
55142         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55143         (madvise): Cast every argument to void on its own.
55145 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55147         [BZ #9902]
55148         * manual/startup.texi (Exit Status): Fix typo.
55150 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55152         [BZ #10140]
55153         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55154         * manual/examples/argp-ex2.c: Likewise.
55155         * manual/examples/argp-ex3.c: Likewise.
55157 2012-02-16  Richard Henderson  <rth@redhat.com>
55159         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55160         * sysdeps/s390/s390-32/initfini.c: Remove.
55161         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55162         * sysdeps/s390/s390-64/initfini.c: Remove.
55164 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55166         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55167         compiler output for sysdeps/generic/initfini.c.
55168         * sysdeps/sh/elf/initfini.c: Remove file.
55170 2012-02-16  David S. Miller  <davem@davemloft.net>
55172         [BZ #11494]
55173         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55175         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55176         * sysdeps/sparc/crti.S: New file.
55177         * sysdeps/sparc/crtn.S: New file.
55178         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55179         * sysdeps/sparc/sparc64/Makefile: Likewise.
55181 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55183         [BZ #3335]
55184         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55186 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55188         [BZ #4822]
55189         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55191         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55192         (write, read, close): Likewise.
55193         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55195 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55197         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55198         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55199         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55200         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55201         <bits/signalfd.h>.
55202         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55203         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55204         bits/signalfd.h.
55206 2012-02-14  Marek Polacek  <polacek@redhat.com>
55208         * sysdeps/x86_64/crti.S: New file.
55209         * sysdeps/x86_64/crtn.S: New file.
55210         * sysdeps/x86_64/elf/initfini.c: Remove file.
55212 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55214         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55215         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55216         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55217         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55218         <bits/inotify.h>.
55219         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55221         bits/inotify.h.
55223 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55225         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55226         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55227         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55228         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55229         <bits/eventfd.h>.
55230         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55232         bits/eventfd.h.
55234 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55236         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55237         __feraiseexcept instead of feraiseexcept.
55239         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55240         nanosleep invocations.
55241         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55242         strings, and add error checking for a nanosleep invocations.
55244 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55246         Replace FSF snail mail address with URLs, as per GNU coding standards.
55247         Most of the snail mail addresses were wrong anyway, and omitting
55248         them makes the source code easier to maintain.  Almost all of the
55249         changes are to license notices and to locale LC_IDENTIFICATION
55250         addresses, except for this one:
55251         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55252         not its snail mail address.
55254 2012-02-09  Richard Henderson  <rth@twiddle.net>
55256         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55257         of kernel-features.h.
55259         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55261 2012-02-08  Marek Polacek  <polacek@redhat.com>
55263         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55264         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55265         * sysdeps/gnu/_G_config.h: Likewise.
55266         * sysdeps/generic/_G_config.h: Likewise.
55268 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55270         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55271         tests.
55272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55274         * sysdeps/powerpc/powerpc32/crti.S: New file.
55275         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55276         * sysdeps/powerpc/powerpc64/crti.S: New file.
55277         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55279         * Makeconfig (have-initfini): Don't set.
55280         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55281         * configure.in (nopic_initfini): Don't substitute.
55282         * config.h.in (HAVE_INITFINI): Don't #undef.
55283         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55284         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55286 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55288         Support crti.S and crtn.S provided directly by architectures.
55289         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55290         [crti.S in sysdirs] (omit-deps): Likewise.
55291         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55292         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55293         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55294         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55295         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55296         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55297         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55298         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55299         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55300         compiler output for sysdeps/generic/initfini.c.
55301         * sysdeps/i386/elf/Makefile: Remove file.
55302         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55304 2012-02-07  Marek Polacek  <polacek@redhat.com>
55306         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55307         * sysdeps/gnu/_G_config.h: Likewise.
55308         * sysdeps/mach/hurd/_G_config.h: Likewise.
55310 2012-02-07  Marek Polacek  <polacek@redhat.com>
55312         * math/Makefile (tests): Add tst-CMPLX2.
55313         * math/tst-CMPLX2.c: New file.
55315 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55317         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55319         * math/libm-test.inc (jn_test): Add missing L suffix.
55321 2012-02-06  Marek Polacek  <polacek@redhat.com>
55323         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55324         * sysdeps/i386/fpu/e_powf.S: Likewise.
55325         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55326         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55327         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55328         * sysdeps/i386/fpu/e_pow.S: Likewise.
55329         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55330         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55331         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55332         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55333         * sysdeps/i386/fpu/e_log2.S: Likewise.
55334         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55335         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55336         * sysdeps/i386/fpu/e_powl.S: Likewise.
55337         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55338         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55339         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55340         * sysdeps/i386/fpu/e_logl.S: Likewise.
55341         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55342         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55343         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55344         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55345         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55346         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55347         * sysdeps/i386/fpu/e_log.S: Likewise.
55348         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55349         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55350         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55351         * sysdeps/i386/fpu/e_logf.S: Likewise.
55352         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55353         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55354         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55355         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55356         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55357         * sysdeps/i386/fpu/e_log10.S: Likewise.
55358         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55359         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55360         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55361         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55362         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55363         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55364         * sysdeps/i386/asm-syntax.h: Likewise.
55365         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55366         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55367         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55368         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55369         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55370         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55371         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55372         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55373         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55374         * sysdeps/powerpc/sysdep.h: Likewise.
55375         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55376         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55378 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55380         [BZ #411]
55381         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55383 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55385         * sysdeps/i386/sysdep.h: Include <features.h>.
55386         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55387         version.
55389 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55391         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55392         Define.
55393         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55394         LOAD_PIC_REG_STR.
55396 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55398         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55399         (SETUP_PIC_REG): Use GET_PC_THUNK.
55400         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55401         macro.
55403 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55405         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55406         for non-PIC compilation.
55407         (SETUP_PIC_REG): Add .p2align directive.
55408         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55409         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55410         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55411         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55412         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55413         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55414         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55415         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55416         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55417         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55418         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55419         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55420         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55421         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55422         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55423         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55424         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55425         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55426         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55427         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55428         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55429         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55430         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55431         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55432         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55433         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55434         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55435         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55436         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55437         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55438         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55439         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55440         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55441         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55442         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55443         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55444         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55445         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55446         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55447         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55448         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55450 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55452         * math/tst-CMPLX.c: Include <stdio.h>.
55454 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55456         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55457         float.
55458         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55459         * sysdeps/sparc/bits/mathdef.h: Likewise.
55461 2012-01-31  Marek Polacek  <polacek@redhat.com>
55463         * libio/libio.h: Don't define _PARAMS.
55464         * locale/programs/config.h: Don't define PARAMS.
55465         * stdlib/strtol_l.c: Likewise.
55466         (__strtol_l): Remove PARAMS from the prototype.
55468 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55470         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55471         names.  Just use the correct names.  Remove unnecessary wrapper
55472         functions.
55473         * malloc/arena.c: Likewise.
55474         * malloc/hooks.c: Likewise.
55476         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55477         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55478         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55480 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55482         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55483         into tail calls.
55484         (update_get_addr): New function.
55485         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55486         GET_ADDR_MODULE parameter.
55488 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55490         * crypt/cert.c: Remove __STDC__ conditionals.
55491         * crypt/crypt-entry.c: Likewise.
55492         * crypt/crypt_util.c: Likewise.
55493         * libio/filedoalloc.c: Likewise.
55494         * libio/fileops.c: Likewise.
55495         * libio/genops.c: Likewise.
55496         * libio/iofclose.c: Likewise.
55497         * libio/iofdopen.c: Likewise.
55498         * libio/iofopen.c: Likewise.
55499         * libio/iofopen64.c: Likewise.
55500         * libio/iogetdelim.c: Likewise.
55501         * libio/iopopen.c: Likewise.
55502         * libio/obprintf.c: Likewise.
55503         * libio/oldfileops.c: Likewise.
55504         * libio/oldiofclose.c: Likewise.
55505         * libio/oldiofdopen.c: Likewise.
55506         * libio/oldiofopen.c: Likewise.
55507         * libio/oldiopopen.c: Likewise.
55508         * libio/wfiledoalloc.c: Likewise.
55509         * libio/wgenops.c: Likewise.
55510         * locale/programs/xmalloc.c: Likewise.
55511         * misc/syslog.c: Likewise.
55512         * stdio-common/xbug.c: Likewise.
55513         * string/memchr.c: Likewise.
55514         * string/memcmp.c: Likewise.
55515         * string/memrchr.c: Likewise.
55516         * string/rawmemchr.c: Likewise.
55517         * sysdeps/posix/getcwd.c: Likewise.
55518         * time/strftime_l.c: Likewise.
55520 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55522         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55523         * config.make.in (config-cflags-sse2avx): Define.
55524         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55525         Fix typo.
55527 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55529         * scripts/config.guess: Update from upstream config git repository.
55530         * scripts/config.sub: Likewise.
55532 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55534         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55535         (EM_NUM): Update.
55536         (R_TILEPRO_*, R_TILEGX_*): New macros.
55538         * scripts/firstversions.awk: Fix bug in version range handling.
55540         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55542         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55544         * include/sys/epoll.h: New file.
55545         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55546         libc_hidden_def.
55548 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55550         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55551         Avoid unnecessary __WORDSIZE == 64 test.
55552         (fmaxf): Use VEX format if possible.
55553         (fmax): Likewise.
55554         (fminf): Likewise.
55555         (fmin): Likewise.
55557         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55558         * math/math_private.h: Remove libc_fegetround* and
55559         libc_fesetround*.
55560         * sysdeps/i386/configure.in: Check for -msse2avx.
55561         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55562         also if SSE2AVX is defined.
55563         Remove libc_fegetround* and libc_fesetround*.
55564         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55565         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55566         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55567         of HAS_YMM_USABLE.
55568         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55569         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55570         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55571         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55572         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55574         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55576 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55578         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55579         size is not set.
55580         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55582 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55584         [BZ #13618]
55585         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55586         relocation.
55587         * Makeconfig (libm): Define.
55588         * elf/Makefile: Add rules to build and run tst-relsort1.
55589         * elf/tst-relsort1.c: New file.
55590         * elf/tst-relsort1mod1.c: New file.
55591         * elf/tst-relsort1mod2.c: New file.
55593 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55595         * math/s_ldexp.c: Remove __STDC__ conditionals.
55596         * math/s_ldexpf.c: Likewise.
55597         * math/s_ldexpl.c: Likewise.
55598         * math/s_nextafter.c: Likewise.
55599         * math/s_nexttowardf.c: Likewise.
55600         * math/s_significand.c: Likewise.
55601         * math/s_significandf.c: Likewise.
55602         * math/s_significandl.c: Likewise.
55603         * math/w_jnl.c: Likewise.
55604         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55605         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55606         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55607         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55608         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55609         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55610         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55611         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55612         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55613         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55614         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55615         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55616         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55617         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55618         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55619         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55620         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55621         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55622         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55623         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55624         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55625         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55626         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55627         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55628         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55629         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55630         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55631         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55632         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55633         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55634         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55635         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55636         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55637         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55638         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55639         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55640         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55641         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55642         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55643         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55644         * sysdeps/ieee754/k_standard.c: Likewise.
55645         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55646         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55647         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55648         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55649         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55650         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55651         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55652         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55653         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55654         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55655         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55656         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55657         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55658         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55659         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55660         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55661         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55662         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55663         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55664         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55665         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55666         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55667         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55668         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55669         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55670         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55671         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55672         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55673         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55674         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55675         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55676         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55677         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55678         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55679         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55680         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55681         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55682         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55683         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55684         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55685         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55686         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55687         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55688         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55689         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55690         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55691         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55692         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55693         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55694         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55695         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55696         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55697         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55698         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55699         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55700         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55701         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55702         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55703         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55704         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55705         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55706         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55707         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55708         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55709         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55710         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55711         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55712         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55713         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55714         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55715         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55716         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55717         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55718         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55719         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55720         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55721         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55722         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55723         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55724         * sysdeps/ieee754/s_matherr.c: Likewise.
55725         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55726         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55727         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55730 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55732         * crypt/md5.h: Remove __STDC__ conditionals.
55733         * libio/libioP.h: Likewise.
55734         * locale/programs/config.h: Likewise.
55735         * sysdeps/generic/sysdep.h: Likewise.
55736         * sysdeps/i386/asm-syntax.h: Likewise.
55737         * sysdeps/s390/asm-syntax.h: Likewise.
55738         * sysdeps/unix/sysdep.h: Likewise.
55739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55742 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55744         * libio/libio.h: Remove __STDC__ conditionals.
55745         * malloc/obstack.h: Likewise.
55746         * math/complex.h: Likewise.
55747         * math/math.h: Likewise.
55748         * sysdeps/generic/_G_config.h: Likewise.
55749         * sysdeps/gnu/_G_config.h: Likewise.
55750         * sysdeps/mach/hurd/_G_config.h: Likewise.
55751         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55752         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55753         * sysdeps/sparc/bits/mathdef.h: Likewise.
55755 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55757         [BZ #13583]
55758         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55759         Clean up HAS_* macros.
55760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55761         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55762         possible.
55763         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55764         HAS_AVX.
55765         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55766         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55767         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55768         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55769         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55771 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55773         * elf/tst-unique3.cc (gets): Remove declaration.
55774         * elf/tst-unique3lib.cc (gets): Likewise.
55775         * elf/tst-unique3lib2.cc (gets): Likewise.
55776         * elf/tst-unique4.cc (gets): Likewise.
55778 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55780         * include/stdio.h: Add C++ protection.  Add gets declarations and
55781         definitions.
55782         * debug/tst-chk1.c: Don't declare gets here.
55783         * stdio-common/tst-gets.c: Likewise.
55785 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55787         * posix/glob: Remove directory.
55789 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55791         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55793 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55795         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55796         of the non-standard EPFNOSUPPORT.
55798 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55800         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55801         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55802         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55804 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55806         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55808 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55810         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55811         transient errors.
55812         * nscd/grpcache.c (cache_addgr): Likewise.
55813         * nscd/hstcache.c (cache_addhst): Likewise.
55814         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55815         * nscd/pwdcache.c (cache_addpw): Likewise.
55816         * nscd/servicescache.c (cache_addserv): Likewise.
55818 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55820         * malloc/malloc.c: Various cleanups.
55821         * malloc/hooks.c: Likewise.
55823         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55824         * stdlib/bug-fmtmsg1.c: New file.
55826         * stdlib/fmtmsg.c (init): Add missing unlock.
55827         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55829 2012-01-12  Marek Polacek  <polacek@redhat.com>
55831         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55832         and _GNU_SOURCE.
55834 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55836         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55837         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55838         macro to ensure uniqueness of label name.
55839         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55840         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55842 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55844         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55846         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55847         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55848         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55849         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55851 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55853         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55855         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55856         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55857         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55859         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55861         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55862         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55863         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55864         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55866         * math/bits/math-finite.h: Add ldexp support.
55868 2012-01-10  Marek Polacek  <polacek@redhat.com>
55870         * locale/programs/localedef.h (show_archive_content): Add noreturn
55871         attribute.
55873 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55875         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55877 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55879         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55881         * io/Makefile (headers): Add bits/poll2.h.
55883 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55886         typo #include statement.
55888 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55890         * include/sys/cdefs.h: Define __attribute_alloc_size.
55891         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55892         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55893         * elf/pldd.c: Likewise.
55894         * iconv/iconv_charmap.c: Likewise.
55895         * iconv/iconvconfig.c: Likewise.
55896         * iconv/strtab.c: Likewise.
55897         * locale/programs/locale.c: Likewise.
55898         * locale/programs/localedef.h: Likewise.
55899         * locale/programs/simple-hash.c: Likewise.
55900         * nscd/nscd.h: Likewise.
55901         * nss/makedb.c: Likewise.
55902         * sysdeps/generic/ldconfig.h: Likewise.
55903         * locale/programs/localedef.c: Remove xmalloc prototype.
55904         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55906 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55908         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55909         appropriate.
55911 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55913         * math/Makefile (tests): Add tst-CMPLX.
55914         * math/tst-CMPLX.c: New file.
55916         * math/complex.h (CMPLXL): Fix typo.
55918         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55919         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55920         GLIBC_2.16.
55921         * debug/tst-chk1.c: Add poll and ppoll tests.
55922         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55923         * include/sys/poll.h: Add hidden proto for ppoll.
55924         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55925         * sysdeps/mach/hurd/ppoll.c: Likewise.
55926         * io/ppoll.c: Likewise.
55927         * debug/poll_chk.c: New file.
55928         * debug/ppoll_chk.c: New file.
55929         * include/bits/poll2.h: New file.
55930         * io/bits/poll2.h: New file.
55932         [BZ #1350]
55933         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55935         * configure.in: static is always set to yes.  Remove.
55936         * config.make.in: Don't set build-static.
55937         * Makeconfig: Remove use of build-static.
55938         * dlfcn/Makefile: Likewise.
55939         * elf/Makefile: Likewise.
55940         * math/Makefile: Likewise.
55941         * misc/Makefile: Likewise.
55942         * nptl/Makefile: Likewise.
55943         * sysdeps/mach/hurd/Makefile: Likewise.
55945         * configure.in: PWD_P is not used anymore.
55946         * config.make.in: Remove PWD_P entry.
55948         * configure.in: Remove last remnants of RANLIB.
55949         No need to check for signed size_t anymore.
55950         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55951         and IA-64.
55952         Remove __builtin_expect test because we require at least gcc 3.4.
55953         * aclocal.m4: Likewise.
55955         * wcsmbs/mbrtoc16.c: Implement using towc function.
55956         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55957         * wcsmbs/wcsmbsload.c: Likewise.
55958         * iconv/gconv_simple.c: Likewise.
55959         * iconv/gconv_int.h: Likewise.
55960         * iconv/gconv_builtin.h: Likewise.
55961         * iconv/iconv_prog.c: Remove CHAR16 handling.
55963         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55965         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55967         * configure.in: Remove --with-elf and --enable-bounded options.
55968         Dont set base_machine for ia64.  More non-ELF conditions removed.
55969         Remove testing and setting of leading underscore information.
55970         * config.make.in (build-bounded): Set to no.
55971         * config.h.in: Remove NO_UNDERSCORES entry.
55972         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55973         them.
55974         * csu/start.c: Remove !NO_UNDERSCORE code.
55975         * locale/localeinfo.h: Likewise.
55976         * sysdeps/generic/machine-gmon.h: Likewise.
55977         * sysdeps/generic/sysdep.h: Likewise.
55978         * sysdeps/i386/sysdep.h: Likewise.
55979         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55980         * sysdeps/mach/sysdep.h: Likewise.
55981         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55982         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55983         * sysdeps/sh/sysdep.h: Likewise.
55984         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55985         * sysdeps/unix/i386/sysdep.S: Likewise.
55986         * sysdeps/unix/sparc/start.c: Likewise.
55987         * sysdeps/unix/sparc/sysdep.S: Likewise.
55988         * sysdeps/unix/sparc/sysdep.h: Likewise.
55989         * sysdeps/unix/start.c: Likewise.
55990         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55991         * sysdeps/x86_64/sysdep.h: Likewise.
55993 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55995         [BZ #13553]
55996         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55997         for non-gcc.
55998         * argp/argp-fmtstream.h: Use const instead __const.
55999         * argp/argp.h: Likewise.
56000         * assert/assert.h: Likewise.
56001         * bits/fenv.h: Likewise.
56002         * bits/sched.h: Likewise.
56003         * bits/sigset.h: Likewise.
56004         * bits/sigthread.h: Likewise.
56005         * catgets/nl_types.h: Likewise.
56006         * conform/data/pthread.h-data: Likewise.
56007         * crypt/crypt-private.h: Likewise.
56008         * crypt/crypt.h: Likewise.
56009         * crypt/crypt_util.c: Likewise.
56010         * ctype/ctype.h: Likewise.
56011         * debug/execinfo.h: Likewise.
56012         * debug/mbsnrtowcs_chk.c: Likewise.
56013         * debug/mbsrtowcs_chk.c: Likewise.
56014         * debug/wcsnrtombs_chk.c: Likewise.
56015         * debug/wcsrtombs_chk.c: Likewise.
56016         * debug/wcstombs_chk.c: Likewise.
56017         * dirent/dirent.h: Likewise.
56018         * dlfcn/dlfcn.h: Likewise.
56019         * elf/neededtest4.c: Likewise.
56020         * grp/grp.h: Likewise.
56021         * gshadow/gshadow.h: Likewise.
56022         * iconv/gconv.h: Likewise.
56023         * iconv/gconv_int.h: Likewise.
56024         * iconv/gconv_simple.c: Likewise.
56025         * iconv/iconv.h: Likewise.
56026         * iconv/loop.c: Likewise.
56027         * iconv/skeleton.c: Likewise.
56028         * include/aio.h: Likewise.
56029         * include/aliases.h: Likewise.
56030         * include/argz.h: Likewise.
56031         * include/arpa/inet.h: Likewise.
56032         * include/assert.h: Likewise.
56033         * include/dirent.h: Likewise.
56034         * include/dlfcn.h: Likewise.
56035         * include/execinfo.h: Likewise.
56036         * include/fcntl.h: Likewise.
56037         * include/fenv.h: Likewise.
56038         * include/glob.h: Likewise.
56039         * include/grp.h: Likewise.
56040         * include/libintl.h: Likewise.
56041         * include/mntent.h: Likewise.
56042         * include/netdb.h: Likewise.
56043         * include/pwd.h: Likewise.
56044         * include/rpc/netdb.h: Likewise.
56045         * include/sched.h: Likewise.
56046         * include/search.h: Likewise.
56047         * include/shadow.h: Likewise.
56048         * include/signal.h: Likewise.
56049         * include/stdio.h: Likewise.
56050         * include/stdlib.h: Likewise.
56051         * include/string.h: Likewise.
56052         * include/sys/socket.h: Likewise.
56053         * include/sys/stat.h: Likewise.
56054         * include/sys/statfs.h: Likewise.
56055         * include/sys/statvfs.h: Likewise.
56056         * include/sys/syslog.h: Likewise.
56057         * include/sys/time.h: Likewise.
56058         * include/sys/uio.h: Likewise.
56059         * include/time.h: Likewise.
56060         * include/unistd.h: Likewise.
56061         * include/utmp.h: Likewise.
56062         * include/wchar.h: Likewise.
56063         * include/wctype.h: Likewise.
56064         * inet/aliases.h: Likewise.
56065         * inet/arpa/inet.h: Likewise.
56066         * inet/netinet/ether.h: Likewise.
56067         * inet/netinet/in.h: Likewise.
56068         * intl/libintl.h: Likewise.
56069         * io/bits/fcntl2.h: Likewise.
56070         * io/fcntl.h: Likewise.
56071         * io/ftw.h: Likewise.
56072         * io/sys/poll.h: Likewise.
56073         * io/sys/stat.h: Likewise.
56074         * io/sys/statfs.h: Likewise.
56075         * io/sys/statvfs.h: Likewise.
56076         * io/utime.h: Likewise.
56077         * libio/bits/stdio.h: Likewise.
56078         * libio/bits/stdio2.h: Likewise.
56079         * libio/libio.h: Likewise.
56080         * libio/libioP.h: Likewise.
56081         * libio/stdio.h: Likewise.
56082         * locale/lc-ctype.c: Likewise.
56083         * locale/locale.h: Likewise.
56084         * login/utmp.h: Likewise.
56085         * malloc/arena.c: Likewise.
56086         * malloc/malloc.c: Likewise.
56087         * malloc/malloc.h: Likewise.
56088         * malloc/mcheck.c: Likewise.
56089         * malloc/mtrace.c: Likewise.
56090         * math/bits/mathcalls.h: Likewise.
56091         * math/fenv.h: Likewise.
56092         * math/math_private.h: Likewise.
56093         * misc/bits/error.h: Likewise.
56094         * misc/bits/syslog.h: Likewise.
56095         * misc/err.h: Likewise.
56096         * misc/error.h: Likewise.
56097         * misc/fstab.h: Likewise.
56098         * misc/mntent.h: Likewise.
56099         * misc/regexp.h: Likewise.
56100         * misc/search.h: Likewise.
56101         * misc/sgtty.h: Likewise.
56102         * misc/sys/mman.h: Likewise.
56103         * misc/sys/syslog.h: Likewise.
56104         * misc/sys/uio.h: Likewise.
56105         * misc/sys/xattr.h: Likewise.
56106         * misc/ttyent.h: Likewise.
56107         * nis/rpcsvc/ypclnt.h: Likewise.
56108         * nss/nss.h: Likewise.
56109         * posix/bits/unistd.h: Likewise.
56110         * posix/fnmatch.h: Likewise.
56111         * posix/glob.h: Likewise.
56112         * posix/sched.h: Likewise.
56113         * posix/spawn.h: Likewise.
56114         * posix/sys/wait.h: Likewise.
56115         * posix/unistd.h: Likewise.
56116         * posix/wordexp.h: Likewise.
56117         * pwd/pwd.h: Likewise.
56118         * resolv/netdb.h: Likewise.
56119         * resource/sys/resource.h: Likewise.
56120         * rt/aio.h: Likewise.
56121         * rt/bits/mqueue2.h: Likewise.
56122         * rt/mqueue.h: Likewise.
56123         * shadow/shadow.h: Likewise.
56124         * signal/signal.h: Likewise.
56125         * socket/send.c: Likewise.
56126         * socket/sendto.c: Likewise.
56127         * socket/sys/socket.h: Likewise.
56128         * stdio-common/printf.h: Likewise.
56129         * stdlib/bits/stdlib.h: Likewise.
56130         * stdlib/fmtmsg.h: Likewise.
56131         * stdlib/monetary.h: Likewise.
56132         * stdlib/stdlib.h: Likewise.
56133         * stdlib/ucontext.h: Likewise.
56134         * streams/stropts.h: Likewise.
56135         * string/argz.h: Likewise.
56136         * string/bits/string2.h: Likewise.
56137         * string/string.h: Likewise.
56138         * string/strings.h: Likewise.
56139         * sunrpc/rpc/auth.h: Likewise.
56140         * sunrpc/rpc/auth_des.h: Likewise.
56141         * sunrpc/rpc/clnt.h: Likewise.
56142         * sunrpc/rpc/netdb.h: Likewise.
56143         * sunrpc/rpc/pmap_clnt.h: Likewise.
56144         * sunrpc/rpc/xdr.h: Likewise.
56145         * sysdeps/generic/inttypes.h: Likewise.
56146         * sysdeps/generic/net/if.h: Likewise.
56147         * sysdeps/generic/sys/swap.h: Likewise.
56148         * sysdeps/gnu/net/if.h: Likewise.
56149         * sysdeps/gnu/utmpx.h: Likewise.
56150         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56151         * sysdeps/i386/i486/bits/string.h: Likewise.
56152         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56153         * sysdeps/s390/bits/string.h: Likewise.
56154         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56155         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56156         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56157         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56158         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56159         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56160         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56161         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56162         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56163         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56164         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56165         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56166         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56167         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56168         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56169         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56170         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56171         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56172         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56173         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56174         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56175         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56176         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56177         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56178         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56179         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56180         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56181         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56182         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56183         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56184         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56185         * sysvipc/sys/ipc.h: Likewise.
56186         * sysvipc/sys/msg.h: Likewise.
56187         * sysvipc/sys/sem.h: Likewise.
56188         * sysvipc/sys/shm.h: Likewise.
56189         * termios/termios.h: Likewise.
56190         * time/sys/time.h: Likewise.
56191         * time/time.h: Likewise.
56192         * wcsmbs/bits/wchar2.h: Likewise.
56193         * wcsmbs/uchar.h: Likewise.
56194         * wcsmbs/wchar.h: Likewise.
56195         * wctype/wctype.h: Likewise.
56197         [BZ #13551]
56198         * Makeconfig: Remove all but ELF support including AIX support.
56199         * Makerules: Likewise.
56200         * config.h.in: Likewise.
56201         * config.make.in: Likewise.
56202         * configure: Likewise.
56203         * configure.in: Likewise.
56204         * csu/Makefile: Likewise.
56205         * csu/version.c: Likewise.
56206         * debug/Makefile: Likewise.
56207         * dlfcn/Makefile: Likewise.
56208         * elf/Makefile: Likewise.
56209         * extra-lib.mk: Likewise.
56210         * iconv/Makefile: Likewise.
56211         * include/libc-symbols.h: Likewise.
56212         * include/shlib-compat.h: Likewise.
56213         * resolv/Makefile: Likewise.
56214         * resolv/res_libc.c: Likewise.
56215         * rt/Makefile: Likewise.
56216         * sysdeps/i386/asm-syntax.h: Likewise.
56217         * sysdeps/i386/sysdep.h: Likewise.
56218         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56219         * sysdeps/mach/sysdep.h: Likewise.
56220         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56221         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56222         * sysdeps/s390/asm-syntax.h: Likewise.
56223         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56224         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56225         * sysdeps/sh/sysdep.h: Likewise.
56226         * sysdeps/unix/sparc/sysdep.h: Likewise.
56227         * sysdeps/wordsize-32/divdi3.c: Likewise.
56228         * sysdeps/x86_64/sysdep.h: Likewise.
56230         * argp/Versions: Remove _argp_unlock_xxx.
56232         [BZ #13559]
56233         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56234         * abilist/libBrokenLocale.abilist: Likewise.
56235         * abilist/libanl.abilist: Likewise.
56236         * abilist/libc.abilist: Likewise.
56237         * abilist/libcrypt.abilist: Likewise.
56238         * abilist/libdl.abilist: Likewise.
56239         * abilist/libm.abilist: Likewise.
56240         * abilist/libnsl.abilist: Likewise.
56241         * abilist/libpthread.abilist: Likewise.
56242         * abilist/libresolv.abilist: Likewise.
56243         * abilist/librt.abilist: Likewise.
56244         * abilist/libthread_db.abilist: Likewise.
56245         * abilist/libutil.abilist: Likewise.
56246         * abilist/libnss_db.abilist: New file.
56248         * scripts/abilist.awk: Add support for indirect functions.
56250         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56252         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56254         * shlib-versions: Remove entries for ports architectures.
56256         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56257         files in ports.
56258         * elf/stackguard-macros.h: Remove support for IA-64.
56259         * elf/tst-auditmod1.c: Likewise.
56260         * sysdeps/generic/ldsodefs.h: Likewise.
56262         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56263         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56264         configure files.
56266         [BZ #13552]
56267         * configure.in: Remove --enable-omitfp support.
56268         * FAQ.in: Adjust.
56269         * config.make.in: Likewise.
56270         * Makeconfig: Likewise.
56271         * manual/install.texi: Likewise.
56273         In case anyone cares, the IA-64 architecture could move to ports.
56274         * sysdeps/ia64/*: Removed.
56275         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56276         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56278         [BZ #13555]
56279         * configure.in: Remove entries for unsupported architectures.
56281         [BZ #13533]
56282         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56283         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56284         routines.
56285         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56286         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56287         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56288         fall back to using wcrtomb.
56289         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56290         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56291         renaming.
56292         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56293         * wcsmbs/tst-c16c32-1.c: New file.
56295         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56296         local variable.
56298         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56300         * elf/tst-unique3.cc: Add explicit declaration of gets.
56301         * elf/tst-unique3lib.cc: Likewise.
56302         * elf/tst-unique3lib2.cc: Likewise.
56303         * elf/tst-unique4.cc: Likewise.
56305         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56307 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56309         [BZ #13566]
56310         * assert/assert.h (static_assert): Don't define for C++.
56311         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56312         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56314 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56316         * iconv/loop.c (single loop): Fix assertion in storing of
56317         remaining bytes.
56319         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56321 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56323         * posix/getconf.c: Update copyright year.
56324         * nss/getent.c: Likewise.
56325         * nss/makedb.c: Likewise.
56326         * iconv/iconvconfig.c: Likewise.
56327         * iconv/iconv_prog.c: Likewise.
56328         * elf/ldconfig.c: Likewise.
56329         * elf/pldd.c: Likewise.
56330         * elf/sotruss.ksh: Likewise.
56331         * catgets/gencat.c: Likewise.
56332         * csu/version.c: Likewise.
56333         * elf/ldd.bash.in: Likewise.
56334         * elf/sprof.c (print_version): Likewise.
56335         * locale/programs/locale.c: Likewise.
56336         * locale/programs/localedef.c: Likewise.
56337         * login/programs/pt_chown.c: Likewise.
56338         * nscd/nscd.c (print_version): Likewise.
56339         * debug/xtrace.sh: Likewise.
56340         * malloc/memusage.sh: Likewise.
56341         * malloc/mtrace.pl: Likewise.
56342         * debug/catchsegv.sh: Likewise.
56344 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56346         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56347         pure attribute.
56349 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56351         [BZ #13533]
56352         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56353         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56354         transformations.
56355         * iconv/gconv_int.h: Likewise.
56356         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56357         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56358         from libc for GLIBC_2.16.
56359         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56360         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56361         * wcsmbs/uchar.h: Really define mbstate_t.
56362         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56363         * wcsmbs/c16rtomb.c: New file.
56364         * wcsmbs/mbrtoc16.c: New file.
56365         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56366         for C/POSIX locale.
56367         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56368         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56370         * wcsmbs/wchar.h: Add missing __restrict.
56372 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56374         [BZ #13532]
56375         * time/Makefile (routines): Add timespec_get.
56376         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56377         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56378         timespec for ISO C11.
56379         * time/timespec_get.c: New file.
56380         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56381         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56383         [BZ #13531]
56384         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56385         * stdlib/stdlib.h: Declare aligned_alloc.
56386         * Versions.def: Add GLIBC_2.16 for libc.
56387         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56389         [BZ 13527]
56390         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56391         ISO C11.
56393         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56394         code.
56396         [BZ #13528]
56397         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56399         [BZ #13529]
56400         * assert/assert.h (static_assert): Define.
56402         * version.h: Update for 2.16 development version.
56404         [BZ #13526]
56405         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56406         _ISOC11_SOURCE.
56408         * version.h (RELEASE): Bump for 2.15 release.
56409         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56411         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56412         Patch by Marek Polacek <mpolacek@redhat.com>.
56414         * bits/byteswap.h: Protect long long constants with __extension__.
56415         * sysdeps/i386/bits/byteswap.h: Likewise.
56416         * sysdeps/ia64/bits/byteswap.h: Likewise.
56417         * sysdeps/s390/bits/byteswap.h: Likewise.
56418         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56420 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56422         [BZ #13540]
56423         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56424         destination buffer.
56425         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56427 2011-12-23  Marek Polacek  <polacek@redhat.com>
56429         * elf/dl-addr.c (determine_info): Add inline keyword.
56430         * elf/tst-auditmod4b.c (check_avx): Likewise.
56431         * elf/tst-auditmod6b.c (check_avx): Likewise.
56432         * elf/tst-auditmod6c.c (check_avx): Likewise.
56433         * elf/tst-auditmod7b.c (check_avx): Likewise.
56435 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56437         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56438         !__SSE_MATH__.
56440 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56442         [BZ #13540]
56443         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56444         processing for last bytes.
56446 2011-08-06  Bruno Haible  <bruno@clisp.org>
56448         [BZ #13061]
56449         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56450         U+0385, not to U+1FEE.
56452         [BZ #13062]
56453         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56454         entry for U+00A5 U+0301.
56456 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56458         [BZ #13166]
56459         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56460         buffer for the output is too small.
56462         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56463         optimization.
56465         [BZ #13185]
56466         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56467         SSE flags if possible.
56469 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56471         [BZ #13540]
56472         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56473         processing for last bytes.
56475 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56477         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56478         (syscall-list-default-options, syscall-list-default-condition)
56479         (syscall-list-includes): Define.
56480         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56481         list of ABIs and options and #if conditions for each ABI.  Do not
56482         handle common syscalls between ABIs specially.
56483         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56484         Remove.
56485         (syscall-list-variants, syscall-list-32bit-options)
56486         (syscall-list-32bit-condition, syscall-list-64bit-options)
56487         (syscall-list-64bit-condition): Define.
56488         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56489         (syscall-list-variants, syscall-list-32bit-options)
56490         (syscall-list-32bit-condition, syscall-list-64bit-options)
56491         (syscall-list-64bit-condition): Define.
56492         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56493         Remove.
56494         (syscall-list-variants, syscall-list-32bit-options)
56495         (syscall-list-32bit-condition, syscall-list-64bit-options)
56496         (syscall-list-64bit-condition): Define.
56497         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56498         Remove.
56499         (syscall-list-variants, syscall-list-32bit-options)
56500         (syscall-list-32bit-condition, syscall-list-64bit-options)
56501         (syscall-list-64bit-condition): Define.
56503 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56505         * locale/iso-639.def: Add brx entry.
56507         [BZ #13328]
56508         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56509         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56511         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56512         __feraiseexcept_renamed.
56514 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56516         [BZ #13538]
56517         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56518         EPOLLET with unsigned values.
56519         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56520         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56522         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56523         to large cancellation.
56524         * math/s_cacoshf.c: Likewise.
56525         * math/s_cacoshl.c: Likewise.
56527 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56529         [BZ #13305]
56530         [BZ #12786]
56531         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56532         * math/s_cacoshf.c: Likewise.
56533         * math/s_cacoshl.c: Likewise.
56535 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56537         [BZ #13439]
56538         * iconv/gconv.h: Define __GCONV_SWAP.
56539         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56540         * iconvdata/utf-16.c: Likewise.
56541         * iconvdata/utf-32.c: Likewise.
56543 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56545         [BZ #13524]
56546         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56547         numerator after shifting it by one limb.
56549 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56551         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56552         under [__USE_EXTERN_INLINES].
56554 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56556         [BZ #13446]
56557         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56559 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56561         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56562         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56563         optimized code.
56564         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56565         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56566         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56567         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56568         for strncasecmp/strncasecmp_l compilation.
56569         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56570         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56572 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56574         [BZ #13484]
56575         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56576         of __asm__.
56578 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56580         [BZ #13506]
56581         * time/tzfile.c (__tzfile_read): Check values from file header.
56583 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56585         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56586         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56587         * powerpc/powerpc32/dl-start.S: Likewise.
56588         * powerpc/powerpc32/elf/start.S: Likewise.
56589         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56590         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56591         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56592         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56593         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56594         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56595         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56596         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56597         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56598         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56599         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56600         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56601         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56602         * powerpc/powerpc32/memset.S: Likewise.
56603         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56604         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56605         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56606         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56607         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56608         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56609         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56610         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56611         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56612         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56613         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56614         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56615         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56617 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56619         * math/libm-test.inc: Added more nearbyint tests.
56620         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56621         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56622         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56623         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56625 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56627         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56628         FD_CLOEXEC.
56630 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56632         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56633         Add wcscpy-ssse3 wcscpy-c.
56634         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56635         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56636         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56637         * sysdeps/x86_64/wcschr.S: New file.
56638         * sysdeps/x86_64/wcsrchr.S: New file.
56639         * string/test-strcmp.c: Remove checking of wcscmp function for
56640         wrong alignments.
56641         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56642         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56643         wcsrchr-sse2 wcsrchr-c.
56644         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56645         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56646         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56647         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56648         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56649         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56650         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56651         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56652         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56653         * wcsmbc/wcschr.c (WCSCHR): New macro.
56655 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56657         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56658         * wcsmbs/test-wcsrchr.c: New file.
56659         * string/test-strrchr.c: Add wcsrchr support.
56660         (WIDE): New macro.
56661         * wcsmbs/test-wcscpy.c: New file.
56662         * string/test-strcpy.c: Add wcscpy support.
56663         (WIDE): New macro.
56665 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56667         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56668         the inner loop.
56670 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56672         [BZ #13472]
56673         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56675 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56677         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56678         Minor optimizations.
56680         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56681         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56682         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56684 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56686         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56687         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56688         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56689         for gcc to avoid warnings.
56690         * inet/Makefile (tests): Add tst-checks.
56691         * inet/tst-checks.c: New file.
56693         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56694         warning.
56696         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56697         __wmemcmp_sse2.
56699         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56700         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56702         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56704 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56706         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56707         problem.
56709         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56711 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56713         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56714         conditional on GCC version.
56715         (__arch_compare_and_exchange_val_8_acq)
56716         (__arch_compare_and_exchange_val_16_acq)
56717         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56718         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56719         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56721 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56723         * sysdeps/sh/backtrace.c: New file.
56725 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56727         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56728         parenthesis.
56730 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56732         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56733         falling back to utime.
56735 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56737         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56738         expectations for float.
56740 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56742         * locale/weight.h (findidx): Add parameter len.
56743         * locale/weightwc.h (findidx): Likewise.
56744         * posix/fnmatch_loop.c (FCT): Adjust caller.
56745         * posix/regcomp.c (build_equiv_class): Likewise.
56746         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56747         * posix/regexec.c (check_node_accept_bytes): Likewise.
56748         * string/strcoll_l.c (STRCOLL): Likewise.
56749         * string/strxfrm_l.c (STRXFRM): Likewise.
56751 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56753         * Makefile.in: Remove CVSOPT handling.
56754         * configure.in: Remove use of AC_REVISION.
56755         * iconvdata/Makefile (distribute): No need to filter out CVS.
56756         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56757         handling.
56759 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56761         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56762         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56763         [USE_AS_STRNCASECMP_L]: Likewise.
56764         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56765         NO_TLS_DIRECT_SEG_REFS.
56766         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56767         Fix argument offsets for non-PIC.
56768         [USE_AS_STRNCASECMP_L]: Likewise.
56769         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56770         NO_TLS_DIRECT_SEG_REFS.
56772 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56774         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56775         O_CLOEXEC.
56776         * locale/loadlocale.c (_nl_load_locale): Likewise.
56778 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56780         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56781         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56782         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56783         (SYSCALL_GETTIME): Set errno on error.
56785         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56786         count references to noai6ai_cached.
56788 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56790         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56792         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56793         FD_CLOEXEC for /proc/self/maps.
56795         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56796         FD_CLOEXEC for /proc/meminfo.
56798         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56799         gai.conf.
56801         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56802         FD_CLOEXEC for given file.
56804         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56806         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56807         FD_CLOEXEC for /etc/hosts.
56808         (_gethtent): Likewise.
56810         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56812         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56813         cancellation and set FD_CLOEXEC for /etc/netgroup.
56815         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56816         reading /etc/publickey.
56818         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56819         allow cancellation when reading /etc/group.
56821         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56822         cancellation.
56823         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56825         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56826         when using data file.
56828         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56830         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56831         (write_nis_obj): Use "c" and "e" in fopen.
56833         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56835         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56837         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56839         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56841         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56842         locale.alias.
56844         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56846         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56848         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56850         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56851         file parsing and set FD_CLOEXEC.
56853 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56855         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56857 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56859         * malloc/arena.c (arena_get2): Don't call reused_arena when
56860         _int_new_arena failed.
56862 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56864         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56865         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56866         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56867         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56868         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56869         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56870         to compile strcasecmp and strncasecmp.
56871         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56872         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56874         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56876 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56878         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56879         locale-defines.sym to gen-as-const-headers.
56880         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56881         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56882         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56883         to compile strcasecmp and strncasecmp.
56884         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56885         strcasecmp_l and strncasecmp_l.
56886         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56887         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56888         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56889         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56890         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56891         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56892         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56893         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56894         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56895         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56896         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56898 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56900         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56901         result of SYSDEP_GETTIME_CPU to retval.
56902         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56903         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56905         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56906         variable.
56908         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56909         mantissa words.
56910         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56912         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56913         from unused variable.
56915         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56916         DWARF definitions.
56917         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56918         for assembling.
56920         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56921         over namespaces.
56923         * sunrpc/rpc_prot.c (rejected): Fix case value.
56925         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56926         unsigned long long int to avoid warnings in shift.
56928         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56929         of use of trans.
56930         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56931         variable tmp.
56933         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56934         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56935         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56937         * nis/nis_table.c (nis_list): Use variable of correct type for
56938         result of __follow_path call.
56940 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56942         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56943         of math functions ceil, trunc, floor, round, and sqrt, when
56944         avaliable on the platform.
56945         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56946         name clash.
56947         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56948         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56949         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56951 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56953         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56954         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56956 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56958         * include/unistd.h: Fix __readlink return type.
56959         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56961 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56963         * stdlib/ucontext.h: Undo last change for makecontext.
56965 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56967         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56969         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56970         * setjmp/setjmp.h: Mark functions as non-leaf.
56971         * setjmp/bits/setjmp2.h: Likewise.
56972         * stdlib/ucontext.h: Likewise.
56974 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56976         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56977         (reused_arena): Don't check arena limit.
56978         (arena_get2): Atomically check arena limit.
56980 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56982         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56983         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56985         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56986         instructions.
56988 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56990         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56991         handler when locking.
56993         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56994         Fix size of allocated buffer.
56996 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56998         [BZ #10103]
56999         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57000         declarations for long double functions.
57001         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57003         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57005 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57007         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57008         installed.
57010         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57011         is disabled.
57013 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57015         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57017 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57019         * include/alloca.h (stackinfo_alloca_round): Define.
57020         (extend_alloca): Use it.
57021         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57022         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57023         here.
57025         * scripts/check-local-headers.sh: Ignore libaudit.h.
57027         * nscd/Makefile (extra-objs): Make recursively expanded.
57029 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57031         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57032         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57034         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57035         * posix/tst-rfc3484-2.c: Likewise.
57036         * posix/tst-rfc3484-3.c: Likewise.
57038         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57039         process_vm_writev.
57040         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57041         process_vm_writev.
57042         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57043         process_vm_writev from libc using GLIBC_2.15 version.
57045         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57047 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57049         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57050         stack usage.
57052 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57054         [BZ #13367]
57055         * nss/getent.c (initgroups_keys): Show error message in case no group
57056         names are given.
57058         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57059         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57060         __bump_nl_timestamp.
57061         * nscd/connections (nscd_init): When host database is served open
57062         netlink socket and request notification about configuration changes.
57063         (main_loop_poll): Track netlink file descriptor and bump timestamp
57064         in case data becomes available.
57065         (main_loop_epoll): Likewise.
57066         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57067         (database_pers_head): Add extra_data fileds.
57068         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57069         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57070         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57071         Adjust caller.
57072         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57073         in6ai data, call __free_in6ai.
57074         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57075         Add -DHAVE_NETLINK.
57076         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57077         interface information.  Reuse previous data if netlink timestamp
57078         is not changed.
57079         (__bump_nl_timestamp): New function.
57080         (__free_in6ai): New function.
57082 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57084         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57085         close_not_cancel_no_status here.
57086         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57088 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57090         [BZ #13276]
57091         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57092         return value.
57094         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57095         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57096         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57098 2011-07-03  Andreas Jaeger  <aj@suse.de>
57100         [BZ #10709]
57101         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57102         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57103         * math/libm-test.inc (sin_test): Add test case.
57105 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57107         [BZ #13337]
57108         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57109         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57111         * elf/chroot_canon.c (chroot_canon): Cleanups.
57113         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57115         [BZ #13335]
57116         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57117         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57119         * string/test-strchr.c: Make usable for strchrnul testing.
57120         * string/test-strchrnul.c: New file.
57121         * string/Makefile (strop-tests): Add strchrnul.
57123         * po/it.po: Update from translation team.
57124         * po/es.po: Likewise.
57126 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57128         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57129         the three constants needed as parameters.  Drop the others.
57130         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57131         __m128i_strloadu_tolower.
57132         Create and initialize variable zero and use it in all the places
57133         where _mm_setzero_si128 was used.
57135         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57136         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57137         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57138         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57139         anymore.
57140         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57141         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57142         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57143         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57144         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57145         __mpranred, __mptan.
57146         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57147         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57148         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57149         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57150         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57151         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57152         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57153         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57154         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57156 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57158         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57159         redefine if SHARED.
57160         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57163         wide char related routines to wcsmbs subdir.
57165 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57167         [BZ #13344]
57168         * misc/sys/cdefs.h (__THROWNL): Define.
57169         * posix/unistd.h: Use __THREADNL instead of __THREAD
57170         for memory synchronization functions.
57172 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57174         [BZ #13349]
57175         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57176         doesn't exist.
57177         * manual/stdio.texi (Obstack Streams): Node removed.
57179 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57181         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57182         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57183         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57185         * math/math_private.h (math_force_eval): Allow non-addressable
57186         arguments.
57187         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57189 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57191         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57192         file is not needed.
57194         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57195         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57196         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57197         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57198         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57199         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57200         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57201         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57202         Add AVX variants.
57203         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57204         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57205         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57206         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57207         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57208         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57209         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57210         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57211         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57212         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57213         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57214         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57215         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57216         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57217         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57218         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57219         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57220         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57221         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57223         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57224         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57226         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57227         place.  Use VEX encoding when compiling for AVX.
57229 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57231         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57232         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57234         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57236 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57238         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57239         useless if() expression.
57240         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57241         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57242         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57243         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57244         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57245         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57246         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57247         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57248         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57249         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57250         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57251         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57252         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57253         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57254         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57255         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57256         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57257         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57258         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57260         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57262 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57264         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57265         condition.
57266         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57268 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57270         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57271         .text section.  Avoid duplicate constants.
57272         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57273         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57274         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57275         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57276         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57277         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57278         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57279         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57280         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57281         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57282         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57283         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57284         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57285         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57286         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57287         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57288         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57289         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57290         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57291         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57292         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57293         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57294         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57295         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57296         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57297         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57298         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57299         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57300         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57301         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57302         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57303         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57304         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57305         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57306         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57307         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57308         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57309         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57310         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57311         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57312         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57313         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57314         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57315         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57316         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57318 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57320         * sysdeps/x86_64/dla.h: Move to ...
57321         * sysdeps/x86_64/fpu/dla.h: ...here.
57322         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57323         situations.  Use __builtin_fma only for gcc 4.6 and up.
57325         * config.make.in: Add have-mfma4 entry.
57326         * configure.in: Substitute libc_cv_cc_fma4.
57327         * math/Makefile (dbl-only-routines): Add sincostab.
57328         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57329         Use __sincostab not sincos.
57330         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57331         name is a macro.
57332         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57333         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57334         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57335         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57336         using __copysign.
57337         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57338         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57339         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57340         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57341         and __inv.
57342         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57343         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57344         __copysign.
57345         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57346         define aliases when function name is a macro.
57347         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57348         sysdeps/ieee754/dbl-64/sincos.tbl.
57349         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57350         fma4-enabled routines.
57351         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57352         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57353         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57354         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57355         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57356         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57357         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57358         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57359         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57360         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57361         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57362         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57363         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57364         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57365         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57366         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57367         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57368         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57369         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57370         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57371         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57372         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57373         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57374         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57375         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57376         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57377         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57378         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57379         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57380         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57382         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57383         rename.
57384         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57385         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57386         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57387         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57388         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57389         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57390         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57391         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57393 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57395         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57397 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57399         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57401         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57402         prediction.
57403         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57405         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57406         Remove unused variable magic_bits.
57407         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57409         * string/strnlen.c: Define and use STRNLEN macro.
57410         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57411         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57412         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57413         * wcsmbs/wcslen.c: Define and use WCSLEN.
57414         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57415         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57416         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57417         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57418         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57419         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57420         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57422 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57424         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57425         strnlen-sse2-no-bsf.
57426         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57427         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57428         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57429         Add strnlen support.
57430         (USE_AS_STRNLEN): New macro.
57431         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57432         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57433         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57434         * sysdeps/x86_64/wcslen.S: New file.
57436 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57438         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57439         XMM-moves are used for copying on small sizes.
57441 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57443         * wcsmbs/Makefile (strop-tests): Add wcschr.
57444         * wcsmbs/test-wcschr.c: New file.
57445         * string/test-strchr.c: Update.
57446         Add wcschr support.
57447         (WIDE): New macro.
57449 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57451         * wcsmbs/Makefile (strop-tests): Add wcslen.
57452         * wcsmbs/test-wcslen.c: New file.
57453         * string/test-strlen.c: Update.
57454         Add wcslen support.
57455         (WIDE): New macro.
57457 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57459         * po/it.po: Update from translation team.
57461 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57463         * sysdeps/x86_64/wcscmp.S: Update.
57464         Fix wrong comparison semantics.
57465         wcscmp shall use signed comparison not unsigned.
57466         Don't use substraction to avoid overflow bug.
57467         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57468         * wcsmbc/wcscmp.c: Likewise.
57469         * string/test-strcmp.c: Likewise.
57470         Add new tests to check cases with negative values.
57472 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57474         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57475         * sysdeps/x86_64/dla.h: ...here.  New file.
57476         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57477         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57478         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57479         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57480         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57481         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57482         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57483         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57484         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57486 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57489         __ynl_finite aliases.
57491 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57495         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57496         define DLA_FMA.
57497         [DLA_FMA] (EMULV): Use DLA_FMA.
57498         [DLA_FMA] (MUL12): Use EMULV.
57499         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57500         that are not needed.
57501         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57502         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57503         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57504         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57505         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57506         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57507         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57509 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57511         * math/s_nan.c: Undef __nan.
57512         * math/s_nanf.c: Undef __nanf.
57513         * math/s_nanl.c: Undef __nanl.
57514         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57515         "math_private.h".
57517 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57519         * math/s_catan.c: Add branch predictions.
57520         * math/s_catanf.c: Likewise.
57521         * math/s_catanh.c: Likewise.
57522         * math/s_catanhf.c: Likewise.
57523         * math/s_catanhl.c: Likewise.
57524         * math/s_catanl.c: Likewise.
57525         * math/s_cexp.c: Likewise.
57526         * math/s_cexpf.c: Likewise.
57527         * math/s_cexpl.c: Likewise.
57528         * math/s_clog.c: Likewise.
57529         * math/s_clog10.c: Likewise.
57530         * math/s_clog10f.c: Likewise.
57531         * math/s_clog10l.c: Likewise.
57532         * math/s_clogf.c: Likewise.
57533         * math/s_clogl.c: Likewise.
57534         * math/s_csqrt.c: Likewise.
57535         * math/s_csqrtf.c: Likewise.
57536         * math/s_csqrtl.c: Likewise.
57537         * math/s_ctanf.c: Likewise.
57538         * math/s_ctanh.c: Likewise.
57539         * math/s_ctanhf.c: Likewise.
57540         * math/s_ctanhl.c: Likewise.
57541         * math/s_ctanl.c: Likewise.
57543         * math/math_private.h: Define __nan, __nanf, __nanl.
57544         * math/s_cacosh.c: Include <math_private.h>.
57545         * math/s_cacoshl.c: Likewise.
57546         * math/s_casinh.c: Likewise.
57547         * math/s_casinhf.c: Likewise.
57548         * math/s_casinhl.c: Likewise.
57549         * math/s_ccos.c: Rely entire on ccosh.
57550         * math/s_ccosf.c: Rely entire on ccoshf.
57551         * math/s_ccosl.c: Rely entirely on ccoshl.
57552         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57553         Remove tests for FE_INVALID.
57554         * math/s_ccoshf.c: Likewise.
57555         * math/s_ccoshl.c: Likewise.
57556         * math/s_csin.c: Likewise.
57557         * math/s_csinf.c: Likewise.
57558         * math/s_csinh.c Likewise.
57559         * math/s_csinhf.c: Likewise.
57560         * math/s_csinhl.c: Likewise.
57561         * math/s_csinl.c: Likewise.
57562         * math/s_ctan.c: Likewise.
57563         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57564         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57565         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57567 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57570         compilation problems.
57572         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57573         __builtin_expect.
57575 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57577         * sysdeps/i386/configure.in: Test for -mfma4 option.
57578         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57579         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57580         COMMON_CPUID_INDEX_80000001.
57581         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57582         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57583         use it if FMA3 is not supported.
57584         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57586         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57587         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57589 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57591         [BZ #12892]
57592         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57593         it would create a cycle with a link time dependency.
57595 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57597         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57598         instruction.
57599         * string/Makefile (strop-tests): Add rawmemchr.
57600         * string/test-rawmemchr.c: New file.
57602         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57603         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57604         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57605         when compiling str{,n}casecmp and when AVX is available.  Hook up
57606         new optimized code in initializers.
57608 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57610         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57611         __feraiseexcept instead of feraiseexcept.
57613 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57615         * math/math_private.h: Define defaults for libc_fetestexcept and
57616         libc_feupdateenv.
57617         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57618         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57619         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57620         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57621         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57622         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57623         libc_fetestexcept and libc_feupdateenv.
57625         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57626         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57627         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57628         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57629         libc_feholdexcept_setround.
57631         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57632         Add s_nearbyint-c and s_nearbyintf-c.
57633         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57634         nearbyintf inlines.
57635         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57636         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57637         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57638         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57640         * math/math_private.h: Define defaults for libc_fegetround,
57641         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57642         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57643         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57644         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57645         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57646         standard functions.
57647         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57648         Remove comments and hacks for old compiler versions.
57649         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57650         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57651         libc_feholdexceptl.
57653 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57655         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57656         (__feraiseexcept_renamed): Add __NTH.
57657         (feraiseexcept): Add __NTH.  Rename local variables to fix
57658         namespace violations.
57660 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57662         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57664         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57666         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57667         recently added interfaces.
57668         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57670         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57671         about macro parameter expansion.
57673         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57674         __NO_MATH_INLINES is defined.  Cleanups.
57676         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57677         and __floorf is target has SSE4.1.
57678         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57679         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57680         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57681         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57683         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57684         name.
57685         (floorf): Likewise.
57687         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57689 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57691         * misc/sys/cdefs.h: Fix last change.
57693         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57694         database lookup.
57696 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57698         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57700         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57701         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57702         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57703         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57704         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57705         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57706         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57707         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57708         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57709         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57710         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57711         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57712         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57713         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57714         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57715         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57716         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57717         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57718         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57719         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57720         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57721         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57723         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57724         ceil, ceilf, floor, floorf.
57726         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57727         Perform IRELATIVE relocations last.
57729         * elf/do-rel.h: Add another parameter nrelative, replacing the
57730         local variable with the same name.  Change name of the function
57731         to end in Rel or Rela (uppercase).
57732         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57733         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57734         elf_dynamic_do_##reloc function.
57736 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57738         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57739         is sufficient, at least on modern CPUs.
57741         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57743         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57744         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57746         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57747         __expl_finite.
57748         * math/bits/math-finite.h: Add entries for exp.
57749         * math/e_expl.c: Add __*_finite alias.
57750         * sysdeps/i386/fpu/e_exp.S: Likewise.
57751         * sysdeps/i386/fpu/e_expf.S: Likewise.
57752         * sysdeps/i386/fpu/e_expl.c: Likewise.
57753         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57754         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57755         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57756         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57757         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57758         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57759         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57761         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57762         is sufficient, at least on modern CPUs.
57764         * ctype/ctype-info.c (__ctype_init): Define.
57765         * include/ctype.h (__ctype_init): Declare.
57766         (__ctype_b_loc): The variable is always initialized.
57767         (__ctype_toupper_loc): Likewise.
57768         (__ctype_tolower_loc): Likewise.
57769         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57770         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57772 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57774         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57776         * configure.in: Also look in $cxxmachine/include for C++ system
57777         headers.
57779 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57781         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57782         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57783         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57784         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57785         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57786         (USE_AS_WMEMCMP): New macro.
57787         Fixing indents.
57788         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57789         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57790         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57791         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57792         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57793         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57794         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57795         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57796         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57797         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57798         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57799         (USE_AS_WMEMCMP): New macro.
57800         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57801         * sysdeps/string/test-memcmp.c: Update.
57802         Fix simple_wmemcmp.
57803         Add new tests.
57804         * wcsmbs/wmemcmp.c: Update.
57805         (WMEMCMP): New macro.
57806         Fix overflow bug.
57808 2011-10-12  Andreas Jaeger  <aj@suse.de>
57810         [BZ #13268]
57811         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57813 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57815         * libio/iofwide.c (do_length): Avoid warning.
57817         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57819 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57821         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57823         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57824         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57825         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57826         * sysdeps/i386/i686/fpu/e_log.S: New file.
57827         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57828         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57830         * ctype/ctype.h: Add support for inlined isXXX functions when
57831         compiling C++ code.
57833 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57835         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57837         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57839 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57841         [BZ #13291]
57842         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57844 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57846         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57847         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57848         feraiseexcept.
57850         * sysdeps/x86_64/memrchr.S: Check for zero size.
57852         * string/stratcliff.c: Add memrchr tests.
57854 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57856         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57857         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57858         rawmemchr-sse2 rawmemchr-sse2-bsf.
57859         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57860         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57861         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57862         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57863         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57864         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57865         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57866         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57867         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57868         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57869         * string/memrchr.c (MEMRCHR): New macro.
57871 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57873         Add integration with gcc's -ffinite-math-only and optimize wrapper
57874         functions in libm.
57875         * Versions.def: Define GLIBC_2.15 version for libm.
57876         * math/Makefile (headers): Add bits/math-finite.h.
57877         * math/bits/math-finite.h: New file.
57878         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57879         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57880         * math/e_acoshl.c: Add __*_finite alias.
57881         * math/e_acosl.c: Likewise.
57882         * math/e_asinl.c: Likewise.
57883         * math/e_atan2l.c: Likewise.
57884         * math/e_atanhl.c: Likewise.
57885         * math/e_coshl.c: Likewise.
57886         * math/e_exp10.c: Likewise.
57887         * math/e_exp10f.c: Likewise.
57888         * math/e_exp10l.c: Likewise.
57889         * math/e_exp2l.c: Likewise.
57890         * math/e_fmodl.c: Likewise.
57891         * math/e_gammal_r.c: Likewise.
57892         * math/e_hypotl.c: Likewise.
57893         * math/e_j0l.c: Likewise.
57894         * math/e_j1l.c: Likewise.
57895         * math/e_jnl.c: Likewise.
57896         * math/e_lgammal_r.c: Likewise.
57897         * math/e_log10l.c: Likewise.
57898         * math/e_log2l.c: Likewise.
57899         * math/e_logl.c: Likewise.
57900         * math/e_powl.c: Likewise.
57901         * math/e_sinhl.c: Likewise.
57902         * math/e_sqrtl.c: Likewise.
57903         * math/e_scalb.c: Completely rewritten and optimized.
57904         * math/e_scalbf.c: Likewise.
57905         * math/e_scalbl.c: Likewise.
57906         * math/w_acos.c: Likewise.
57907         * math/w_acosf.c: Likewise.
57908         * math/w_acosl.c: Likewise.
57909         * math/w_acosh.c: Likewise.
57910         * math/w_acoshf.c: Likewise.
57911         * math/w_acoshl.c: Likewise.
57912         * math/w_asin.c: Likewise.
57913         * math/w_asinf.c: Likewise.
57914         * math/w_asinl.c: Likewise.
57915         * math/w_atan2.c: Likewise.
57916         * math/w_atan2f.c: Likewise.
57917         * math/w_atan2l.c: Likewise.
57918         * math/w_atanh.c: Likewise.
57919         * math/w_atanhf.c: Likewise.
57920         * math/w_atanhl.c: Likewise.
57921         * math/w_exp10.c: Likewise.
57922         * math/w_exp10f.c: Likewise.
57923         * math/w_exp10l.c: Likewise.
57924         * math/w_fmod.c: Likewise.
57925         * math/w_fmodf.c: Likewise.
57926         * math/w_fmodl.c: Likewise.
57927         * math/w_j0.c: Likewise.
57928         * math/w_j0f.c: Likewise.
57929         * math/w_j0l.c: Likewise.
57930         * math/w_j1.c: Likewise.
57931         * math/w_j1f.c: Likewise.
57932         * math/w_j1l.c: Likewise.
57933         * math/w_jn.c: Likewise.
57934         * math/w_jnf.c: Likewise.
57935         * math/w_log.c: Likewise.
57936         * math/w_logf.c: Likewise.
57937         * math/w_logl.c: Likewise.
57938         * math/w_log10.c: Likewise.
57939         * math/w_log10f.c: Likewise.
57940         * math/w_log10l.c: Likewise.
57941         * math/w_log2.c: Likewise.
57942         * math/w_log2f.c: Likewise.
57943         * math/w_log2l.c: Likewise.
57944         * math/w_pow.c: Likewise.
57945         * math/w_powf.c: Likewise.
57946         * math/w_powl.c: Likewise.
57947         * math/w_remainder.c: Likewise.
57948         * math/w_remainderf.c: Likewise.
57949         * math/w_remainderl.c: Likewise.
57950         * math/w_scalb.c: Likewise.
57951         * math/w_scalbf.c: Likewise.
57952         * math/w_scalbl.c: Likewise.
57953         * math/w_sqrt.c: Likewise.
57954         * math/w_sqrtf.c: Likewise.
57955         * math/w_sqrtl.c: Likewise.
57956         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57957         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57958         used.
57959         * math/math_private.h: Declare __kernel_standard_f.
57960         * math/w_cosh.c: Remove cruft and optimize a bit.
57961         * math/w_coshf.c: Likewise.
57962         * math/w_coshl.c: Likewise.
57963         * math/w_exp2.c: Likewise.
57964         * math/w_exp2f.c: Likewise.
57965         * math/w_exp2l.c: Likewise.
57966         * math/w_hypot.c: Likewise.
57967         * math/w_hypotf.c: Likewise.
57968         * math/w_hypotl.c: Likewise.
57969         * math/w_lgamma.c: Likewise.
57970         * math/w_lgamma_r.c: Likewise.
57971         * math/w_lgammaf.c: Likewise.
57972         * math/w_lgammaf_r.c: Likewise.
57973         * math/w_lgammal.c: Likewise.
57974         * math/w_lgammal_r.c: Likewise.
57975         * math/w_sinh.c: Likewise.
57976         * math/w_sinhf.c: Likewise.
57977         * math/w_sinhl.c: Likewise.
57978         * math/w_tgamma.c: Likewise.
57979         * math/w_tgammaf.c: Likewise.
57980         * math/w_tgammal.c: Likewise.
57981         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57982         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57983         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57984         Minor optimizations.  Pretty printing.  Remove cruft.
57985         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57986         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57987         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57988         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57989         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57990         * sysdeps/i386/fpu/e_asin.S: Likewise.
57991         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57992         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57993         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57994         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57995         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57996         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57997         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57998         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57999         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58000         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58001         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58002         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58003         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58004         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58005         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58006         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58007         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58008         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58009         * sysdeps/i386/fpu/e_log.S: Likewise.
58010         * sysdeps/i386/fpu/e_log10.S: Likewise.
58011         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58012         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58013         * sysdeps/i386/fpu/e_log2.S: Likewise.
58014         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58015         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58016         * sysdeps/i386/fpu/e_logf.S: Likewise.
58017         * sysdeps/i386/fpu/e_logl.S: Likewise.
58018         * sysdeps/i386/fpu/e_pow.S: Likewise.
58019         * sysdeps/i386/fpu/e_powf.S: Likewise.
58020         * sysdeps/i386/fpu/e_powl.S: Likewise.
58021         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58022         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58023         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58024         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58025         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58026         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58027         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58028         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58029         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58030         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58031         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58032         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58033         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58034         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58035         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58036         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58037         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58038         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58039         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58040         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58041         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58042         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58043         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58044         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58045         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58046         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58047         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58048         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58049         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58050         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58051         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58052         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58053         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58054         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58055         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58056         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58057         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58058         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58059         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58060         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58061         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58062         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58063         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58064         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58065         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58066         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58067         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58068         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58069         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58070         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58071         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58072         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58073         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58074         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58075         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58076         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58077         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58078         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58079         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58080         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58081         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58082         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58083         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58084         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58085         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58086         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58087         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58088         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58089         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58090         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58091         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58092         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58093         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58094         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58095         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58096         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58097         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58098         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58099         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58100         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58101         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58102         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58103         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58104         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58105         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58106         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58107         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58108         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58109         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58110         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58111         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58112         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58113         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58114         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58115         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58116         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58117         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58118         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58119         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58120         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58121         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58122         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58123         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58124         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58125         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58126         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58127         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58128         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58129         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58130         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58131         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58132         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58133         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58134         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58135         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58136         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58137         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58138         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58139         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58140         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58141         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58142         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58143         (__isnanf): Likewise.
58144         (__isinf_ns): Likewise.
58145         (__isinf_nsf): Likewise.
58146         (__finite): Likewise.
58147         (__finitef): Likewise.
58148         (__ieee754_sqrt): Define as macro.
58149         (__ieee754_sqrtf): Define as macro.
58150         (__ieee754_sqrtl): Define as macro.
58151         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58152         inlined copy.
58153         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58154         __FINITE_MATH_ONLY__ consistent.
58155         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58157 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58159         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58160         of rawmemchr.
58162         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58164 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58166         * po/ja.po: Update from translation team.
58168 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58170         * locale/programs/locarchive.c (prepare_address_space): New function.
58171         (create_archive, enlarge_archive, open_archive): Use it.
58173         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58174         inside [SHARED], where it is used.
58176         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58178         * nss/getent.c (netgroup_keys): Remove unused variable.
58179         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58181 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58183         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58184         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58185         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58186         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58187         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58188         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58189         * math/Makefile (libm-calls): Add s_isinf_ns.
58190         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58191         * math/multc3.c: Likewise.
58192         * math/s_casin.c: Likewise.
58193         * math/s_casinf.c: Likewise.
58194         * math/s_casinl.c: Likewise.
58195         * math/s_ccos.c: Likewise.
58196         * math/s_ccosf.c: Likewise.
58197         * math/s_ccosl.c: Likewise.
58198         * math/s_ctan.c: Likewise.
58199         * math/s_ctanf.c: Likewise.
58200         * math/s_ctanh.c: Likewise.
58201         * math/s_ctanhf.c: Likewise.
58202         * math/s_ctanhl.c: Likewise.
58203         * math/s_ctanl.c: Likewise.
58204         * math/w_fmod.c: Likewise.
58205         * math/w_fmodf.c: Likewise.
58206         * math/w_fmodl.c: Likewise.
58207         * math/w_remainder.c: Likewise.
58208         * math/w_remainderf.c: Likewise.
58209         * math/w_remainderl.c: Likewise.
58210         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58211         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58212         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58213         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58214         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58215         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58216         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58217         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58219         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58220         of the number.
58221         * stdio-common/printf_fphex.c: Likewise.
58222         * stdio-common/printf_size.c: Likewise.
58224         * math/e_exp10.c: Include math_private.h using <...> not "...".
58225         * math/e_exp10f.c: Likewise.
58226         * math/e_exp10l.c: Likewise.
58227         * math/e_exp2l.c: Likewise.
58228         * math/e_j0l.c: Likewise.
58229         * math/e_j1l.c: Likewise.
58230         * math/e_jnl.c: Likewise.
58231         * math/e_lgammal_r.c: Likewise.
58232         * math/e_rem_pio2l.c: Likewise.
58233         * math/e_scalb.c: Likewise.
58234         * math/e_scalbf.c: Likewise.
58235         * math/e_scalbl.c: Likewise.
58236         * math/k_cosl.c: Likewise.
58237         * math/k_sinl.c: Likewise.
58238         * math/k_tanl.c: Likewise.
58239         * math/s_cacoshf.c: Likewise.
58240         * math/s_catan.c: Likewise.
58241         * math/s_catanf.c: Likewise.
58242         * math/s_catanh.c: Likewise.
58243         * math/s_catanhf.c: Likewise.
58244         * math/s_catanhl.c: Likewise.
58245         * math/s_catanl.c: Likewise.
58246         * math/s_ccosh.c: Likewise.
58247         * math/s_ccoshf.c: Likewise.
58248         * math/s_ccoshl.c: Likewise.
58249         * math/s_cexp.c: Likewise.
58250         * math/s_cexpf.c: Likewise.
58251         * math/s_cexpl.c: Likewise.
58252         * math/s_clog.c: Likewise.
58253         * math/s_clog10.c: Likewise.
58254         * math/s_clog10f.c: Likewise.
58255         * math/s_clog10l.c: Likewise.
58256         * math/s_clogf.c: Likewise.
58257         * math/s_clogl.c: Likewise.
58258         * math/s_csin.c: Likewise.
58259         * math/s_csinf.c: Likewise.
58260         * math/s_csinh.c: Likewise.
58261         * math/s_csinhf.c: Likewise.
58262         * math/s_csinhl.c: Likewise.
58263         * math/s_csinl.c: Likewise.
58264         * math/s_csqrt.c: Likewise.
58265         * math/s_csqrtf.c: Likewise.
58266         * math/s_csqrtl.c: Likewise.
58267         * math/s_ctan.c: Likewise.
58268         * math/s_ctanf.c: Likewise.
58269         * math/s_ctanh.c: Likewise.
58270         * math/s_ctanhf.c: Likewise.
58271         * math/s_ctanhl.c: Likewise.
58272         * math/s_ctanl.c: Likewise.
58273         * math/s_ldexp.c: Likewise.
58274         * math/s_ldexpf.c: Likewise.
58275         * math/s_ldexpl.c: Likewise.
58276         * math/s_significand.c: Likewise.
58277         * math/s_significandf.c: Likewise.
58278         * math/s_significandl.c: Likewise.
58279         * math/w_acos.c: Likewise.
58280         * math/w_acosf.c: Likewise.
58281         * math/w_acosh.c: Likewise.
58282         * math/w_acoshf.c: Likewise.
58283         * math/w_acoshl.c: Likewise.
58284         * math/w_acosl.c: Likewise.
58285         * math/w_asin.c: Likewise.
58286         * math/w_asinf.c: Likewise.
58287         * math/w_asinl.c: Likewise.
58288         * math/w_atan2.c: Likewise.
58289         * math/w_atan2f.c: Likewise.
58290         * math/w_atan2l.c: Likewise.
58291         * math/w_atanh.c: Likewise.
58292         * math/w_atanhf.c: Likewise.
58293         * math/w_atanhl.c: Likewise.
58294         * math/w_cosh.c: Likewise.
58295         * math/w_coshf.c: Likewise.
58296         * math/w_coshl.c: Likewise.
58297         * math/w_dremf.c: Likewise.
58298         * math/w_exp10.c: Likewise.
58299         * math/w_exp10f.c: Likewise.
58300         * math/w_exp10l.c: Likewise.
58301         * math/w_exp2.c: Likewise.
58302         * math/w_exp2f.c: Likewise.
58303         * math/w_fmod.c: Likewise.
58304         * math/w_fmodf.c: Likewise.
58305         * math/w_fmodl.c: Likewise.
58306         * math/w_hypot.c: Likewise.
58307         * math/w_hypotf.c: Likewise.
58308         * math/w_hypotl.c: Likewise.
58309         * math/w_j0.c: Likewise.
58310         * math/w_j0f.c: Likewise.
58311         * math/w_j0l.c: Likewise.
58312         * math/w_j1.c: Likewise.
58313         * math/w_j1f.c: Likewise.
58314         * math/w_j1l.c: Likewise.
58315         * math/w_jn.c: Likewise.
58316         * math/w_jnf.c: Likewise.
58317         * math/w_jnl.c: Likewise.
58318         * math/w_lgamma.c: Likewise.
58319         * math/w_lgamma_r.c: Likewise.
58320         * math/w_lgammaf.c: Likewise.
58321         * math/w_lgammaf_r.c: Likewise.
58322         * math/w_lgammal.c: Likewise.
58323         * math/w_lgammal_r.c: Likewise.
58324         * math/w_log.c: Likewise.
58325         * math/w_log10.c: Likewise.
58326         * math/w_log10f.c: Likewise.
58327         * math/w_log10l.c: Likewise.
58328         * math/w_log2.c: Likewise.
58329         * math/w_log2f.c: Likewise.
58330         * math/w_log2l.c: Likewise.
58331         * math/w_logf.c: Likewise.
58332         * math/w_logl.c: Likewise.
58333         * math/w_pow.c: Likewise.
58334         * math/w_powf.c: Likewise.
58335         * math/w_powl.c: Likewise.
58336         * math/w_remainder.c: Likewise.
58337         * math/w_remainderf.c: Likewise.
58338         * math/w_remainderl.c: Likewise.
58339         * math/w_scalb.c: Likewise.
58340         * math/w_scalbf.c: Likewise.
58341         * math/w_scalbl.c: Likewise.
58342         * math/w_sinh.c: Likewise.
58343         * math/w_sinhf.c: Likewise.
58344         * math/w_sinhl.c: Likewise.
58345         * math/w_sqrt.c: Likewise.
58346         * math/w_sqrtf.c: Likewise.
58347         * math/w_sqrtl.c: Likewise.
58348         * math/w_tgamma.c: Likewise.
58349         * math/w_tgammaf.c: Likewise.
58350         * math/w_tgammal.c: Likewise.
58352         * po/ja.po: Update from translation team.
58354 2011-09-29  Andreas Jaeger  <aj@suse.de>
58356         [BZ #13179]
58357         * sunrpc/netname.c (netname2host): Fix logic.
58359         [BZ #6779]
58360         [BZ #6783]
58361         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58362         correctly.
58363         * math/w_remainder.c (__remainder): Likewise.
58364         * math/w_remainderf.c (__remainderf): Likewise.
58365         * math/libm-test.inc (remainder_test): Add test cases.
58367 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58369         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58370         sdiv_qrnnd.
58372 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58374         * string/test-memcmp.c: Avoid unncessary #defines.
58375         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58377 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58379         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58380         Use new sse2 version for core i3 - i7 as it's faster
58381         than sse42 version.
58382         (bit_Prefer_PMINUB_for_stringop): New.
58383         * sysdeps/x86_64/rawmemchr.S: Update.
58384         Replace with faster SSE2 version.
58385         * sysdeps/x86_64/memrchr.S: New file.
58386         * sysdeps/x86_64/memchr.S: Update.
58387         Replace with faster SSE2 version.
58389 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58391         * elf/dl-load.c (lose): Add cast to avoid warning.
58393 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58395         * po/ca.po: Update from translation team.
58397         * inet/getnetgrent_r.c: Hook up nscd.
58398         * nscd/Makefile (routines): Add nscd_netgroup.
58399         (nscd-modules): Add netgroupcache.
58400         (CFLAGS-netgroupcache.c): Define.
58401         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58402         (cache_search): Add const to second parameter.
58403         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58404         INNETGR.
58405         (dbs): Add netgrdb entry.
58406         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58407         (verify_persistent_db): Handle netgrdb.
58408         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58409         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58410         GETFDNETGR.
58411         (netgroup_response_header): Define.
58412         (innetgroup_response_header): Define.
58413         (datahead): Add netgroup_response_header and innetgroup_response_header
58414         elements.
58415         * nscd/nscd.conf: Add entries for netgroup cache.
58416         * nscd/nscd.h (dbtype): Add netgrdb.
58417         (_PATH_NSCD_NETGROUP_DB): Define.
58418         (netgroup_iov_disabled): Declare.
58419         (xmalloc, xcalloc, xrealloc): Move declarations here.
58420         (cache_search): Adjust prototype.
58421         Add netgroup-related prototypes.
58422         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58423         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58424         (__nscd_innetgr): Declare.
58425         * nscd/selinux.c (perms): Use access_vector_t as element type and
58426         add netgroup-related initializers.
58427         * nscd/netgroupcache.c: New file.
58428         * nscd/nscd_netgroup.c: New file.
58429         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58430         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58431         For four parameters use innetgr.
58432         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58433         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58434         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58435         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58437         * nscd/connections.c (register_traced_file): Don't register file
58438         for disabled databases.
58440 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58442         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58444         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58445         from tree and freeing node.
58447 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58449         * nss/nsswitch.c (__nss_database_lookup): Handle
58450         nss_parse_service_list out of memory case.
58452 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58454         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58455         out of memory case.
58457 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58459         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58460         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58461         pass it down.
58462         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58463         elf_machine_rela, elf_machine_lazy_rel.
58464         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58465         (ELF_DYNAMIC_DO_REL): Likewise.
58466         (ELF_DYNAMIC_DO_RELA): Likewise.
58467         (ELF_DYNAMIC_RELOCATE): Likewise.
58468         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58469         to ELF_DYNAMIC_DO_REL.
58470         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58471         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58472         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58473         elf_machine_rela.
58474         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58475         skip_ifunc, don't call ifunc function if non-zero.
58476         (elf_machine_rela): Likewise.
58477         (elf_machine_lazy_rel): Likewise.
58478         (elf_machine_lazy_rela): Likewise.
58479         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58480         (elf_machine_lazy_rel): Likewise.
58481         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58482         Likewise.
58483         (elf_machine_lazy_rel): Likewise.
58484         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58485         Likewise.
58486         (elf_machine_lazy_rel): Likewise.
58487         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58488         (elf_machine_lazy_rel): Likewise.
58489         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58490         (elf_machine_lazy_rel): Likewise.
58491         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58492         (elf_machine_lazy_rel): Likewise.
58493         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58494         (elf_machine_lazy_rel): Likewise.
58495         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58496         (elf_machine_lazy_rel): Likewise.
58497         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58498         (elf_machine_lazy_rel): Likewise.
58500 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58502         * nss/nss_files/files-init.c (_nss_files_init): Use static
58503         initialization for all the *_traced_file variables.
58505 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58507         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58509 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58511         [BZ #13226]
58512         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58514 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58516         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58517         Reread the line before reparsing it.
58519 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58521         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58523 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58524             Maxim Kuvyrkov  <maxim@codesourcery.com>
58525             Joseph Myers  <joseph@codesourcery.com>
58527         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58528         if needed for __stack_chk_guard.
58530 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58532         * sysdeps/posix/spawni.c (script_execute): Always define it.
58533         It will be optimized away if unused.
58534         (maybe_script_execute): New function.
58535         (__spawni): Call it.
58537         * Makerules: Don't include tls.make.
58538         (config-tls): Always set to thread.
58539         * tls.make.c: File removed.
58541 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58543         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58544         * config.make.in (CPPFLAGS-config): New substituted variable.
58546 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58548         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58550         [BZ #13192]
58551         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58552         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58554 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58556         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58557         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58558         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58559         (CALL_FAIL): Likewise.
58560         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58561         (CALL_FAIL): Macro removed.
58562         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58564 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58566         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58567         for __FINITE_MATH_ONLY__ == 1.
58569 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58571         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58572         __ieee754_sqrt instead of sqrt.
58573         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58574         __ieee754_sqrtf instead of sqrtf.
58575         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58576         __floorf instead of floorf.
58577         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58578         __floorf, __truncf instead of floorf, truncf.
58580 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58582         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58584         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58585         __extern_always_inline.
58586         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58587         32-bit.
58589 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58591         * elf/rtld.c (dl_main): Also relocate in dependency order when
58592         doing symbol dependency testing.
58594 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58596         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58597         Always define `refsym'.
58599 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58601         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58602         (__FD_ELT): Renamed from __FDELT.
58603         * misc/bits/select2.h (__FD_ELT): Likewise.
58604         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58605         __FD_MASK instead of __FDELT, __FDMASK.
58606         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58607         Likewise.
58608         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58609         Likewise.
58611         * elf/Makefile (gen-ldd): Fix pattern.
58613         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58614         (init_tls): Likewise.
58616 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58618         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58620 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58622         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58623         `struct cmsghdr *' instead of `void *'.
58624         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58625         Likewise.
58627 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58629         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58630         if non-absolute.
58631         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58632         ldd_rewrite_script.
58634 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58636         * configure.in: Remove --with-tls option.
58637         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58638         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58639         out in case it is missing.
58640         * sysdeps/ia64/elf/configure.in: Likewise.
58641         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58642         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58643         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58644         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58645         * sysdeps/sh/elf/configure.in: Likewise.
58646         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58647         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58648         * sysdeps/x86_64/elf/configure.in: Likewise.
58649         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58650         * sysdeps/mach/hurd/tls.h: Likewise.
58652         [BZ #13067]
58653         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58655         [BZ #13090]
58656         * configure.in: Fix use of AC_INIT.
58658         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58660 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58662         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58663         __set_errno.
58664         * malloc/hooks.c: Likewise.
58666         [BZ #11929]
58667         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58668         variables statically.
58669         (narenas): Initialize.
58670         (list_lock): Initialize.
58671         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58672         initializtion of main_arena and list_lock.  Small cleanups.
58673         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58674         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58675         Add initializers to main_arena and mp_.
58676         (malloc_state): Remove pagesize member.  Change all users to use
58677         GLRO(dl_pagesize).
58679         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58680         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58681         is always initialized.
58683         * malloc/malloc.c: Removed unused configurations and dead code.
58684         * malloc/arena.c: Likewise.
58685         * malloc/hooks.c: Likewise.
58686         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58688         * include/tls.h: Removed.  USE___THREAD must always be defined.
58689         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58690         * elf/dl-libc.c: Likewise.
58691         * elf/dl-tsd.c: Likewise.
58692         * include/errno.h: Likewise.
58693         * include/netdb.h: Likewise.
58694         * include/resolv.h: Likewise.
58695         * inet/herrno-loc.c: Likewise.
58696         * inet/herrno.c: Likewise.
58697         * malloc/arena.c: Likewise.
58698         * malloc/hooks.c: Likewise.
58699         * malloc/malloc.c: Likewise.
58700         * resolv/res-state.c: Likewise.
58701         * resolv/res_libc.c: Likewise.
58702         * sysdeps/i386/dl-machine.h: Likewise.
58703         * sysdeps/ia64/dl-machine.h: Likewise.
58704         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58705         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58706         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58707         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58708         * sysdeps/sh/dl-machine.h: Likewise.
58709         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58710         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58711         * sysdeps/unix/i386/sysdep.S: Likewise.
58712         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58713         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58714         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58716         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58717         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58718         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58719         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58721         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58722         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58723         * sysdeps/x86_64/dl-machine.h: Likewise.
58724         * tls.make.c: Likewise.
58726         * configure.in: Remove --with-__thread option.  Make tests for
58727         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58728         tls_model attribute fail if no support is available.  Remove
58729         USE_IN_LIBIO.
58730         * Makeconfig: Adjust for dropped configure option.  All features are
58731         now mandatory.
58732         * Makerules: Likewise.
58733         * Versions.def: Likewise.
58734         * argp/argp-fmtstream.c: Likewise.
58735         * argp/argp-fmtstream.h: Likewise.
58736         * argp/argp-help.c: Likewise.
58737         * assert/assert.c: Likewise.
58738         * config.h.in: Likewise.
58739         * config.make.in: Likewise.
58740         * configure: Likewise.
58741         * configure.in: Likewise.
58742         * csu/Versions: Likewise.
58743         * csu/init.c: Likewise.
58744         * elf/tst-audit2.c: Likewise.
58745         * elf/tst-tls10.c: Likewise.
58746         * elf/tst-tls10.h: Likewise.
58747         * elf/tst-tls11.c: Likewise.
58748         * elf/tst-tls12.c: Likewise.
58749         * elf/tst-tls14.c: Likewise.
58750         * elf/tst-tlsmod11.c: Likewise.
58751         * elf/tst-tlsmod12.c: Likewise.
58752         * elf/tst-tlsmod13.c: Likewise.
58753         * elf/tst-tlsmod13a.c: Likewise.
58754         * elf/tst-tlsmod14a.c: Likewise.
58755         * elf/tst-tlsmod15b.c: Likewise.
58756         * elf/tst-tlsmod16a.c: Likewise.
58757         * elf/tst-tlsmod16b.c: Likewise.
58758         * elf/tst-tlsmod7.c: Likewise.
58759         * elf/tst-tlsmod8.c: Likewise.
58760         * elf/tst-tlsmod9.c: Likewise.
58761         * gmon/gmon.c: Likewise.
58762         * grp/fgetgrent_r.c: Likewise.
58763         * grp/putgrent.c: Likewise.
58764         * hurd/fopenport.c: Likewise.
58765         * include/libc-symbols.h: Likewise.
58766         * include/tls.h: Likewise.
58767         * intl/gettextP.h: Likewise.
58768         * intl/loadinfo.h: Likewise.
58769         * locale/global-locale.c: Likewise.
58770         * locale/localeinfo.h: Likewise.
58771         * mach/devstream.c: Likewise.
58772         * malloc/arena.c: Likewise.
58773         * malloc/set-freeres.c: Likewise.
58774         * misc/err.c: Likewise.
58775         * misc/getttyent.c: Likewise.
58776         * misc/mntent_r.c: Likewise.
58777         * posix/getopt.c: Likewise.
58778         * posix/wordexp.c: Likewise.
58779         * pwd/fgetpwent_r.c: Likewise.
58780         * resolv/Versions: Likewise.
58781         * resolv/res_hconf.c: Likewise.
58782         * shadow/fgetspent_r.c: Likewise.
58783         * shadow/putspent.c: Likewise.
58784         * stdio-common/printf_fphex.c: Likewise.
58785         * stdio-common/tmpfile.c: Likewise.
58786         * stdlib/abort.c: Likewise.
58787         * stdlib/fmtmsg.c: Likewise.
58788         * sunrpc/auth_unix.c: Likewise.
58789         * sunrpc/clnt_perr.c: Likewise.
58790         * sunrpc/clnt_tcp.c: Likewise.
58791         * sunrpc/clnt_udp.c: Likewise.
58792         * sunrpc/clnt_unix.c: Likewise.
58793         * sunrpc/openchild.c: Likewise.
58794         * sunrpc/svc_simple.c: Likewise.
58795         * sunrpc/svc_tcp.c: Likewise.
58796         * sunrpc/svc_udp.c: Likewise.
58797         * sunrpc/svc_unix.c: Likewise.
58798         * sunrpc/xdr.c: Likewise.
58799         * sunrpc/xdr_array.c: Likewise.
58800         * sunrpc/xdr_rec.c: Likewise.
58801         * sunrpc/xdr_ref.c: Likewise.
58802         * sunrpc/xdr_stdio.c: Likewise.
58804 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58806         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58808 2011-07-03  Andreas Jaeger  <aj@suse.de>
58810         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58811         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58812         regenerate with gen-libm-tests.pl.
58814 2010-05-12  Petr Baudis  <pasky@suse.cz>
58816         [BZ #11589]
58817         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58818         around j0() zero points by switching to j1().
58819         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58820         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58821         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58822         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58824 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58826         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58827         instead of 0.
58828         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58829         instead of 0.
58830         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58831         Patch in part by Pavel Roskin <proski@gnu.org>.
58833         [BZ #13138]
58834         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58835         realloc.
58836         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58837         Free memory block if necessary.
58839         [BZ #12847]
58840         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58841         be NULL.  Don't lock in this case.
58843 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58845         * elf/elf.h (ELFOSABI_GNU): New macro.
58846         (ELFOSABI_LINUX): Define to that.
58848 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58850         * string/strncat.c (strncat): Undef the symbol in case it has been
58851         defined in bits/string.h.
58853 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58855         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58857         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58858         link map.
58860 2011-08-17  Andreas Jaeger  <aj@suse.de>
58862         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58864 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58865             Ian Lance Taylor  <iant@google.com>
58867         * math/libm-test.inc (lround_test): New testcase.
58868         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58870 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58872         * Makefile: Remove support for automatic cvs check-ins.
58873         * Makerules: Likewise.
58874         * config.make.in: Likewise.
58875         * configure.in: Likewise.
58876         * intl/Makefile: Likewise.
58877         * locale/Makefile: Likewise.
58878         * po/Makefile: Likewise.
58879         * posix/Makefile: Likewise.
58880         * sysdeps/gnu/Makefile: Likewise.
58881         * sysdeps/mach/hurd/Makefile: Likewise.
58882         * sysdeps/sparc/sparc32/Makefile: Likewise.
58884         [BZ #13118]
58885         * posix/Makefile (bug-regex32-ENV): Define.
58886         Patch by John Stanley <jpsinthemix@verizon.net>.
58888         * misc/Makefile (headers): Add bits/select2.h.
58889         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58890         * misc/bits/select2.h: New file.
58891         * include/bits/select2.h: New file.
58892         * debug/Makefile (routines): Add fdelt_chk.
58893         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58894         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58895         FD_ISSET.
58896         * debug/fdelt_chk.c: New file.
58898         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58899         * wcsmbs/test-wmemcmp.c: Likewise.
58900         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58901         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58903 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58905         * string/Makefile (strop-tests): Add memcmp.
58906         * string/test-wmemcmp.c: New file.
58907         * string/test-memcmp.c: Add wmemcmp support.
58909 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58911         [BZ #13153]
58912         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58913         2011-07-19 change.
58915         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58916         garbage value in a __mach_port_mod_refs call in the cases of the
58917         task-self and thread-self ports.
58919 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58921         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58923 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58925         * elf/dl-load.c (lose): Check for non-null L.
58927 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58929         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58931         * elf/dl-libc.c (dlerror_run): Pass back error code from
58932         dl_catch_error.
58934         [BZ #13123]
58935         * elf/dl-load.c (lose): Free l_origin if it is valid.
58937         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58938         names.
58939         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58940         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58941         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58942         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58943         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58944         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58946 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58948         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58949         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58950         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58951         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58952         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58953         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58954         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58955         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58956         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58957         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58959 2011-08-15  Alan Modra  <amodra@gmail.com>
58961         [BZ #13092]
58962         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58963         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58964         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58965         ppc_mcount to static-only-routines.
58966         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58967         __mcount_internal.
58968         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58969         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58971 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58973         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58974         for finite and infinity parameters.
58976 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58978         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58979         and add nop instructions for throughput optimization.
58980         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58982 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58984         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58985         aligned copy for power7 with vector-scalar instructions.
58986         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58988 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58990         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58991         AVX check.
58993 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58995         [BZ #13144]
58996         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58997         last change.
58999 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59001         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59002         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59003         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59004         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59005         clock_gettime.
59007 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59009         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59010         Forgot to demangle the pointer.
59012         * sysdeps/i386/sysdep.h: Define atom_text_section.
59013         * sysdeps/x86_64/sysdep.h: Likewise.
59014         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59015         section with atom_text_section.
59016         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59017         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59018         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59019         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59020         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59022         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59023         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59024         already be defined.  Change to take two parameters and don't assign
59025         result to variable.  Adjust all users.
59026         Define INTERNAL_GETTIME if not already defined.
59027         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59028         call.
59029         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59030         HAVE_CLOCK_GETTIME_VSYSCALL.
59031         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59033         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59034         gettimeofday vsyscall, just use time.
59036 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59038         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59039         <errno.h>.
59041 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59043         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59044         syscall on x86-64.
59045         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59046         syscall.
59047         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59048         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59049         syscall if possible.
59051 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59053         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59054         e_ident.  Don't pass to find_mapsXX.
59055         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59057 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59060         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59061         * sysdeps/x86_64/multiarch/strchr.S: Update.
59062         Check bit_slow_BSF bit.
59063         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59064         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59065         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59067 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59069         [BZ #13134]
59070         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59071         before glibc 2.15.
59072         (tryshell): Define.
59073         (__spawni): Change last parameter to be flag.  Test
59074         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59075         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59076         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59077         * posix/spawni.c: Likewise.
59078         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59079         * posix/spawnp.c: Likewise.  Change normal version to use
59080         SPAWN_XFLAGS_USE_PATH.
59081         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59082         SPAWN_XFLAGS_TRY_SHELL.
59084         [BZ #13150]
59085         * posix/glob.h: Remove gcc 1.x support.
59087         [BZ #13068]
59088         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59090 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59092         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59093         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59094         strrchr-sse2-bsf
59095         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59096         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59097         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59098         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59099         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59100         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59102 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59104         * sysdeps/x86_64/wcscmp.S: New file.
59106         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59107         wcscmp-c wcscmp-sse2
59108         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59109         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59110         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59111         * wcsmbs/wcscmp.c: Allow renaming.
59113 2011-09-05  David S. Miller  <davem@davemloft.net>
59115         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59116         stack slot, rather than the struct return pointer slot.
59117         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59118         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59120         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59122 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59124         * po/ja.po: Update from translation team.
59126         [BZ #13144]
59127         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59128         kernel in 64-bit binaries.
59130 2011-09-01  David S. Miller  <davem@davemloft.net>
59132         * elf/elf.h (HWCAP_SPARC_*): Move to..
59133         * sysdeps/sparc/sysdep.h: this new file and add new values.
59134         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59135         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59136         _DL_HWCAP_COUNT to 24.
59137         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59138         entries.
59139         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59140         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59141         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59142         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59143         instead of magic constants.
59144         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59146 2011-08-31  David S. Miller  <davem@davemloft.net>
59148         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59149         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59150         Reimplement to do errno handling inline.
59151         (SYSCALL_ERROR_HANDLER): New macro.
59152         (__SYSCALL_STRING): Do not do errno handling in asm.
59153         (__CLONE_SYSCALL_STRING): Delete.
59154         (__INTERNAL_SYSCALL_STRING): Delete.
59155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59156         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59157         (PSEUDO): Reimplement to do errno handling inline.
59158         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59159         (SYSCALL_ERROR_HANDLER): New macro.
59160         (__SYSCALL_STRING): Do not do errno handling in asm.
59161         (__CLONE_SYSCALL_STRING): Delete.
59162         (__INTERNAL_SYSCALL_STRING): Delete.
59163         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59164         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59165         i386.
59166         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59167         (inline_syscall*): Add 'err' argument.
59168         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59169         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59170         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59171         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59173         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59174         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59176 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59178         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59180 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59182         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59183         directive.
59185 2011-08-24  David S. Miller  <davem@davemloft.net>
59187         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59189 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59191         * elf/Makefile: Add rules to build and run unload8 test.
59192         * elf/unload8.c: New file.
59193         * elf/unload8mod1.c: New file.
59194         * elf/unload8mod1x.c: New file.
59195         * elf/unload8mod2.c: New file.
59196         * elf/unload8mod3.c: New file.
59198         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59199         it wasn't used.
59201 2011-08-23  David S. Miller  <davem@davemloft.net>
59203         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59204         subtract stack bias.
59205         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59206         %sp not %fp in calculations.
59207         (_JMPBUF_UNWINDS_ADJ): Likewise.
59209         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59210         (aio_suspend): Call it to force an exception region around the
59211         AIO_MISC_WAIT() invocation.
59213 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59215         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59216         backslash.
59218 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59220         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59221         protection macro.
59222         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59223         and <dl-machine.h>.
59224         (Elf64_FuncDesc): Remove.
59226 2011-08-22  David S. Miller  <davem@davemloft.net>
59228         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59229         sigaltstack check, add missing cfi directives.
59230         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59231         missing cfi directives, and sigaltstack handling.
59233 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59235         [BZ #11724]
59236         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59237         object is seen twice.
59238         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59240         * elf/Makefile (distribute): Add tst-initorder2.c.
59241         (tests): Add tst-initorder2.
59242         (modules-names): Add tst-initorder2a tst-initorder2b
59243         tst-initorder2c tst-initorder2d.  Add rules to build them.
59244         ($(objpfx)tst-initorder2.out): New rule.
59245         * elf/tst-initorder2.c: New file.
59246         * elf/tst-initorder2.exp: New file.
59248 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59250         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59252         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59253         dependencies back to end of function.
59255         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59256         $(elfobjdir)/ld.so.
59258 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59260         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59261         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59262         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59263         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59264         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59265         of __vdso_gettimeofday.
59266         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59267         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59268         attribute_hidden.
59269         (_libc_vdso_platform_setup): Remove initialization of
59270         __vdso_gettimeofday and __vdso_time.
59272 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59274         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59275         and fgetc_unlocked.
59276         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59277         getc_unlocked.
59279         * elf/dl-open.c (add_to_global): Report additions to the global scope
59280         for LD_DEBUG=scopes.
59281         (dl_open_worker): Also print scope of newly loaded dependencies.
59282         (_dl_show_scope): Indicate if there is no scope.
59284         [BZ #13114]
59285         * stdio-common/Makefile (tests): Add bug24.
59286         * stdio-common/bug24.c: New file.
59288 2011-08-19  Andreas Jaeger  <aj@suse.de>
59290         [BZ #13114]
59291         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59292         non-existant file when using close-on-exec mode.
59294 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59296         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59297         the very first instruction.
59299         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59300         the CFI state in the end.
59301         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59302         inclusion of dl-trampoline.h.
59303         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59305 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59307         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59308         expectations for long double.
59310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59311         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59313 2011-08-14  David S. Miller  <davem@davemloft.net>
59315         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59316         artificual limit depends upon the system page size.
59318 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59320         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59321         * resolv/Makefile: Define CFLAGS-libresolv.
59323 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59325         * nss/makedb.c (compute_tables): Make variables used in nested
59326         function static.
59328 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59330         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59331         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59332         if buffer was too small.
59334         * elf/pldd.c (main): Attach to all threads in the process.
59335         Rewrite /proc handling to use *at functions.
59337 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59339         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59340         specifies first scope to show.
59341         (dl_open_worker): Update callers.  Move printing scope of new
59342         object to before the relocation.
59343         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59344         * sysdeps/generic/ldsodefs.h: Update declaration.
59346         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59347         string for the scope number.
59349 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59351         * nscd/servicescache.c (cache_addserv): Make sure written is always
59352         initialized.
59354 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59356         * sysdeps/i386/i486/bits/atomic.h
59357         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59358         statement expression, so as to suppress "set but not used" warning.
59359         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59361         * string/strncat.c (STRNCAT): Use prototype definition.
59363         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59364         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59365         -Iprograms here.
59366         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59367         (localedef-modules): Add localedef.
59368         (locale-modules): Add locale.
59370         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59371         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59372         to avoid a warning.
59374 2011-08-14  David S. Miller  <davem@davemloft.net>
59376         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59377         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59379 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59381         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59382         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59383         * elf/rtld.c (dl_main): Set l_name of vDSO.
59384         Call _dl_show_scope when DL_DEBUG_SCOPES.
59385         (process_dl_debug): Recognize scopes flag and also set it for all.
59386         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59387         Declare _dl_show_scope.
59389         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59390         (do_dlopen): Pass caller_dlopen to dl_open.
59391         (__libc_dlopen_mode): Initialize caller_dlopen.
59393         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59394         of libc.  Make tolower call locale-independent.  Optimize a bit by
59395         using isdigit instead of isalnum.
59396         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59398 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59400         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59401         was a dependency or dynamically loaded.
59403 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59405         * intl/l10nflist.c: Allow architecture-specific pop function.
59406         * sysdeps/x86_64/l10nflist.c: New file.
59408         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59409         classification.
59411 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59413         * include/dirent.h: Add libc_hidden_proto for scandirat and
59414         scandirat64.  Don't declare __scandirat64.
59415         * dirent/scandirat.c: Add libc_hidden_def.
59416         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59417         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59419 2011-08-10  David S. Miller  <davem@davemloft.net>
59421         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59422         enum.
59423         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59424         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59425         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59427 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59429         * Versions.def [libc]: Add GLIBC_2.15.
59430         * dirent/Makefile (routines): Add scandirat and scandirat64.
59431         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59432         GLIBC_2.15.
59433         * dirent/dirent.h: Declare scandirat and scandirat64.
59434         * dirent/scandirat.c: New file.
59435         * dirent/scandirat64.c: New file.
59436         * sysdeps/wordsize-64/scandirat.c: New file.
59437         * sysdeps/wordsize-64/scandirat64.c: New file.
59438         * dirent/opendir.c: Define opendirat.
59439         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59440         using scandirat.
59441         * dirent/scandir64.c: Adjust for scandir.c change.
59442         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59443         __scandirat64, and __scandir_cancel_handler.
59444         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59445         additional parameter and use openat instead of open (outside of ld.so).
59446         Add new __opendir as wrapper around __opendirat.
59447         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59448         here without requiring old scandirat implementation.
59450 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59452         * dirent/scandir.c (cancel_handler): Renamed to
59453         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59454         defined.  Adjust users.
59455         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59456         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59458 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59460         * string/test-string.h (IMPL): Use __STRING to expand name and then
59461         stringify it.
59463         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59464         of cleanups.
59466 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59468         * string/Makefile: Update.
59469         (strop-tests): Append strncat.
59470         * string/test-wcscmp.c: New file.
59471         New comprehensive test for wcscmp.
59472         * string/test-strcmp.c: Update.
59473         (WIDE): New define.
59475 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59477         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59478         line.
59480 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59483         encoding to ACE if AI_IDN.
59485 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59487         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59488         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59490 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59492         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59493         Fix overflow bug in strncat.
59494         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59496         * string/test-strncat.c: Update.
59497         Add new tests for checking overflow bugs.
59499 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59501         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59502         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59503         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59504         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59505         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59506         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59507         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59508         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59509         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59511         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59512         (USE_AS_STRCAT): Define.
59513         Add strcat and strncat support.
59514         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59516 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59518         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59519         __n bigger than INT_MAX+1.
59520         (__strncmp_g): Likewise.
59522 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59524         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59525         * libio/stido.h: Likewise.
59527         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59528         (AF_NFC): Define.
59529         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59530         (AF_NFC): Define.
59532         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59533         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59534         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59535         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59536         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59538         [BZ #13021]
59539         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59540         installed.
59542         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59543         typo.
59544         (_dl_x86_64_save_sse): Likewise.
59546 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59548         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59549         OSXSAVE.
59550         (_dl_x86_64_save_sse): Likewise.
59552         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59554         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59556 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59558         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59559         change.
59560         (_dl_x86_64_save_sse): Use correct AVX check.
59562 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59564         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59565         bug in strncpy/strncat.
59566         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59568 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59570         * string/tester.c (test_strcat): Add tests for different alignments
59571         of source and destination.
59572         (test_strncat): Likewise.
59574 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59576         [BZ #12852]
59577         * posix/glob.c (glob): Check passed in values before using them in
59578         expressions to avoid some overflows.
59579         (glob_in_dir): Likewise.
59581         [BZ #13007]
59582         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59583         check for AVX enablement so that we don't crash with old kernels and
59584         new hardware.
59585         * elf/tst-audit4.c: Add same checks here.
59586         * elf/tst-audit6.c: Likewise.
59588         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59590 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59592         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59594 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59596         * po/cs.po: Update from translation team.
59597         * po/bg.po: Likewise.
59599 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59601         * misc/sys/cdefs.h: Add support for const attribute.
59602         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59603         to gnu_dev_{major,minor,makedev} functions.
59605 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59607         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59609 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59611         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59612         strlen results.
59614 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59616         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59617         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59618         register in order to avoid conflicts with the soft frame pointer
59619         being held in r11 when necessary.
59620         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59621         (INTERNAL_VSYSCALL_NCS): Likewise.
59623 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59625         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59626         * elf/dl-fini.c (_dl_fini): Adjust caller.
59627         * elf/dl-close.c (_dl_close_worker): Likewise.
59628         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59630 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59632         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59633         "aux_cache->nlibs < 0".
59635         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59636         in the reload-count case.
59638 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59641         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59642         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59643         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59644         * sysdeps/x86_64/multiarch/strcat.S: New file.
59645         * sysdeps/x86_64/multiarch/strncat.S: New file.
59646         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59647         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59648         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59649         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59650         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59651         (USE_AS_STRCAT): Define.
59652         Add strcat and strncat support.
59653         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59654         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59655         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59656         * string/strncat.c: Update.
59657         (USE_AS_STRNCAT): Define.
59658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59659         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59660         and i7.
59661         * sysdeps/x86_64/multiarch/init-arch.h
59662         (bit_Prefer_PMINUB_for_stringop): New.
59663         (index_Prefer_PMINUB_for_stringop): Likewise.
59664         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59665         bit_Prefer_PMINUB_for_stringop.
59667 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59669         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59670         buffer64.
59671         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59672         of casting of buffer.
59673         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59674         buffer32 and buffer64.
59675         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59676         writes instead of casting of buffer.
59677         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59678         buffer32.
59679         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59680         casting of buffer.
59682 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59684         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59686 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59688         * nscd/nscd.c (termination_handler): Don't do anything for a database
59689         if it has not yet been initialized.
59691 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59693         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59695 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59697         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59699 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59701         * po/nl.po: Update from translation team.
59702         * po/sv.po: Likewise.
59704 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59706         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59707         now disallowed by GCC.
59709         * configure.in (use-default-link): Default to yes if a test -shared
59710         link meets our qualifications.
59711         * configure: Regenerated.
59713         * config.make.in (output-format): New variable.
59714         * configure.in: Check for ld --print-output-format support.
59715         * configure: Regenerated.
59716         * Makerules ($(common-objpfx)format.lds)
59717         [$(output-format) != unknown]: Just use $(output-format),
59718         instead of the linker-script munging.
59720 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59722         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59723         of $(common-objpfx)shlib.lds.
59724         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59726         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59727         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59729         * configure.in (-z relro check): Adjust test code to add a large
59730         writable data section after it.
59731         * configure: Regenerated.
59733 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59735         * configure.in (-z relro check): Fix test code to make the variable
59736         truly const.
59737         * configure: Regenerated.
59739 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59741         * nscd/nscd.h (struct traced_file): Define.
59742         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59743         elements.  Add traced_files.
59744         (inotify_fd): Declare.
59745         (register_traced_file): Declare.
59746         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59747         (inotify_fd): Export.
59748         (resolv_conf_descr): Remove.
59749         (nscd_init): Move inotify descriptor creation to main.
59750         Don't register files for notification here.
59751         (register_traced_file): New function.
59752         (invalidate_cache): Don't use reset_res to determine whether to call
59753         res_init, go through the list of registered files.
59754         (main_loop_poll): The inotify descriptors are now stored in the
59755         structures for the traced files.
59756         (main_loop_epoll): Likewise
59757         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59758         to __nss_disable_nscd.
59759         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59760         for a database anymore.  Check the records for all the registered
59761         files instead.
59762         * nss/Makefile (libnss_files-routines): Add files-init.
59763         (libnss_db-routines): Add db-init.
59764         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59765         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59766         * nss/nss_db/db-init.c: New file.
59767         * nss/nss_files/files-init.c: New file.
59768         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59769         __nss_lookup_function.
59770         (__nss_lookup_function): Call nss_load_library.
59771         (nss_load_all_libraries): New function.
59772         (__nss_disable_nscd): Take parameter with callback function for files
59773         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59774         used for the cached services.
59775         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59776         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59777         options for features to all the files in nscd.
59779         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59781 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59783         * csu/elf-init.c (__libc_csu_init): Comment typo.
59785 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59787         * po/pl.po: Update from translation team.
59788         * po/ja.po: Likewise.
59789         * po/ru.po: Likewise.
59790         * po/ko.po: Likewise.
59791         * po/fr.po: Likewise.
59793 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59795         * configure.in (.ctors/.dtors header and trailer check):
59796         Use an empirical test on a built program.
59797         * configure: Regenerated.
59799         * configure.in (-z relro check): Use an empirical test on a built DSO.
59800         Detect, but do not require, on ia64.
59801         * configure: Regenerated.
59803         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59804         Update tests that use readelf to use $READELF instead.
59805         * configure: Regenerated.
59807 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59809         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59810         if the result is not used.
59812 2011-07-05  Andreas Jaeger  <aj@suse.de>
59814         [BZ#9696]
59815         * stdlib/tst-strtod.c: Add testcase.
59817 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59819         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59820         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59821         The latter has a higher limit.  Take additional parameter to pass to
59822         the new function.
59823         (__pathconf): Pass file to __statfs_link_max.
59824         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59825         __statfs_link_max.
59826         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59827         __statfs_link_max.
59829         [BZ #12868]
59830         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59831         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59832         Handle Lustre.
59833         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59834         (__statfs_filesize_max): Likewise.
59835         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59837 2011-07-05  Andreas Jaeger  <aj@suse.de>
59839         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59841 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59843         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59844         `status' variable.
59845         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59846         Likewise.
59848 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59850         * Makefile (strop-tests): Add strncat.
59851         * string/test-strncat.c: New file.
59853 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59855         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59857 2011-06-21  Andreas Jaeger  <aj@suse.de>
59859         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59860         Copy rule from iconvdata/Makefile.
59862 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59864         [BZ #12922]
59865         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59866         but no long options are defined, just return 'W'.
59868 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59870         [BZ #9696]
59871         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59873 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59875         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59876         netgroups to read.
59877         (innetgr): Likewise.
59879 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59881         * config.make.in (install_root): Default to $(DESTDIR).
59883 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59885         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59887 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59889         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59891         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59892         containing directory rather than embedding absolute directory names.
59894         * scripts/check-local-headers.sh: Rewritten using awk.
59895         Match by word, not by line.  Print error messages for matches.
59896         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59898         * Makerules [shlib-lds-flags empty]:
59899         ($(common-objpfx)libc_pic.opts): New target.
59900         ($(common-objpfx)libc_pic.os.clean): New target.
59901         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59903         * config.make.in (OBJCOPY): New variable.
59904         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59905         * configure: Regenerated.
59907         * config.make.in (use-default-link): New variable.
59908         * configure.in (use_default_link): Grok --with-default-link to set it.
59909         * configure: Regenerated.
59910         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59911         (shlib-lds, shlib-lds-flags): Define to empty.
59913         * Makerules (shlib-lds): New variable.
59914         (shlib-lds-flags): New variable.
59915         (build-shlib, build-moduile, build-module-asneeded): Use it.
59916         ($(common-objpfx)libc.so): Use $(shlib-lds).
59917         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59918         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59920         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59921         DT_FLAGS/DT_FLAGS_1 with zero flags.
59923         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59924         linker script munging.
59926 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59928         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59929         as 128-bit value.
59930         * crypt/sha512.c (sha512_process_block): Perform total addition using
59931         128-bit if possible.
59932         (__sha512_finish_ctx): Likewise.
59933         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59934         as 64-bit value.
59935         * crypt/sha256.c (SWAP64): Define.
59936         (sha256_process_block): Perform total addition using 64-bit if
59937         possible.
59938         (__sha256_finish_ctx): Likewise.
59940 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59942         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59943         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59944         * nscd/hstcache.c (cache_addhst): Likewise.
59945         * nscd/grpcache.c (cache_addgr): Likewise.
59946         * nscd/aicache.c (addhstaiX): Likewise
59947         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59949 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59951         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59952         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59953         * nscd/hstcache.c (cache_addhst): Likewise.
59954         * nscd/grpcache.c (cache_addgr): Likewise.
59955         * nscd/aicache.c (addhstaiX): Likewise
59957 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59959         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59960         domain only when needed.
59962 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59965         is always restored.
59967 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59969         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59970         are re-adding the entry.
59971         * nscd/servicescache.c (cache_addserv): Likewise.
59973 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59975         * sysdeps/generic/dl-irel.h: fix protection against multiple
59976         inclusions.
59977         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59979 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59981         [BZ #12935]
59982         * malloc/memusage.sh: Fix quoting in message.
59983         * debug/xtrace.sh: Likewise.
59985         * configure.in: Remove support for --experimental-malloc option, make
59986         it the default.
59987         * config.make.in: Likewise.
59988         * malloc/Makefile: Likewise.
59990 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59992         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59993         two-byte characters.
59995 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59997         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59998         AC_CACHE_CHECK invocation.
59999         * configure: Regenerated.
60001         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60003 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60005         [BZ #12350]
60006         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60007         bit from old_res_options.
60009         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60011         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60012         value type for setfct.
60014 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60016         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60017         __gettimeofday instead of gettimeofday.
60019 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60021         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60023 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60025         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60027         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60028         info.
60030 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60032         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60033         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60034         strcpy-sse2-unaligned strncpy-sse2-unaligned
60035         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60036         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60037         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60038         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60039         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60040         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60041         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60042         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60043         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60044         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60045         (STRCPY): Support SSE2 and SSSE3 versions.
60047 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60049         [BZ #12874]
60050         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60051         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60052         kernels which artificially limit size of requests.
60054 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60056         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60057         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60058         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60059         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60060         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60061         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60062         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60063         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60064         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60065         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60066         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60067         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60068         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60069         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60070         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60071         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60072         Enable unaligned load optimization for Intel Core i3, i5 and i7
60073         processors.
60074         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60075         Define.
60076         (index_Fast_Unaligned_Load): Define.
60077         (HAS_FAST_UNALIGNED_LOAD): Define.
60079 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60081         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60083 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60085         [BZ #12907]
60086         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60087         until it is clear that the information is realy needed.
60088         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60090 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60092         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60094 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60096         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60097         /sys/devices/system/cpu/online if it is usable.
60099         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60100         reading the information from the /proc filesystem to once a second.
60102 2011-06-21  Andreas Jaeger  <aj@suse.de>
60104         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60105         NULL after inclusion of kernel headers.
60107 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60109         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60110         calls to internal_setent.
60112         [BZ #12885]
60113         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60114         addresses using gethostbyname4_r ignore IPv4 addresses.
60116         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60117         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60119         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60121 2011-06-20  David S. Miller  <davem@davemloft.net>
60123         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60124         inclusions.
60125         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60127         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60128         (elf_irel): Use it.
60129         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60130         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60131         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60132         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60133         * sysdeps/x86_64/dl-irel.h: Likewise.
60135         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60136         * elf/dl-sym.c: Likewise.
60138 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60140         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60141         need to dereference resplen2.
60143 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60145         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60147 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60149         * Makeconfig: Define vardbdir and inst_vardbdir.
60150         * nss/Makefile: Add rules to install db-Makefile.
60152         * nss/nss_db/db-XXX.c: Cleanup.
60154         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60155         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60156         GLIBC_PRIVATE.
60157         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60158         * nss/makedb.c: Implement -g option to specify that value strings
60159         are generated and should not be added to table iterated over for
60160         get*ent calls.
60161         * nss/nss_db/db-initgroups.c: New file.
60163         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60164         interface.
60166         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60167         (internal_getgrouplist): Adjust to name change.
60168         Update use_initgroups_entry if this is not the first call.
60169         * nss/databases.def: Add initgroups entry.
60171         * nss/makedb.c (compute_tables): Check result of multiple hash table
60172         sizes to minimize maximum chain length.
60174 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60176         * Versions.def: Add entry for libnss_db.
60177         * shlib-versions: Likewise.
60178         * nss/Makefile: Add rules to build libnss_db.
60179         * nss/Versions: Add libnss_db information.  Organize libnss_files
60180         entries better.
60181         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60182         makedb progra.  Some minor improvements to generate smaller files.
60183         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60184         here from...
60185         * nss/makedb.c: ...here.
60186         Improve database format to be smaller and require less memory at
60187         runtime.
60188         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60189         db anymore.
60190         * nss/nss_db/db-netgrp.c: Likewise.
60191         * nss/nss_db/db-open.c: Likewise.
60192         * nss/nss_files/flies-XXX.x: Adjust comments.
60193         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60194         * nss/nss_files/files-grp.c: Likewise.
60195         * nss/nss_files/files-hosts.c: Likewise.
60196         * nss/nss_files/files-network.c: Likewise.
60197         * nss/nss_files/files-proto.c: Likewise.
60198         * nss/nss_files/files-pwd.c: Likewise.
60199         * nss/nss_files/files-rpc.c: Likewise.
60200         * nss/nss_files/files-service.c: Likewise.
60201         * nss/nss_files/files-sgrp.c: Likewise.
60202         * nss/nss_files/files-spwd.c: Likewise.
60203         * nss/nss_db/db-alias.c: Removed.
60204         * nss/nss_db/dummy-db.h: Removed.
60206 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60208         * nss/makedb.c: Rewritten to not use database library.
60209         * nss/Makefile: Update to build new makedb program.
60211 2011-06-14  Andreas Jaeger  <aj@suse.de>
60213         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60214         memset declaration.
60216 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60219         tmpbuf.
60221 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60223         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60224         * elf/Makefile ($(objpfx)ld.so): Likewise.
60226         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60227         Don't list ld.so twice in dependencies.
60229         * posix/bug-regex31.c: Include <stdlib.h>.
60231         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60233         * nis/nss_compat/compat-spwd.c
60234         (getspent_next_nss_netgr): Remove unused variable.
60235         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60237         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60238         nonmembers" output to use the right array.
60240         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60242         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60244         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60245         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60246         * catgets/gencat.c (read_input_file): Likewise.
60247         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60249         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60250         variable definition inside #if's controlling its use.
60252         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60254         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60256         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60258         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60259         unreachable code.
60261         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60263         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60264         * configure: Regenerated.
60266         * Makerules: Revert last change.
60267         * elf/Makefile: Likewise.
60269 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60271         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60272         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60273         (reloc-link): Likewise.
60275 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60277         * elf/Makefile: Add rules to build pldd.
60278         * elf/pldd.c: New file.
60279         * elf/pldd-xx.c: New file.
60281 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60283         * version.h: Update for 2.15 development version.
60285 2011-06-07  David S. Miller  <davem@davemloft.net>
60287         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60288         ifuncs.
60289         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60290         elf_machine_lazy_rel): Likewise.
60291         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60292         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60293         elf_machine_lazy_rel): Likewise.
60294         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60295         dl_hwcap via passed in argument.
60296         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60297         Likewise.
60299 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60301         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60303 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60305         [BZ #12849]
60306         * manual/fdl-1.1.texi: New file, verbatim from:
60307         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60308         * manual/lgpl-2.1.texi: New file, verbatim from:
60309         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60310         * manual/Makefile (licenses): New variable, list those new file names.
60311         (texis): Use it.
60312         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60314         * manual/fdl.texi: File removed.
60315         * manual/lesser.texi: File removed.
60316         * manual/libc.texinfo (Copying, Documentation License):
60317         Use new @include file names, put @appendix directive before @include.
60319 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60321         [BZ #12841]
60322         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60323         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60324         (mq_open): Add __NTH.
60326 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60329         Assume Intel Core i3/i5/i7 processor if AVX is available.
60331 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60333         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60334         typo.
60336 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60338         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60339         memory.  Use alloca_account.  Fix memory leak when retrying.
60341 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60343         * version.h (RELEASE): Bump for 2.14 release.
60344         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60346         * config.make.in (RANLIB): Remove entry.
60348 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60350         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60351         (libc.pot): Work around missing support for .ksh extension in xgettext.
60353         [BZ #12684]
60354         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60355         if both request failed.
60356         (send_dg): In case of server errors clear resplen or *resplen2.
60358         [BZ #12454]
60359         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60360         when there are multiple maps.
60361         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60362         (_dl_fini): Remove test here.
60364         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60366 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60368         [BZ #12350]
60369         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60370         bit from old_res_options.
60371         (gaih_inet): Likewise.
60373         [BZ #11099]
60374         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60375         as signed.
60377         * resolv/res_init.c (res_setoptions): Make the code more compact.
60379         [BZ #11558]
60380         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60381         set RES_USEVC.
60383         [BZ #11634]
60384         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60386         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60388         [BZ #11781]
60389         * malloc/malloc.h: Declare malloc hook variables as volatile.
60391         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60392         in last patch.
60394         [BZ #11799]
60395         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60396         raise in the comment.
60397         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60398         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60399         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60401 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60403         [BZ #12811]
60404         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60405         grow the buffers more if it already has to be sufficient.
60406         (build_wcs_upper_buffer): Likewise.
60407         * posix/regexec.c (check_matching): Likewise.
60408         (clean_state_log_if_needed): Likewise.
60409         (extend_buffers): Don't enlarge buffers beyond size of the input
60410         buffer.
60411         Patches mostly by Emil Wojak <emil@wojak.eu>.
60412         * posix/bug-regex32.c: New file.
60413         * posix/Makefile (tests): Add bug-regex32.
60415         * locale/findlocale.c (_nl_find_locale): Return right away if
60416         _nl_explode_name failed.
60417         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60419         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60421         * debug/xtrace.sh: Unify messages.
60422         * malloc/memusage.sh: Likewise.
60424         [BZ #12813]
60425         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60426         time symbol from vDSO.  Substitute with vsyscall if not available.
60427         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60428         __vdso_time.
60430         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60431         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60432         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60433         Add sendmmsg and internal_sendmmsg.
60434         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60435         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60436         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60438         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60439         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60440         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60442 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60444         [BZ #12813]
60445         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60446         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60447         available.
60448         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60449         __vdso_getcpu.
60451         [BZ #12814]
60452         * iconvdata/Makefile (tests): Add bug-iconv9.
60453         * iconvdata/bug-iconv9.c: New file.
60455 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60457         [BZ #12814]
60458         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60460 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60462         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60463         (struct user_regs_struct): Change intcs field back to cs.
60465 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60467         * po/ja.po: Update from translation team.
60469 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60471         [BZ #12795]
60472         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60473         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60475 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60477         * stdlib/longlong.h: Update from GCC.
60479 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60481         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60482         parameter name.
60483         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60484         Add parameter name.
60485         (__sysconf): Pass it down.
60487 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60489         [BZ #12671]
60490         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60491         some situations.
60492         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60493         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60494         add in in __libc_use_alloca calls.  Adjust callers.
60495         (glob): Use malloc in some situations.
60497         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60498         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60499         pltexit.
60501 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60503         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60504         and CLOCK_BOOTTIME_ALARM.
60506         [BZ #12782]
60507         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60508         is returned.
60510         * string/_strerror.c (__strerror_r): Print negative errors as signed
60511         numbers.
60513         [BZ #12777]
60514         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60515         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60516         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60518         * configure.in: Fix typo in redirection and correct removal of test
60519         files in two cases.
60521         [BZ #12788]
60522         * locale/setlocale.c (new_composite_name): Fix test to check for
60523         identical name of all categories.
60525         [BZ #12792]
60526         * libio/filedoalloc.c (local_isatty): New function.
60527         (_IO_file_doallocate): Use local_isatty.
60528         * stdio-common/perror.c (perror): In case a new stream is used
60529         forward the stream error.
60530         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60531         error flag.
60533 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60535         [BZ #11869]
60536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60537         alloca.
60538         * include/alloca.h (extend_alloca_account): Define.
60540         [BZ #11857]
60541         * posix/regex.h: Fix comments with documentation of user-accessible
60542         fields after compilation and describe correct free'ing of pattern
60543         after re_compile_pattern.
60544         Patch by Reuben Thomas <rrt@sc3d.org>.
60546 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60548         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60549         and -mno-altivec to prevent the compiler from using Altivec and/or
60550         VSX instructions when the corresponding registers are not available.
60552 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60554         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60556 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60558         * libio/freopen.c (freopen): Use __dup2, not dup2.
60559         * libio/freopen64.c (freopen64): Likewise.
60561 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60563         [BZ #12775]
60564         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60565         * math/Makefile (tests): Add test-powl.
60566         (CFLAGS-test-powl.c): Define.
60567         * math/test-powl.c: New file.
60569 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60571         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60573 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60575         [BZ #11837]
60576         * iconvdata/gb18030.c: Update to GB18020-2005.
60578 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60580         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60581         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60582         Patch by Aharon Robbins <arnold@skeeve.com>.
60584         [BZ #11892]
60585         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60586         on the stack.
60588         [BZ #11895]
60589         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60590         through underflows.
60592         [BZ #12766]
60593         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60594         point to strings before performing equality test for error_one_per_line
60595         mode.
60597         [BZ #11697]
60598         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60600         [BZ #11820]
60601         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60602         (struct user_fpregs_struct): Avoid __uint*_t types.
60604         [BZ #6420]
60605         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60606         symbol info.  Use it instead of calling _dl_addr locally.
60607         (lock_and_info): New function.
60608         (tr_freehook): Call lock_and_info and pass symbol info as additional
60609         parameter to tr_where.
60610         (tr_mallochook): Likewise.
60611         (tr_reallochook): Likewise.
60612         (tr_memalignhook): Likewise.
60614         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60615         used and couldn't be at all thread-safe.
60617 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60619         * libio/freopen.c (freopen): Don't close old file descriptor
60620         before the new one is opened.  Instead dup the new file descriptor
60621         to the old one after the new stream is created.
60622         * libio/freopen64.c (freopen64): Likewise.
60623         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60624         * libio/fileops.c (_IO_new_file_close_it): Handle new
60625         _IO_FLAGS2_NOCLOSE flag.
60626         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60627         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60628         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60629         _IO_FLAGS2_NOCLOSE flag.
60630         * include/unistd.h: Add hidden_proto for dup3.
60631         Define __have_dup3.
60632         * io/dup3.c: Define hidden symbol.
60633         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60635         [BZ #7101]
60636         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60637         when an incomplete long option is used.
60638         * posix/tst-getopt_long1.c: New file.
60639         * posix/Makefile (tests): Add tst-getopt_long1.
60641         [BZ #10138]
60642         * scripts/config.guess: Update from autoconf-2.68.
60643         * scripts/config.sub: Likewise.
60645         [BZ #10157]
60646         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60647         tests into ...
60648         (has_cpuclock): ...this.  New function.
60649         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60650         macro here based on has_cpuclock code.
60652         [BZ #10149]
60653         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60654         First byte (not low byte) is now always NUL.
60655         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60658         Use non-cancelable interfaces.
60660         [BZ #9809]
60661         * locale/iso-639.def: Add entry for Sorani.
60663         [BZ #11901]
60664         * include/stdlib.h: Move include protection to the right place.
60665         Define abort_msg_s.  Declare __abort_msg with it.
60666         * stdlib/abort.c (__abort_msg): Adjust type.
60667         * assert/assert.c (__assert_fail_base): New function.  Majority
60668         of code from __assert_fail.  Allocate memory for __abort_msg with
60669         mmap.
60670         (__assert_fail): Now call __assert_fail_base.
60671         * assert/assert-perr.c: Remove bulk of implementation.  Use
60672         __assert_fail_base.
60673         * include/assert.hL Declare __assert_fail_base.
60674         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60675         mmap.
60676         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60678 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60680         [BZ #11952]
60681         [BZ #12453]
60682         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60683         until all modules are registered in the DTV.
60684         * elf/Makefile: Add rules to build and run tst-tls19.
60685         * elf/tst-tls19.c: New file.
60686         * elf/tst-tls19mod1.c: New file.
60687         * elf/tst-tls19mod2.c: New file.
60688         * elf/tst-tls19mod3.c: New file.
60689         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60691         [BZ #12083]
60692         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60693         correctly.
60695         [BZ #12601]
60696         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60697         two-byte sequence errors.
60698         * iconvdata/Makefile (tests): Add bug-iconv8.
60699         * iconvdata/bug-iconv8.c: New file.
60701         [BZ #12626]
60702         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60703         buf2 definition.
60705         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60707         [BZ #12432]
60708         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60709         (dummy_getcfa): New function.
60710         (init): Get _Unwind_GetCFA address, use dummy if not found.
60711         (backtrace_helper): In recursion check, also check whether CFA changes.
60712         (__backtrace): Completely initialize arg.
60714         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60715         storing incomplete byte sequence in state object.  Avoid testing for
60716         guaranteed too small input if we know there is enough data available.
60718 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60720         * Makeconfig (+link-pie): Indent.
60721         * Rules (binaries-pie): Define if $(have-fpie) and
60722         $(build-shared).
60723         (binaries-shared): Also filter out $(binaries-pie).
60724         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60725         * nscd/Makefile (others-pie): Add nscd.
60726         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60727         ($(objpfx)nscd): Remove command override.
60728         * login/Makefile (others-pie): Add pt_chown.
60729         ($(objpfx)pt_chown): Remove command override.
60730         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60731         remove command overrides.
60733 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60735         * libio/tst_putwc.c: Fix error messages.
60737         [BZ #12724]
60738         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60739         currently writing and seek to current position when not.
60740         * libio/Makefile (tests): Add bug-fclose1.
60741         * libio/bug-fclose1.c: New file.
60743 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60745         [BZ #12511]
60746         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60747         don't set DF_1_NODELETE here.
60748         (do_lookup_x): When entering new entry test for copy relocation
60749         and if necessary set DF_1_NODELETE flag.
60750         * elf/tst-unique4.cc: New file.
60751         * elf/tst-unique4.h: New file.
60752         * elf/tst-unique4lib.cc: New file.
60753         * elf/Makefile: Add rules to build and run tst-unique4.
60754         Patch by Piotr Bury <pbury@goahead.com>.
60756 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60758         [BZ #12052]
60759         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60761         [BZ #12625]
60762         * misc/mntent_r.c (addmntent): Flush the stream after the output
60764         [BZ #12393]
60765         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60766         (is_trusted_path_normalize): Skip initial colon.  Append slash
60767         to empty buffer.  Duplicate is_trusted_path code but allow
60768         constructed patch to be prefix.
60769         (is_dst): Allow $ORIGIN followed by /.
60770         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60771         Correct testing of result of is_trusted_path_normalize
60772         (decompose_rpath): Fix warning.
60774 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60776         [BZ #11257]
60777         * grp/initgroups.c (internal_getgrouplist): When we found the service
60778         list through the initgroups entry in nsswitch.conf do not always
60779         continue on a successful lookup.  Don't always use the
60780         __nss_group_database value if it is set.
60781         * nss/nsswitch.conf (initgroups): Change action for successful db
60782         lookup to continue for compatibility.
60784 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60786         [BZ #11532]
60787         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60788         and CP774 modules.
60789         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60790         and CP774 modules.
60791         * iconvdata/tst-tables.sh: Likewise.
60792         * iconvdata/cp770.c: New file.
60793         * iconvdata/cp771.c: New file.
60794         * iconvdata/cp772.c: New file.
60795         * iconvdata/cp773.c: New file.
60796         * iconvdata/cp774.c: New file.
60797         * iconvdata/testdata/CP770: New file.
60798         * iconvdata/testdata/CP770..UTF8: New file.
60799         * iconvdata/testdata/CP771: New file.
60800         * iconvdata/testdata/CP771..UTF8: New file.
60801         * iconvdata/testdata/CP772: New file.
60802         * iconvdata/testdata/CP772..UTF8: New file.
60803         * iconvdata/testdata/CP773: New file.
60804         * iconvdata/testdata/CP773..UTF8: New file.
60805         * iconvdata/testdata/CP774: New file.
60806         * iconvdata/testdata/CP774..UTF8: New file.
60808         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60809         END CHARMAP line.
60810         * iconvdata/gen-8bit-gap.sh: Likewise.
60811         * iconvdata/gen-8bit.sh: Likewise.
60813         * locale/iso-639.def: Add ary entry.
60815         [BZ #11258]
60816         * locale/C-translit.h.in: Add U20A1 transliteration.
60818         [BZ #12178]
60819         * locale/iso-639.def: Add wae entry.
60820         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60822         [BZ #12545]
60823         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60824         for n.
60826         [BZ #12711]
60827         * locale/C-translit.h.in: Add entry for U20B9.
60828         Patch by pravin.d.s@gmail.com.
60830 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60832         [BZ #12713]
60833         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60834         ENAMETOOLONG use generic getcwd.
60835         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60836         in rtld.  Use *stat64.
60837         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60838         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60839         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60840         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60841         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60842         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60843         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60844         __fstatat64 macros.
60845         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60846         * dirent/rewinddir.c: Add libc_hidden_def.
60847         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60848         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60850         * include/dirent.h (__alloc_dir): Add flags parameter.
60851         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60852         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60853         __alloc_dir.
60854         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60855         from fdopendir if O_CLOEXEC is already set.
60857 2011-03-15  Alan Modra  <amodra@gmail.com>
60859         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60860         l_tls_firstbyte_offset non-zero.  Save padding offset in
60861         l_tls_firstbyte_offset for later use.
60862         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60863         freeing static tls block.
60865 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60867         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60868         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60869         being defined by the kernel headers.
60871 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60873         [BZ #12734]
60874         * resolv/resolv.h: Define RES_NOTLDQUERY.
60875         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60876         no-tld-query and set RES_NOTLDQUERY.
60877         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60878         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60879         modern BIND to search name as TLD unless forbidden.
60881 2011-05-07  Petr Baudis  <pasky@suse.cz>
60882             Ulrich Drepper  <drepper@gmail.com>
60884         [BZ #12393]
60885         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60886         (is_trusted_path): ...to here.
60887         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60888         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60889         using is_trusted_path_normalize() in setuid scripts.
60891 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60893         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60894         __BEGIN/__END_DECLS.
60896 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60898         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60899         NSS_STATUS_NOTFOUND if no record was found.
60901 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60903         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60904         (headers-not-in-tirpc): Remove rpc/netdb.h
60905         * resolv/netdb.h: Revert last change.
60907 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60909         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60910         circular dependency between libgcc.a and libc.a.
60912 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60914         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60915         * nis/Makefile: Don't install rpcsvc/*.
60916         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60917         instead of <rpc/types.h>.
60918         (MAXHOSTNAMELEN): Define.
60920 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60922         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60924 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60926         [BZ #12714]
60927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60928         gethostbyname4_r when IPv6 results are possible.
60930 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60932         [BZ #12723]
60933         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60934         _PC_PIPE_BUF handling.
60936 2011-04-30  Bruno Haible  <bruno@clisp.org>
60938         [BZ #12717]
60939         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60940         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60941         to 'int'.
60942         * inet/getnameinfo.c (getnameinfo): Likewise.
60944 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60946         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60947         to groups setting in database lookup.
60948         * nss/nsswitch.conf: Add initgroups entry.
60950 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60952         [BZ #12685]
60953         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60954         mode string.
60955         Patch by Eric Blake <eblake@redhat.com>.
60957 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60959         * sunrpc/Makefile (need-export-routines): Add svc_run.
60960         (routines): Remove svc_run.
60961         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60962         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60963         * sunrpc/svc_run.c (svc_run): Likewise.
60964         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60966 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60968         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60969         problem in reallocation in last patch.
60971 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60973         * sunrpc/Makefile: Move inclusion of Rules.
60975 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60977         * nss/nss_files/files-initgroups.c: New file.
60978         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60979         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60980         _nss_files_initgroups_dyn.
60982 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60984         * elf/elf.h (R_ARM_IRELATIVE): Define.
60986 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60988         * po/ru.po: Update from translation team.
60990 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60992         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60993         dependencies.
60995 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60997         [BZ #12653]
60998         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60999         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61000         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61001         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61002         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61004 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61006         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61007         differing bytes.
61008         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61009         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61010         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61012 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61014         [BZ #12420]
61015         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61016         storing it.
61017         * stdlib/bug-getcontext.c: New file.
61018         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61020 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61022         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61023         instructions into .machine "z9-109".
61024         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61025         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61027 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61029         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61030         between environment variables and auxiliary vector.
61032 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61034         * Makefile: Add rules to build linkobj/libc.so.
61035         * include/libc-symbols.h: Define libc_hidden_nolink.
61036         * include/rpc/auth.h: Mark functions which are to be hidden.
61037         * include/rpc/auth_des.h: Likewise.
61038         * include/rpc/auth_unix.h: Likewise.
61039         * include/rpc/clnt.h: Likewise.
61040         * include/rpc/des_crypt.h: Likewise.
61041         * include/rpc/key_prot.h: Likewise.
61042         * include/rpc/pmap_clnt.h: Likewise.
61043         * include/rpc/pmap_prot.h: Likewise.
61044         * include/rpc/pmap_rmt.h: Likewise.
61045         * include/rpc/rpc_msg.h: Likewise.
61046         * include/rpc/svc.h: Likewise.
61047         * include/rpc/svc_auth.h: Likewise.
61048         * include/rpc/xdr.h: Likewise.
61049         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61050         * nss/Makefile: Likewise.
61051         * sunrpc/Makefile: Don't install headers.  Build library with normal
61052         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61053         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61054         for the compat linking library.  Remove use of INTDEF/INTUSE.
61055         * sunrpc/auth_none.c: Likewise.
61056         * sunrpc/auth_unix.c: Likewise.
61057         * sunrpc/authdes_prot.c: Likewise.
61058         * sunrpc/authuxprot.c: Likewise.
61059         * sunrpc/clnt_gen.c: Likewise.
61060         * sunrpc/clnt_perr.c: Likewise.
61061         * sunrpc/clnt_raw.c: Likewise.
61062         * sunrpc/clnt_simp.c: Likewise.
61063         * sunrpc/clnt_tcp.c: Likewise.
61064         * sunrpc/clnt_udp.c: Likewise.
61065         * sunrpc/clnt_unix.c: Likewise.
61066         * sunrpc/des_crypt.c: Likewise.
61067         * sunrpc/des_soft.c: Likewise.
61068         * sunrpc/get_myaddr.c: Likewise.
61069         * sunrpc/key_call.c: Likewise.
61070         * sunrpc/key_prot.c: Likewise.
61071         * sunrpc/netname.c: Likewise.
61072         * sunrpc/pm_getmaps.c: Likewise.
61073         * sunrpc/pm_getport.c: Likewise.
61074         * sunrpc/pmap_clnt.c: Likewise.
61075         * sunrpc/pmap_prot.c: Likewise.
61076         * sunrpc/pmap_prot2.c: Likewise.
61077         * sunrpc/pmap_rmt.c: Likewise.
61078         * sunrpc/publickey.c: Likewise.
61079         * sunrpc/rpc_cmsg.c: Likewise.
61080         * sunrpc/rpc_common.c: Likewise.
61081         * sunrpc/rpc_dtable.c: Likewise.
61082         * sunrpc/rpc_prot.c: Likewise.
61083         * sunrpc/rpc_thread.c: Likewise.
61084         * sunrpc/rtime.c: Likewise.
61085         * sunrpc/svc.c: Likewise.
61086         * sunrpc/svc_auth.c: Likewise.
61087         * sunrpc/svc_authux.c: Likewise.
61088         * sunrpc/svc_raw.c: Likewise.
61089         * sunrpc/svc_run.c: Likewise.
61090         * sunrpc/svc_simple.c: Likewise.
61091         * sunrpc/svc_tcp.c: Likewise.
61092         * sunrpc/svc_udp.c: Likewise.
61093         * sunrpc/svc_unix.c: Likewise.
61094         * sunrpc/svcauth_des.c: Likewise.
61095         * sunrpc/xcrypt.c: Likewise.
61096         * sunrpc/xdr.c: Likewise.
61097         * sunrpc/xdr_array.c: Likewise.
61098         * sunrpc/xdr_float.c: Likewise.
61099         * sunrpc/xdr_intXX_t.c: Likewise.
61100         * sunrpc/xdr_mem.c: Likewise.
61101         * sunrpc/xdr_rec.c: Likewise.
61102         * sunrpc/xdr_ref.c: Likewise.
61103         * sunrpc/xdr_sizeof.c: Likewise.
61104         * sunrpc/xdr_stdio.c: Likewise.
61106 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61108         [BZ #12650]
61109         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61110         * sysdeps/ia64/dl-tls.h: Likewise.
61111         * sysdeps/powerpc/dl-tls.h: Likewise.
61112         * sysdeps/s390/dl-tls.h: Likewise.
61113         * sysdeps/sh/dl-tls.h: Likewise.
61114         * sysdeps/sparc/dl-tls.h: Likewise.
61115         * sysdeps/x86_64/dl-tls.h: Likewise.
61116         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61118 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61120         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61121         rpath element also skip the following colon.
61122         (expand_dynamic_string_token): Add is_path parameter and pass
61123         down to DL_DST_REQUIRED and _dl_dst_substitute.
61124         (decompose_rpath): Call expand_dynamic_string_token with
61125         non-zero is_path.  Ignore empty rpaths.
61126         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61127         with zero is_path.
61129 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61132         Make cancelable.
61134 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61136         [BZ #12655]
61137         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61138         Patch by Filipe David Manana <fdmanana@apache.org>.
61140 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61142         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61143         Maintain aligned stack.
61144         (CHECK_RSP): Remove unused macro.
61146 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61148         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61149         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61151 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61153         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61155         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61157 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61159         [BZ #12518]
61160         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61161         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61162         * sysdeps/x86_64/memmove.c: New file.
61163         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61164         (memcpy): Renamed to ...
61165         (__new_memcpy): This.
61166         (memcpy): Provide GLIBC_2_14 memcpy.
61167         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61168         (memcpy): Provide GLIBC_2_2_5 memcpy.
61170 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61172         [BZ #12631]
61173         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61175 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61177         * misc/syncfs.c: New file.
61178         * misc/Makefile (routines): Add syncfs.
61179         * posix/unistd.h: Declare syncfs.
61180         * sysdeps/unix/syscalls.list: Add syncfs.
61182 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61184         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61185         open_by_handle_at.
61186         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61187         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61188         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61189         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61190         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61191         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61192         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61194 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61196         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61197         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61198         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61199         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61200         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61201         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61202         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61204         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61205         sync_file_range.c with -fexceptions.
61206         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61207         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61208         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61209         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61210         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61211         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61212         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61213         sync_file_range as cancellation point
61214         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61215         now a wrapper around __call_sync_file_range with cancellation handling.
61216         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61217         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61218         function name to __call_sync_file_range.
61219         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61220         Add call_sync_file_range.
61222 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61225         bits/timex.h.
61227 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61229         * iconv/iconv.h: Fix typo in comment.
61230         * io/fcntl.h: Likewise.
61231         * libio/stdio.h: Likewise.
61232         * posix/spawn.h: Likewise.
61233         * posix/unistd.h: Likewise.
61234         * stdlib/stdlib.h: Likewise.
61235         * time/time.h: Likewise.
61236         * wcsmbs/wchar.h: Likewise.
61238         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61239         open_by_handle): Add.
61240         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61241         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61242         Augment a few comments.
61243         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61244         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61245         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61246         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61247         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61248         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61249         open_by_handle.
61251         * io/fcntl.h (AT_EMPTY_PATH): Define.
61253 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61255         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61256         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61257         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61258         to...
61259         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61260         * Versions.def: Add GLIBC_2.14.
61261         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61262         Export.
61264 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61266         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61267         round counter.
61268         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61270 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61272         [BZ #12597]
61273         * string/test-strncmp.c (do_page_test): New function.
61274         (check2): Likewise.
61275         (test_main): Call check2.
61276         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61278 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61280         [BZ #12587]
61281         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61282         Handle cache information in CPU leaf 4.
61283         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61285 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61287         [BZ #12583]
61288         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61289         character representation.
61290         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61292 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61294         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61295         END(__isnan) to END(__isnanf) to match function entry point/label
61296         EALIGN(__isnanf,...).
61298 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61300         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61302 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61304         [BZ #12510]
61305         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61306         copy from the symbol referenced in the relocation to initialize the
61307         used variable.
61308         Patch by Piotr Bury <pbury@goahead.com>.
61309         * elf/Makefile: Add rules to build and tst-unique3.
61310         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61311         * elf/tst-unique3.cc: New file.
61312         * elf/tst-unique3.h: New file.
61313         * elf/tst-unique3lib.cc: New file.
61314         * elf/tst-unique3lib2.cc: New file.
61316         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61318 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61320         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61321         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61322         to _start.
61324 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61326         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61327         to-be-loaded object along a path to loader is ld.so.
61329 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61330             Ulrich Drepper  <drepper@gmail.com>
61332         * sysdeps/x86_64/memset.S: After aligning destination, code
61333         branches to different locations depending on the value of
61334         misalignment, when multiarch is enabled. Fix this.
61336 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61338         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61339         Set _x86_64_preferred_memory_instruction for AMD processsors.
61340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61341         Set bit_Prefer_SSE_for_memop for AMD processors.
61343 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61345         * libio/fmemopen.c (fmemopen): Optimize a bit.
61347 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61349         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61351 2011-03-03  Roland McGrath  <roland@redhat.com>
61353         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61355 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61357         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61358         __bzero_ultra1 instead of __memset_ultra1.
61360 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61361             Ulrich Drepper  <drepper@gmail.com>
61363         [BZ #12509]
61364         * include/link.h (struct link_map): Add l_orig_initfini.
61365         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61366         returning unsuccessfully.
61367         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61368         close of a file loaded at startup, restore the original l_initfini
61369         list.
61370         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61371         list, store the pointer.
61372         * elf/Makefile ($(objpfx)noload-mem): New rule.
61373         (noload-ENV): Define.
61374         (tests): Add $(objpfx)noload-mem.
61375         * elf/noload.c: Include <memcheck.h>.
61376         (main): Call mtrace.  Close all opened handles.
61378 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61380         [BZ #12454]
61381         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61382         dependencies are missing.
61384 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61386         Fix __if_freereq crash: Unlike the generic version which uses free,
61387         Hurd needs munmap.
61388         * sysdeps/mach/hurd/ifreq.h: New file.
61390 2011-01-27  Petr Baudis  <pasky@suse.cz>
61391             Ulrich Drepper  <drepper@gmail.com>
61393         [BZ 12445]#
61394         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61395         to extend_alloca().
61396         * stdio-common/bug23.c: New file.
61397         * stdio-common/Makefile (tests): Add bug23.
61399 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61400             Ulrich Drepper  <drepper@gmail.com>
61402         [BZ #12489]
61403         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61404         before performing relro protection.  At old place add assertion
61405         to make sure nothing changed.
61407 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61408             Glauber de Oliveira Costa  <glommer@gmail.com>
61410         * elf/elf.h: Add new ARM TLS relocs.
61412 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61415         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61416         cast from r3.
61417         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61418         'tests' variable.
61419         * sysdeps/wordsize-64/tst-writev.c: New file.
61421 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61423         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61424         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61425         insns in _dl_start to prevent a TOC reference before relocs are
61426         resolved.
61428 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61430         [BZ #12469]
61431         * Makeconfig: Remove RANLIB definition.
61432         * Makerules: Don't use RANLIB.
61433         * aclocal.m4: Remove ranlib test.
61434         * configure.in: No need to check for ranlib.
61435         * elf/rtld-Rules: Don't use RANLIB.
61437 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61439         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61440         protection macro.
61441         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61442         inclusion protection macro.
61444         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61445         SIGRTMIN and SIGRTMAX and print information in that case only when
61446         SIGRTMIN is defined.
61448 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61450         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61451         arginfo fn returning -1.
61453         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61454         and thousands string is zero terminated.
61456 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61458         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61459         sysdeps/unix/sysv/linux/bits/socket.h.
61461 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61463         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61464         (__CPU_COUNT): Remove old macros.
61465         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61466         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61467         (__CPU_ALLOC, __CPU_FREE): Add macros.
61468         (__sched_cpualloc, __sched_cpufree): Add declarations.
61470 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61472         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61473         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61474         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61475         (readdhstai): Return value of addhstaiX call.
61476         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61477         (addgrbyX): Return value returned by cache_addgr.
61478         (readdgrbyname): Return value returned by addgrbyX.
61479         (readdgrbygid): Likewise.
61480         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61481         (addpwbyX): Return value returned by cache_addpw.
61482         (readdpwbyname): Return value returned by addhstbyX.
61483         (readdpwbyuid): Likewise.
61484         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61485         (addservbyX): Return value returned by cache_addserv.
61486         (readdservbyname): Return value returned by addservbyX:
61487         (readdservbyport): Likewise.
61488         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61489         (addhstbyX): Return value returned by cache_addhst.
61490         (readdhstbyname): Return value returned by addhstbyX.
61491         (readdhstbyaddr): Likewise.
61492         (readdhstbynamev6): Likewise.
61493         (readdhstbyaddrv6): Likewise.
61494         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61495         (readdinitgroups): Return value returned by addinitgroupsX.
61496         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61497         (prune_cache): Keep track of timeout value of re-added entries.
61498         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61499         * nscd/nscd.h: Adjust prototypes of readd* functions.
61501 2011-02-04  Roland McGrath  <roland@redhat.com>
61503         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61504         (nis_stats): Likewise.
61505         * nis/nis_modify.c (nis_modify): Likewise.
61506         * nis/nis_remove.c (nis_remove): Likewise.
61507         * nis/nis_add.c (nis_add): Likewise.
61509         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61511         * posix/fnmatch_loop.c: Add some consts.
61513         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61515 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61517         [BZ #12460]
61518         * config.make.in (config-cflags-novzeroupper): Define.
61519         * configure.in: Substitute libc_cv_cc_novzeroupper.
61520         * elf/Makefile (AVX-CFLAGS): Define.
61521         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61522         (CFLAGS-tst-auditmod4a.c): Likewise.
61523         (CFLAGS-tst-auditmod4b.c): Likewise.
61524         (CFLAGS-tst-auditmod6b.c): Likewise.
61525         (CFLAGS-tst-auditmod6c.c): Likewise.
61526         (CFLAGS-tst-auditmod7b.c): Likewise.
61527         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61529 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61531         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61532         function to the callback.
61533         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61535 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61537         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61538         of errno.
61540 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61542         [BZ #11724]
61543         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61544         of constructors.
61545         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61546         of destructors.
61547         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61549         [BZ #11724]
61550         * elf/Makefile: Add rules to build and run new test.
61551         * elf/tst-initorder.c: New file.
61552         * elf/tst-initorder.exp: New file.
61553         * elf/tst-initordera1.c: New file.
61554         * elf/tst-initordera2.c: New file.
61555         * elf/tst-initordera3.c: New file.
61556         * elf/tst-initordera4.c: New file.
61557         * elf/tst-initorderb1.c: New file.
61558         * elf/tst-initorderb2.c: New file.
61559         * elf/tst-order-a1.c: New file.
61560         * elf/tst-order-a2.c: New file.
61561         * elf/tst-order-a3.c: New file.
61562         * elf/tst-order-a4.c: New file.
61563         * elf/tst-order-b1.c: New file.
61564         * elf/tst-order-b2.c: New file.
61565         * elf/tst-order-main.c: New file.
61566         New test case by George Gensure <werkt0@gmail.com>.
61568 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61571         decoding ACE if AI_CANONIDN.
61573 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61575         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61577 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61579         * version.h (RELEASE): Bump for 2.13 release.
61580         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61582         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61584         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61585         MADV_NOHUGEPAGE.
61586         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61587         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61588         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61589         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61590         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61591         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61593         * posix/getconf.c: Update copyright year.
61594         * catgets/gencat.c: Likewise.
61595         * csu/version.c: Likewise.
61596         * debug/catchsegv.sh: Likewise.
61597         * debug/xtrace.sh: Likewise.
61598         * elf/ldconfig.c: Likewise.
61599         * elf/ldd.bash.in: Likewise.
61600         * elf/sprof.c (print_version): Likewise.
61601         * iconv/iconv_prog.c: Likewise.
61602         * iconv/iconvconfig.c: Likewise.
61603         * locale/programs/locale.c: Likewise.
61604         * locale/programs/localedef.c: Likewise.
61605         * malloc/memusage.sh: Likewise.
61606         * malloc/mtrace.pl: Likewise.
61607         * nscd/nscd.c (print_version): Likewise.
61608         * nss/getent.c: Likewise.
61610         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61611         PF_CAIF, and PF_ALG.
61612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61614 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61616         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61617         (modules-names): Use them.
61618         (ifunc-test-modules, ifunc-pie-tests): Define.
61619         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61620         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61621         (test-extras): Likewise.
61622         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61623         $(compile-command.c).
61624         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61625         (all-built-dso): Define.
61626         (check-textrel.out, check-execstack.out): Depend on it.
61628         * configure.in: Don't override --enable-multi-arch.
61630 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61632         [BZ #6812]
61633         * nscd/hstcache.c (tryagain): Define.
61634         (cache_addhst): Return tryagain not notfound for temporary errors.
61635         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61636         failed.
61638 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61640         [BZ #10563]
61641         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61642         to make the syscall.
61643         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61645         [BZ #12378]
61646         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61647         and fall back to matching as normal character if the string ends before
61648         the matching ']' is found.  This is what POSIX requires.
61649         * posix/testfnm.c: Adjust test result.
61650         * posix/globtest.sh: Adjust test result.  Add new test.
61651         * posix/tst-fnmatch.input: Likewise.
61652         * posix/tst-fnmatch2.c: Add new test.
61654 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61656         * elf/Makefile (check-execstack): Revert last change.  Depend on
61657         check-execstack.h.
61658         (check-execstack.h): New target.
61659         (generated): Add check-execstack.h.
61660         * elf/check-execstack.c: Include "check-execstack.h".
61661         (main): Revert last change.
61662         (handle_file): Return zero if GNU_STACK is absent and
61663         DEFAULT_STACK_PERMS doesn't include PF_X.
61665 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61667         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61668         in child fails because the descriptor is already closed.
61669         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61670         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61671         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61673         [BZ #12397]
61674         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61675         syscall.
61677         [BZ #10484]
61678         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61679         temporary buffer used to handle multi lookups locally.
61680         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61682 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61684         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61685         loader is ld.so.
61687 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61689         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61690         alignment for SSE2.
61692 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61694         [BZ #12394]
61695         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61696         characters.  When rounding increased number of integer digits recompute
61697         number of groups.
61698         * stdio-common/tst-grouping.c: New file.
61699         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61701 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61703         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61704         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61706         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61707         void.
61708         * bits/select.h: Likewise.
61710 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61712         * po/ja.po: Update from translation team.
61714 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61716         [BZ #11155]
61717         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61718         implementation just like for lxstat, fxstatat, et al.
61720 2010-12-27  Jim Meyering  <meyering@redhat.com>
61722         [BZ #12348]
61723         * posix/regexec.c (build_trtable): Return failure indication upon
61724         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61726 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61728         [BZ #12201]
61729         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61730         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61731         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61732         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61734         [BZ #12207]
61735         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61737         [BZ #12204]
61738         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61739         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61741 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61743         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61744         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61745         script has SORT_BY_INIT_PRIORITY.
61746         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61747         NO_CTORS_DTORS_SECTIONS is defined.
61748         * elf/soinit.c: Likewise.
61749         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61750         NO_CTORS_DTORS_SECTIONS is defined.
61751         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61752         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61753         * sysdeps/sh/init-first.c: Likewise.
61754         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61756 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61758         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61759         always use the slow path.
61761 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61763         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61764         similar rule which adds the sysdep directories to the header search in
61765         order to pick up the correct platform stackinfo.h.
61766         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61767         perform test if it is, otherwise return successfully without testing.
61768         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61769         DEFAULT_STACK_PERMS define in stackinfo.h.
61770         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61771         defined in stackinfo.h.
61772         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61773         DEFAULT_STACK_PERMS defined in stackinfo.h.
61774         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61775         * sysdeps/ia64/stackinfo.h: Likewise.
61776         * sysdeps/s390/stackinfo.h: Likewise.
61777         * sysdeps/sh/stackinfo.h: Likewise.
61778         * sysdeps/sparc/stackinfo.h: Likewise.
61779         * sysdeps/x86_64/stackinfo.h: Likewise.
61780         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61781         PF_X for powerpc64.  Retain PF_X for powerpc32.
61783 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61785         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61786         accurately.
61787         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61788         GETDENTS_64BIT_ALIGNED.
61790 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61792         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61794 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61796         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61797         _GNU_SOURCE.
61799         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61800         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61801         Remove __restrict.
61802         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61803         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61805 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61807         [BZ #11655]
61808         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61809         are initialized.
61811 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61813         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61815 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61817         * po/it.po: Update from translation team.
61819 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61821         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61822         unused codes.
61824 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61826         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61828 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61830         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61831         specially.
61832         (gaih_getanswer_slice): Likewise.
61834 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61836         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61838 2010-05-31  Petr Baudis  <pasky@suse.cz>
61840         [BZ #11149]
61841         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61842         silently even in the chroot mode.
61844 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61846         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61847         last patch a bit.  Pretty printing
61849 2010-05-31  Petr Baudis <pasky@suse.cz>
61851         [BZ #10085]
61852         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61853         initialization of skip_initgroups_dyn.
61855 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61857         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61858         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61860 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61862         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61864 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61866         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61867         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61868         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61869         ($(objpfx)tst-fnmatch-mem): New rule.
61870         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61871         * posix/tst-fnmatch.c (main): Call mtrace.
61873 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61876         Support Intel processor model 6 and model 0x2c.
61878 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61880         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61881           signed comparison.
61883 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61885         [BZ #12205]
61886         * string/test-strncasecmp.c (check_result): New function.
61887         (do_one_test): Use it.
61888         (check1): New function.
61889         (test_main): Use it.
61890         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61891         Support strcasecmp and strncasecmp.
61893 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61895         [BZ #12194]
61896         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61897         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61899 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61901         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61902         IFUNC support.
61903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61904         memset-x86-64.
61905         * sysdeps/x86_64/multiarch/bzero.S: New file.
61906         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61907         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61908         * sysdeps/x86_64/multiarch/memset.S: New file.
61909         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61911         Set bit_Prefer_SSE_for_memop for Intel processors.
61912         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61913         Define.
61914         (index_Prefer_SSE_for_memop): Define.
61915         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61917 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61919         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61920         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61922 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61924         [BZ #12191]
61925         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61926         (__x86_64_raw_data_cache_size_half): Likewise.
61927         (__x86_64_raw_shared_cache_size): Likewise.
61928         (__x86_64_raw_shared_cache_size_half): Likewise.
61930         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61931         (__x86_64_raw_data_cache_size_half): Likewise.
61932         (__x86_64_raw_shared_cache_size): Likewise.
61933         (__x86_64_raw_shared_cache_size_half): Likewise.
61934         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61935         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61936         and __x86_64_raw_shared_cache_size_half.  Round
61937         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61938         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61939         to multiple of 256 bytes.
61941 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61943         [BZ #12167]
61944         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61945         of inacessible symlinks.  Verify result of symlink before returning it.
61946         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61947         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61949 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61951         * math/math.h (isinf): Fix typo in comment.
61953 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61955         * po/da.po: Update from translation team.
61957 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61959         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61960         is added to the list.
61962 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61963             Ulrich Drepper  <drepper@gmail.com>
61965         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61966         the global list here.  Move code to...
61967         (_dl_add_to_namespace_list): ...here.  New function.
61968         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61969         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61970         * elf/dl-load.c (lose): Don't remove the element from the list.
61971         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61972         (_dl_map_object): Likewise.
61974 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61976         [BZ #12159]
61977         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61978         into all bytes of SSE register.
61979         Patch by Richard Li <richardpku@gmail.com>.
61981 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61983         [BZ #12140]
61984         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61985         perturbing.
61987 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61989         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61990         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61991         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61992         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61994         submachine.
61995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61997 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61999         * include/dlfcn.h (__RTLD_SECURE): Define.
62000         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62001         mode & __RTLD_SECURE instead.
62002         (open_path): Rename preloaded parameter to secure.
62003         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62004         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62005         * elf/dl-deps.c (openaux): Likewise.
62006         * elf/rtld.c (struct map_args): Remove is_preloaded.
62007         (map_doit): Don't use it.
62008         (dl_main): Likewise.
62009         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62010         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62012 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62014         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62015         (sysd-rules-targets): Remove duplicates.
62016         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62017         rtld-%.$o dependency.
62019 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62021         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62022         _dl_map_object do it.
62024 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62026         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62027         fast fma builtins, define the macros in the C99 standard.
62028         (FP_FAST_FMAF): Likewise.
62029         (FP_FAST_FMAL): Likewise.
62030         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62032         * bits/mathdef.h: Update copyright year.
62033         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62035 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62037         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62038         builtins, define the macros in the C99 standard.
62039         (FP_FAST_FMAF): Likewise.
62040         (FP_FAST_FMAL): Likewise.
62041         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62042         multiply/add.
62043         (FP_FAST_FMAF): Likewise.
62045 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62047         [BZ #3268]
62048         * math/libm-test.inc (fma_test): Some new testcases.
62049         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62050         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62051         y and infinite z.  Do multiplication by C already in long double.
62052         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62054         y and infinite z.  Do bitwise or of inexact bit into u.d.
62055         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62056         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62057         * sysdeps/i386/fpu/s_fma.S: Removed.
62058         * sysdeps/i386/fpu/s_fmal.S: Removed.
62060 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62062         [BZ #3268]
62063         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62064         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62065         computation is not scheduled after fetestexcept.  Fix value
62066         of minimum denormal long double.
62068 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62070         [BZ #3268]
62071         * math/libm-test.inc (fma_test): Add some more tests.
62072         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62073         correctly.
62075 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62077         * scripts/data/localplt-s390-linux-gnu.data: New file.
62078         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62080 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62082         [BZ #3268]
62083         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62084         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62085         instead of dbl-64.
62086         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62087         inlines.
62088         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62090         if one of x and y is very large and the other is subnormal.
62091         * sysdeps/s390/fpu/s_fmaf.c: New file.
62092         * sysdeps/s390/fpu/s_fma.c: New file.
62093         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62094         * sysdeps/powerpc/fpu/s_fma.S: New file.
62095         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62096         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62097         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62099 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62101         [BZ #3268]
62102         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62103         fma tests.
62104         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62105         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62106         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62107         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62108         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62109         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62110         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62112 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62114         [BZ #12078]
62115         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62116         * posix/bug-regex31.input: Add test case.
62118 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62120         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62121         * posix/bug-regex31.input: New file.
62123         [BZ #12078]
62124         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62125         (parse_sub_exp): Fix last change, use postorder.
62127         * posix/bug-regex31.c: New file.
62128         * posix/Makefile: Add rules to build and run bug-regex31.
62130         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62132         [BZ #12078]
62133         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62135         [BZ #12108]
62136         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62137         to have entries in sys_siglist.
62139         [BZ #12093]
62140         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62141         be NULL.
62143 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62145         [BZ #3268]
62146         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62147         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62148         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62149         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62150         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62151         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62152         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62153         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62154         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62155         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62156         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62157         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62158         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62159         * math/ftestexcept.c (fetestexcept): Likewise.
62160         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62161         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62162         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62163         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62164         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62165         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62166         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62168 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62170         [BZ #12107]
62171         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62172         newline.
62174 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62176         * string/bug-strstr1.c: New file.
62177         * string/Makefile: Add rules to build and run bug-strstr1.
62179 2010-10-05  Eric Blake  <eblake@redhat.com>
62181         [BZ #12092]
62182         * string/str-two-way.h (two_way_long_needle): Always clear memory
62183         when skipping input due to the shift table.
62185 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62187         [BZ #12005]
62188         * malloc/mcheck.c: Handle large requests.
62190         [BZ #12077]
62191         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62192         for strncmp and strncasecmp.
62193         * string/stratcliff.c: Add tests for strcmp and strncmp.
62194         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62196 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62198         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62199         __set_fpscr.
62201 2010-09-30  Andreas Jaeger  <aj@suse.de>
62203         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62204         (CGROUP_SUPER_MAGIC): Define.
62205         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62206         Handle btrfs and cgroup file systems.
62207         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62208         Likewise.
62210 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62212         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62213         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62215 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62217         [BZ #12067]
62218         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62219         trying to locate the ELF header.
62221 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62223         [BZ #11611]
62224         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62225         Mask out sign-bit copies when constructing f_fsid.
62227 2010-09-24  Petr Baudis <pasky@suse.cz>
62229         * debug/stack_chk_fail_local.c: Add missing licence exception.
62230         * debug/warning-nop.c: Likewise.
62232 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62234         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62235         implementing getdents64 using getdents syscall, set d_type if
62236         __ASSUME_GETDENTS32_D_TYPE.
62238 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62240         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62241         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62243 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62245         [BZ #12037]
62246         * posix/unistd.h: Undo change of feature selection for ftruncate from
62247         2010-01-11.
62249 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62251         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62252         detection.
62254 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62256         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62257         fanotify_mark.
62258         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62260 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62262         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62263         variables after CHECK_SP call.
62264         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62266 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62267             Ulrich Drepper  <drepper@redhat.com>
62269         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62270         re-relocationg ld.so.
62271         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62272         _dl_init_paths call.
62273         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62274         here anymore.
62276 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62278         * resolv/res_init.c (__res_vinit): Count the default server we added.
62280 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62281             Ulrich Drepper  <drepper@redhat.com>
62283         [BZ #11968]
62284         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62285         (____longjmp_chk): Use %ebx for saving value across system call.
62286         Add unwind info.
62288 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62290         * manual/Makefile: Don't mix pattern rules with normal rules.
62292 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62294         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62295         operation.
62296         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62297         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62298         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62299         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62300         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62301         Likewise.
62303 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62305         [BZ #11979]
62306         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62307         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62309 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62311         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62312         * sysdeps/x86_64/addmul_1.S: Likewise.
62313         * sysdeps/x86_64/lshift.S: Likewise.
62314         * sysdeps/x86_64/mul_1.S: Likewise.
62315         * sysdeps/x86_64/rshift.S: Likewise.
62316         * sysdeps/x86_64/sub_n.S: Likewise.
62317         * sysdeps/x86_64/submul_1.S: Likewise.
62319 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62321         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62322         Define __sched_param instead of SCHED_* and sched_param when
62323         <bits/sched.h> is included with __need_schedparam defined.
62324         * bits/sched.h [__need_schedparam]
62325         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62326         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62327         (__defined_schedparam): Define to 1.
62328         (__sched_param): New structure, identical to sched_param.
62329         (__need_schedparam): Undefine.
62331 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62333         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62334         (epoll_create1): Declare.
62336         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62338 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62340         [BZ #7066]
62341         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62342         shifting retval into place.
62344 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62346         * nis/rpcsvc/nis.h: Update copyright notice.
62347         * nis/rpcsvc/nis.x: Likewise.
62348         * nis/rpcsvc/nis_callback.h: Likewise.
62349         * nis/rpcsvc/nis_callback.x: Likewise.
62350         * nis/rpcsvc/nis_object.x: Likewise.
62351         * nis/rpcsvc/nis_tags.h: Likewise.
62352         * nis/rpcsvc/yp.h: Likewise.
62353         * nis/rpcsvc/yp.x: Likewise.
62354         * nis/rpcsvc/ypupd.h: Likewise.
62355         * nis/yp_xdr.c: Likewise.
62356         * nis/ypupdate_xdr.c: Likewise.
62358         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62359         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62360         (pmap_getport): Use __libc_rpc_getport.
62361         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62362         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62363         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62365 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62368         fanotify_mark.
62370 2010-08-27  Roland McGrath  <roland@redhat.com>
62372         * sysdeps/i386/i686/multiarch/Makefile
62373         (CFLAGS-varshift.c): New variable.
62375 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62377         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62378         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62380         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62382         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62384 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62386         * sysdeps/x86_64/strlen.S: Unroll the loop.
62387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62388         strlen-sse2 strlen-sse2-bsf.
62389         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62390         __strlen_no_bsf if bit_Slow_BSF is set.
62391         (__strlen_sse42): Removed.
62392         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62393         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62395 2010-08-25  Roland McGrath  <roland@redhat.com>
62397         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62398         * sysdeps/x86_64/multiarch/varshift.c: New file.
62399         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62400         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62401         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62402         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62404 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62406         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62407         strlen-sse2 strlen-sse2-bsf.
62408         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62409         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62410         (__strlen_sse2): Removed.
62411         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62412         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62414         bit_Slow_BSF for Atom.
62415         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62416         (index_Slow_BSF): Define.
62417         (HAS_SLOW_BSF): Define.
62419 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62421         [BZ #10851]
62422         * resolv/res_init.c (__res_vinit): When no server address at all
62423         is given default to loopback.
62425 2010-08-24  Roland McGrath  <roland@redhat.com>
62427         * configure.in: Remove config-name.h generation.
62428         * configure: Regenerated.
62429         * config-name.in: File removed.
62430         * scripts/config-uname.sh: New file.
62431         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62432         ($(objdir)config-name.h): New target.
62434         * sunrpc/rpc_parse.h: Avoid nested comment.
62436 2010-08-24  Richard Henderson  <rth@redhat.com>
62437             Ulrich Drepper  <drepper@redhat.com>
62438             H.J. Lu  <hongjiu.lu@intel.com>
62440         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62442         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62443         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62444         _mm_alignr_epi8 with _mm_loadu_si128.
62445         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62446         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62447         (__m128i_shift_right): Removed.
62448         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62449         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62450         * sysdeps/x86_64/multiarch/varshift.h: New file.
62451         * sysdeps/x86_64/multiarch/varshift.S: New file.
62453 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62455         * configure.in: Move assembler checks to before sysdep dir checking.
62457 2010-08-20  Petr Baudis  <pasky@suse.cz>
62459         * LICENSES: Sync the sunrpc license.
62461 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62463         * sunrpc/auth_des.c: Update copyright notice once again.
62464         * sunrpc/auth_none.c: Likewise.
62465         * sunrpc/auth_unix.c: Likewise.
62466         * sunrpc/authdes_prot.c: Likewise.
62467         * sunrpc/authuxprot.c: Likewise.
62468         * sunrpc/bindrsvprt.c: Likewise.
62469         * sunrpc/clnt_gen.c: Likewise.
62470         * sunrpc/clnt_perr.c: Likewise.
62471         * sunrpc/clnt_raw.c: Likewise.
62472         * sunrpc/clnt_simp.c: Likewise.
62473         * sunrpc/clnt_tcp.c: Likewise.
62474         * sunrpc/clnt_udp.c: Likewise.
62475         * sunrpc/clnt_unix.c: Likewise.
62476         * sunrpc/des_crypt.c: Likewise.
62477         * sunrpc/des_soft.c: Likewise.
62478         * sunrpc/get_myaddr.c: Likewise.
62479         * sunrpc/getrpcport.c: Likewise.
62480         * sunrpc/key_call.c: Likewise.
62481         * sunrpc/key_prot.c: Likewise.
62482         * sunrpc/openchild.c: Likewise.
62483         * sunrpc/pm_getmaps.c: Likewise.
62484         * sunrpc/pm_getport.c: Likewise.
62485         * sunrpc/pmap_clnt.c: Likewise.
62486         * sunrpc/pmap_prot.c: Likewise.
62487         * sunrpc/pmap_prot2.c: Likewise.
62488         * sunrpc/pmap_rmt.c: Likewise.
62489         * sunrpc/rpc/auth.h: Likewise.
62490         * sunrpc/rpc/auth_unix.h: Likewise.
62491         * sunrpc/rpc/clnt.h: Likewise.
62492         * sunrpc/rpc/des_crypt.h: Likewise.
62493         * sunrpc/rpc/key_prot.h: Likewise.
62494         * sunrpc/rpc/netdb.h: Likewise.
62495         * sunrpc/rpc/pmap_clnt.h: Likewise.
62496         * sunrpc/rpc/pmap_prot.h: Likewise.
62497         * sunrpc/rpc/pmap_rmt.h: Likewise.
62498         * sunrpc/rpc/rpc.h: Likewise.
62499         * sunrpc/rpc/rpc_des.h: Likewise.
62500         * sunrpc/rpc/rpc_msg.h: Likewise.
62501         * sunrpc/rpc/svc.h: Likewise.
62502         * sunrpc/rpc/svc_auth.h: Likewise.
62503         * sunrpc/rpc/types.h: Likewise.
62504         * sunrpc/rpc/xdr.h: Likewise.
62505         * sunrpc/rpc_clntout.c: Likewise.
62506         * sunrpc/rpc_cmsg.c: Likewise.
62507         * sunrpc/rpc_common.c: Likewise.
62508         * sunrpc/rpc_cout.c: Likewise.
62509         * sunrpc/rpc_dtable.c: Likewise.
62510         * sunrpc/rpc_hout.c: Likewise.
62511         * sunrpc/rpc_main.c: Likewise.
62512         * sunrpc/rpc_parse.c: Likewise.
62513         * sunrpc/rpc_parse.h: Likewise.
62514         * sunrpc/rpc_prot.c: Likewise.
62515         * sunrpc/rpc_sample.c: Likewise.
62516         * sunrpc/rpc_scan.c: Likewise.
62517         * sunrpc/rpc_scan.h: Likewise.
62518         * sunrpc/rpc_svcout.c: Likewise.
62519         * sunrpc/rpc_tblout.c: Likewise.
62520         * sunrpc/rpc_util.c: Likewise.
62521         * sunrpc/rpc_util.h: Likewise.
62522         * sunrpc/rpcinfo.c: Likewise.
62523         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62524         * sunrpc/rpcsvc/key_prot.x: Likewise.
62525         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62526         * sunrpc/rpcsvc/mount.x: Likewise.
62527         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62528         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62529         * sunrpc/rpcsvc/rex.x: Likewise.
62530         * sunrpc/rpcsvc/rstat.x: Likewise.
62531         * sunrpc/rpcsvc/rusers.x: Likewise.
62532         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62533         * sunrpc/rpcsvc/spray.x: Likewise.
62534         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62535         * sunrpc/rtime.c: Likewise.
62536         * sunrpc/svc.c: Likewise.
62537         * sunrpc/svc_auth.c: Likewise.
62538         * sunrpc/svc_authux.c: Likewise.
62539         * sunrpc/svc_raw.c: Likewise.
62540         * sunrpc/svc_run.c: Likewise.
62541         * sunrpc/svc_simple.c: Likewise.
62542         * sunrpc/svc_tcp.c: Likewise.
62543         * sunrpc/svc_udp.c: Likewise.
62544         * sunrpc/svc_unix.c: Likewise.
62545         * sunrpc/svcauth_des.c: Likewise.
62546         * sunrpc/xcrypt.c: Likewise.
62547         * sunrpc/xdr.c: Likewise.
62548         * sunrpc/xdr_array.c: Likewise.
62549         * sunrpc/xdr_float.c: Likewise.
62550         * sunrpc/xdr_mem.c: Likewise.
62551         * sunrpc/xdr_rec.c: Likewise.
62552         * sunrpc/xdr_ref.c: Likewise.
62553         * sunrpc/xdr_sizeof.c: Likewise.
62554         * sunrpc/xdr_stdio.c: Likewise.
62556         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62557         handling.
62559 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62561         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62563 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62565         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62566         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62567         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62568         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62569         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62570         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62571         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62572         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62573         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62574         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62575         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62576         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62577         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62578         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62580 2010-07-26  Anton Blanchard  <anton@samba.org>
62582         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62583         * malloc/arena.c (heap_trim): Likewise.
62585 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62587         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62588         here.  Not...
62589         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62590         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62592 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62594         * sysdeps/i386/elf/Makefile: New file.
62596 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62598         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62599         from fanotify_init.
62600         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62601         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62603 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62605         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62606         of strncasecmp_l.
62607         * sysdeps/multiarch/strcmp.S: Likewise.
62609 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62611         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62612         strncase_l-nonascii.
62613         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62614         Add strncase_l-ssse3.
62615         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62616         * sysdeps/x86_64/strcmp.S: Likewise.
62617         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62618         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62619         * sysdeps/x86_64/strncase.S: New file.
62620         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62621         * sysdeps/x86_64/strncase_l.S: New file.
62622         * string/Makefile (strop-tests): Add strncasecmp.
62623         * string/test-strncasecmp.c: New file.
62625         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62626         warning.
62628         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62629         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62631 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62633         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62635 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62637         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62638         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62639         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62641 2010-05-01  Alan Modra  <amodra@gmail.com>
62643         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62644         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62645         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62646         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62647         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62648         tidying.  Don't tail-call __sigjmp_save for static lib.
62649         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62650         save location.
62651         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62652         (CALL_MCOUNT): Add eh info, and nop after bl.
62653         (TAIL_CALL_SYSCALL_ERROR): New macro.
62654         (PSEUDO_RET): Use it.
62655         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62656         Correct save location of integer regs and cr.
62657         (_dl_profile_resolve): Correct cr save location.  Delete nops
62658         after bl when SHARED.  Reduce cfi size a little by better
62659         placement of cfi directives.
62660         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62661         make a stack frame.  Instead use parm save area as a temp.
62662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62663         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62665         Don't make a stack frame for parent, use parm save area.
62666         Increase child stack frame to 112 bytes.  Don't save unused reg,
62667         and adjust reg usage.  Set up cfi on error recovery and
62668         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62670         (__makecontext): Add dummy nop after jump to exit.
62671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62672         Use correct parm save area and cr save, reduce stack frame.
62673         Correct cfi for possible PSEUDO_RET frame setup.
62674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62675         Branch to local label emitted by PSEUDO_RET rather than
62676         __syscall_error.
62678 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62680         [BZ #11904]
62681         * locale/programs/locale.c (print_assignment): New function.
62682         (show_locale_vars): Use it.
62684 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62686         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62687         field.
62688         (struct statfs64): Likewise.
62689         (_STATFS_F_FLAGS): Define.
62690         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62691         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62692         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62693         (ST_VALID): Define locally.
62694         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62695         __statvfs_getflags, use the provided value.
62696         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62697         __ASSUME_STATFS_F_FLAGS.
62699         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62701         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62702         Add sys/fanotify.h.
62703         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62704         fanotify_mask for GLIBC_2.13.
62705         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62706         fanotify_init and fanotify_mark.
62707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62708         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62710         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62711         Add prlimit.
62712         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62713         prlimit64 for GLIBC_2.13.
62714         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62715         prlimit64.
62716         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62717         syscall.
62718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62719         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62720         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62721         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62722         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62723         add prlimit alias.
62724         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62726         [BZ #11903]
62727         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62728         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62730         * nss/Makefile: Add rules to build and run tst-nss-test1.
62731         * shlib-versions: Add entry for libnss_test1.
62732         * nss/nss_test1.c: New file.
62733         * nss/tst-nss-test1.c: New file.
62735         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62736         (__nss_configure_lookup): Set appropriate entry in
62737         __nss_configure_lookup to true.
62738         * nss/nsswitch.h: Define enum with indeces of databases in
62739         databases and __nss_database_custom arrays.  Declare
62740         __nss_database_custom.
62741         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62742         to avoid using nscd when custom rules are installed.
62743         * nss/getXXbyYY_r.c: Likewise.
62744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62746         * nss/nss_files/files-parse.c: Whitespace fixes.
62748 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62750         [BZ #11883]
62751         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62752         * posix/fnmatch_loop.c: Likewise.
62754 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62756         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62757         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62758         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62759         * Versions.def [GLIBC_2.13]: Add.
62761 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62763         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62764         Also fail if tpwd after pwuid call is NULL.
62766 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62768         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62769         when converting to ms.
62771 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62773         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62774         EOPNOTSUPP errors with ENOTTY.
62775         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62776         EOPNOTSUPP errors with ENOTTY.
62778 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62780         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62781         Add strcasecmp_l-ssse3.
62782         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62783         strcasecmp.
62784         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62785         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62786         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62788 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62790         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62792         * string/Makefile (strop-tests): Add strcasecmp.
62793         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62794         strcasecmp_l-nonascii.
62795         (gen-as-const-headers): Add locale-defines.sym.
62796         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62797         * sysdeps/x86_64/strcasecmp.S: New file.
62798         * sysdeps/x86_64/strcasecmp_l.S: New file.
62799         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62800         * sysdeps/x86_64/locale-defines.sym: New file.
62801         * string/test-strcasecmp.c: New file.
62803         * string/test-strcasestr.c: Test both ends of the range of characters.
62804         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62806 2010-07-29  Roland McGrath  <roland@redhat.com>
62808         [BZ #11856]
62809         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62811 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62813         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62814         for ld.so.
62816 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62818         * manual/memory.texi (Malloc Tunable Parameters): Document
62819         M_PERTURB.
62821 2010-07-26  Roland McGrath  <roland@redhat.com>
62823         [BZ #11840]
62824         * configure.in (-fgnu89-inline check): Set and substitute
62825         gnu89_inline, not libc_cv_gnu89_inline.
62826         * configure: Regenerated.
62827         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62829 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62831         * string/test-strnlen.c: New file.
62832         * string/Makefile (strop-tests): Add strnlen.
62833         * string/tester.c (test_strnlen): Add a few more test cases.
62834         * string/tst-strlen.c: Better error reporting.
62836         * sysdeps/x86_64/strnlen.S: New file.
62838 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62840         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62841         lower-latency instructions.
62843 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62845         * string/test-strcasestr.c: New file.
62846         * string/test-strstr.c: New file.
62847         * string/Makefile (strop-tests): Add strstr and strcasestr.
62848         * string/str-two-way.h: Don't undefine MAX.
62849         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62851 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62853         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62854         strcasestr-nonascii.
62855         (CFLAGS-strcasestr-nonascii.c): Define.
62856         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62857         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62858         Remove unused attribute.
62860 2010-07-20  Roland McGrath  <roland@redhat.com>
62862         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62863         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62864         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62865         like LD_HWCAP_MASK can disable hwcaps.
62867 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62869         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62871 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62873         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62874         call in strcasestr.
62875         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62876         __strcasestr_sse42_nonascii.
62877         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62878         strcasestr-nonascii.c.
62879         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62881 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62883         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62884         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62885         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62886         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62888 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62890         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62891         fcntl.
62893 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62895         [BZ #11577]
62896         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62897         dl_signal_cerror.
62899 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62901         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62902         _PC_PIPE_BUF using F_GETPIPE_SZ.
62904 2010-07-05  Roland McGrath  <roland@redhat.com>
62906         * manual/arith.texi (Rounding Functions): Fix rint description
62907         implicit in round description.
62909 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62911         * elf/Makefile: Fix linking for a few tests to make recent linker
62912         happy.
62914 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62916         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62917         $(common-objpfx)libc_nonshared.a.
62919 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62921         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62922         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62923         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62924         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62925         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62926         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62927         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62928         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62943         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62944         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62945         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62946         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62947         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62948         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62949         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62950         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62951         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62952         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62953         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62954         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62970 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62972         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62973         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62974         * string/memmove.c (memmove): Renamed to ...
62975         (MEMMOVE): ...this.  Default to memmove.
62976         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62977         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62978         (END_CHK): Define.
62979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62980         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62981         mempcpy-ssse3-back memmove-ssse3-back.
62982         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62983         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62984         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62985         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62986         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62987         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62988         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62989         * sysdeps/x86_64/multiarch/memmove.c: New file.
62990         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62991         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62992         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62993         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62994         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62995         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62996         Define.
62997         (index_Fast_Copy_Backward): Define.
62998         (HAS_ARCH_FEATURE): Define.
62999         (HAS_FAST_REP_STRING): Define.
63000         (HAS_FAST_COPY_BACKWARD): Define.
63002 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63004         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63005         Restore proper fallback handling.
63007 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63009         [BZ #11701]
63010         * posix/group_member.c (__group_member): Correct checking loop.
63012         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63013         OOM in getpwuid_r correctly.  Return error number when the caller
63014         should return, otherwise -1.
63015         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63016         call returning > 0 value.
63017         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63019 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63021         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63022         libc_nonshared.a from targets in modules-names.
63024 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63026         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63027         requires it.
63029 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63031         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63032         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63033         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63034         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63036 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63038         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63040 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63042         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63043         and F_GETPIPE_SZ.
63044         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63045         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63046         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63047         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63048         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63049         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63051 2010-06-14  Roland McGrath  <roland@redhat.com>
63053         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63055 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63057         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63058         __REDIRECT followed by __THROW.
63059         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63060         * posix/getopt.h (getopt): Likewise.
63062 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63064         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63065         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63066         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63067         in AT_FLAGS.
63068         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63069         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63071 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63073         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63075 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63077         [BZ #11640]
63078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63079         Properly check family and model.
63081 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63083         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63085 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63087         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63089 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63091         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63092         symbol reference.
63094 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63096         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63097         symbol reference.
63099 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63101         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63102         and internal_recvmmsg.
63103         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63104         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63105         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63106         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63108         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63109         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63110         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63112 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63114         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63116 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63118         POWER7 optimizations.
63119         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63120         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63122 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63124         * version.h: Update for 2.13 development version.
63126 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63128         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63129         exceptions.  Return 0.
63131 2010-05-07  Roland McGrath  <roland@redhat.com>
63133         * elf/ldconfig.c (main): Add a const.
63135 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63137         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63138         (args_options): Add no-idn option.
63139         (ahosts_keys_int): Add idn_flags to ai_flags.
63140         (parse_option): Handle 'i' option to clear idn_flags.
63142         * malloc/malloc.c (_int_free): Possible race in the most recently
63143         added check.  Only act on the data if no current modification
63144         happened.
63146 See ChangeLog.17 for earlier changes.